]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_core_wrap.cpp
log wxChoice events in the same format as wxComboBox ones to make it simpler to compa...
[wxWidgets.git] / wxPython / src / gtk / _core_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
32fe5131 3 * Version 1.3.27
d14a1e28
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
d14a1e28
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};
d14a1e28
RD
27#endif
28
32fe5131
RD
29/***********************************************************************
30 *
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 *
34 ************************************************************************/
d14a1e28 35
32fe5131
RD
36/* template workaround for compilers that cannot correctly implement the C++ standard */
37#ifndef SWIGTEMPLATEDISAMBIGUATOR
38# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
39# define SWIGTEMPLATEDISAMBIGUATOR template
093d3ff1 40# else
32fe5131 41# define SWIGTEMPLATEDISAMBIGUATOR
093d3ff1
RD
42# endif
43#endif
d14a1e28 44
32fe5131
RD
45/* inline attribute */
46#ifndef SWIGINLINE
47# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
48# define SWIGINLINE inline
49# else
50# define SWIGINLINE
51# endif
52#endif
53
54/* attribute recognised by some compilers to avoid 'unused' warnings */
55#ifndef SWIGUNUSED
56# if defined(__GNUC__) || defined(__ICC)
57# define SWIGUNUSED __attribute__ ((unused))
58# else
59# define SWIGUNUSED
60# endif
61#endif
62
63/* internal SWIG method */
64#ifndef SWIGINTERN
65# define SWIGINTERN static SWIGUNUSED
66#endif
67
68/* internal inline SWIG method */
69#ifndef SWIGINTERNINLINE
70# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
71#endif
72
73/* exporting methods for Windows DLLs */
74#ifndef SWIGEXPORT
75# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
76# if defined(STATIC_LINKED)
77# define SWIGEXPORT
78# else
79# define SWIGEXPORT __declspec(dllexport)
80# endif
81# else
82# define SWIGEXPORT
83# endif
84#endif
85
86/* calling conventions for Windows */
87#ifndef SWIGSTDCALL
88# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
89# define SWIGSTDCALL __stdcall
90# else
91# define SWIGSTDCALL
92# endif
93#endif
94
95
c9c7117a 96
093d3ff1 97#include <Python.h>
d14a1e28
RD
98
99/***********************************************************************
093d3ff1 100 * swigrun.swg
d14a1e28 101 *
093d3ff1
RD
102 * This file contains generic CAPI SWIG runtime support for pointer
103 * type checking.
d14a1e28
RD
104 *
105 ************************************************************************/
106
093d3ff1
RD
107/* This should only be incremented when either the layout of swig_type_info changes,
108 or for whatever reason, the runtime changes incompatibly */
32fe5131 109#define SWIG_RUNTIME_VERSION "2"
d14a1e28 110
093d3ff1
RD
111/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
112#ifdef SWIG_TYPE_TABLE
32fe5131
RD
113# define SWIG_QUOTE_STRING(x) #x
114# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
115# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d14a1e28 116#else
32fe5131 117# define SWIG_TYPE_TABLE_NAME
093d3ff1
RD
118#endif
119
120/*
121 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
122 creating a static or dynamic library from the swig runtime code.
123 In 99.9% of the cases, swig just needs to declare them as 'static'.
124
125 But only do this if is strictly necessary, ie, if you have problems
126 with your compiler or so.
127*/
32fe5131 128
093d3ff1 129#ifndef SWIGRUNTIME
32fe5131 130# define SWIGRUNTIME SWIGINTERN
093d3ff1 131#endif
32fe5131 132
093d3ff1 133#ifndef SWIGRUNTIMEINLINE
32fe5131 134# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d14a1e28
RD
135#endif
136
32fe5131
RD
137#include <string.h>
138
d14a1e28
RD
139#ifdef __cplusplus
140extern "C" {
141#endif
142
143typedef void *(*swig_converter_func)(void *);
144typedef struct swig_type_info *(*swig_dycast_func)(void **);
145
32fe5131 146/* Structure to store inforomation on one type */
d14a1e28 147typedef struct swig_type_info {
32fe5131
RD
148 const char *name; /* mangled name of this type */
149 const char *str; /* human readable name of this type */
150 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
151 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
152 void *clientdata; /* language specific type data */
d14a1e28
RD
153} swig_type_info;
154
32fe5131
RD
155/* Structure to store a type and conversion function used for casting */
156typedef struct swig_cast_info {
157 swig_type_info *type; /* pointer to type that is equivalent to this type */
158 swig_converter_func converter; /* function to cast the void pointers */
159 struct swig_cast_info *next; /* pointer to next cast in linked list */
160 struct swig_cast_info *prev; /* pointer to the previous cast */
161} swig_cast_info;
162
163/* Structure used to store module information
164 * Each module generates one structure like this, and the runtime collects
165 * all of these structures and stores them in a circularly linked list.*/
166typedef struct swig_module_info {
167 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
168 size_t size; /* Number of types in this module */
169 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
170 swig_type_info **type_initial; /* Array of initially generated type structures */
171 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
172 void *clientdata; /* Language specific module data */
173} swig_module_info;
174
175
093d3ff1
RD
176/*
177 Compare two type names skipping the space characters, therefore
178 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
179
180 Return 0 when the two name types are equivalent, as in
181 strncmp, but skipping ' '.
182*/
183SWIGRUNTIME int
184SWIG_TypeNameComp(const char *f1, const char *l1,
185 const char *f2, const char *l2) {
186 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
187 while ((*f1 == ' ') && (f1 != l1)) ++f1;
188 while ((*f2 == ' ') && (f2 != l2)) ++f2;
32fe5131 189 if (*f1 != *f2) return (int)(*f1 - *f2);
093d3ff1
RD
190 }
191 return (l1 - f1) - (l2 - f2);
192}
193
194/*
195 Check type equivalence in a name list like <name1>|<name2>|...
32fe5131 196 Return 0 if not equal, 1 if equal
093d3ff1
RD
197*/
198SWIGRUNTIME int
199SWIG_TypeEquiv(const char *nb, const char *tb) {
200 int equiv = 0;
201 const char* te = tb + strlen(tb);
202 const char* ne = nb;
203 while (!equiv && *ne) {
204 for (nb = ne; *ne; ++ne) {
205 if (*ne == '|') break;
206 }
32fe5131 207 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
093d3ff1
RD
208 if (*ne) ++ne;
209 }
210 return equiv;
211}
212
213/*
32fe5131
RD
214 Check type equivalence in a name list like <name1>|<name2>|...
215 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
093d3ff1 216*/
32fe5131
RD
217SWIGRUNTIME int
218SWIG_TypeCompare(const char *nb, const char *tb) {
219 int equiv = 0;
220 const char* te = tb + strlen(tb);
221 const char* ne = nb;
222 while (!equiv && *ne) {
223 for (nb = ne; *ne; ++ne) {
224 if (*ne == '|') break;
093d3ff1 225 }
32fe5131
RD
226 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
227 if (*ne) ++ne;
093d3ff1 228 }
32fe5131 229 return equiv;
093d3ff1
RD
230}
231
32fe5131
RD
232
233/* think of this as a c++ template<> or a scheme macro */
234#define SWIG_TypeCheck_Template(comparison, ty) \
235 if (ty) { \
236 swig_cast_info *iter = ty->cast; \
237 while (iter) { \
238 if (comparison) { \
239 if (iter == ty->cast) return iter; \
240 /* Move iter to the top of the linked list */ \
241 iter->prev->next = iter->next; \
242 if (iter->next) \
243 iter->next->prev = iter->prev; \
244 iter->next = ty->cast; \
245 iter->prev = 0; \
246 if (ty->cast) ty->cast->prev = iter; \
247 ty->cast = iter; \
248 return iter; \
249 } \
250 iter = iter->next; \
251 } \
252 } \
253 return 0
254
093d3ff1
RD
255/*
256 Check the typename
257*/
32fe5131 258SWIGRUNTIME swig_cast_info *
093d3ff1 259SWIG_TypeCheck(const char *c, swig_type_info *ty) {
32fe5131
RD
260 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
261}
262
263/* Same as previous function, except strcmp is replaced with a pointer comparison */
264SWIGRUNTIME swig_cast_info *
265SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
266 SWIG_TypeCheck_Template(iter->type == from, into);
093d3ff1 267}
d14a1e28 268
093d3ff1
RD
269/*
270 Cast a pointer up an inheritance hierarchy
271*/
272SWIGRUNTIMEINLINE void *
32fe5131 273SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
093d3ff1
RD
274 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
275}
276
277/*
278 Dynamic pointer casting. Down an inheritance hierarchy
279*/
280SWIGRUNTIME swig_type_info *
281SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
282 swig_type_info *lastty = ty;
283 if (!ty || !ty->dcast) return ty;
284 while (ty && (ty->dcast)) {
285 ty = (*ty->dcast)(ptr);
286 if (ty) lastty = ty;
287 }
288 return lastty;
289}
290
291/*
292 Return the name associated with this type
293*/
294SWIGRUNTIMEINLINE const char *
295SWIG_TypeName(const swig_type_info *ty) {
296 return ty->name;
297}
298
299/*
300 Return the pretty name associated with this type,
301 that is an unmangled type name in a form presentable to the user.
302*/
303SWIGRUNTIME const char *
304SWIG_TypePrettyName(const swig_type_info *type) {
305 /* The "str" field contains the equivalent pretty names of the
306 type, separated by vertical-bar characters. We choose
307 to print the last name, as it is often (?) the most
308 specific. */
309 if (type->str != NULL) {
310 const char *last_name = type->str;
311 const char *s;
312 for (s = type->str; *s; s++)
313 if (*s == '|') last_name = s+1;
314 return last_name;
315 }
316 else
317 return type->name;
318}
319
093d3ff1
RD
320/*
321 Set the clientdata field for a type
322*/
323SWIGRUNTIME void
32fe5131
RD
324SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
325 swig_cast_info *cast = ti->cast;
093d3ff1
RD
326 /* if (ti->clientdata == clientdata) return; */
327 ti->clientdata = clientdata;
32fe5131
RD
328
329 while (cast) {
330 if (!cast->converter) {
331 swig_type_info *tc = cast->type;
332 if (!tc->clientdata) {
333 SWIG_TypeClientData(tc, clientdata);
093d3ff1 334 }
32fe5131
RD
335 }
336 cast = cast->next;
337 }
338}
339
340/*
341 Search for a swig_type_info structure only by mangled name
342 Search is a O(log #types)
343
344 We start searching at module start, and finish searching when start == end.
345 Note: if start == end at the beginning of the function, we go all the way around
346 the circular list.
347*/
348SWIGRUNTIME swig_type_info *
349SWIG_MangledTypeQueryModule(swig_module_info *start,
350 swig_module_info *end,
351 const char *name) {
352 swig_module_info *iter = start;
353 do {
354 if (iter->size) {
355 register size_t l = 0;
356 register size_t r = iter->size - 1;
357 do {
358 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
359 register size_t i = (l + r) >> 1;
360 const char *iname = iter->types[i]->name;
361 if (iname) {
362 register int compare = strcmp(name, iname);
363 if (compare == 0) {
364 return iter->types[i];
365 } else if (compare < 0) {
366 if (i) {
367 r = i - 1;
368 } else {
369 break;
370 }
371 } else if (compare > 0) {
372 l = i + 1;
373 }
374 } else {
375 break; /* should never happen */
376 }
377 } while (l <= r);
093d3ff1 378 }
32fe5131
RD
379 iter = iter->next;
380 } while (iter != end);
381 return 0;
382}
383
384/*
385 Search for a swig_type_info structure for either a mangled name or a human readable name.
386 It first searches the mangled names of the types, which is a O(log #types)
387 If a type is not found it then searches the human readable names, which is O(#types).
388
389 We start searching at module start, and finish searching when start == end.
390 Note: if start == end at the beginning of the function, we go all the way around
391 the circular list.
392*/
393SWIGRUNTIME swig_type_info *
394SWIG_TypeQueryModule(swig_module_info *start,
395 swig_module_info *end,
396 const char *name) {
397 /* STEP 1: Search the name field using binary search */
398 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
399 if (ret) {
400 return ret;
401 } else {
402 /* STEP 2: If the type hasn't been found, do a complete search
403 of the str field (the human readable name) */
404 swig_module_info *iter = start;
405 do {
406 register size_t i = 0;
407 for (; i < iter->size; ++i) {
408 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
409 return iter->types[i];
410 }
411 iter = iter->next;
412 } while (iter != end);
093d3ff1 413 }
32fe5131
RD
414
415 /* neither found a match */
416 return 0;
093d3ff1
RD
417}
418
32fe5131 419
093d3ff1
RD
420/*
421 Pack binary data into a string
422*/
423SWIGRUNTIME char *
424SWIG_PackData(char *c, void *ptr, size_t sz) {
32fe5131
RD
425 static const char hex[17] = "0123456789abcdef";
426 register const unsigned char *u = (unsigned char *) ptr;
427 register const unsigned char *eu = u + sz;
093d3ff1 428 for (; u != eu; ++u) {
32fe5131 429 register unsigned char uu = *u;
093d3ff1
RD
430 *(c++) = hex[(uu & 0xf0) >> 4];
431 *(c++) = hex[uu & 0xf];
432 }
433 return c;
434}
435
436/*
437 Unpack binary data from a string
438*/
439SWIGRUNTIME const char *
440SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
441 register unsigned char *u = (unsigned char *) ptr;
32fe5131 442 register const unsigned char *eu = u + sz;
093d3ff1 443 for (; u != eu; ++u) {
32fe5131 444 register char d = *(c++);
093d3ff1
RD
445 register unsigned char uu = 0;
446 if ((d >= '0') && (d <= '9'))
447 uu = ((d - '0') << 4);
448 else if ((d >= 'a') && (d <= 'f'))
449 uu = ((d - ('a'-10)) << 4);
450 else
451 return (char *) 0;
452 d = *(c++);
453 if ((d >= '0') && (d <= '9'))
454 uu |= (d - '0');
455 else if ((d >= 'a') && (d <= 'f'))
456 uu |= (d - ('a'-10));
457 else
458 return (char *) 0;
459 *u = uu;
460 }
461 return c;
462}
463
093d3ff1
RD
464/*
465 Pack 'void *' into a string buffer.
466*/
467SWIGRUNTIME char *
468SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
469 char *r = buff;
470 if ((2*sizeof(void *) + 2) > bsz) return 0;
471 *(r++) = '_';
472 r = SWIG_PackData(r,&ptr,sizeof(void *));
473 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
474 strcpy(r,name);
475 return buff;
476}
477
478SWIGRUNTIME const char *
479SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
480 if (*c != '_') {
481 if (strcmp(c,"NULL") == 0) {
482 *ptr = (void *) 0;
483 return name;
484 } else {
485 return 0;
486 }
487 }
488 return SWIG_UnpackData(++c,ptr,sizeof(void *));
489}
490
491SWIGRUNTIME char *
492SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
493 char *r = buff;
494 size_t lname = (name ? strlen(name) : 0);
495 if ((2*sz + 2 + lname) > bsz) return 0;
496 *(r++) = '_';
497 r = SWIG_PackData(r,ptr,sz);
498 if (lname) {
499 strncpy(r,name,lname+1);
500 } else {
501 *r = 0;
502 }
503 return buff;
504}
505
506SWIGRUNTIME const char *
507SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
508 if (*c != '_') {
509 if (strcmp(c,"NULL") == 0) {
510 memset(ptr,0,sz);
511 return name;
512 } else {
513 return 0;
514 }
515 }
516 return SWIG_UnpackData(++c,ptr,sz);
517}
d14a1e28
RD
518
519#ifdef __cplusplus
520}
521#endif
522
093d3ff1
RD
523/* -----------------------------------------------------------------------------
524 * SWIG API. Portion that goes into the runtime
525 * ----------------------------------------------------------------------------- */
526
d14a1e28
RD
527#ifdef __cplusplus
528extern "C" {
529#endif
530
093d3ff1
RD
531/* -----------------------------------------------------------------------------
532 * for internal method declarations
533 * ----------------------------------------------------------------------------- */
534
535#ifndef SWIGINTERN
32fe5131 536# define SWIGINTERN static SWIGUNUSED
093d3ff1
RD
537#endif
538
32fe5131
RD
539#ifndef SWIGINTERNINLINE
540# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
093d3ff1
RD
541#endif
542
093d3ff1
RD
543/*
544 Exception handling in wrappers
545*/
546#define SWIG_fail goto fail
547#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
548#define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
549#define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
550#define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
551#define SWIG_null_ref(type) SWIG_Python_NullRef(type)
552
553/*
554 Contract support
555*/
556#define SWIG_contract_assert(expr, msg) \
557 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
558
559/* -----------------------------------------------------------------------------
560 * Constant declarations
561 * ----------------------------------------------------------------------------- */
562
563/* Constant Types */
d14a1e28
RD
564#define SWIG_PY_INT 1
565#define SWIG_PY_FLOAT 2
566#define SWIG_PY_STRING 3
567#define SWIG_PY_POINTER 4
568#define SWIG_PY_BINARY 5
569
d14a1e28
RD
570/* Constant information structure */
571typedef struct swig_const_info {
572 int type;
573 char *name;
574 long lvalue;
575 double dvalue;
576 void *pvalue;
577 swig_type_info **ptype;
578} swig_const_info;
579
093d3ff1
RD
580
581/* -----------------------------------------------------------------------------
582 * Alloc. memory flags
583 * ----------------------------------------------------------------------------- */
584#define SWIG_OLDOBJ 1
585#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
586#define SWIG_PYSTR SWIG_NEWOBJ + 1
587
588#ifdef __cplusplus
589}
590#endif
591
592
593/***********************************************************************
594 * pyrun.swg
595 *
596 * This file contains the runtime support for Python modules
597 * and includes code for managing global variables and pointer
598 * type checking.
599 *
600 * Author : David Beazley (beazley@cs.uchicago.edu)
601 ************************************************************************/
602
d14a1e28 603/* Common SWIG API */
093d3ff1
RD
604#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
605#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
606#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
a41e16b6 607
d14a1e28 608
093d3ff1
RD
609/* Python-specific SWIG API */
610#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
611#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d14a1e28 612
32fe5131
RD
613/* Runtime API */
614#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
615#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
d14a1e28 616
093d3ff1
RD
617/* -----------------------------------------------------------------------------
618 * Pointer declarations
619 * ----------------------------------------------------------------------------- */
620/*
621 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
622 C/C++ pointers in the python side. Very useful for debugging, but
623 not always safe.
624*/
625#if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
626# define SWIG_COBJECT_TYPES
627#endif
d14a1e28 628
093d3ff1
RD
629/* Flags for pointer conversion */
630#define SWIG_POINTER_EXCEPTION 0x1
631#define SWIG_POINTER_DISOWN 0x2
d14a1e28 632
d14a1e28 633
32fe5131
RD
634/* Add PyOS_snprintf for old Pythons */
635#if PY_VERSION_HEX < 0x02020000
636#define PyOS_snprintf snprintf
637#endif
638
d14a1e28 639#ifdef __cplusplus
093d3ff1
RD
640extern "C" {
641#endif
642
643/* -----------------------------------------------------------------------------
644 * Create a new pointer string
645 * ----------------------------------------------------------------------------- */
093d3ff1
RD
646#ifndef SWIG_BUFFER_SIZE
647#define SWIG_BUFFER_SIZE 1024
648#endif
649
32fe5131
RD
650/* A crude PyString_FromFormat implementation for old Pythons */
651#if PY_VERSION_HEX < 0x02020000
652static PyObject *
653PyString_FromFormat(const char *fmt, ...) {
654 va_list ap;
655 char buf[SWIG_BUFFER_SIZE * 2];
656 int res;
657 va_start(ap, fmt);
658 res = vsnprintf(buf, sizeof(buf), fmt, ap);
659 va_end(ap);
660 return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf);
661}
662#endif
663
664#if PY_VERSION_HEX < 0x01060000
665#define PyObject_Del(op) PyMem_DEL((op))
666#endif
667
093d3ff1
RD
668#if defined(SWIG_COBJECT_TYPES)
669#if !defined(SWIG_COBJECT_PYTHON)
670/* -----------------------------------------------------------------------------
671 * Implements a simple Swig Object type, and use it instead of PyCObject
672 * ----------------------------------------------------------------------------- */
673
674typedef struct {
675 PyObject_HEAD
676 void *ptr;
677 const char *desc;
678} PySwigObject;
679
680/* Declarations for objects of type PySwigObject */
681
682SWIGRUNTIME int
683PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
684{
685 char result[SWIG_BUFFER_SIZE];
32fe5131 686 flags = flags;
093d3ff1
RD
687 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
688 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
689 return 0;
690 } else {
691 return 1;
692 }
693}
694
695SWIGRUNTIME PyObject *
696PySwigObject_repr(PySwigObject *v)
697{
698 char result[SWIG_BUFFER_SIZE];
699 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
700 PyString_FromFormat("<Swig Object at %s>", result) : 0;
701}
702
703SWIGRUNTIME PyObject *
704PySwigObject_str(PySwigObject *v)
705{
706 char result[SWIG_BUFFER_SIZE];
707 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
708 PyString_FromString(result) : 0;
709}
710
711SWIGRUNTIME PyObject *
712PySwigObject_long(PySwigObject *v)
713{
32fe5131
RD
714 return PyLong_FromVoidPtr(v->ptr);
715}
716
717SWIGRUNTIME PyObject *
718PySwigObject_format(const char* fmt, PySwigObject *v)
719{
720 PyObject *res = NULL;
721 PyObject *args = PyTuple_New(1);
722 if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) {
723 PyObject *ofmt = PyString_FromString(fmt);
724 if (ofmt) {
725 res = PyString_Format(ofmt,args);
726 Py_DECREF(ofmt);
727 }
728 Py_DECREF(args);
729 }
730 return res;
093d3ff1
RD
731}
732
733SWIGRUNTIME PyObject *
734PySwigObject_oct(PySwigObject *v)
735{
32fe5131 736 return PySwigObject_format("%o",v);
093d3ff1
RD
737}
738
739SWIGRUNTIME PyObject *
740PySwigObject_hex(PySwigObject *v)
741{
32fe5131 742 return PySwigObject_format("%x",v);
093d3ff1
RD
743}
744
745SWIGRUNTIME int
746PySwigObject_compare(PySwigObject *v, PySwigObject *w)
747{
748 int c = strcmp(v->desc, w->desc);
749 if (c) {
32fe5131 750 return (c > 0) ? 1 : -1;
093d3ff1
RD
751 } else {
752 void *i = v->ptr;
753 void *j = w->ptr;
32fe5131 754 return (i < j) ? -1 : ((i > j) ? 1 : 0);
093d3ff1
RD
755 }
756}
757
758SWIGRUNTIME void
759PySwigObject_dealloc(PySwigObject *self)
760{
32fe5131 761 PyObject_Del(self);
093d3ff1
RD
762}
763
764SWIGRUNTIME PyTypeObject*
32fe5131
RD
765PySwigObject_type(void) {
766 static char pyswigobject_type__doc__[] =
093d3ff1
RD
767 "Swig object carries a C/C++ instance pointer";
768
769 static PyNumberMethods PySwigObject_as_number = {
770 (binaryfunc)0, /*nb_add*/
771 (binaryfunc)0, /*nb_subtract*/
772 (binaryfunc)0, /*nb_multiply*/
773 (binaryfunc)0, /*nb_divide*/
774 (binaryfunc)0, /*nb_remainder*/
775 (binaryfunc)0, /*nb_divmod*/
776 (ternaryfunc)0,/*nb_power*/
777 (unaryfunc)0, /*nb_negative*/
778 (unaryfunc)0, /*nb_positive*/
779 (unaryfunc)0, /*nb_absolute*/
780 (inquiry)0, /*nb_nonzero*/
781 0, /*nb_invert*/
782 0, /*nb_lshift*/
783 0, /*nb_rshift*/
784 0, /*nb_and*/
785 0, /*nb_xor*/
786 0, /*nb_or*/
787 (coercion)0, /*nb_coerce*/
788 (unaryfunc)PySwigObject_long, /*nb_int*/
789 (unaryfunc)PySwigObject_long, /*nb_long*/
790 (unaryfunc)0, /*nb_float*/
791 (unaryfunc)PySwigObject_oct, /*nb_oct*/
792 (unaryfunc)PySwigObject_hex, /*nb_hex*/
32fe5131 793#if PY_VERSION_HEX >= 0x02020000
093d3ff1 794 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
32fe5131
RD
795#elif PY_VERSION_HEX >= 0x02000000
796 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
093d3ff1
RD
797#endif
798 };
799
32fe5131
RD
800 static PyTypeObject pyswigobject_type
801#if !defined(__cplusplus)
802 ;
803 static int type_init = 0;
093d3ff1 804 if (!type_init) {
32fe5131
RD
805 PyTypeObject tmp
806#endif
807 = {
093d3ff1
RD
808 PyObject_HEAD_INIT(&PyType_Type)
809 0, /*ob_size*/
32fe5131 810 (char *)"PySwigObject", /*tp_name*/
093d3ff1
RD
811 sizeof(PySwigObject), /*tp_basicsize*/
812 0, /*tp_itemsize*/
813 /* methods */
814 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
815 (printfunc)PySwigObject_print, /*tp_print*/
816 (getattrfunc)0, /*tp_getattr*/
817 (setattrfunc)0, /*tp_setattr*/
818 (cmpfunc)PySwigObject_compare, /*tp_compare*/
819 (reprfunc)PySwigObject_repr, /*tp_repr*/
820 &PySwigObject_as_number, /*tp_as_number*/
821 0, /*tp_as_sequence*/
822 0, /*tp_as_mapping*/
823 (hashfunc)0, /*tp_hash*/
824 (ternaryfunc)0, /*tp_call*/
825 (reprfunc)PySwigObject_str, /*tp_str*/
826 /* Space for future expansion */
32fe5131
RD
827 0,0,0,0,
828 pyswigobject_type__doc__, /* Documentation string */
093d3ff1
RD
829#if PY_VERSION_HEX >= 0x02000000
830 0, /* tp_traverse */
831 0, /* tp_clear */
832#endif
833#if PY_VERSION_HEX >= 0x02010000
834 0, /* tp_richcompare */
835 0, /* tp_weaklistoffset */
836#endif
837#if PY_VERSION_HEX >= 0x02020000
838 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
839#endif
840#if PY_VERSION_HEX >= 0x02030000
841 0, /* tp_del */
842#endif
843#ifdef COUNT_ALLOCS
844 0,0,0,0 /* tp_alloc -> tp_next */
845#endif
846 };
32fe5131
RD
847#if !defined(__cplusplus)
848 pyswigobject_type = tmp;
093d3ff1
RD
849 type_init = 1;
850 }
32fe5131
RD
851#endif
852 return &pyswigobject_type;
093d3ff1
RD
853}
854
855SWIGRUNTIME PyObject *
856PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
857{
32fe5131
RD
858 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type());
859 if (self) {
860 self->ptr = ptr;
861 self->desc = desc;
862 }
093d3ff1
RD
863 return (PyObject *)self;
864}
865
866SWIGRUNTIMEINLINE void *
867PySwigObject_AsVoidPtr(PyObject *self)
868{
869 return ((PySwigObject *)self)->ptr;
870}
871
872SWIGRUNTIMEINLINE const char *
873PySwigObject_GetDesc(PyObject *self)
874{
875 return ((PySwigObject *)self)->desc;
876}
877
878SWIGRUNTIMEINLINE int
879PySwigObject_Check(PyObject *op) {
32fe5131 880 return ((op)->ob_type == PySwigObject_type())
093d3ff1
RD
881 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
882}
883
884/* -----------------------------------------------------------------------------
885 * Implements a simple Swig Packed type, and use it instead of string
886 * ----------------------------------------------------------------------------- */
887
888typedef struct {
889 PyObject_HEAD
890 void *pack;
891 const char *desc;
892 size_t size;
893} PySwigPacked;
894
895SWIGRUNTIME int
896PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
897{
898 char result[SWIG_BUFFER_SIZE];
32fe5131 899 flags = flags;
093d3ff1
RD
900 fputs("<Swig Packed ", fp);
901 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
902 fputs("at ", fp);
903 fputs(result, fp);
904 }
905 fputs(v->desc,fp);
906 fputs(">", fp);
907 return 0;
908}
909
910SWIGRUNTIME PyObject *
911PySwigPacked_repr(PySwigPacked *v)
912{
913 char result[SWIG_BUFFER_SIZE];
914 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
915 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
916 } else {
917 return PyString_FromFormat("<Swig Packed %s>", v->desc);
918 }
919}
920
921SWIGRUNTIME PyObject *
922PySwigPacked_str(PySwigPacked *v)
923{
924 char result[SWIG_BUFFER_SIZE];
925 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
926 return PyString_FromFormat("%s%s", result, v->desc);
927 } else {
32fe5131 928 return PyString_FromString(v->desc);
093d3ff1
RD
929 }
930}
931
932SWIGRUNTIME int
933PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
934{
935 int c = strcmp(v->desc, w->desc);
936 if (c) {
32fe5131 937 return (c > 0) ? 1 : -1;
093d3ff1
RD
938 } else {
939 size_t i = v->size;
940 size_t j = w->size;
32fe5131 941 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
093d3ff1
RD
942 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
943 }
d14a1e28 944}
093d3ff1
RD
945
946SWIGRUNTIME void
947PySwigPacked_dealloc(PySwigPacked *self)
948{
949 free(self->pack);
32fe5131 950 PyObject_Del(self);
093d3ff1
RD
951}
952
953SWIGRUNTIME PyTypeObject*
32fe5131
RD
954PySwigPacked_type(void) {
955 static char pyswigpacked_type__doc__[] =
093d3ff1 956 "Swig object carries a C/C++ instance pointer";
32fe5131
RD
957 static PyTypeObject pyswigpacked_type
958#if !defined(__cplusplus)
959 ;
960 static int type_init = 0;
093d3ff1 961 if (!type_init) {
32fe5131
RD
962 PyTypeObject tmp
963#endif
964 = {
093d3ff1
RD
965 PyObject_HEAD_INIT(&PyType_Type)
966 0, /*ob_size*/
32fe5131 967 (char *)"PySwigPacked", /*tp_name*/
093d3ff1
RD
968 sizeof(PySwigPacked), /*tp_basicsize*/
969 0, /*tp_itemsize*/
970 /* methods */
971 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
972 (printfunc)PySwigPacked_print, /*tp_print*/
973 (getattrfunc)0, /*tp_getattr*/
974 (setattrfunc)0, /*tp_setattr*/
975 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
976 (reprfunc)PySwigPacked_repr, /*tp_repr*/
977 0, /*tp_as_number*/
978 0, /*tp_as_sequence*/
979 0, /*tp_as_mapping*/
980 (hashfunc)0, /*tp_hash*/
981 (ternaryfunc)0, /*tp_call*/
982 (reprfunc)PySwigPacked_str, /*tp_str*/
983 /* Space for future expansion */
32fe5131
RD
984 0,0,0,0,
985 pyswigpacked_type__doc__, /* Documentation string */
093d3ff1
RD
986#if PY_VERSION_HEX >= 0x02000000
987 0, /* tp_traverse */
988 0, /* tp_clear */
989#endif
990#if PY_VERSION_HEX >= 0x02010000
991 0, /* tp_richcompare */
992 0, /* tp_weaklistoffset */
993#endif
994#if PY_VERSION_HEX >= 0x02020000
995 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
d14a1e28 996#endif
093d3ff1
RD
997#if PY_VERSION_HEX >= 0x02030000
998 0, /* tp_del */
999#endif
1000#ifdef COUNT_ALLOCS
1001 0,0,0,0 /* tp_alloc -> tp_next */
1002#endif
1003 };
32fe5131
RD
1004#if !defined(__cplusplus)
1005 pyswigpacked_type = tmp;
093d3ff1
RD
1006 type_init = 1;
1007 }
32fe5131
RD
1008#endif
1009 return &pyswigpacked_type;
093d3ff1
RD
1010}
1011
1012SWIGRUNTIME PyObject *
1013PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
1014{
32fe5131 1015 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type());
093d3ff1
RD
1016 if (self == NULL) {
1017 return NULL;
1018 } else {
1019 void *pack = malloc(size);
32fe5131
RD
1020 if (pack) {
1021 memcpy(pack, ptr, size);
1022 self->pack = pack;
1023 self->desc = desc;
1024 self->size = size;
1025 return (PyObject *) self;
1026 }
1027 return NULL;
093d3ff1
RD
1028 }
1029}
1030
1031SWIGRUNTIMEINLINE const char *
1032PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1033{
1034 PySwigPacked *self = (PySwigPacked *)obj;
1035 if (self->size != size) return 0;
1036 memcpy(ptr, self->pack, size);
1037 return self->desc;
1038}
1039
1040SWIGRUNTIMEINLINE const char *
1041PySwigPacked_GetDesc(PyObject *self)
1042{
1043 return ((PySwigPacked *)self)->desc;
1044}
1045
1046SWIGRUNTIMEINLINE int
1047PySwigPacked_Check(PyObject *op) {
32fe5131 1048 return ((op)->ob_type == PySwigPacked_type())
093d3ff1
RD
1049 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1050}
1051
1052#else
1053/* -----------------------------------------------------------------------------
1054 * Use the old Python PyCObject instead of PySwigObject
1055 * ----------------------------------------------------------------------------- */
1056
1057#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1058#define PySwigObject_Check(obj) PyCObject_Check(obj)
1059#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1060#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1061
1062#endif
1063
1064#endif
1065
1066/* -----------------------------------------------------------------------------
1067 * errors manipulation
1068 * ----------------------------------------------------------------------------- */
1069
1070SWIGRUNTIME void
1071SWIG_Python_TypeError(const char *type, PyObject *obj)
1072{
1073 if (type) {
1074#if defined(SWIG_COBJECT_TYPES)
32fe5131 1075 if (obj && PySwigObject_Check(obj)) {
093d3ff1
RD
1076 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1077 if (otype) {
1078 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1079 type, otype);
1080 return;
1081 }
1082 } else
1083#endif
1084 {
1085 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1086 if (otype) {
1087 PyObject *str = PyObject_Str(obj);
1088 const char *cstr = str ? PyString_AsString(str) : 0;
1089 if (cstr) {
1090 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1091 type, otype, cstr);
1092 } else {
1093 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1094 type, otype);
1095 }
32fe5131 1096 Py_XDECREF(str);
093d3ff1
RD
1097 return;
1098 }
1099 }
1100 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1101 } else {
1102 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1103 }
1104}
1105
1106SWIGRUNTIMEINLINE void
1107SWIG_Python_NullRef(const char *type)
1108{
1109 if (type) {
1110 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1111 } else {
1112 PyErr_Format(PyExc_TypeError, "null reference was received");
1113 }
1114}
1115
1116SWIGRUNTIME int
1117SWIG_Python_AddErrMesg(const char* mesg, int infront)
1118{
1119 if (PyErr_Occurred()) {
1120 PyObject *type = 0;
1121 PyObject *value = 0;
1122 PyObject *traceback = 0;
1123 PyErr_Fetch(&type, &value, &traceback);
1124 if (value) {
1125 PyObject *old_str = PyObject_Str(value);
1126 Py_XINCREF(type);
1127 PyErr_Clear();
1128 if (infront) {
1129 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1130 } else {
1131 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1132 }
1133 Py_DECREF(old_str);
1134 }
1135 return 1;
1136 } else {
1137 return 0;
1138 }
1139}
1140
1141SWIGRUNTIME int
1142SWIG_Python_ArgFail(int argnum)
1143{
1144 if (PyErr_Occurred()) {
1145 /* add information about failing argument */
1146 char mesg[256];
32fe5131 1147 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
093d3ff1
RD
1148 return SWIG_Python_AddErrMesg(mesg, 1);
1149 } else {
1150 return 0;
1151 }
1152}
1153
1154
1155/* -----------------------------------------------------------------------------
1156 * pointers/data manipulation
1157 * ----------------------------------------------------------------------------- */
1158
1159/* Convert a pointer value */
1160SWIGRUNTIME int
1161SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
32fe5131 1162 swig_cast_info *tc;
093d3ff1
RD
1163 const char *c = 0;
1164 static PyObject *SWIG_this = 0;
1165 int newref = 0;
1166 PyObject *pyobj = 0;
1167 void *vptr;
1168
1169 if (!obj) return 0;
1170 if (obj == Py_None) {
1171 *ptr = 0;
1172 return 0;
1173 }
1174
1175#ifdef SWIG_COBJECT_TYPES
1176 if (!(PySwigObject_Check(obj))) {
1177 if (!SWIG_this)
1178 SWIG_this = PyString_FromString("this");
1179 pyobj = obj;
1180 obj = PyObject_GetAttr(obj,SWIG_this);
1181 newref = 1;
1182 if (!obj) goto type_error;
1183 if (!PySwigObject_Check(obj)) {
1184 Py_DECREF(obj);
1185 goto type_error;
1186 }
1187 }
1188 vptr = PySwigObject_AsVoidPtr(obj);
1189 c = (const char *) PySwigObject_GetDesc(obj);
1190 if (newref) { Py_DECREF(obj); }
1191 goto type_check;
1192#else
1193 if (!(PyString_Check(obj))) {
1194 if (!SWIG_this)
1195 SWIG_this = PyString_FromString("this");
1196 pyobj = obj;
1197 obj = PyObject_GetAttr(obj,SWIG_this);
1198 newref = 1;
1199 if (!obj) goto type_error;
1200 if (!PyString_Check(obj)) {
1201 Py_DECREF(obj);
1202 goto type_error;
1203 }
1204 }
32fe5131 1205 c = PyString_AsString(obj);
093d3ff1
RD
1206 /* Pointer values must start with leading underscore */
1207 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1208 if (newref) { Py_DECREF(obj); }
1209 if (!c) goto type_error;
1210#endif
1211
1212type_check:
093d3ff1
RD
1213 if (ty) {
1214 tc = SWIG_TypeCheck(c,ty);
1215 if (!tc) goto type_error;
1216 *ptr = SWIG_TypeCast(tc,vptr);
1217 } else {
1218 *ptr = vptr;
1219 }
093d3ff1
RD
1220 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1221 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1222 }
1223 return 0;
1224
1225type_error:
1226 PyErr_Clear();
1227 if (pyobj && !obj) {
1228 obj = pyobj;
1229 if (PyCFunction_Check(obj)) {
1230 /* here we get the method pointer for callbacks */
1231 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1232 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1233 if (c) {
32fe5131 1234 c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0;
093d3ff1
RD
1235 if (!c) goto type_error;
1236 goto type_check;
1237 }
1238 }
1239 }
1240 if (flags & SWIG_POINTER_EXCEPTION) {
1241 if (ty) {
1242 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1243 } else {
1244 SWIG_Python_TypeError("C/C++ pointer", obj);
1245 }
1246 }
1247 return -1;
1248}
1249
1250/* Convert a pointer value, signal an exception on a type mismatch */
1251SWIGRUNTIME void *
1252SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1253 void *result;
1254 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1255 PyErr_Clear();
1256 if (flags & SWIG_POINTER_EXCEPTION) {
1257 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1258 SWIG_Python_ArgFail(argnum);
1259 }
1260 }
1261 return result;
1262}
1263
1264/* Convert a packed value value */
1265SWIGRUNTIME int
1266SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
32fe5131 1267 swig_cast_info *tc;
093d3ff1
RD
1268 const char *c = 0;
1269
1270#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1271 c = PySwigPacked_UnpackData(obj, ptr, sz);
1272#else
1273 if ((!obj) || (!PyString_Check(obj))) goto type_error;
32fe5131 1274 c = PyString_AsString(obj);
093d3ff1
RD
1275 /* Pointer values must start with leading underscore */
1276 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1277#endif
1278 if (!c) goto type_error;
1279 if (ty) {
1280 tc = SWIG_TypeCheck(c,ty);
1281 if (!tc) goto type_error;
1282 }
1283 return 0;
1284
1285type_error:
1286 PyErr_Clear();
1287 if (flags & SWIG_POINTER_EXCEPTION) {
1288 if (ty) {
1289 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1290 } else {
1291 SWIG_Python_TypeError("C/C++ packed data", obj);
1292 }
1293 }
1294 return -1;
1295}
1296
1297/* Create a new array object */
1298SWIGRUNTIME PyObject *
1299SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1300 PyObject *robj = 0;
32fe5131
RD
1301 if (!type) {
1302 if (!PyErr_Occurred()) {
1303 PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj");
1304 }
1305 return robj;
1306 }
093d3ff1
RD
1307 if (!ptr) {
1308 Py_INCREF(Py_None);
1309 return Py_None;
1310 }
1311#ifdef SWIG_COBJECT_TYPES
1312 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1313#else
1314 {
1315 char result[SWIG_BUFFER_SIZE];
1316 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1317 PyString_FromString(result) : 0;
1318 }
1319#endif
1320 if (!robj || (robj == Py_None)) return robj;
1321 if (type->clientdata) {
1322 PyObject *inst;
1323 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1324 Py_DECREF(robj);
1325 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1326 Py_DECREF(args);
1327 if (inst) {
1328 if (own) {
1329 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1330 }
1331 robj = inst;
1332 }
1333 }
1334 return robj;
1335}
1336
1337SWIGRUNTIME PyObject *
1338SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1339 PyObject *robj = 0;
1340 if (!ptr) {
1341 Py_INCREF(Py_None);
1342 return Py_None;
1343 }
1344#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1345 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1346#else
1347 {
1348 char result[SWIG_BUFFER_SIZE];
1349 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1350 PyString_FromString(result) : 0;
1351 }
1352#endif
1353 return robj;
1354}
1355
1356/* -----------------------------------------------------------------------------*
1357 * Get type list
1358 * -----------------------------------------------------------------------------*/
1359
1360#ifdef SWIG_LINK_RUNTIME
1361void *SWIG_ReturnGlobalTypeList(void *);
1362#endif
1363
32fe5131
RD
1364SWIGRUNTIME swig_module_info *
1365SWIG_Python_GetModule(void) {
093d3ff1
RD
1366 static void *type_pointer = (void *)0;
1367 /* first check if module already created */
1368 if (!type_pointer) {
1369#ifdef SWIG_LINK_RUNTIME
1370 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1371#else
1372 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1373 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1374 if (PyErr_Occurred()) {
1375 PyErr_Clear();
1376 type_pointer = (void *)0;
1377 }
093d3ff1 1378#endif
32fe5131
RD
1379 }
1380 return (swig_module_info *) type_pointer;
093d3ff1
RD
1381}
1382
32fe5131
RD
1383#if PY_MAJOR_VERSION < 2
1384/* PyModule_AddObject function was introduced in Python 2.0. The following function
1385is copied out of Python/modsupport.c in python version 2.3.4 */
1386SWIGINTERN int
1387PyModule_AddObject(PyObject *m, char *name, PyObject *o)
1388{
1389 PyObject *dict;
1390 if (!PyModule_Check(m)) {
1391 PyErr_SetString(PyExc_TypeError,
1392 "PyModule_AddObject() needs module as first arg");
1393 return -1;
1394 }
1395 if (!o) {
1396 PyErr_SetString(PyExc_TypeError,
1397 "PyModule_AddObject() needs non-NULL value");
1398 return -1;
1399 }
1400
1401 dict = PyModule_GetDict(m);
1402 if (dict == NULL) {
1403 /* Internal error -- modules must have a dict! */
1404 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
1405 PyModule_GetName(m));
1406 return -1;
1407 }
1408 if (PyDict_SetItemString(dict, name, o))
1409 return -1;
1410 Py_DECREF(o);
1411 return 0;
093d3ff1 1412}
32fe5131 1413#endif
093d3ff1 1414
32fe5131
RD
1415SWIGRUNTIME void
1416SWIG_Python_SetModule(swig_module_info *swig_module) {
1417 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
1418
1419 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1420 swig_empty_runtime_method_table);
1421 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL);
1422 if (pointer && module) {
1423 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1424 }
1425}
093d3ff1
RD
1426
1427#ifdef __cplusplus
1428}
1429#endif
d14a1e28 1430
c32bde28 1431
d14a1e28
RD
1432/* -------- TYPES TABLE (BEGIN) -------- */
1433
32fe5131
RD
1434#define SWIGTYPE_p_buffer swig_types[0]
1435#define SWIGTYPE_p_char swig_types[1]
1436#define SWIGTYPE_p_form_ops_t swig_types[2]
1437#define SWIGTYPE_p_int swig_types[3]
1438#define SWIGTYPE_p_long swig_types[4]
1439#define SWIGTYPE_p_unsigned_char swig_types[5]
1440#define SWIGTYPE_p_unsigned_int swig_types[6]
1441#define SWIGTYPE_p_unsigned_long swig_types[7]
1442#define SWIGTYPE_p_wxANIHandler swig_types[8]
1443#define SWIGTYPE_p_wxAcceleratorEntry swig_types[9]
1444#define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
1445#define SWIGTYPE_p_wxActivateEvent swig_types[11]
1446#define SWIGTYPE_p_wxAppTraits swig_types[12]
1447#define SWIGTYPE_p_wxArrayString swig_types[13]
1448#define SWIGTYPE_p_wxBMPHandler swig_types[14]
1449#define SWIGTYPE_p_wxBitmap swig_types[15]
1450#define SWIGTYPE_p_wxBoxSizer swig_types[16]
1451#define SWIGTYPE_p_wxButton swig_types[17]
1452#define SWIGTYPE_p_wxCURHandler swig_types[18]
1453#define SWIGTYPE_p_wxCaret swig_types[19]
1454#define SWIGTYPE_p_wxChildFocusEvent swig_types[20]
1455#define SWIGTYPE_p_wxCloseEvent swig_types[21]
1456#define SWIGTYPE_p_wxColour swig_types[22]
1457#define SWIGTYPE_p_wxCommandEvent swig_types[23]
1458#define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
1459#define SWIGTYPE_p_wxControl swig_types[25]
1460#define SWIGTYPE_p_wxControlWithItems swig_types[26]
1461#define SWIGTYPE_p_wxCursor swig_types[27]
1462#define SWIGTYPE_p_wxDC swig_types[28]
1463#define SWIGTYPE_p_wxDateEvent swig_types[29]
1464#define SWIGTYPE_p_wxDateTime swig_types[30]
1465#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
1466#define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
1467#define SWIGTYPE_p_wxDuplexMode swig_types[33]
1468#define SWIGTYPE_p_wxEraseEvent swig_types[34]
1469#define SWIGTYPE_p_wxEvent swig_types[35]
1470#define SWIGTYPE_p_wxEventLoop swig_types[36]
1471#define SWIGTYPE_p_wxEventLoopActivator swig_types[37]
1472#define SWIGTYPE_p_wxEvtHandler swig_types[38]
1473#define SWIGTYPE_p_wxFSFile swig_types[39]
1474#define SWIGTYPE_p_wxFileSystem swig_types[40]
1475#define SWIGTYPE_p_wxFileSystemHandler swig_types[41]
1476#define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
1477#define SWIGTYPE_p_wxFocusEvent swig_types[43]
1478#define SWIGTYPE_p_wxFont swig_types[44]
1479#define SWIGTYPE_p_wxFrame swig_types[45]
1480#define SWIGTYPE_p_wxGBPosition swig_types[46]
1481#define SWIGTYPE_p_wxGBSizerItem swig_types[47]
1482#define SWIGTYPE_p_wxGBSpan swig_types[48]
1483#define SWIGTYPE_p_wxGIFHandler swig_types[49]
1484#define SWIGTYPE_p_wxGridBagSizer swig_types[50]
1485#define SWIGTYPE_p_wxGridSizer swig_types[51]
1486#define SWIGTYPE_p_wxICOHandler swig_types[52]
1487#define SWIGTYPE_p_wxIconizeEvent swig_types[53]
1488#define SWIGTYPE_p_wxIdleEvent swig_types[54]
1489#define SWIGTYPE_p_wxImage swig_types[55]
1490#define SWIGTYPE_p_wxImageHandler swig_types[56]
1491#define SWIGTYPE_p_wxImageHistogram swig_types[57]
1492#define SWIGTYPE_p_wxImage_HSVValue swig_types[58]
1493#define SWIGTYPE_p_wxImage_RGBValue swig_types[59]
1494#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
1495#define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
1496#define SWIGTYPE_p_wxInputStream swig_types[62]
1497#define SWIGTYPE_p_wxInternetFSHandler swig_types[63]
1498#define SWIGTYPE_p_wxItemContainer swig_types[64]
1499#define SWIGTYPE_p_wxJPEGHandler swig_types[65]
1500#define SWIGTYPE_p_wxKeyEvent swig_types[66]
1501#define SWIGTYPE_p_wxLayoutConstraints swig_types[67]
1502#define SWIGTYPE_p_wxMaximizeEvent swig_types[68]
1503#define SWIGTYPE_p_wxMemoryFSHandler swig_types[69]
1504#define SWIGTYPE_p_wxMenu swig_types[70]
1505#define SWIGTYPE_p_wxMenuBar swig_types[71]
1506#define SWIGTYPE_p_wxMenuBarBase swig_types[72]
1507#define SWIGTYPE_p_wxMenuEvent swig_types[73]
1508#define SWIGTYPE_p_wxMenuItem swig_types[74]
1509#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[75]
1510#define SWIGTYPE_p_wxMouseEvent swig_types[76]
1511#define SWIGTYPE_p_wxMoveEvent swig_types[77]
1512#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[78]
1513#define SWIGTYPE_p_wxNcPaintEvent swig_types[79]
1514#define SWIGTYPE_p_wxNotifyEvent swig_types[80]
1515#define SWIGTYPE_p_wxObject swig_types[81]
1516#define SWIGTYPE_p_wxOutputStream swig_types[82]
1517#define SWIGTYPE_p_wxPCXHandler swig_types[83]
1518#define SWIGTYPE_p_wxPNGHandler swig_types[84]
1519#define SWIGTYPE_p_wxPNMHandler swig_types[85]
1520#define SWIGTYPE_p_wxPaintEvent swig_types[86]
1521#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87]
1522#define SWIGTYPE_p_wxPaperSize swig_types[88]
1523#define SWIGTYPE_p_wxPoint swig_types[89]
1524#define SWIGTYPE_p_wxPoint2D swig_types[90]
1525#define SWIGTYPE_p_wxPropagateOnce swig_types[91]
1526#define SWIGTYPE_p_wxPropagationDisabler swig_types[92]
1527#define SWIGTYPE_p_wxPyApp swig_types[93]
1528#define SWIGTYPE_p_wxPyCommandEvent swig_types[94]
1529#define SWIGTYPE_p_wxPyDropTarget swig_types[95]
1530#define SWIGTYPE_p_wxPyEvent swig_types[96]
1531#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[97]
1532#define SWIGTYPE_p_wxPyImageHandler swig_types[98]
1533#define SWIGTYPE_p_wxPyInputStream swig_types[99]
1534#define SWIGTYPE_p_wxPySizer swig_types[100]
1535#define SWIGTYPE_p_wxPyValidator swig_types[101]
1536#define SWIGTYPE_p_wxQuantize swig_types[102]
1537#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[103]
1538#define SWIGTYPE_p_wxRealPoint swig_types[104]
1539#define SWIGTYPE_p_wxRect swig_types[105]
1540#define SWIGTYPE_p_wxRegion swig_types[106]
1541#define SWIGTYPE_p_wxScrollEvent swig_types[107]
1542#define SWIGTYPE_p_wxScrollWinEvent swig_types[108]
1543#define SWIGTYPE_p_wxSetCursorEvent swig_types[109]
1544#define SWIGTYPE_p_wxShowEvent swig_types[110]
1545#define SWIGTYPE_p_wxSize swig_types[111]
1546#define SWIGTYPE_p_wxSizeEvent swig_types[112]
1547#define SWIGTYPE_p_wxSizer swig_types[113]
1548#define SWIGTYPE_p_wxSizerItem swig_types[114]
1549#define SWIGTYPE_p_wxStaticBox swig_types[115]
1550#define SWIGTYPE_p_wxStaticBoxSizer swig_types[116]
1551#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[117]
1552#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[118]
1553#define SWIGTYPE_p_wxTIFFHandler swig_types[119]
1554#define SWIGTYPE_p_wxToolTip swig_types[120]
1555#define SWIGTYPE_p_wxUpdateUIEvent swig_types[121]
1556#define SWIGTYPE_p_wxValidator swig_types[122]
1557#define SWIGTYPE_p_wxVisualAttributes swig_types[123]
1558#define SWIGTYPE_p_wxWindow swig_types[124]
1559#define SWIGTYPE_p_wxWindowCreateEvent swig_types[125]
1560#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[126]
1561#define SWIGTYPE_p_wxXPMHandler swig_types[127]
1562#define SWIGTYPE_p_wxZipFSHandler swig_types[128]
1563#define SWIGTYPE_ptrdiff_t swig_types[129]
1564#define SWIGTYPE_std__ptrdiff_t swig_types[130]
1565#define SWIGTYPE_unsigned_int swig_types[131]
091f5bed 1566static swig_type_info *swig_types[133];
32fe5131
RD
1567static swig_module_info swig_module = {swig_types, 132, 0, 0, 0, 0};
1568#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1569#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
d14a1e28
RD
1570
1571/* -------- TYPES TABLE (END) -------- */
1572
1573
1574/*-----------------------------------------------
54f9ee45 1575 @(target):= _core_.so
d14a1e28 1576 ------------------------------------------------*/
54f9ee45 1577#define SWIG_init init_core_
d14a1e28 1578
54f9ee45 1579#define SWIG_name "_core_"
d14a1e28
RD
1580
1581#include "wx/wxPython/wxPython_int.h"
1582#include "wx/wxPython/pyclasses.h"
1583
1584
1585#ifndef wxPyUSE_EXPORT
1586// Helper functions for dealing with SWIG objects and such. These are
1587// located here so they know about the SWIG types and functions declared
1588// in the wrapper code.
1589
1590#include <wx/hashmap.h>
b1fcee84 1591WX_DECLARE_STRING_HASH_MAP( swig_type_info*, wxPyTypeInfoHashMap );
d14a1e28
RD
1592
1593
1594// Maintains a hashmap of className to swig_type_info pointers. Given the
1595// name of a class either looks up the type info in the cache, or scans the
1596// SWIG tables for it.
1597extern PyObject* wxPyPtrTypeMap;
1598static
1599swig_type_info* wxPyFindSwigType(const wxChar* className) {
1600
1601 static wxPyTypeInfoHashMap* typeInfoCache = NULL;
1602
1603 if (typeInfoCache == NULL)
1604 typeInfoCache = new wxPyTypeInfoHashMap;
1605
1606 wxString name(className);
1607 swig_type_info* swigType = (*typeInfoCache)[name];
1608
1609 if (! swigType) {
1610 // it wasn't in the cache, so look it up from SWIG
1611 name.Append(wxT(" *"));
093d3ff1 1612 swigType = SWIG_TypeQuery(name.mb_str());
d14a1e28
RD
1613
1614 // if it still wasn't found, try looking for a mapped name
1615 if (!swigType) {
1616 PyObject* item;
1617 name = className;
1618
1619 if ((item = PyDict_GetItemString(wxPyPtrTypeMap,
1620 (char*)(const char*)name.mbc_str())) != NULL) {
1621 name = wxString(PyString_AsString(item), *wxConvCurrent);
1622 name.Append(wxT(" *"));
093d3ff1 1623 swigType = SWIG_TypeQuery(name.mb_str());
d14a1e28
RD
1624 }
1625 }
1626 if (swigType) {
1627 // and add it to the map if found
1628 (*typeInfoCache)[className] = swigType;
1629 }
1630 }
1631 return swigType;
1632}
1633
1634
1635// Check if a class name is a type known to SWIG
1636bool wxPyCheckSwigType(const wxChar* className) {
1637
1638 swig_type_info* swigType = wxPyFindSwigType(className);
1639 return swigType != NULL;
1640}
1641
1642
1643// Given a pointer to a C++ object and a class name, construct a Python proxy
1644// object for it.
1645PyObject* wxPyConstructObject(void* ptr,
1646 const wxChar* className,
1647 int setThisOwn) {
1648
1649 swig_type_info* swigType = wxPyFindSwigType(className);
1650 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConstructObject"));
1651
1652 return SWIG_Python_NewPointerObj(ptr, swigType, setThisOwn);
1653}
1654
1655
1656// Extract a pointer to the wrapped C++ object from a Python proxy object.
1657// Ensures that the proxy object is of the specified (or derived) type. If
1658// not able to perform the conversion then a Python exception is set and the
e811c8ce 1659// error should be handled properly in the caller. Returns True on success.
d14a1e28
RD
1660bool wxPyConvertSwigPtr(PyObject* obj, void **ptr,
1661 const wxChar* className) {
1662
1663 swig_type_info* swigType = wxPyFindSwigType(className);
ae8162c8 1664 wxCHECK_MSG(swigType != NULL, false, wxT("Unknown type in wxPyConvertSwigPtr"));
d14a1e28
RD
1665
1666 return SWIG_Python_ConvertPtr(obj, ptr, swigType, SWIG_POINTER_EXCEPTION) != -1;
1667}
1668
1669
b1fcee84 1670
d14a1e28
RD
1671// Make a SWIGified pointer object suitable for a .this attribute
1672PyObject* wxPyMakeSwigPtr(void* ptr, const wxChar* className) {
1673
1674 PyObject* robj = NULL;
1675
1676 swig_type_info* swigType = wxPyFindSwigType(className);
7e08d4ef 1677 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyMakeSwigPtr"));
d14a1e28
RD
1678
1679#ifdef SWIG_COBJECT_TYPES
093d3ff1 1680 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)swigType->name);
d14a1e28
RD
1681#else
1682 {
1683 char result[1024];
093d3ff1
RD
1684 robj = SWIG_PackVoidPtr(result, ptr, swigType->name, sizeof(result)) ?
1685 PyString_FromString(result) : 0;
1686 }
7e08d4ef 1687#endif
d14a1e28
RD
1688 return robj;
1689}
1690
b1fcee84 1691
943e8dfd
RD
1692// Python's PyInstance_Check does not return True for instances of new-style
1693// classes. This should get close enough for both new and old classes but I
1694// should re-evaluate the need for doing instance checks...
1695bool wxPyInstance_Check(PyObject* obj) {
1696 return PyObject_HasAttrString(obj, "__class__") != 0;
1697}
1698
1699
943e8dfd
RD
1700// This one checks if the object is an instance of a SWIG proxy class (it has
1701// a .this attribute, and the .this attribute is a PySwigObject.)
1702bool wxPySwigInstance_Check(PyObject* obj) {
1703 static PyObject* this_str = NULL;
1704 if (this_str == NULL)
1705 this_str = PyString_FromString("this");
1706
1707 PyObject* this_attr = PyObject_GetAttr(obj, this_str);
1708 if (this_attr) {
1709 bool retval = (PySwigObject_Check(this_attr) != 0);
1710 Py_DECREF(this_attr);
1711 return retval;
1712 }
1713
1714 PyErr_Clear();
1715 return false;
1716}
d14a1e28
RD
1717
1718
1719// Export a C API in a struct. Other modules will be able to load this from
121b9a67
RD
1720// the wx._core_ module and will then have safe access to these functions,
1721// even if they are located in another shared library.
d14a1e28
RD
1722static wxPyCoreAPI API = {
1723
d14a1e28
RD
1724 wxPyCheckSwigType,
1725 wxPyConstructObject,
1726 wxPyConvertSwigPtr,
1727 wxPyMakeSwigPtr,
1728
1729 wxPyBeginAllowThreads,
1730 wxPyEndAllowThreads,
1731 wxPyBeginBlockThreads,
1732 wxPyEndBlockThreads,
1733
1734 wxPy_ConvertList,
1735
1736 wxString_in_helper,
1737 Py2wxString,
1738 wx2PyString,
1739
1740 byte_LIST_helper,
1741 int_LIST_helper,
1742 long_LIST_helper,
1743 string_LIST_helper,
1744 wxPoint_LIST_helper,
1745 wxBitmap_LIST_helper,
1746 wxString_LIST_helper,
1747 wxAcceleratorEntry_LIST_helper,
1748
1749 wxSize_helper,
1750 wxPoint_helper,
1751 wxRealPoint_helper,
1752 wxRect_helper,
1753 wxColour_helper,
1754 wxPoint2D_helper,
1755
1756 wxPySimple_typecheck,
1757 wxColour_typecheck,
1758
1759 wxPyCBH_setCallbackInfo,
1760 wxPyCBH_findCallback,
1761 wxPyCBH_callCallback,
1762 wxPyCBH_callCallbackObj,
1763 wxPyCBH_delete,
1764
1765 wxPyMake_wxObject,
1766 wxPyMake_wxSizer,
1767 wxPyPtrTypeMap_Add,
1768 wxPy2int_seq_helper,
1769 wxPy4int_seq_helper,
1770 wxArrayString2PyList_helper,
1771 wxArrayInt2PyList_helper,
1772
1773 wxPyClientData_dtor,
1774 wxPyUserData_dtor,
1775 wxPyOORClientData_dtor,
1776
1777 wxPyCBInputStream_create,
e2950dbb
RD
1778 wxPyCBInputStream_copy,
1779
d14a1e28 1780 wxPyInstance_Check,
e3b71cb8
RD
1781 wxPySwigInstance_Check,
1782
1783 wxPyCheckForApp
d14a1e28
RD
1784
1785};
1786
1787#endif
1788
1789
7557b9b5
RD
1790#if !WXWIN_COMPATIBILITY_2_4
1791 #define wxHIDE_READONLY 0
1792#endif
1793
1794
32fe5131 1795 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
1796#define SWIG_From_int PyInt_FromLong
1797/*@@*/
1798
196addbf 1799 static const wxString wxPyEmptyString(wxEmptyString);
093d3ff1 1800static wxString wxObject_GetClassName(wxObject *self){
d14a1e28
RD
1801 return self->GetClassInfo()->GetClassName();
1802 }
093d3ff1 1803static void wxObject_Destroy(wxObject *self){
d14a1e28
RD
1804 delete self;
1805 }
1806
1807#ifndef __WXMAC__
1808#define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1809#endif
1810
994141e6 1811
15afbcd0
RD
1812#include <limits.h>
1813
1814
093d3ff1 1815SWIGINTERN int
c32bde28
RD
1816 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1817 const char *errmsg)
15afbcd0 1818{
c32bde28
RD
1819 if (value < min_value) {
1820 if (errmsg) {
1821 PyErr_Format(PyExc_OverflowError,
1822 "value %ld is less than '%s' minimum %ld",
1823 value, errmsg, min_value);
1824 }
1825 return 0;
1826 } else if (value > max_value) {
1827 if (errmsg) {
1828 PyErr_Format(PyExc_OverflowError,
1829 "value %ld is greater than '%s' maximum %ld",
1830 value, errmsg, max_value);
15afbcd0 1831 }
c32bde28 1832 return 0;
15afbcd0 1833 }
c32bde28 1834 return 1;
15afbcd0
RD
1835}
1836
1837
093d3ff1 1838SWIGINTERN int
c32bde28 1839SWIG_AsVal_long(PyObject* obj, long* val)
15afbcd0 1840{
c32bde28
RD
1841 if (PyNumber_Check(obj)) {
1842 if (val) *val = PyInt_AsLong(obj);
1843 return 1;
1844 }
69223c70 1845 else {
7e08d4ef 1846 SWIG_Python_TypeError("number", obj);
69223c70 1847 }
c32bde28 1848 return 0;
15afbcd0
RD
1849}
1850
1851
1852#if INT_MAX != LONG_MAX
093d3ff1 1853SWIGINTERN int
c32bde28 1854 SWIG_AsVal_int(PyObject *obj, int *val)
994141e6 1855{
093d3ff1 1856 const char* errmsg = val ? "int" : (char*)0;
c32bde28
RD
1857 long v;
1858 if (SWIG_AsVal_long(obj, &v)) {
1859 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
32fe5131 1860 if (val) *val = static_cast<int >(v);
c32bde28
RD
1861 return 1;
1862 } else {
1863 return 0;
1864 }
1865 } else {
1866 PyErr_Clear();
1867 }
1868 if (val) {
093d3ff1 1869 SWIG_type_error(errmsg, obj);
c32bde28
RD
1870 }
1871 return 0;
15afbcd0
RD
1872}
1873#else
32fe5131 1874SWIGINTERNINLINE int
c32bde28
RD
1875 SWIG_AsVal_int(PyObject *obj, int *val)
1876{
1877 return SWIG_AsVal_long(obj,(long*)val);
1878}
15afbcd0
RD
1879#endif
1880
1881
32fe5131 1882SWIGINTERNINLINE int
c32bde28 1883SWIG_As_int(PyObject* obj)
15afbcd0 1884{
c32bde28
RD
1885 int v;
1886 if (!SWIG_AsVal_int(obj, &v)) {
1887 /*
093d3ff1 1888 this is needed to make valgrind/purify happier.
c32bde28
RD
1889 */
1890 memset((void*)&v, 0, sizeof(int));
15afbcd0 1891 }
c32bde28
RD
1892 return v;
1893}
1894
1895
32fe5131 1896SWIGINTERNINLINE int
c32bde28
RD
1897SWIG_Check_int(PyObject* obj)
1898{
1899 return SWIG_AsVal_int(obj, (int*)0);
994141e6
RD
1900}
1901
093d3ff1 1902static PyObject *wxSize_Get(wxSize *self){
5a446332 1903 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1904 PyObject* tup = PyTuple_New(2);
1905 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
1906 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
4f89f6a3 1907 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1908 return tup;
1909 }
994141e6 1910
093d3ff1 1911SWIGINTERN int
c32bde28 1912SWIG_AsVal_double(PyObject *obj, double* val)
994141e6 1913{
c32bde28
RD
1914 if (PyNumber_Check(obj)) {
1915 if (val) *val = PyFloat_AsDouble(obj);
1916 return 1;
1917 }
69223c70 1918 else {
7e08d4ef 1919 SWIG_Python_TypeError("number", obj);
69223c70 1920 }
c32bde28 1921 return 0;
15afbcd0
RD
1922}
1923
1924
32fe5131 1925SWIGINTERNINLINE double
c32bde28 1926SWIG_As_double(PyObject* obj)
15afbcd0 1927{
c32bde28
RD
1928 double v;
1929 if (!SWIG_AsVal_double(obj, &v)) {
1930 /*
093d3ff1 1931 this is needed to make valgrind/purify happier.
c32bde28
RD
1932 */
1933 memset((void*)&v, 0, sizeof(double));
15afbcd0 1934 }
c32bde28
RD
1935 return v;
1936}
1937
1938
32fe5131 1939SWIGINTERNINLINE int
c32bde28
RD
1940SWIG_Check_double(PyObject* obj)
1941{
1942 return SWIG_AsVal_double(obj, (double*)0);
994141e6
RD
1943}
1944
093d3ff1 1945
32fe5131 1946 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
1947#define SWIG_From_double PyFloat_FromDouble
1948/*@@*/
1949
1950static void wxRealPoint_Set(wxRealPoint *self,double x,double y){
d14a1e28
RD
1951 self->x = x;
1952 self->y = y;
1953 }
093d3ff1 1954static PyObject *wxRealPoint_Get(wxRealPoint *self){
5a446332 1955 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1956 PyObject* tup = PyTuple_New(2);
1957 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->x));
1958 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->y));
4f89f6a3 1959 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1960 return tup;
1961 }
994141e6 1962
32fe5131 1963SWIGINTERNINLINE long
c32bde28 1964SWIG_As_long(PyObject* obj)
994141e6 1965{
c32bde28
RD
1966 long v;
1967 if (!SWIG_AsVal_long(obj, &v)) {
1968 /*
093d3ff1 1969 this is needed to make valgrind/purify happier.
c32bde28
RD
1970 */
1971 memset((void*)&v, 0, sizeof(long));
15afbcd0 1972 }
c32bde28
RD
1973 return v;
1974}
1975
1976
32fe5131 1977SWIGINTERNINLINE int
c32bde28
RD
1978SWIG_Check_long(PyObject* obj)
1979{
1980 return SWIG_AsVal_long(obj, (long*)0);
994141e6
RD
1981}
1982
093d3ff1 1983static void wxPoint_Set(wxPoint *self,long x,long y){
d14a1e28
RD
1984 self->x = x;
1985 self->y = y;
1986 }
093d3ff1 1987static PyObject *wxPoint_Get(wxPoint *self){
5a446332 1988 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1989 PyObject* tup = PyTuple_New(2);
1990 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
1991 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
4f89f6a3 1992 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1993 return tup;
1994 }
093d3ff1 1995static void wxRect_Set(wxRect *self,int x=0,int y=0,int width=0,int height=0){
d14a1e28
RD
1996 self->x = x;
1997 self->y = y;
1998 self->width = width;
1999 self->height = height;
2000 }
093d3ff1 2001static PyObject *wxRect_Get(wxRect *self){
5a446332 2002 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
2003 PyObject* tup = PyTuple_New(4);
2004 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
2005 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
2006 PyTuple_SET_ITEM(tup, 2, PyInt_FromLong(self->width));
2007 PyTuple_SET_ITEM(tup, 3, PyInt_FromLong(self->height));
4f89f6a3 2008 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2009 return tup;
2010 }
2011
2012 PyObject* wxIntersectRect(wxRect* r1, wxRect* r2) {
2013 wxRegion reg1(*r1);
2014 wxRegion reg2(*r2);
2015 wxRect dest(0,0,0,0);
2016 PyObject* obj;
2017
2018 reg1.Intersect(reg2);
2019 dest = reg1.GetBox();
2020
2021 if (dest != wxRect(0,0,0,0)) {
5a446332 2022 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 2023 wxRect* newRect = new wxRect(dest);
ae8162c8 2024 obj = wxPyConstructObject((void*)newRect, wxT("wxRect"), true);
4f89f6a3 2025 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2026 return obj;
2027 }
2028 Py_INCREF(Py_None);
2029 return Py_None;
2030 }
2031
2032
7e08d4ef
RD
2033 static PyObject* t_output_helper(PyObject* result, PyObject* obj)
2034 {
2035 PyObject* o2;
2036 PyObject* o3;
2037 if (!result) {
2038 result = obj;
2039 } else if (result == Py_None) {
2040 Py_DECREF(result);
2041 result = obj;
2042 } else {
2043 if (!PyTuple_Check(result)) {
2044 o2 = result;
2045 result = PyTuple_New(1);
2046 PyTuple_SET_ITEM(result, 0, o2);
2047 }
2048 o3 = PyTuple_New(1);
2049 PyTuple_SetItem(o3, 0, obj);
2050 o2 = result;
2051 result = PySequence_Concat(o2, o3);
2052 Py_DECREF(o2);
2053 Py_DECREF(o3);
2054 }
2055 return result;
2056 }
d14a1e28 2057
c32bde28 2058
093d3ff1 2059static void wxPoint2D_Set(wxPoint2D *self,double x=0,double y=0){
d14a1e28
RD
2060 self->m_x = x;
2061 self->m_y = y;
2062 }
093d3ff1 2063static PyObject *wxPoint2D_Get(wxPoint2D *self){
5a446332 2064 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
2065 PyObject* tup = PyTuple_New(2);
2066 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->m_x));
2067 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->m_y));
4f89f6a3 2068 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2069 return tup;
2070 }
2071
2072#include "wx/wxPython/pyistream.h"
2073
093d3ff1 2074static wxPyInputStream *new_wxPyInputStream(PyObject *p){
d14a1e28
RD
2075 wxInputStream* wxis = wxPyCBInputStream::create(p);
2076 if (wxis)
2077 return new wxPyInputStream(wxis);
2078 else
2079 return NULL;
2080 }
994141e6 2081
32fe5131 2082SWIGINTERNINLINE PyObject*
c32bde28 2083 SWIG_From_char(char c)
994141e6
RD
2084{
2085 return PyString_FromStringAndSize(&c,1);
2086}
2087
2088
32fe5131 2089SWIGINTERNINLINE PyObject*
c32bde28 2090 SWIG_From_unsigned_SS_long(unsigned long value)
15afbcd0
RD
2091{
2092 return (value > LONG_MAX) ?
2093 PyLong_FromUnsignedLong(value)
32fe5131 2094 : PyInt_FromLong(static_cast<long >(value));
15afbcd0
RD
2095}
2096
2097
c32bde28 2098/* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
093d3ff1 2099SWIGINTERN int
c32bde28 2100SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize)
994141e6 2101{
15afbcd0 2102 static swig_type_info* pchar_info = 0;
c32bde28 2103 char* vptr = 0;
15afbcd0 2104 if (!pchar_info) pchar_info = SWIG_TypeQuery("char *");
c32bde28
RD
2105 if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_info, 0) != -1) {
2106 if (cptr) *cptr = vptr;
2107 if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0;
2108 return SWIG_OLDOBJ;
15afbcd0 2109 } else {
093d3ff1 2110 PyErr_Clear();
c32bde28
RD
2111 if (PyString_Check(obj)) {
2112 if (cptr) {
2113 *cptr = PyString_AS_STRING(obj);
2114 if (psize) {
2115 *psize = PyString_GET_SIZE(obj) + 1;
2116 }
2117 }
2118 return SWIG_PYSTR;
2119 }
15afbcd0 2120 }
c32bde28 2121 if (cptr) {
093d3ff1 2122 SWIG_type_error("char *", obj);
c32bde28
RD
2123 }
2124 return 0;
994141e6
RD
2125}
2126
2127
093d3ff1 2128SWIGINTERN int
c32bde28 2129SWIG_AsCharArray(PyObject *obj, char *val, size_t size)
15afbcd0
RD
2130{
2131 char* cptr; size_t csize;
c32bde28
RD
2132 if (SWIG_AsCharPtrAndSize(obj, &cptr, &csize)) {
2133 /* in C you can do:
2134
15afbcd0
RD
2135 char x[5] = "hello";
2136
2137 ie, assing the array using an extra '0' char.
2138 */
15afbcd0 2139 if ((csize == size + 1) && !(cptr[csize-1])) --csize;
c32bde28
RD
2140 if (csize <= size) {
2141 if (val) {
2142 if (csize) memcpy(val, cptr, csize);
2143 if (csize < size) memset(val + csize, 0, size - csize);
2144 }
2145 return 1;
15afbcd0
RD
2146 }
2147 }
c32bde28 2148 if (val) {
093d3ff1
RD
2149 PyErr_Format(PyExc_TypeError,
2150 "a char array of maximum size %lu is expected",
2151 (unsigned long) size);
c32bde28
RD
2152 }
2153 return 0;
15afbcd0
RD
2154}
2155
2156
093d3ff1 2157SWIGINTERN int
c32bde28
RD
2158 SWIG_AsVal_char(PyObject *obj, char *val)
2159{
093d3ff1 2160 const char* errmsg = val ? "char" : (char*)0;
c32bde28
RD
2161 long v;
2162 if (SWIG_AsVal_long(obj, &v)) {
2163 if (SWIG_CheckLongInRange(v, CHAR_MIN,CHAR_MAX, errmsg)) {
32fe5131 2164 if (val) *val = static_cast<char >(v);
c32bde28
RD
2165 return 1;
2166 } else {
2167 return 0;
2168 }
2169 } else {
2170 PyErr_Clear();
2171 return SWIG_AsCharArray(obj, val, 1);
2172 }
2173 }
2174
2175
32fe5131 2176SWIGINTERNINLINE char
c32bde28
RD
2177SWIG_As_char(PyObject* obj)
2178{
2179 char v;
2180 if (!SWIG_AsVal_char(obj, &v)) {
2181 /*
093d3ff1 2182 this is needed to make valgrind/purify happier.
c32bde28
RD
2183 */
2184 memset((void*)&v, 0, sizeof(char));
994141e6 2185 }
c32bde28 2186 return v;
994141e6
RD
2187}
2188
c32bde28 2189
32fe5131 2190SWIGINTERNINLINE int
c32bde28 2191SWIG_Check_char(PyObject* obj)
15afbcd0 2192{
c32bde28 2193 return SWIG_AsVal_char(obj, (char*)0);
15afbcd0
RD
2194}
2195
093d3ff1 2196
32fe5131 2197 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
2198#define SWIG_From_long PyInt_FromLong
2199/*@@*/
2200
2201static void wxOutputStream_write(wxOutputStream *self,PyObject *obj){
d14a1e28
RD
2202 // We use only strings for the streams, not unicode
2203 PyObject* str = PyObject_Str(obj);
2204 if (! str) {
2205 PyErr_SetString(PyExc_TypeError, "Unable to convert to string");
2206 return;
2207 }
2208 self->Write(PyString_AS_STRING(str),
2209 PyString_GET_SIZE(str));
2210 Py_DECREF(str);
2211 }
2212
2213#include "wx/wxPython/pyistream.h"
2214
2215
2216class wxPyFileSystemHandler : public wxFileSystemHandler
2217{
2218public:
2219 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2220
2221 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen);
2222 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile);
2223 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst);
2224 DEC_PYCALLBACK_STRING__pure(FindNext);
2225
2226 wxString GetProtocol(const wxString& location) {
2227 return wxFileSystemHandler::GetProtocol(location);
2228 }
2229
2230 wxString GetLeftLocation(const wxString& location) {
2231 return wxFileSystemHandler::GetLeftLocation(location);
2232 }
2233
2234 wxString GetAnchor(const wxString& location) {
2235 return wxFileSystemHandler::GetAnchor(location);
2236 }
2237
2238 wxString GetRightLocation(const wxString& location) {
2239 return wxFileSystemHandler::GetRightLocation(location);
2240 }
2241
2242 wxString GetMimeTypeFromExt(const wxString& location) {
2243 return wxFileSystemHandler::GetMimeTypeFromExt(location);
2244 }
2245
2246 PYPRIVATE;
2247};
2248
2249
2250IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, CanOpen);
2251IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, OpenFile);
2252IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler, wxFileSystemHandler, FindFirst);
2253IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler, wxFileSystemHandler, FindNext);
2254
2255
093d3ff1 2256SWIGINTERN int
c32bde28 2257 SWIG_AsVal_bool(PyObject *obj, bool *val)
994141e6 2258{
c32bde28
RD
2259 if (obj == Py_True) {
2260 if (val) *val = true;
2261 return 1;
2262 }
2263 if (obj == Py_False) {
2264 if (val) *val = false;
2265 return 1;
2266 }
2267 int res = 0;
2268 if (SWIG_AsVal_int(obj, &res)) {
093d3ff1 2269 if (val) *val = res ? true : false;
c32bde28 2270 return 1;
093d3ff1
RD
2271 } else {
2272 PyErr_Clear();
2273 }
c32bde28 2274 if (val) {
093d3ff1 2275 SWIG_type_error("bool", obj);
c32bde28
RD
2276 }
2277 return 0;
994141e6
RD
2278}
2279
2280
32fe5131 2281SWIGINTERNINLINE bool
c32bde28 2282SWIG_As_bool(PyObject* obj)
15afbcd0 2283{
c32bde28
RD
2284 bool v;
2285 if (!SWIG_AsVal_bool(obj, &v)) {
2286 /*
093d3ff1 2287 this is needed to make valgrind/purify happier.
c32bde28
RD
2288 */
2289 memset((void*)&v, 0, sizeof(bool));
15afbcd0 2290 }
c32bde28
RD
2291 return v;
2292}
2293
2294
32fe5131 2295SWIGINTERNINLINE int
c32bde28
RD
2296SWIG_Check_bool(PyObject* obj)
2297{
2298 return SWIG_AsVal_bool(obj, (bool*)0);
15afbcd0
RD
2299}
2300
32fe5131 2301static wxString wxFileSystem_URLToFileName(wxString const &url){
2ef75293
RD
2302 wxFileName fname = wxFileSystem::URLToFileName(url);
2303 return fname.GetFullPath();
2304 }
d14a1e28
RD
2305
2306 void __wxMemoryFSHandler_AddFile_wxImage(const wxString& filename,
2307 wxImage& image,
2308 long type) {
2309 wxMemoryFSHandler::AddFile(filename, image, type);
2310 }
2311
2312 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString& filename,
2313 const wxBitmap& bitmap,
2314 long type) {
2315 wxMemoryFSHandler::AddFile(filename, bitmap, type);
2316 }
2317
2318 void __wxMemoryFSHandler_AddFile_Data(const wxString& filename,
2319 PyObject* data) {
2ef75293
RD
2320 if (! PyString_Check(data)) {
2321 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
2322 "Expected string object"));
2323 return;
2324 }
2325
5a446332 2326 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2ef75293
RD
2327 void* ptr = (void*)PyString_AsString(data);
2328 size_t size = PyString_Size(data);
2329 wxPyEndBlockThreads(blocked);
2330
2331 wxMemoryFSHandler::AddFile(filename, ptr, size);
d14a1e28
RD
2332 }
2333
2334
2335#include "wx/wxPython/pyistream.h"
2336
994141e6 2337
093d3ff1 2338SWIGINTERN int
c32bde28 2339SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
15afbcd0 2340{
c32bde28
RD
2341 long v = 0;
2342 if (SWIG_AsVal_long(obj, &v) && v < 0) {
7e08d4ef 2343 SWIG_Python_TypeError("unsigned number", obj);
15afbcd0 2344 }
c32bde28
RD
2345 else if (val)
2346 *val = (unsigned long)v;
2347 return 1;
15afbcd0
RD
2348}
2349
2350
32fe5131 2351SWIGINTERNINLINE int
c32bde28
RD
2352 SWIG_CheckUnsignedLongInRange(unsigned long value,
2353 unsigned long max_value,
2354 const char *errmsg)
15afbcd0 2355{
c32bde28
RD
2356 if (value > max_value) {
2357 if (errmsg) {
2358 PyErr_Format(PyExc_OverflowError,
093d3ff1 2359 "value %lu is greater than '%s' minimum %lu",
c32bde28 2360 value, errmsg, max_value);
15afbcd0 2361 }
c32bde28 2362 return 0;
15afbcd0 2363 }
c32bde28
RD
2364 return 1;
2365 }
15afbcd0
RD
2366
2367
093d3ff1 2368SWIGINTERN int
c32bde28 2369 SWIG_AsVal_unsigned_SS_char(PyObject *obj, unsigned char *val)
994141e6 2370{
093d3ff1 2371 const char* errmsg = val ? "unsigned char" : (char*)0;
c32bde28
RD
2372 unsigned long v;
2373 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2374 if (SWIG_CheckUnsignedLongInRange(v, UCHAR_MAX,errmsg)) {
32fe5131 2375 if (val) *val = static_cast<unsigned char >(v);
c32bde28
RD
2376 return 1;
2377 } else {
2378 return 0;
2379 }
2380 } else {
2381 PyErr_Clear();
2382 }
2383 if (val) {
093d3ff1 2384 SWIG_type_error(errmsg, obj);
c32bde28
RD
2385 }
2386 return 0;
15afbcd0
RD
2387}
2388
2389
32fe5131 2390SWIGINTERNINLINE unsigned char
c32bde28 2391SWIG_As_unsigned_SS_char(PyObject* obj)
15afbcd0 2392{
c32bde28
RD
2393 unsigned char v;
2394 if (!SWIG_AsVal_unsigned_SS_char(obj, &v)) {
2395 /*
093d3ff1 2396 this is needed to make valgrind/purify happier.
c32bde28
RD
2397 */
2398 memset((void*)&v, 0, sizeof(unsigned char));
15afbcd0 2399 }
c32bde28 2400 return v;
994141e6
RD
2401}
2402
c32bde28 2403
32fe5131 2404SWIGINTERNINLINE int
c32bde28
RD
2405SWIG_Check_unsigned_SS_char(PyObject* obj)
2406{
2407 return SWIG_AsVal_unsigned_SS_char(obj, (unsigned char*)0);
2408}
2409
2410
32fe5131 2411 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
2412#define SWIG_From_unsigned_SS_char PyInt_FromLong
2413/*@@*/
2414
2415
f1cbd8fa 2416
32fe5131 2417SWIGINTERNINLINE unsigned long
f1cbd8fa
RD
2418SWIG_As_unsigned_SS_long(PyObject* obj)
2419{
2420 unsigned long v;
2421 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2422 /*
2423 this is needed to make valgrind/purify happier.
2424 */
2425 memset((void*)&v, 0, sizeof(unsigned long));
2426 }
2427 return v;
2428}
2429
2430
32fe5131 2431SWIGINTERNINLINE int
f1cbd8fa
RD
2432SWIG_Check_unsigned_SS_long(PyObject* obj)
2433{
2434 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
2435}
2436
2437static unsigned long wxImageHistogram_GetCount(wxImageHistogram *self,unsigned long key){
2438 wxImageHistogramEntry e = (*self)[key];
2439 return e.value;
2440 }
7a27cf7c 2441static unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram *self,byte r,byte g,byte b){
f1cbd8fa
RD
2442 unsigned long key = wxImageHistogram::MakeKey(r, g, b);
2443 wxImageHistogramEntry e = (*self)[key];
2444 return e.value;
2445 }
2446static unsigned long wxImageHistogram_GetCountColour(wxImageHistogram *self,wxColour const &colour){
2447 unsigned long key = wxImageHistogram::MakeKey(colour.Red(),
2448 colour.Green(),
2449 colour.Blue());
2450 wxImageHistogramEntry e = (*self)[key];
2451 return e.value;
2452 }
61d07ac7
RD
2453
2454 typedef unsigned char* buffer;
2455
943e8dfd
RD
2456
2457// Pull the nested class out to the top level for SWIG's sake
2458#define wxImage_RGBValue wxImage::RGBValue
2459#define wxImage_HSVValue wxImage::HSVValue
2460
093d3ff1 2461static wxImage *new_wxImage(int width=0,int height=0,bool clear=true){
61d07ac7
RD
2462 if (width > 0 && height > 0)
2463 return new wxImage(width, height, clear);
2464 else
2465 return new wxImage;
d14a1e28 2466 }
61d07ac7
RD
2467static wxImage *new_wxImage(wxBitmap const &bitmap){
2468 return new wxImage(bitmap.ConvertToImage());
1823fbb4 2469 }
61d07ac7
RD
2470static wxImage *new_wxImage(int width,int height,buffer data,int DATASIZE){
2471 if (DATASIZE != width*height*3) {
2472 wxPyErr_SetString(PyExc_ValueError, "Invalid data buffer size.");
2473 return NULL;
2474 }
2475
2476 // Copy the source data so the wxImage can clean it up later
2477 buffer copy = (buffer)malloc(DATASIZE);
2478 if (copy == NULL) {
2479 wxPyBLOCK_THREADS(PyErr_NoMemory());
2480 return NULL;
2481 }
2482 memcpy(copy, data, DATASIZE);
2483 return new wxImage(width, height, copy, false);
1823fbb4 2484 }
61d07ac7
RD
2485static wxImage *new_wxImage(int width,int height,buffer data,int DATASIZE,buffer alpha,int ALPHASIZE){
2486 if (DATASIZE != width*height*3) {
2487 wxPyErr_SetString(PyExc_ValueError, "Invalid data buffer size.");
2488 return NULL;
2489 }
2490 if (ALPHASIZE != width*height) {
2491 wxPyErr_SetString(PyExc_ValueError, "Invalid alpha buffer size.");
2492 return NULL;
2493 }
2494
2495 // Copy the source data so the wxImage can clean it up later
2496 buffer dcopy = (buffer)malloc(DATASIZE);
2497 if (dcopy == NULL) {
2498 wxPyBLOCK_THREADS(PyErr_NoMemory());
2499 return NULL;
2500 }
2501 memcpy(dcopy, data, DATASIZE);
1823fbb4 2502
61d07ac7
RD
2503 buffer acopy = (buffer)malloc(ALPHASIZE);
2504 if (acopy == NULL) {
2505 wxPyBLOCK_THREADS(PyErr_NoMemory());
2506 return NULL;
2507 }
2508 memcpy(acopy, alpha, ALPHASIZE);
2509
2510 return new wxImage(width, height, dcopy, acopy, false);
2511 }
093d3ff1 2512static wxSize wxImage_GetSize(wxImage *self){
b2df227b
RD
2513 wxSize size(self->GetWidth(), self->GetHeight());
2514 return size;
2515 }
093d3ff1 2516static PyObject *wxImage_GetData(wxImage *self){
61d07ac7 2517 buffer data = self->GetData();
d14a1e28
RD
2518 int len = self->GetWidth() * self->GetHeight() * 3;
2519 PyObject* rv;
2520 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len));
2521 return rv;
2522 }
61d07ac7
RD
2523static void wxImage_SetData(wxImage *self,buffer data,int DATASIZE){
2524 if (DATASIZE != self->GetWidth() * self->GetHeight() * 3) {
2525 wxPyErr_SetString(PyExc_ValueError, "Invalid data buffer size.");
2526 return;
2527 }
2528 buffer copy = (buffer)malloc(DATASIZE);
2529 if (copy == NULL) {
2530 wxPyBLOCK_THREADS(PyErr_NoMemory());
2531 return;
2532 }
2533 memcpy(copy, data, DATASIZE);
2534 self->SetData(copy, false);
2535 // wxImage takes ownership of copy...
d14a1e28 2536 }
093d3ff1 2537static PyObject *wxImage_GetDataBuffer(wxImage *self){
61d07ac7 2538 buffer data = self->GetData();
d14a1e28
RD
2539 int len = self->GetWidth() * self->GetHeight() * 3;
2540 PyObject* rv;
2541 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
2542 return rv;
2543 }
61d07ac7
RD
2544static void wxImage_SetDataBuffer(wxImage *self,buffer data,int DATASIZE){
2545 if (DATASIZE != self->GetWidth() * self->GetHeight() * 3) {
2546 wxPyErr_SetString(PyExc_ValueError, "Invalid data buffer size.");
2547 return;
d14a1e28 2548 }
61d07ac7 2549 self->SetData(data, true);
d14a1e28 2550 }
093d3ff1 2551static PyObject *wxImage_GetAlphaData(wxImage *self){
61d07ac7 2552 buffer data = self->GetAlpha();
d14a1e28
RD
2553 if (! data) {
2554 RETURN_NONE();
2555 } else {
2556 int len = self->GetWidth() * self->GetHeight();
2557 PyObject* rv;
2558 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len) );
2559 return rv;
2560 }
2561 }
61d07ac7
RD
2562static void wxImage_SetAlphaData(wxImage *self,buffer alpha,int ALPHASIZE){
2563 if (ALPHASIZE != self->GetWidth() * self->GetHeight()) {
2564 wxPyErr_SetString(PyExc_ValueError, "Invalid alpha buffer size.");
2565 return;
d14a1e28 2566 }
61d07ac7
RD
2567 buffer acopy = (buffer)malloc(ALPHASIZE);
2568 if (acopy == NULL) {
2569 wxPyBLOCK_THREADS(PyErr_NoMemory());
2570 return;
2571 }
2572 memcpy(acopy, alpha, ALPHASIZE);
2573 self->SetAlpha(acopy, false);
2574 // wxImage takes ownership of acopy...
d14a1e28 2575 }
093d3ff1 2576static PyObject *wxImage_GetAlphaBuffer(wxImage *self){
61d07ac7 2577 buffer data = self->GetAlpha();
d14a1e28
RD
2578 int len = self->GetWidth() * self->GetHeight();
2579 PyObject* rv;
2580 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
2581 return rv;
2582 }
61d07ac7
RD
2583static void wxImage_SetAlphaBuffer(wxImage *self,buffer alpha,int ALPHASIZE){
2584 if (ALPHASIZE != self->GetWidth() * self->GetHeight()) {
2585 wxPyErr_SetString(PyExc_ValueError, "Invalid alpha buffer size.");
2586 return;
d14a1e28 2587 }
61d07ac7 2588 self->SetAlpha(alpha, true);
d14a1e28 2589 }
093d3ff1 2590static wxBitmap wxImage_ConvertToBitmap(wxImage *self,int depth=-1){
1fbf26be 2591 wxBitmap bitmap(*self, depth);
d14a1e28
RD
2592 return bitmap;
2593 }
7a27cf7c 2594static wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,byte red,byte green,byte blue){
d14a1e28
RD
2595 wxImage mono = self->ConvertToMono( red, green, blue );
2596 wxBitmap bitmap( mono, 1 );
2597 return bitmap;
2598 }
0c243d93 2599 static const wxString wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME);
d14a1e28
RD
2600 static const wxString wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT);
2601 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X);
2602 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y);
2603 static const wxString wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION);
0c243d93
RD
2604 static const wxString wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX);
2605 static const wxString wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY);
d14a1e28 2606 static const wxString wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT);
24d7cbea 2607 static const wxString wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY);
0c243d93
RD
2608 static const wxString wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE);
2609 static const wxString wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL);
2610 static const wxString wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION);
2611 static const wxString wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR);
b9d6a5f3
RD
2612 static const wxString wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT);
2613 static const wxString wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH);
c0de73ae
RD
2614
2615#include <wx/quantize.h>
2616
32fe5131 2617static bool wxQuantize_Quantize(wxImage const &src,wxImage &dest,int desiredNoColours=236,int flags=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS|wxQUANTIZE_FILL_DESTINATION_IMAGE){
c0de73ae
RD
2618 return wxQuantize::Quantize(src, dest,
2619 //NULL, // palette
2620 desiredNoColours,
2621 NULL, // eightBitData
2622 flags);
2623 }
093d3ff1 2624static void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject *func){
d14a1e28
RD
2625 if (PyCallable_Check(func)) {
2626 self->Connect(id, lastId, eventType,
2627 (wxObjectEventFunction) &wxPyCallback::EventThunker,
2628 new wxPyCallback(func));
2629 }
2630 else if (func == Py_None) {
2631 self->Disconnect(id, lastId, eventType,
2632 (wxObjectEventFunction)
2633 &wxPyCallback::EventThunker);
2634 }
2635 else {
a95a7133
RD
2636 wxPyBLOCK_THREADS(
2637 PyErr_SetString(PyExc_TypeError, "Expected callable object or None."));
d14a1e28
RD
2638 }
2639 }
093d3ff1 2640static bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId=-1,wxEventType eventType=wxEVT_NULL){
d14a1e28
RD
2641 return self->Disconnect(id, lastId, eventType,
2642 (wxObjectEventFunction)
2643 &wxPyCallback::EventThunker);
2644 }
093d3ff1 2645static void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject *_self,bool incref=true){
d14a1e28 2646 if (_self && _self != Py_None) {
689b42ee 2647 self->SetClientObject(new wxPyOORClientData(_self, incref));
d14a1e28
RD
2648 }
2649 else {
2650 wxPyOORClientData* data = (wxPyOORClientData*)self->GetClientObject();
2651 if (data) {
2652 self->SetClientObject(NULL); // This will delete it too
2653 }
2654 }
2655 }
c32bde28 2656
943e8dfd
RD
2657#if ! wxUSE_HOTKEY
2658#define wxEVT_HOTKEY -9999
2659#endif
2660
2661
093d3ff1 2662static int wxKeyEvent_GetUnicodeKey(wxKeyEvent *self){
3b7224dc 2663 #if wxUSE_UNICODE
19272049 2664 return self->GetUnicodeKey();
3b7224dc 2665 #else
d14a1e28 2666 return 0;
3b7224dc 2667 #endif
d14a1e28 2668 }
994141e6 2669
15afbcd0 2670#if UINT_MAX < LONG_MAX
32fe5131 2671/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
c32bde28
RD
2672#define SWIG_From_unsigned_SS_int SWIG_From_long
2673/*@@*/
15afbcd0 2674#else
32fe5131 2675/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
c32bde28
RD
2676#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2677/*@@*/
15afbcd0 2678#endif
994141e6
RD
2679
2680
15afbcd0 2681#if UINT_MAX != ULONG_MAX
093d3ff1 2682SWIGINTERN int
c32bde28 2683 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
994141e6 2684{
093d3ff1 2685 const char* errmsg = val ? "unsigned int" : (char*)0;
c32bde28
RD
2686 unsigned long v;
2687 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2688 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
32fe5131 2689 if (val) *val = static_cast<unsigned int >(v);
c32bde28
RD
2690 return 1;
2691 }
2692 } else {
2693 PyErr_Clear();
2694 }
2695 if (val) {
093d3ff1 2696 SWIG_type_error(errmsg, obj);
c32bde28
RD
2697 }
2698 return 0;
15afbcd0
RD
2699}
2700#else
32fe5131 2701SWIGINTERNINLINE unsigned int
c32bde28
RD
2702 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2703{
2704 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2705}
15afbcd0
RD
2706#endif
2707
2708
32fe5131 2709SWIGINTERNINLINE unsigned int
c32bde28 2710SWIG_As_unsigned_SS_int(PyObject* obj)
15afbcd0 2711{
c32bde28
RD
2712 unsigned int v;
2713 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2714 /*
093d3ff1 2715 this is needed to make valgrind/purify happier.
c32bde28
RD
2716 */
2717 memset((void*)&v, 0, sizeof(unsigned int));
15afbcd0 2718 }
c32bde28
RD
2719 return v;
2720}
2721
2722
32fe5131 2723SWIGINTERNINLINE int
c32bde28
RD
2724SWIG_Check_unsigned_SS_int(PyObject* obj)
2725{
2726 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
994141e6
RD
2727}
2728
093d3ff1 2729static void wxSizeEvent_SetSize(wxSizeEvent *self,wxSize size){
d14a1e28
RD
2730 self->m_size = size;
2731 }
093d3ff1 2732static PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){
d14a1e28
RD
2733 int count = self->GetNumberOfFiles();
2734 wxString* files = self->GetFiles();
5ba5649b 2735 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
2736 PyObject* list = PyList_New(count);
2737
2738 if (!list) {
2739 PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
5ba5649b 2740 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2741 return NULL;
2742 }
2743
2744 for (int i=0; i<count; i++) {
1fc9204a 2745 PyList_SetItem(list, i, wx2PyString(files[i]));
d14a1e28 2746 }
5ba5649b 2747 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2748 return list;
2749 }
2750
2751
093d3ff1 2752static wxPyApp *new_wxPyApp(){
d14a1e28
RD
2753 wxPythonApp = new wxPyApp();
2754 return wxPythonApp;
2755 }
32fe5131 2756static int wxPyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
d14a1e28
RD
2757
2758 void wxApp_CleanUp() {
2759 __wxPyCleanup();
2760 }
2761
2762
db3e571a 2763 wxPyApp* wxPyGetApp() { return (wxPyApp*)wxTheApp; }
d14a1e28
RD
2764
2765
32fe5131 2766SWIGINTERNINLINE int
5cbf236d
RD
2767SWIG_AsCharPtr(PyObject *obj, char **val)
2768{
093d3ff1 2769 if (SWIG_AsCharPtrAndSize(obj, val, (size_t*)(0))) {
5cbf236d
RD
2770 return 1;
2771 }
2772 if (val) {
093d3ff1
RD
2773 PyErr_Clear();
2774 SWIG_type_error("char *", obj);
5cbf236d
RD
2775 }
2776 return 0;
2777}
2778
2779
093d3ff1 2780SWIGINTERN PyObject *
5cbf236d
RD
2781SWIG_FromCharPtr(const char* cptr)
2782{
2783 if (cptr) {
2784 size_t size = strlen(cptr);
2785 if (size > INT_MAX) {
32fe5131 2786 return SWIG_NewPointerObj(const_cast<char* >(cptr),
5cbf236d
RD
2787 SWIG_TypeQuery("char *"), 0);
2788 } else {
2789 if (size != 0) {
2790 return PyString_FromStringAndSize(cptr, size);
2791 } else {
2792 return PyString_FromString(cptr);
2793 }
2794 }
2795 }
2796 Py_INCREF(Py_None);
2797 return Py_None;
2798}
2799
2800
091f5bed 2801#if 0 // #ifdef __WXMAC__
ae8162c8
RD
2802
2803// A dummy class that raises an exception if used...
2804class wxEventLoop
2805{
2806public:
2807 wxEventLoop() { wxPyRaiseNotImplemented(); }
2808 int Run() { return 0; }
2809 void Exit(int rc = 0) {}
2810 bool Pending() const { return false; }
2811 bool Dispatch() { return false; }
2812 bool IsRunning() const { return false; }
2813 static wxEventLoop *GetActive() { wxPyRaiseNotImplemented(); return NULL; }
2814 static void SetActive(wxEventLoop* loop) { wxPyRaiseNotImplemented(); }
2815};
2816
2817#else
2818
2ef75293
RD
2819#include <wx/evtloop.h>
2820
ae8162c8
RD
2821#endif
2822
2ef75293 2823
d14a1e28 2824
e811c8ce 2825 static const wxString wxPyPanelNameStr(wxPanelNameStr);
093d3ff1
RD
2826static wxVisualAttributes *new_wxVisualAttributes(){ return new wxVisualAttributes; }
2827static void delete_wxVisualAttributes(wxVisualAttributes *self){ delete self; }
2828static PyObject *wxWindow_GetChildren(wxWindow *self){
d14a1e28
RD
2829 wxWindowList& list = self->GetChildren();
2830 return wxPy_ConvertList(&list);
2831 }
093d3ff1 2832static bool wxWindow_RegisterHotKey(wxWindow *self,int hotkeyId,int modifiers,int keycode){
74a57fcd
RD
2833 #if wxUSE_HOTKEY
2834 return self->RegisterHotKey(hotkeyId, modifiers, keycode);
2835 #else
ae8162c8 2836 return false;
74a57fcd 2837 #endif
d14a1e28 2838 }
093d3ff1 2839static bool wxWindow_UnregisterHotKey(wxWindow *self,int hotkeyId){
d14a1e28
RD
2840
2841
2842
ae8162c8 2843 return false;
d14a1e28
RD
2844
2845 }
093d3ff1 2846static long wxWindow_GetHandle(wxWindow *self){
d14a1e28
RD
2847 return wxPyGetWinHandle(self);
2848 }
093d3ff1 2849static void wxWindow_AssociateHandle(wxWindow *self,long handle){
7e63a440
RD
2850 self->AssociateHandle((WXWidget)handle);
2851 }
5ba5649b 2852static void wxWindow_DragAcceptFiles(wxWindow *self,bool accept){}
d14a1e28
RD
2853
2854wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
2855 return wxWindow::FindWindowById(id, parent);
2856}
2857
2858wxWindow* wxFindWindowByName( const wxString& name,
2859 const wxWindow *parent = NULL ) {
2860 return wxWindow::FindWindowByName(name, parent);
2861}
2862
2863wxWindow* wxFindWindowByLabel( const wxString& label,
2864 const wxWindow *parent = NULL ) {
2865 return wxWindow::FindWindowByLabel(label, parent);
2866}
2867
2868
d14a1e28 2869#ifdef __WXMSW__
4276dc52
RD
2870#include <wx/msw/private.h> // to get wxGetWindowId
2871#endif
2872
2873
2874 wxWindow* wxWindow_FromHWND(wxWindow* parent, unsigned long _hWnd) {
2875#ifdef __WXMSW__
2876 WXHWND hWnd = (WXHWND)_hWnd;
2877 long id = wxGetWindowId(hWnd);
d14a1e28 2878 wxWindow* win = new wxWindow;
943e8dfd
RD
2879 if (parent)
2880 parent->AddChild(win);
4276dc52
RD
2881 win->SetEventHandler(win);
2882 win->SetHWND(hWnd);
2883 win->SetId(id);
2884 win->SubclassWin(hWnd);
2885 win->AdoptAttributesFromHWND();
2886 win->SetupColours();
d14a1e28
RD
2887 return win;
2888#else
39f61e25 2889 wxPyRaiseNotImplemented();
d14a1e28
RD
2890 return NULL;
2891#endif
2892 }
2893
2894
b6b0383e
RD
2895 PyObject* GetTopLevelWindows() {
2896 return wxPy_ConvertList(&wxTopLevelWindows);
2897 }
2898
2899
d14a1e28
RD
2900IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
2901IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
2902IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
2903
2904IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
2905
093d3ff1
RD
2906static void wxMenu_Destroy(wxMenu *self){ delete self; }
2907static PyObject *wxMenu_GetMenuItems(wxMenu *self){
d14a1e28
RD
2908 wxMenuItemList& list = self->GetMenuItems();
2909 return wxPy_ConvertList(&list);
2910 }
32fe5131
RD
2911static void wxMenuBar_SetAutoWindowMenu(bool enable){}
2912static bool wxMenuBar_GetAutoWindowMenu(){ return false; }
c1280d1e
RD
2913static void wxMenuItem_SetFont(wxMenuItem *self,wxFont const &font){}
2914static wxFont wxMenuItem_GetFont(wxMenuItem *self){ return wxNullFont; }
2915static void wxMenuItem_SetTextColour(wxMenuItem *self,wxColour const &colText){}
2916static wxColour wxMenuItem_GetTextColour(wxMenuItem *self){ return wxNullColour; }
2917static void wxMenuItem_SetBackgroundColour(wxMenuItem *self,wxColour const &colBack){}
2918static wxColour wxMenuItem_GetBackgroundColour(wxMenuItem *self){ return wxNullColour; }
091f5bed 2919static void wxMenuItem_SetBitmaps(wxMenuItem *self,wxBitmap const &bmpChecked,wxBitmap const &bmpUnchecked=wxNullBitmap){ self->SetBitmap( bmpChecked ); }
c1280d1e
RD
2920static void wxMenuItem_SetDisabledBitmap(wxMenuItem *self,wxBitmap const &bmpDisabled){}
2921static wxBitmap const &wxMenuItem_GetDisabledBitmap(wxMenuItem const *self){ return wxNullBitmap; }
2922static void wxMenuItem_SetMarginWidth(wxMenuItem *self,int nWidth){}
2923static int wxMenuItem_GetMarginWidth(wxMenuItem *self){ return 0; }
32fe5131 2924static int wxMenuItem_GetDefaultMarginWidth(){ return 0; }
c1280d1e
RD
2925static bool wxMenuItem_IsOwnerDrawn(wxMenuItem *self){ return false; }
2926static void wxMenuItem_SetOwnerDrawn(wxMenuItem *self,bool ownerDrawn=true){}
2927static void wxMenuItem_ResetOwnerDrawn(wxMenuItem *self){}
b2dc1044 2928 static const wxString wxPyControlNameStr(wxControlNameStr);
093d3ff1 2929static int wxItemContainer_Append(wxItemContainer *self,wxString const &item,PyObject *clientData=NULL){
d14a1e28
RD
2930 if (clientData) {
2931 wxPyClientData* data = new wxPyClientData(clientData);
2932 return self->Append(item, data);
2933 } else
2934 return self->Append(item);
2935 }
093d3ff1 2936static int wxItemContainer_Insert(wxItemContainer *self,wxString const &item,int pos,PyObject *clientData=NULL){
d14a1e28
RD
2937 if (clientData) {
2938 wxPyClientData* data = new wxPyClientData(clientData);
2939 return self->Insert(item, pos, data);
2940 } else
2941 return self->Insert(item, pos);
2942 }
093d3ff1 2943static PyObject *wxItemContainer_GetClientData(wxItemContainer *self,int n){
d14a1e28
RD
2944 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
2945 if (data) {
2946 Py_INCREF(data->m_obj);
2947 return data->m_obj;
2948 } else {
2949 Py_INCREF(Py_None);
2950 return Py_None;
2951 }
2952 }
093d3ff1 2953static void wxItemContainer_SetClientData(wxItemContainer *self,int n,PyObject *clientData){
d14a1e28
RD
2954 wxPyClientData* data = new wxPyClientData(clientData);
2955 self->SetClientObject(n, data);
2956 }
2957
2958
093d3ff1 2959static wxSizerItem *new_wxSizerItem(wxWindow *window,int proportion,int flag,int border,PyObject *userData=NULL){
248ed943
RD
2960 wxPyUserData* data = NULL;
2961 if ( userData ) {
5a446332 2962 wxPyBlock_t blocked = wxPyBeginBlockThreads();
248ed943
RD
2963 data = new wxPyUserData(userData);
2964 wxPyEndBlockThreads(blocked);
2965 }
2966 return new wxSizerItem(window, proportion, flag, border, data);
2967 }
093d3ff1 2968static wxSizerItem *new_wxSizerItem(int width,int height,int proportion,int flag,int border,PyObject *userData=NULL){
248ed943
RD
2969 wxPyUserData* data = NULL;
2970 if ( userData ) {
5a446332 2971 wxPyBlock_t blocked = wxPyBeginBlockThreads();
248ed943
RD
2972 data = new wxPyUserData(userData);
2973 wxPyEndBlockThreads(blocked);
2974 }
2975 return new wxSizerItem(width, height, proportion, flag, border, data);
2976 }
093d3ff1 2977static wxSizerItem *new_wxSizerItem(wxSizer *sizer,int proportion,int flag,int border,PyObject *userData=NULL){
248ed943
RD
2978 wxPyUserData* data = NULL;
2979 if ( userData ) {
5a446332 2980 wxPyBlock_t blocked = wxPyBeginBlockThreads();
248ed943
RD
2981 data = new wxPyUserData(userData);
2982 wxPyEndBlockThreads(blocked);
2983 }
2984 return new wxSizerItem(sizer, proportion, flag, border, data);
2985 }
994141e6 2986
15afbcd0 2987#include <float.h>
093d3ff1 2988SWIGINTERN int
c32bde28
RD
2989 SWIG_CheckDoubleInRange(double value, double min_value,
2990 double max_value, const char* errmsg)
2991{
2992 if (value < min_value) {
2993 if (errmsg) {
2994 PyErr_Format(PyExc_OverflowError,
2995 "value %g is less than %s minimum %g",
2996 value, errmsg, min_value);
2997 }
2998 return 0;
2999 } else if (value > max_value) {
3000 if (errmsg) {
3001 PyErr_Format(PyExc_OverflowError,
3002 "value %g is greater than %s maximum %g",
3003 value, errmsg, max_value);
3004 }
3005 return 0;
3006 }
3007 return 1;
3008}
3009
15afbcd0 3010
093d3ff1 3011SWIGINTERN int
c32bde28 3012 SWIG_AsVal_float(PyObject *obj, float *val)
15afbcd0 3013{
093d3ff1 3014 const char* errmsg = val ? "float" : (char*)0;
c32bde28
RD
3015 double v;
3016 if (SWIG_AsVal_double(obj, &v)) {
3017 if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) {
32fe5131 3018 if (val) *val = static_cast<float >(v);
c32bde28 3019 return 1;
15afbcd0 3020 } else {
c32bde28 3021 return 0;
15afbcd0 3022 }
c32bde28
RD
3023 } else {
3024 PyErr_Clear();
15afbcd0 3025 }
c32bde28 3026 if (val) {
093d3ff1 3027 SWIG_type_error(errmsg, obj);
c32bde28
RD
3028 }
3029 return 0;
15afbcd0
RD
3030}
3031
3032
32fe5131 3033SWIGINTERNINLINE float
c32bde28 3034SWIG_As_float(PyObject* obj)
994141e6 3035{
c32bde28
RD
3036 float v;
3037 if (!SWIG_AsVal_float(obj, &v)) {
3038 /*
093d3ff1 3039 this is needed to make valgrind/purify happier.
c32bde28
RD
3040 */
3041 memset((void*)&v, 0, sizeof(float));
3042 }
3043 return v;
15afbcd0
RD
3044}
3045
c32bde28 3046
32fe5131 3047SWIGINTERNINLINE int
c32bde28 3048SWIG_Check_float(PyObject* obj)
15afbcd0 3049{
c32bde28 3050 return SWIG_AsVal_float(obj, (float*)0);
994141e6
RD
3051}
3052
093d3ff1 3053
32fe5131 3054 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
3055#define SWIG_From_float PyFloat_FromDouble
3056/*@@*/
3057
3058static PyObject *wxSizerItem_GetUserData(wxSizerItem *self){
d14a1e28
RD
3059 wxPyUserData* data = (wxPyUserData*)self->GetUserData();
3060 if (data) {
3061 Py_INCREF(data->m_obj);
3062 return data->m_obj;
3063 } else {
3064 Py_INCREF(Py_None);
3065 return Py_None;
3066 }
3067 }
091f5bed
RD
3068static void wxSizerItem_SetUserData(wxSizerItem *self,PyObject *userData){
3069 wxPyUserData* data = NULL;
3070 if ( userData ) {
3071 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3072 data = new wxPyUserData(userData);
3073 wxPyEndBlockThreads(blocked);
3074 }
3075 self->SetUserData(data);
3076 }
d14a1e28
RD
3077
3078// Figure out the type of the sizer item
3079
3080struct wxPySizerItemInfo {
3081 wxPySizerItemInfo()
ae8162c8
RD
3082 : window(NULL), sizer(NULL), gotSize(false),
3083 size(wxDefaultSize), gotPos(false), pos(-1)
d14a1e28 3084 {}
b9d6a5f3 3085
d14a1e28
RD
3086 wxWindow* window;
3087 wxSizer* sizer;
3088 bool gotSize;
3089 wxSize size;
3090 bool gotPos;
3091 int pos;
3092};
b9d6a5f3 3093
d14a1e28
RD
3094static wxPySizerItemInfo wxPySizerItemTypeHelper(PyObject* item, bool checkSize, bool checkIdx ) {
3095
3096 wxPySizerItemInfo info;
3097 wxSize size;
3098 wxSize* sizePtr = &size;
3099
3100 // Find out what the type of the item is
3101 // try wxWindow
3102 if ( ! wxPyConvertSwigPtr(item, (void**)&info.window, wxT("wxWindow")) ) {
3103 PyErr_Clear();
3104 info.window = NULL;
b9d6a5f3 3105
d14a1e28
RD
3106 // try wxSizer
3107 if ( ! wxPyConvertSwigPtr(item, (void**)&info.sizer, wxT("wxSizer")) ) {
3108 PyErr_Clear();
3109 info.sizer = NULL;
b9d6a5f3 3110
d14a1e28
RD
3111 // try wxSize or (w,h)
3112 if ( checkSize && wxSize_helper(item, &sizePtr)) {
3113 info.size = *sizePtr;
ae8162c8 3114 info.gotSize = true;
d14a1e28
RD
3115 }
3116
3117 // or a single int
3118 if (checkIdx && PyInt_Check(item)) {
3119 info.pos = PyInt_AsLong(item);
ae8162c8 3120 info.gotPos = true;
d14a1e28
RD
3121 }
3122 }
3123 }
3124
3125 if ( !(info.window || info.sizer || (checkSize && info.gotSize) || (checkIdx && info.gotPos)) ) {
3126 // no expected type, figure out what kind of error message to generate
3127 if ( !checkSize && !checkIdx )
943e8dfd 3128 PyErr_SetString(PyExc_TypeError, "wx.Window or wx.Sizer expected for item");
d14a1e28 3129 else if ( checkSize && !checkIdx )
943e8dfd 3130 PyErr_SetString(PyExc_TypeError, "wx.Window, wx.Sizer, wx.Size, or (w,h) expected for item");
d14a1e28 3131 else if ( !checkSize && checkIdx)
943e8dfd 3132 PyErr_SetString(PyExc_TypeError, "wx.Window, wx.Sizer or int (position) expected for item");
d14a1e28
RD
3133 else
3134 // can this one happen?
943e8dfd 3135 PyErr_SetString(PyExc_TypeError, "wx.Window, wx.Sizer, wx.Size, or (w,h) or int (position) expected for item");
d14a1e28
RD
3136 }
3137
3138 return info;
3139}
3140
093d3ff1 3141static void wxSizer__setOORInfo(wxSizer *self,PyObject *_self){
b0f7404b
RD
3142 if (!self->GetClientObject())
3143 self->SetClientObject(new wxPyOORClientData(_self));
d14a1e28 3144 }
093d3ff1 3145static wxSizerItem *wxSizer_Add(wxSizer *self,PyObject *item,int proportion=0,int flag=0,int border=0,PyObject *userData=NULL){
b9d6a5f3 3146
d14a1e28 3147 wxPyUserData* data = NULL;
5a446332 3148 wxPyBlock_t blocked = wxPyBeginBlockThreads();
ae8162c8 3149 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false);
d14a1e28
RD
3150 if ( userData && (info.window || info.sizer || info.gotSize) )
3151 data = new wxPyUserData(userData);
7e08d4ef
RD
3152 if ( info.sizer )
3153 PyObject_SetAttrString(item,"thisown",Py_False);
4f89f6a3 3154 wxPyEndBlockThreads(blocked);
b9d6a5f3 3155
d14a1e28
RD
3156 // Now call the real Add method if a valid item type was found
3157 if ( info.window )
d3b6e4ff 3158 return self->Add(info.window, proportion, flag, border, data);
d14a1e28 3159 else if ( info.sizer )
d3b6e4ff 3160 return self->Add(info.sizer, proportion, flag, border, data);
d14a1e28 3161 else if (info.gotSize)
d3b6e4ff
RD
3162 return self->Add(info.size.GetWidth(), info.size.GetHeight(),
3163 proportion, flag, border, data);
3164 else
3165 return NULL;
d14a1e28 3166 }
093d3ff1 3167static wxSizerItem *wxSizer_Insert(wxSizer *self,int before,PyObject *item,int proportion=0,int flag=0,int border=0,PyObject *userData=NULL){
d14a1e28
RD
3168
3169 wxPyUserData* data = NULL;
5a446332 3170 wxPyBlock_t blocked = wxPyBeginBlockThreads();
ae8162c8 3171 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false);
d14a1e28
RD
3172 if ( userData && (info.window || info.sizer || info.gotSize) )
3173 data = new wxPyUserData(userData);
7e08d4ef
RD
3174 if ( info.sizer )
3175 PyObject_SetAttrString(item,"thisown",Py_False);
4f89f6a3 3176 wxPyEndBlockThreads(blocked);
b9d6a5f3 3177
d14a1e28
RD
3178 // Now call the real Insert method if a valid item type was found
3179 if ( info.window )
d3b6e4ff 3180 return self->Insert(before, info.window, proportion, flag, border, data);
d14a1e28 3181 else if ( info.sizer )
d3b6e4ff 3182 return self->Insert(before, info.sizer, proportion, flag, border, data);
d14a1e28 3183 else if (info.gotSize)
d3b6e4ff
RD
3184 return self->Insert(before, info.size.GetWidth(), info.size.GetHeight(),
3185 proportion, flag, border, data);
3186 else
3187 return NULL;
d14a1e28 3188 }
093d3ff1 3189static wxSizerItem *wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion=0,int flag=0,int border=0,PyObject *userData=NULL){
d14a1e28
RD
3190
3191 wxPyUserData* data = NULL;
5a446332 3192 wxPyBlock_t blocked = wxPyBeginBlockThreads();
ae8162c8 3193 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false);
d14a1e28
RD
3194 if ( userData && (info.window || info.sizer || info.gotSize) )
3195 data = new wxPyUserData(userData);
7e08d4ef
RD
3196 if ( info.sizer )
3197 PyObject_SetAttrString(item,"thisown",Py_False);
4f89f6a3 3198 wxPyEndBlockThreads(blocked);
b9d6a5f3 3199
d14a1e28
RD
3200 // Now call the real Prepend method if a valid item type was found
3201 if ( info.window )
d3b6e4ff 3202 return self->Prepend(info.window, proportion, flag, border, data);
d14a1e28 3203 else if ( info.sizer )
d3b6e4ff 3204 return self->Prepend(info.sizer, proportion, flag, border, data);
d14a1e28 3205 else if (info.gotSize)
d3b6e4ff
RD
3206 return self->Prepend(info.size.GetWidth(), info.size.GetHeight(),
3207 proportion, flag, border, data);
3208 else
3209 return NULL;
d14a1e28 3210 }
093d3ff1 3211static bool wxSizer_Remove(wxSizer *self,PyObject *item){
5a446332 3212 wxPyBlock_t blocked = wxPyBeginBlockThreads();
ae8162c8 3213 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
4f89f6a3 3214 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3215 if ( info.window )
3216 return self->Remove(info.window);
3217 else if ( info.sizer )
3218 return self->Remove(info.sizer);
3219 else if ( info.gotPos )
3220 return self->Remove(info.pos);
b9d6a5f3 3221 else
ae8162c8 3222 return false;
d14a1e28 3223 }
093d3ff1 3224static bool wxSizer_Detach(wxSizer *self,PyObject *item){
5a446332 3225 wxPyBlock_t blocked = wxPyBeginBlockThreads();
ae8162c8 3226 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
1c0f361b
RD
3227 wxPyEndBlockThreads(blocked);
3228 if ( info.window )
3229 return self->Detach(info.window);
3230 else if ( info.sizer )
3231 return self->Detach(info.sizer);
3232 else if ( info.gotPos )
3233 return self->Detach(info.pos);
b9d6a5f3 3234 else
ae8162c8 3235 return false;
1c0f361b 3236 }
093d3ff1 3237static wxSizerItem *wxSizer_GetItem(wxSizer *self,PyObject *item){
5a446332 3238 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d3b6e4ff
RD
3239 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
3240 wxPyEndBlockThreads(blocked);
3241 if ( info.window )
3242 return self->GetItem(info.window);
3243 else if ( info.sizer )
3244 return self->GetItem(info.sizer);
3245 else if ( info.gotPos )
3246 return self->GetItem(info.pos);
3247 else
3248 return NULL;
3249 }
093d3ff1 3250static void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize const &size){
5a446332 3251 wxPyBlock_t blocked = wxPyBeginBlockThreads();
ae8162c8 3252 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
4f89f6a3 3253 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3254 if ( info.window )
3255 self->SetItemMinSize(info.window, size);
3256 else if ( info.sizer )
3257 self->SetItemMinSize(info.sizer, size);
3258 else if ( info.gotPos )
3259 self->SetItemMinSize(info.pos, size);
3260 }
093d3ff1 3261static PyObject *wxSizer_GetChildren(wxSizer *self){
d14a1e28
RD
3262 wxSizerItemList& list = self->GetChildren();
3263 return wxPy_ConvertList(&list);
3264 }
093d3ff1 3265static bool wxSizer_Show(wxSizer *self,PyObject *item,bool show=true,bool recursive=false){
5a446332 3266 wxPyBlock_t blocked = wxPyBeginBlockThreads();
ae8162c8 3267 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, true);
03e37cd5 3268 wxPyEndBlockThreads(blocked);
d14a1e28 3269 if ( info.window )
7e63a440 3270 return self->Show(info.window, show, recursive);
d14a1e28 3271 else if ( info.sizer )
7e63a440 3272 return self->Show(info.sizer, show, recursive);
248ed943 3273 else if ( info.gotPos )
7e63a440 3274 return self->Show(info.pos, show);
ae8162c8
RD
3275 else
3276 return false;
d14a1e28 3277 }
093d3ff1 3278static bool wxSizer_IsShown(wxSizer *self,PyObject *item){
5a446332 3279 wxPyBlock_t blocked = wxPyBeginBlockThreads();
ae8162c8 3280 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, false, false);
03e37cd5 3281 wxPyEndBlockThreads(blocked);
b9d6a5f3 3282 if ( info.window )
d14a1e28 3283 return self->IsShown(info.window);
b9d6a5f3 3284 else if ( info.sizer )
d14a1e28 3285 return self->IsShown(info.sizer);
248ed943
RD
3286 else if ( info.gotPos )
3287 return self->IsShown(info.pos);
d14a1e28 3288 else
ae8162c8 3289 return false;
d14a1e28
RD
3290 }
3291
b9d6a5f3 3292// See pyclasses.h
d14a1e28
RD
3293IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes);
3294IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin);
3295IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer);
3296
3297
3298
3299
3300bool wxGBPosition_helper(PyObject* source, wxGBPosition** obj)
3301{
4f89f6a3
RD
3302 if (source == Py_None) {
3303 **obj = wxGBPosition(-1,-1);
ae8162c8 3304 return true;
4f89f6a3 3305 }
d14a1e28
RD
3306 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBPosition"));
3307}
3308
3309bool wxGBSpan_helper(PyObject* source, wxGBSpan** obj)
3310{
4f89f6a3
RD
3311 if (source == Py_None) {
3312 **obj = wxGBSpan(-1,-1);
ae8162c8 3313 return true;
4f89f6a3 3314 }
d14a1e28
RD
3315 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBSpan"));
3316}
3317
3318
093d3ff1 3319static void wxGBPosition_Set(wxGBPosition *self,int row=0,int col=0){
e811c8ce
RD
3320 self->SetRow(row);
3321 self->SetCol(col);
3322 }
093d3ff1 3323static PyObject *wxGBPosition_Get(wxGBPosition *self){
5a446332 3324 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
3325 PyObject* tup = PyTuple_New(2);
3326 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
3327 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
4f89f6a3 3328 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3329 return tup;
3330 }
093d3ff1 3331static void wxGBSpan_Set(wxGBSpan *self,int rowspan=1,int colspan=1){
e811c8ce
RD
3332 self->SetRowspan(rowspan);
3333 self->SetColspan(colspan);
3334 }
093d3ff1 3335static PyObject *wxGBSpan_Get(wxGBSpan *self){
5a446332 3336 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
3337 PyObject* tup = PyTuple_New(2);
3338 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRowspan()));
3339 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetColspan()));
4f89f6a3 3340 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3341 return tup;
3342 }
093d3ff1 3343static wxGBSizerItem *new_wxGBSizerItem(wxWindow *window,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData=NULL){
248ed943
RD
3344 wxPyUserData* data = NULL;
3345 if ( userData ) {
5a446332 3346 wxPyBlock_t blocked = wxPyBeginBlockThreads();
248ed943
RD
3347 data = new wxPyUserData(userData);
3348 wxPyEndBlockThreads(blocked);
3349 }
3350 return new wxGBSizerItem(window, pos, span, flag, border, data);
3351 }
093d3ff1 3352static wxGBSizerItem *new_wxGBSizerItem(wxSizer *sizer,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData=NULL){
248ed943
RD
3353 wxPyUserData* data = NULL;
3354 if ( userData ) {
5a446332 3355 wxPyBlock_t blocked = wxPyBeginBlockThreads();
248ed943
RD
3356 data = new wxPyUserData(userData);
3357 wxPyEndBlockThreads(blocked);
3358 }
3359 return new wxGBSizerItem(sizer, pos, span, flag, border, data);
3360 }
093d3ff1 3361static wxGBSizerItem *new_wxGBSizerItem(int width,int height,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData=NULL){
248ed943
RD
3362 wxPyUserData* data = NULL;
3363 if ( userData ) {
5a446332 3364 wxPyBlock_t blocked = wxPyBeginBlockThreads();
248ed943
RD
3365 data = new wxPyUserData(userData);
3366 wxPyEndBlockThreads(blocked);
3367 }
3368 return new wxGBSizerItem(width, height, pos, span, flag, border, data);
3369 }
093d3ff1 3370static wxGBPosition wxGBSizerItem_GetEndPos(wxGBSizerItem *self){
248ed943
RD
3371 int row, col;
3372 self->GetEndPos(row, col);
3373 return wxGBPosition(row, col);
3374 }
093d3ff1 3375static wxGBSizerItem *wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const &pos,wxGBSpan const &span=wxDefaultSpan,int flag=0,int border=0,PyObject *userData=NULL){
d14a1e28
RD
3376
3377 wxPyUserData* data = NULL;
5a446332 3378 wxPyBlock_t blocked = wxPyBeginBlockThreads();
ae8162c8 3379 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false);
d14a1e28
RD
3380 if ( userData && (info.window || info.sizer || info.gotSize) )
3381 data = new wxPyUserData(userData);
7e08d4ef
RD
3382 if ( info.sizer )
3383 PyObject_SetAttrString(item,"thisown",Py_False);
4f89f6a3 3384 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3385
3386 // Now call the real Add method if a valid item type was found
3387 if ( info.window )
d3b6e4ff 3388 return (wxGBSizerItem*)self->Add(info.window, pos, span, flag, border, data);
d14a1e28 3389 else if ( info.sizer )
d3b6e4ff 3390 return (wxGBSizerItem*)self->Add(info.sizer, pos, span, flag, border, data);
d14a1e28 3391 else if (info.gotSize)
d3b6e4ff
RD
3392 return (wxGBSizerItem*)self->Add(info.size.GetWidth(), info.size.GetHeight(),
3393 pos, span, flag, border, data);
3394 return NULL;
d14a1e28
RD
3395 }
3396
3397
3398#ifdef __cplusplus
3399extern "C" {
3400#endif
c32bde28 3401static int _wrap_EmptyString_set(PyObject *) {
196addbf
RD
3402 PyErr_SetString(PyExc_TypeError,"Variable EmptyString is read-only.");
3403 return 1;
3404}
3405
3406
093d3ff1 3407static PyObject *_wrap_EmptyString_get(void) {
32fe5131 3408 PyObject *pyobj = NULL;
196addbf
RD
3409
3410 {
3411#if wxUSE_UNICODE
3412 pyobj = PyUnicode_FromWideChar((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
3413#else
3414 pyobj = PyString_FromStringAndSize((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
3415#endif
3416 }
3417 return pyobj;
3418}
3419
3420
c32bde28 3421static PyObject *_wrap_Object_GetClassName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3422 PyObject *resultobj = NULL;
d14a1e28
RD
3423 wxObject *arg1 = (wxObject *) 0 ;
3424 wxString result;
3425 PyObject * obj0 = 0 ;
3426 char *kwnames[] = {
3427 (char *) "self", NULL
3428 };
3429
3430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_GetClassName",kwnames,&obj0)) goto fail;
093d3ff1
RD
3431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0);
3432 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3433 {
3434 PyThreadState* __tstate = wxPyBeginAllowThreads();
3435 result = wxObject_GetClassName(arg1);
3436
3437 wxPyEndAllowThreads(__tstate);
3438 if (PyErr_Occurred()) SWIG_fail;
3439 }
3440 {
3441#if wxUSE_UNICODE
3442 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3443#else
3444 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3445#endif
3446 }
3447 return resultobj;
3448 fail:
3449 return NULL;
3450}
3451
3452
c32bde28 3453static PyObject *_wrap_Object_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3454 PyObject *resultobj = NULL;
d14a1e28
RD
3455 wxObject *arg1 = (wxObject *) 0 ;
3456 PyObject * obj0 = 0 ;
3457 char *kwnames[] = {
3458 (char *) "self", NULL
3459 };
3460
3461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
3462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0);
3463 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3464 {
3465 PyThreadState* __tstate = wxPyBeginAllowThreads();
3466 wxObject_Destroy(arg1);
3467
3468 wxPyEndAllowThreads(__tstate);
3469 if (PyErr_Occurred()) SWIG_fail;
3470 }
3471 Py_INCREF(Py_None); resultobj = Py_None;
3472 return resultobj;
3473 fail:
3474 return NULL;
3475}
3476
3477
c32bde28 3478static PyObject * Object_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3479 PyObject *obj;
3480 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3481 SWIG_TypeClientData(SWIGTYPE_p_wxObject, obj);
3482 Py_INCREF(obj);
3483 return Py_BuildValue((char *)"");
3484}
c32bde28 3485static PyObject *_wrap_Size_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3486 PyObject *resultobj = NULL;
d14a1e28
RD
3487 wxSize *arg1 = (wxSize *) 0 ;
3488 int arg2 ;
3489 PyObject * obj0 = 0 ;
994141e6 3490 PyObject * obj1 = 0 ;
d14a1e28
RD
3491 char *kwnames[] = {
3492 (char *) "self",(char *) "x", NULL
3493 };
3494
994141e6 3495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_width_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3497 if (SWIG_arg_fail(1)) SWIG_fail;
3498 {
32fe5131 3499 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3500 if (SWIG_arg_fail(2)) SWIG_fail;
3501 }
d14a1e28
RD
3502 if (arg1) (arg1)->x = arg2;
3503
3504 Py_INCREF(Py_None); resultobj = Py_None;
3505 return resultobj;
3506 fail:
3507 return NULL;
3508}
3509
3510
c32bde28 3511static PyObject *_wrap_Size_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3512 PyObject *resultobj = NULL;
d14a1e28
RD
3513 wxSize *arg1 = (wxSize *) 0 ;
3514 int result;
3515 PyObject * obj0 = 0 ;
3516 char *kwnames[] = {
3517 (char *) "self", NULL
3518 };
3519
3520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_width_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
3521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3522 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3523 result = (int) ((arg1)->x);
3524
093d3ff1 3525 {
32fe5131 3526 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 3527 }
d14a1e28
RD
3528 return resultobj;
3529 fail:
3530 return NULL;
3531}
3532
3533
c32bde28 3534static PyObject *_wrap_Size_height_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3535 PyObject *resultobj = NULL;
d14a1e28
RD
3536 wxSize *arg1 = (wxSize *) 0 ;
3537 int arg2 ;
3538 PyObject * obj0 = 0 ;
994141e6 3539 PyObject * obj1 = 0 ;
d14a1e28
RD
3540 char *kwnames[] = {
3541 (char *) "self",(char *) "y", NULL
3542 };
3543
994141e6 3544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_height_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3546 if (SWIG_arg_fail(1)) SWIG_fail;
3547 {
32fe5131 3548 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3549 if (SWIG_arg_fail(2)) SWIG_fail;
3550 }
d14a1e28
RD
3551 if (arg1) (arg1)->y = arg2;
3552
3553 Py_INCREF(Py_None); resultobj = Py_None;
3554 return resultobj;
3555 fail:
3556 return NULL;
3557}
3558
3559
c32bde28 3560static PyObject *_wrap_Size_height_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3561 PyObject *resultobj = NULL;
d14a1e28
RD
3562 wxSize *arg1 = (wxSize *) 0 ;
3563 int result;
3564 PyObject * obj0 = 0 ;
3565 char *kwnames[] = {
3566 (char *) "self", NULL
3567 };
3568
3569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_height_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
3570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3571 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3572 result = (int) ((arg1)->y);
3573
093d3ff1 3574 {
32fe5131 3575 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 3576 }
d14a1e28
RD
3577 return resultobj;
3578 fail:
3579 return NULL;
3580}
3581
3582
c32bde28 3583static PyObject *_wrap_new_Size(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3584 PyObject *resultobj = NULL;
d14a1e28
RD
3585 int arg1 = (int) 0 ;
3586 int arg2 = (int) 0 ;
3587 wxSize *result;
994141e6
RD
3588 PyObject * obj0 = 0 ;
3589 PyObject * obj1 = 0 ;
d14a1e28
RD
3590 char *kwnames[] = {
3591 (char *) "w",(char *) "h", NULL
3592 };
3593
994141e6
RD
3594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Size",kwnames,&obj0,&obj1)) goto fail;
3595 if (obj0) {
093d3ff1 3596 {
32fe5131 3597 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
3598 if (SWIG_arg_fail(1)) SWIG_fail;
3599 }
994141e6
RD
3600 }
3601 if (obj1) {
093d3ff1 3602 {
32fe5131 3603 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3604 if (SWIG_arg_fail(2)) SWIG_fail;
3605 }
994141e6 3606 }
d14a1e28
RD
3607 {
3608 PyThreadState* __tstate = wxPyBeginAllowThreads();
3609 result = (wxSize *)new wxSize(arg1,arg2);
3610
3611 wxPyEndAllowThreads(__tstate);
3612 if (PyErr_Occurred()) SWIG_fail;
3613 }
15afbcd0 3614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
3615 return resultobj;
3616 fail:
3617 return NULL;
3618}
3619
3620
c32bde28 3621static PyObject *_wrap_delete_Size(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3622 PyObject *resultobj = NULL;
d14a1e28
RD
3623 wxSize *arg1 = (wxSize *) 0 ;
3624 PyObject * obj0 = 0 ;
3625 char *kwnames[] = {
3626 (char *) "self", NULL
3627 };
3628
3629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Size",kwnames,&obj0)) goto fail;
093d3ff1
RD
3630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3631 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3632 {
3633 PyThreadState* __tstate = wxPyBeginAllowThreads();
3634 delete arg1;
3635
3636 wxPyEndAllowThreads(__tstate);
3637 if (PyErr_Occurred()) SWIG_fail;
3638 }
3639 Py_INCREF(Py_None); resultobj = Py_None;
3640 return resultobj;
3641 fail:
3642 return NULL;
3643}
3644
3645
c32bde28 3646static PyObject *_wrap_Size___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3647 PyObject *resultobj = NULL;
d14a1e28
RD
3648 wxSize *arg1 = (wxSize *) 0 ;
3649 wxSize *arg2 = 0 ;
3650 bool result;
3651 wxSize temp2 ;
3652 PyObject * obj0 = 0 ;
3653 PyObject * obj1 = 0 ;
3654 char *kwnames[] = {
3655 (char *) "self",(char *) "sz", NULL
3656 };
3657
3658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3660 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3661 {
3662 arg2 = &temp2;
3663 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3664 }
3665 {
3666 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3667 result = (bool)(arg1)->operator ==((wxSize const &)*arg2);
d14a1e28
RD
3668
3669 wxPyEndAllowThreads(__tstate);
3670 if (PyErr_Occurred()) SWIG_fail;
3671 }
4f89f6a3
RD
3672 {
3673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3674 }
d14a1e28
RD
3675 return resultobj;
3676 fail:
3677 return NULL;
3678}
3679
3680
c32bde28 3681static PyObject *_wrap_Size___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3682 PyObject *resultobj = NULL;
d14a1e28
RD
3683 wxSize *arg1 = (wxSize *) 0 ;
3684 wxSize *arg2 = 0 ;
3685 bool result;
3686 wxSize temp2 ;
3687 PyObject * obj0 = 0 ;
3688 PyObject * obj1 = 0 ;
3689 char *kwnames[] = {
3690 (char *) "self",(char *) "sz", NULL
3691 };
3692
3693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3695 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3696 {
3697 arg2 = &temp2;
3698 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3699 }
3700 {
3701 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3702 result = (bool)(arg1)->operator !=((wxSize const &)*arg2);
d14a1e28
RD
3703
3704 wxPyEndAllowThreads(__tstate);
3705 if (PyErr_Occurred()) SWIG_fail;
3706 }
4f89f6a3
RD
3707 {
3708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3709 }
d14a1e28
RD
3710 return resultobj;
3711 fail:
3712 return NULL;
3713}
3714
3715
c32bde28 3716static PyObject *_wrap_Size___add__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3717 PyObject *resultobj = NULL;
d14a1e28
RD
3718 wxSize *arg1 = (wxSize *) 0 ;
3719 wxSize *arg2 = 0 ;
3720 wxSize result;
3721 wxSize temp2 ;
3722 PyObject * obj0 = 0 ;
3723 PyObject * obj1 = 0 ;
3724 char *kwnames[] = {
3725 (char *) "self",(char *) "sz", NULL
3726 };
3727
3728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___add__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3730 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3731 {
3732 arg2 = &temp2;
3733 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3734 }
3735 {
3736 PyThreadState* __tstate = wxPyBeginAllowThreads();
3737 result = (arg1)->operator +((wxSize const &)*arg2);
3738
3739 wxPyEndAllowThreads(__tstate);
3740 if (PyErr_Occurred()) SWIG_fail;
3741 }
3742 {
3743 wxSize * resultptr;
32fe5131 3744 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 3745 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
3746 }
3747 return resultobj;
3748 fail:
3749 return NULL;
3750}
3751
3752
c32bde28 3753static PyObject *_wrap_Size___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3754 PyObject *resultobj = NULL;
d14a1e28
RD
3755 wxSize *arg1 = (wxSize *) 0 ;
3756 wxSize *arg2 = 0 ;
3757 wxSize result;
3758 wxSize temp2 ;
3759 PyObject * obj0 = 0 ;
3760 PyObject * obj1 = 0 ;
3761 char *kwnames[] = {
3762 (char *) "self",(char *) "sz", NULL
3763 };
3764
3765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___sub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3767 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3768 {
3769 arg2 = &temp2;
3770 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3771 }
3772 {
3773 PyThreadState* __tstate = wxPyBeginAllowThreads();
3774 result = (arg1)->operator -((wxSize const &)*arg2);
3775
3776 wxPyEndAllowThreads(__tstate);
3777 if (PyErr_Occurred()) SWIG_fail;
3778 }
3779 {
3780 wxSize * resultptr;
32fe5131 3781 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 3782 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
3783 }
3784 return resultobj;
3785 fail:
3786 return NULL;
3787}
3788
3789
c32bde28 3790static PyObject *_wrap_Size_IncTo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3791 PyObject *resultobj = NULL;
d14a1e28
RD
3792 wxSize *arg1 = (wxSize *) 0 ;
3793 wxSize *arg2 = 0 ;
3794 wxSize temp2 ;
3795 PyObject * obj0 = 0 ;
3796 PyObject * obj1 = 0 ;
3797 char *kwnames[] = {
3798 (char *) "self",(char *) "sz", NULL
3799 };
3800
3801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_IncTo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3803 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3804 {
3805 arg2 = &temp2;
3806 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3807 }
3808 {
3809 PyThreadState* __tstate = wxPyBeginAllowThreads();
3810 (arg1)->IncTo((wxSize const &)*arg2);
3811
3812 wxPyEndAllowThreads(__tstate);
3813 if (PyErr_Occurred()) SWIG_fail;
3814 }
3815 Py_INCREF(Py_None); resultobj = Py_None;
3816 return resultobj;
3817 fail:
3818 return NULL;
3819}
3820
3821
c32bde28 3822static PyObject *_wrap_Size_DecTo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3823 PyObject *resultobj = NULL;
d14a1e28
RD
3824 wxSize *arg1 = (wxSize *) 0 ;
3825 wxSize *arg2 = 0 ;
3826 wxSize temp2 ;
3827 PyObject * obj0 = 0 ;
3828 PyObject * obj1 = 0 ;
3829 char *kwnames[] = {
3830 (char *) "self",(char *) "sz", NULL
3831 };
3832
3833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_DecTo",kwnames,&obj0,&obj1)) 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;
d14a1e28
RD
3836 {
3837 arg2 = &temp2;
3838 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3839 }
3840 {
3841 PyThreadState* __tstate = wxPyBeginAllowThreads();
3842 (arg1)->DecTo((wxSize const &)*arg2);
3843
3844 wxPyEndAllowThreads(__tstate);
3845 if (PyErr_Occurred()) SWIG_fail;
3846 }
3847 Py_INCREF(Py_None); resultobj = Py_None;
3848 return resultobj;
3849 fail:
3850 return NULL;
3851}
3852
3853
c32bde28 3854static PyObject *_wrap_Size_Set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3855 PyObject *resultobj = NULL;
d14a1e28
RD
3856 wxSize *arg1 = (wxSize *) 0 ;
3857 int arg2 ;
3858 int arg3 ;
3859 PyObject * obj0 = 0 ;
994141e6
RD
3860 PyObject * obj1 = 0 ;
3861 PyObject * obj2 = 0 ;
d14a1e28 3862 char *kwnames[] = {
e811c8ce 3863 (char *) "self",(char *) "w",(char *) "h", NULL
d14a1e28
RD
3864 };
3865
994141e6 3866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Size_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3868 if (SWIG_arg_fail(1)) SWIG_fail;
3869 {
32fe5131 3870 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3871 if (SWIG_arg_fail(2)) SWIG_fail;
3872 }
3873 {
32fe5131 3874 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
3875 if (SWIG_arg_fail(3)) SWIG_fail;
3876 }
d14a1e28
RD
3877 {
3878 PyThreadState* __tstate = wxPyBeginAllowThreads();
3879 (arg1)->Set(arg2,arg3);
3880
3881 wxPyEndAllowThreads(__tstate);
3882 if (PyErr_Occurred()) SWIG_fail;
3883 }
3884 Py_INCREF(Py_None); resultobj = Py_None;
3885 return resultobj;
3886 fail:
3887 return NULL;
3888}
3889
3890
c32bde28 3891static PyObject *_wrap_Size_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3892 PyObject *resultobj = NULL;
d14a1e28
RD
3893 wxSize *arg1 = (wxSize *) 0 ;
3894 int arg2 ;
3895 PyObject * obj0 = 0 ;
994141e6 3896 PyObject * obj1 = 0 ;
d14a1e28
RD
3897 char *kwnames[] = {
3898 (char *) "self",(char *) "w", NULL
3899 };
3900
994141e6 3901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3903 if (SWIG_arg_fail(1)) SWIG_fail;
3904 {
32fe5131 3905 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3906 if (SWIG_arg_fail(2)) SWIG_fail;
3907 }
d14a1e28
RD
3908 {
3909 PyThreadState* __tstate = wxPyBeginAllowThreads();
3910 (arg1)->SetWidth(arg2);
3911
3912 wxPyEndAllowThreads(__tstate);
3913 if (PyErr_Occurred()) SWIG_fail;
3914 }
3915 Py_INCREF(Py_None); resultobj = Py_None;
3916 return resultobj;
3917 fail:
3918 return NULL;
3919}
3920
3921
c32bde28 3922static PyObject *_wrap_Size_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3923 PyObject *resultobj = NULL;
d14a1e28
RD
3924 wxSize *arg1 = (wxSize *) 0 ;
3925 int arg2 ;
3926 PyObject * obj0 = 0 ;
994141e6 3927 PyObject * obj1 = 0 ;
d14a1e28
RD
3928 char *kwnames[] = {
3929 (char *) "self",(char *) "h", NULL
3930 };
3931
994141e6 3932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetHeight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3934 if (SWIG_arg_fail(1)) SWIG_fail;
3935 {
32fe5131 3936 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3937 if (SWIG_arg_fail(2)) SWIG_fail;
3938 }
d14a1e28
RD
3939 {
3940 PyThreadState* __tstate = wxPyBeginAllowThreads();
3941 (arg1)->SetHeight(arg2);
3942
3943 wxPyEndAllowThreads(__tstate);
3944 if (PyErr_Occurred()) SWIG_fail;
3945 }
3946 Py_INCREF(Py_None); resultobj = Py_None;
3947 return resultobj;
3948 fail:
3949 return NULL;
3950}
3951
3952
c32bde28 3953static PyObject *_wrap_Size_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3954 PyObject *resultobj = NULL;
d14a1e28
RD
3955 wxSize *arg1 = (wxSize *) 0 ;
3956 int result;
3957 PyObject * obj0 = 0 ;
3958 char *kwnames[] = {
3959 (char *) "self", NULL
3960 };
3961
3962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
3963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3964 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3965 {
3966 PyThreadState* __tstate = wxPyBeginAllowThreads();
3967 result = (int)((wxSize const *)arg1)->GetWidth();
3968
3969 wxPyEndAllowThreads(__tstate);
3970 if (PyErr_Occurred()) SWIG_fail;
3971 }
093d3ff1 3972 {
32fe5131 3973 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 3974 }
d14a1e28
RD
3975 return resultobj;
3976 fail:
3977 return NULL;
3978}
3979
3980
c32bde28 3981static PyObject *_wrap_Size_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3982 PyObject *resultobj = NULL;
d14a1e28
RD
3983 wxSize *arg1 = (wxSize *) 0 ;
3984 int result;
3985 PyObject * obj0 = 0 ;
3986 char *kwnames[] = {
3987 (char *) "self", NULL
3988 };
3989
3990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
3991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
3992 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3993 {
3994 PyThreadState* __tstate = wxPyBeginAllowThreads();
3995 result = (int)((wxSize const *)arg1)->GetHeight();
3996
3997 wxPyEndAllowThreads(__tstate);
3998 if (PyErr_Occurred()) SWIG_fail;
3999 }
093d3ff1 4000 {
32fe5131 4001 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 4002 }
d14a1e28
RD
4003 return resultobj;
4004 fail:
4005 return NULL;
4006}
4007
4008
c32bde28 4009static PyObject *_wrap_Size_IsFullySpecified(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4010 PyObject *resultobj = NULL;
74a57fcd
RD
4011 wxSize *arg1 = (wxSize *) 0 ;
4012 bool result;
4013 PyObject * obj0 = 0 ;
4014 char *kwnames[] = {
4015 (char *) "self", NULL
4016 };
4017
4018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_IsFullySpecified",kwnames,&obj0)) goto fail;
093d3ff1
RD
4019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
4020 if (SWIG_arg_fail(1)) SWIG_fail;
74a57fcd
RD
4021 {
4022 PyThreadState* __tstate = wxPyBeginAllowThreads();
4023 result = (bool)((wxSize const *)arg1)->IsFullySpecified();
4024
4025 wxPyEndAllowThreads(__tstate);
4026 if (PyErr_Occurred()) SWIG_fail;
4027 }
4028 {
4029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4030 }
4031 return resultobj;
4032 fail:
4033 return NULL;
4034}
4035
4036
c32bde28 4037static PyObject *_wrap_Size_SetDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4038 PyObject *resultobj = NULL;
74a57fcd
RD
4039 wxSize *arg1 = (wxSize *) 0 ;
4040 wxSize *arg2 = 0 ;
4041 wxSize temp2 ;
4042 PyObject * obj0 = 0 ;
4043 PyObject * obj1 = 0 ;
4044 char *kwnames[] = {
4045 (char *) "self",(char *) "size", NULL
4046 };
4047
4048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetDefaults",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
4050 if (SWIG_arg_fail(1)) SWIG_fail;
74a57fcd
RD
4051 {
4052 arg2 = &temp2;
4053 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4054 }
4055 {
4056 PyThreadState* __tstate = wxPyBeginAllowThreads();
4057 (arg1)->SetDefaults((wxSize const &)*arg2);
4058
4059 wxPyEndAllowThreads(__tstate);
4060 if (PyErr_Occurred()) SWIG_fail;
4061 }
4062 Py_INCREF(Py_None); resultobj = Py_None;
4063 return resultobj;
4064 fail:
4065 return NULL;
4066}
4067
4068
c32bde28 4069static PyObject *_wrap_Size_Get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4070 PyObject *resultobj = NULL;
d14a1e28
RD
4071 wxSize *arg1 = (wxSize *) 0 ;
4072 PyObject *result;
4073 PyObject * obj0 = 0 ;
4074 char *kwnames[] = {
4075 (char *) "self", NULL
4076 };
4077
e811c8ce 4078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_Get",kwnames,&obj0)) goto fail;
093d3ff1
RD
4079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
4080 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4081 {
4082 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 4083 result = (PyObject *)wxSize_Get(arg1);
d14a1e28
RD
4084
4085 wxPyEndAllowThreads(__tstate);
4086 if (PyErr_Occurred()) SWIG_fail;
4087 }
4088 resultobj = result;
4089 return resultobj;
4090 fail:
4091 return NULL;
4092}
4093
4094
c32bde28 4095static PyObject * Size_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4096 PyObject *obj;
4097 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4098 SWIG_TypeClientData(SWIGTYPE_p_wxSize, obj);
4099 Py_INCREF(obj);
4100 return Py_BuildValue((char *)"");
4101}
c32bde28 4102static PyObject *_wrap_RealPoint_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4103 PyObject *resultobj = NULL;
d14a1e28
RD
4104 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
4105 double arg2 ;
4106 PyObject * obj0 = 0 ;
994141e6 4107 PyObject * obj1 = 0 ;
d14a1e28
RD
4108 char *kwnames[] = {
4109 (char *) "self",(char *) "x", NULL
4110 };
4111
994141e6 4112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_x_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
4114 if (SWIG_arg_fail(1)) SWIG_fail;
4115 {
32fe5131 4116 arg2 = static_cast<double >(SWIG_As_double(obj1));
093d3ff1
RD
4117 if (SWIG_arg_fail(2)) SWIG_fail;
4118 }
d14a1e28
RD
4119 if (arg1) (arg1)->x = arg2;
4120
4121 Py_INCREF(Py_None); resultobj = Py_None;
4122 return resultobj;
4123 fail:
4124 return NULL;
4125}
4126
4127
c32bde28 4128static PyObject *_wrap_RealPoint_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4129 PyObject *resultobj = NULL;
d14a1e28
RD
4130 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
4131 double result;
4132 PyObject * obj0 = 0 ;
4133 char *kwnames[] = {
4134 (char *) "self", NULL
4135 };
4136
4137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_x_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
4138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
4139 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4140 result = (double) ((arg1)->x);
4141
093d3ff1 4142 {
32fe5131 4143 resultobj = SWIG_From_double(static_cast<double >(result));
093d3ff1 4144 }
d14a1e28
RD
4145 return resultobj;
4146 fail:
4147 return NULL;
4148}
4149
4150
c32bde28 4151static PyObject *_wrap_RealPoint_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4152 PyObject *resultobj = NULL;
d14a1e28
RD
4153 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
4154 double arg2 ;
4155 PyObject * obj0 = 0 ;
994141e6 4156 PyObject * obj1 = 0 ;
d14a1e28
RD
4157 char *kwnames[] = {
4158 (char *) "self",(char *) "y", NULL
4159 };
4160
994141e6 4161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_y_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
4163 if (SWIG_arg_fail(1)) SWIG_fail;
4164 {
32fe5131 4165 arg2 = static_cast<double >(SWIG_As_double(obj1));
093d3ff1
RD
4166 if (SWIG_arg_fail(2)) SWIG_fail;
4167 }
d14a1e28
RD
4168 if (arg1) (arg1)->y = arg2;
4169
4170 Py_INCREF(Py_None); resultobj = Py_None;
4171 return resultobj;
4172 fail:
4173 return NULL;
4174}
4175
4176
c32bde28 4177static PyObject *_wrap_RealPoint_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4178 PyObject *resultobj = NULL;
d14a1e28
RD
4179 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
4180 double result;
4181 PyObject * obj0 = 0 ;
4182 char *kwnames[] = {
4183 (char *) "self", NULL
4184 };
4185
4186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_y_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
4187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
4188 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4189 result = (double) ((arg1)->y);
4190
093d3ff1 4191 {
32fe5131 4192 resultobj = SWIG_From_double(static_cast<double >(result));
093d3ff1 4193 }
d14a1e28
RD
4194 return resultobj;
4195 fail:
4196 return NULL;
4197}
4198
4199
c32bde28 4200static PyObject *_wrap_new_RealPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4201 PyObject *resultobj = NULL;
d14a1e28
RD
4202 double arg1 = (double) 0.0 ;
4203 double arg2 = (double) 0.0 ;
4204 wxRealPoint *result;
994141e6
RD
4205 PyObject * obj0 = 0 ;
4206 PyObject * obj1 = 0 ;
d14a1e28
RD
4207 char *kwnames[] = {
4208 (char *) "x",(char *) "y", NULL
4209 };
4210
994141e6
RD
4211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RealPoint",kwnames,&obj0,&obj1)) goto fail;
4212 if (obj0) {
093d3ff1 4213 {
32fe5131 4214 arg1 = static_cast<double >(SWIG_As_double(obj0));
093d3ff1
RD
4215 if (SWIG_arg_fail(1)) SWIG_fail;
4216 }
994141e6
RD
4217 }
4218 if (obj1) {
093d3ff1 4219 {
32fe5131 4220 arg2 = static_cast<double >(SWIG_As_double(obj1));
093d3ff1
RD
4221 if (SWIG_arg_fail(2)) SWIG_fail;
4222 }
994141e6 4223 }
d14a1e28
RD
4224 {
4225 PyThreadState* __tstate = wxPyBeginAllowThreads();
4226 result = (wxRealPoint *)new wxRealPoint(arg1,arg2);
4227
4228 wxPyEndAllowThreads(__tstate);
4229 if (PyErr_Occurred()) SWIG_fail;
4230 }
15afbcd0 4231 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRealPoint, 1);
d14a1e28
RD
4232 return resultobj;
4233 fail:
4234 return NULL;
4235}
4236
4237
c32bde28 4238static PyObject *_wrap_delete_RealPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4239 PyObject *resultobj = NULL;
d14a1e28
RD
4240 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
4241 PyObject * obj0 = 0 ;
4242 char *kwnames[] = {
4243 (char *) "self", NULL
4244 };
4245
4246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RealPoint",kwnames,&obj0)) goto fail;
093d3ff1
RD
4247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
4248 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4249 {
4250 PyThreadState* __tstate = wxPyBeginAllowThreads();
4251 delete arg1;
4252
4253 wxPyEndAllowThreads(__tstate);
4254 if (PyErr_Occurred()) SWIG_fail;
4255 }
4256 Py_INCREF(Py_None); resultobj = Py_None;
4257 return resultobj;
4258 fail:
4259 return NULL;
4260}
4261
4262
c32bde28 4263static PyObject *_wrap_RealPoint___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4264 PyObject *resultobj = NULL;
d14a1e28
RD
4265 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
4266 wxRealPoint *arg2 = 0 ;
e811c8ce 4267 bool result;
d14a1e28
RD
4268 wxRealPoint temp2 ;
4269 PyObject * obj0 = 0 ;
4270 PyObject * obj1 = 0 ;
4271 char *kwnames[] = {
4272 (char *) "self",(char *) "pt", NULL
4273 };
4274
e811c8ce 4275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
4277 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4278 {
4279 arg2 = &temp2;
4280 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
4281 }
4282 {
4283 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 4284 result = (bool)(arg1)->operator ==((wxRealPoint const &)*arg2);
d14a1e28
RD
4285
4286 wxPyEndAllowThreads(__tstate);
4287 if (PyErr_Occurred()) SWIG_fail;
4288 }
4f89f6a3
RD
4289 {
4290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4291 }
d14a1e28
RD
4292 return resultobj;
4293 fail:
4294 return NULL;
4295}
4296
4297
c32bde28 4298static PyObject *_wrap_RealPoint___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4299 PyObject *resultobj = NULL;
d14a1e28
RD
4300 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
4301 wxRealPoint *arg2 = 0 ;
e811c8ce 4302 bool result;
d14a1e28
RD
4303 wxRealPoint temp2 ;
4304 PyObject * obj0 = 0 ;
4305 PyObject * obj1 = 0 ;
4306 char *kwnames[] = {
4307 (char *) "self",(char *) "pt", NULL
4308 };
4309
e811c8ce 4310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
4312 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4313 {
4314 arg2 = &temp2;
4315 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
4316 }
4317 {
4318 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 4319 result = (bool)(arg1)->operator !=((wxRealPoint const &)*arg2);
d14a1e28
RD
4320
4321 wxPyEndAllowThreads(__tstate);
4322 if (PyErr_Occurred()) SWIG_fail;
4323 }
4f89f6a3
RD
4324 {
4325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4326 }
d14a1e28
RD
4327 return resultobj;
4328 fail:
4329 return NULL;
4330}
4331
4332
c32bde28 4333static PyObject *_wrap_RealPoint___add__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4334 PyObject *resultobj = NULL;
d14a1e28
RD
4335 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
4336 wxRealPoint *arg2 = 0 ;
e811c8ce 4337 wxRealPoint result;
d14a1e28
RD
4338 wxRealPoint temp2 ;
4339 PyObject * obj0 = 0 ;
4340 PyObject * obj1 = 0 ;
4341 char *kwnames[] = {
4342 (char *) "self",(char *) "pt", NULL
4343 };
4344
e811c8ce 4345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
4347 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4348 {
4349 arg2 = &temp2;
4350 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
4351 }
4352 {
4353 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 4354 result = (arg1)->operator +((wxRealPoint const &)*arg2);
d14a1e28
RD
4355
4356 wxPyEndAllowThreads(__tstate);
4357 if (PyErr_Occurred()) SWIG_fail;
4358 }
e811c8ce
RD
4359 {
4360 wxRealPoint * resultptr;
32fe5131 4361 resultptr = new wxRealPoint(static_cast<wxRealPoint & >(result));
15afbcd0 4362 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
e811c8ce 4363 }
d14a1e28
RD
4364 return resultobj;
4365 fail:
4366 return NULL;
4367}
4368
4369
c32bde28 4370static PyObject *_wrap_RealPoint___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4371 PyObject *resultobj = NULL;
d14a1e28
RD
4372 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
4373 wxRealPoint *arg2 = 0 ;
e811c8ce 4374 wxRealPoint result;
d14a1e28
RD
4375 wxRealPoint temp2 ;
4376 PyObject * obj0 = 0 ;
4377 PyObject * obj1 = 0 ;
4378 char *kwnames[] = {
4379 (char *) "self",(char *) "pt", NULL
4380 };
4381
e811c8ce 4382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
4384 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4385 {
4386 arg2 = &temp2;
4387 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
4388 }
4389 {
4390 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 4391 result = (arg1)->operator -((wxRealPoint const &)*arg2);
d14a1e28
RD
4392
4393 wxPyEndAllowThreads(__tstate);
4394 if (PyErr_Occurred()) SWIG_fail;
4395 }
e811c8ce
RD
4396 {
4397 wxRealPoint * resultptr;
32fe5131 4398 resultptr = new wxRealPoint(static_cast<wxRealPoint & >(result));
15afbcd0 4399 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
e811c8ce 4400 }
d14a1e28
RD
4401 return resultobj;
4402 fail:
4403 return NULL;
4404}
4405
4406
c32bde28 4407static PyObject *_wrap_RealPoint_Set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4408 PyObject *resultobj = NULL;
d14a1e28
RD
4409 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
4410 double arg2 ;
4411 double arg3 ;
4412 PyObject * obj0 = 0 ;
994141e6
RD
4413 PyObject * obj1 = 0 ;
4414 PyObject * obj2 = 0 ;
d14a1e28
RD
4415 char *kwnames[] = {
4416 (char *) "self",(char *) "x",(char *) "y", NULL
4417 };
4418
994141e6 4419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RealPoint_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
4421 if (SWIG_arg_fail(1)) SWIG_fail;
4422 {
32fe5131 4423 arg2 = static_cast<double >(SWIG_As_double(obj1));
093d3ff1
RD
4424 if (SWIG_arg_fail(2)) SWIG_fail;
4425 }
4426 {
32fe5131 4427 arg3 = static_cast<double >(SWIG_As_double(obj2));
093d3ff1
RD
4428 if (SWIG_arg_fail(3)) SWIG_fail;
4429 }
d14a1e28
RD
4430 {
4431 PyThreadState* __tstate = wxPyBeginAllowThreads();
4432 wxRealPoint_Set(arg1,arg2,arg3);
4433
4434 wxPyEndAllowThreads(__tstate);
4435 if (PyErr_Occurred()) SWIG_fail;
4436 }
4437 Py_INCREF(Py_None); resultobj = Py_None;
4438 return resultobj;
4439 fail:
4440 return NULL;
4441}
4442
4443
c32bde28 4444static PyObject *_wrap_RealPoint_Get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4445 PyObject *resultobj = NULL;
d14a1e28
RD
4446 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
4447 PyObject *result;
4448 PyObject * obj0 = 0 ;
4449 char *kwnames[] = {
4450 (char *) "self", NULL
4451 };
4452
e811c8ce 4453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_Get",kwnames,&obj0)) goto fail;
093d3ff1
RD
4454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0);
4455 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4456 {
4457 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 4458 result = (PyObject *)wxRealPoint_Get(arg1);
d14a1e28
RD
4459
4460 wxPyEndAllowThreads(__tstate);
4461 if (PyErr_Occurred()) SWIG_fail;
4462 }
4463 resultobj = result;
4464 return resultobj;
4465 fail:
4466 return NULL;
4467}
4468
4469
c32bde28 4470static PyObject * RealPoint_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4471 PyObject *obj;
4472 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4473 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint, obj);
4474 Py_INCREF(obj);
4475 return Py_BuildValue((char *)"");
4476}
c32bde28 4477static PyObject *_wrap_Point_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4478 PyObject *resultobj = NULL;
d14a1e28
RD
4479 wxPoint *arg1 = (wxPoint *) 0 ;
4480 int arg2 ;
4481 PyObject * obj0 = 0 ;
994141e6 4482 PyObject * obj1 = 0 ;
d14a1e28
RD
4483 char *kwnames[] = {
4484 (char *) "self",(char *) "x", NULL
4485 };
4486
994141e6 4487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_x_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4489 if (SWIG_arg_fail(1)) SWIG_fail;
4490 {
32fe5131 4491 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
4492 if (SWIG_arg_fail(2)) SWIG_fail;
4493 }
d14a1e28
RD
4494 if (arg1) (arg1)->x = arg2;
4495
4496 Py_INCREF(Py_None); resultobj = Py_None;
4497 return resultobj;
4498 fail:
4499 return NULL;
4500}
4501
4502
c32bde28 4503static PyObject *_wrap_Point_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4504 PyObject *resultobj = NULL;
d14a1e28
RD
4505 wxPoint *arg1 = (wxPoint *) 0 ;
4506 int result;
4507 PyObject * obj0 = 0 ;
4508 char *kwnames[] = {
4509 (char *) "self", NULL
4510 };
4511
4512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_x_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
4513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4514 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4515 result = (int) ((arg1)->x);
4516
093d3ff1 4517 {
32fe5131 4518 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 4519 }
d14a1e28
RD
4520 return resultobj;
4521 fail:
4522 return NULL;
4523}
4524
4525
c32bde28 4526static PyObject *_wrap_Point_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4527 PyObject *resultobj = NULL;
d14a1e28
RD
4528 wxPoint *arg1 = (wxPoint *) 0 ;
4529 int arg2 ;
4530 PyObject * obj0 = 0 ;
994141e6 4531 PyObject * obj1 = 0 ;
d14a1e28
RD
4532 char *kwnames[] = {
4533 (char *) "self",(char *) "y", NULL
4534 };
4535
994141e6 4536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_y_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4538 if (SWIG_arg_fail(1)) SWIG_fail;
4539 {
32fe5131 4540 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
4541 if (SWIG_arg_fail(2)) SWIG_fail;
4542 }
d14a1e28
RD
4543 if (arg1) (arg1)->y = arg2;
4544
4545 Py_INCREF(Py_None); resultobj = Py_None;
4546 return resultobj;
4547 fail:
4548 return NULL;
4549}
4550
4551
c32bde28 4552static PyObject *_wrap_Point_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4553 PyObject *resultobj = NULL;
d14a1e28
RD
4554 wxPoint *arg1 = (wxPoint *) 0 ;
4555 int result;
4556 PyObject * obj0 = 0 ;
4557 char *kwnames[] = {
4558 (char *) "self", NULL
4559 };
4560
4561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_y_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
4562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4563 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4564 result = (int) ((arg1)->y);
4565
093d3ff1 4566 {
32fe5131 4567 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 4568 }
d14a1e28
RD
4569 return resultobj;
4570 fail:
4571 return NULL;
4572}
4573
4574
c32bde28 4575static PyObject *_wrap_new_Point(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4576 PyObject *resultobj = NULL;
d14a1e28
RD
4577 int arg1 = (int) 0 ;
4578 int arg2 = (int) 0 ;
4579 wxPoint *result;
994141e6
RD
4580 PyObject * obj0 = 0 ;
4581 PyObject * obj1 = 0 ;
d14a1e28
RD
4582 char *kwnames[] = {
4583 (char *) "x",(char *) "y", NULL
4584 };
4585
994141e6
RD
4586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point",kwnames,&obj0,&obj1)) goto fail;
4587 if (obj0) {
093d3ff1 4588 {
32fe5131 4589 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
4590 if (SWIG_arg_fail(1)) SWIG_fail;
4591 }
994141e6
RD
4592 }
4593 if (obj1) {
093d3ff1 4594 {
32fe5131 4595 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
4596 if (SWIG_arg_fail(2)) SWIG_fail;
4597 }
994141e6 4598 }
d14a1e28
RD
4599 {
4600 PyThreadState* __tstate = wxPyBeginAllowThreads();
4601 result = (wxPoint *)new wxPoint(arg1,arg2);
4602
4603 wxPyEndAllowThreads(__tstate);
4604 if (PyErr_Occurred()) SWIG_fail;
4605 }
15afbcd0 4606 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
4607 return resultobj;
4608 fail:
4609 return NULL;
4610}
4611
4612
c32bde28 4613static PyObject *_wrap_delete_Point(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4614 PyObject *resultobj = NULL;
d14a1e28
RD
4615 wxPoint *arg1 = (wxPoint *) 0 ;
4616 PyObject * obj0 = 0 ;
4617 char *kwnames[] = {
4618 (char *) "self", NULL
4619 };
4620
4621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Point",kwnames,&obj0)) goto fail;
093d3ff1
RD
4622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4623 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4624 {
4625 PyThreadState* __tstate = wxPyBeginAllowThreads();
4626 delete arg1;
4627
4628 wxPyEndAllowThreads(__tstate);
4629 if (PyErr_Occurred()) SWIG_fail;
4630 }
4631 Py_INCREF(Py_None); resultobj = Py_None;
4632 return resultobj;
4633 fail:
4634 return NULL;
4635}
4636
4637
c32bde28 4638static PyObject *_wrap_Point___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4639 PyObject *resultobj = NULL;
d14a1e28
RD
4640 wxPoint *arg1 = (wxPoint *) 0 ;
4641 wxPoint *arg2 = 0 ;
4642 bool result;
4643 wxPoint temp2 ;
4644 PyObject * obj0 = 0 ;
4645 PyObject * obj1 = 0 ;
4646 char *kwnames[] = {
e811c8ce 4647 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
4648 };
4649
4650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4652 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4653 {
4654 arg2 = &temp2;
4655 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4656 }
4657 {
4658 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 4659 result = (bool)(arg1)->operator ==((wxPoint const &)*arg2);
d14a1e28
RD
4660
4661 wxPyEndAllowThreads(__tstate);
4662 if (PyErr_Occurred()) SWIG_fail;
4663 }
4f89f6a3
RD
4664 {
4665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4666 }
d14a1e28
RD
4667 return resultobj;
4668 fail:
4669 return NULL;
4670}
4671
4672
c32bde28 4673static PyObject *_wrap_Point___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4674 PyObject *resultobj = NULL;
d14a1e28
RD
4675 wxPoint *arg1 = (wxPoint *) 0 ;
4676 wxPoint *arg2 = 0 ;
4677 bool result;
4678 wxPoint temp2 ;
4679 PyObject * obj0 = 0 ;
4680 PyObject * obj1 = 0 ;
4681 char *kwnames[] = {
e811c8ce 4682 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
4683 };
4684
4685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4687 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4688 {
4689 arg2 = &temp2;
4690 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4691 }
4692 {
4693 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 4694 result = (bool)(arg1)->operator !=((wxPoint const &)*arg2);
d14a1e28
RD
4695
4696 wxPyEndAllowThreads(__tstate);
4697 if (PyErr_Occurred()) SWIG_fail;
4698 }
4f89f6a3
RD
4699 {
4700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4701 }
d14a1e28
RD
4702 return resultobj;
4703 fail:
4704 return NULL;
4705}
4706
4707
c32bde28 4708static PyObject *_wrap_Point___add__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4709 PyObject *resultobj = NULL;
d14a1e28
RD
4710 wxPoint *arg1 = (wxPoint *) 0 ;
4711 wxPoint *arg2 = 0 ;
4712 wxPoint result;
4713 wxPoint temp2 ;
4714 PyObject * obj0 = 0 ;
4715 PyObject * obj1 = 0 ;
4716 char *kwnames[] = {
e811c8ce 4717 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
4718 };
4719
4720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___add__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4722 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4723 {
4724 arg2 = &temp2;
4725 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4726 }
4727 {
4728 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 4729 result = (arg1)->operator +((wxPoint const &)*arg2);
d14a1e28
RD
4730
4731 wxPyEndAllowThreads(__tstate);
4732 if (PyErr_Occurred()) SWIG_fail;
4733 }
4734 {
4735 wxPoint * resultptr;
32fe5131 4736 resultptr = new wxPoint(static_cast<wxPoint & >(result));
15afbcd0 4737 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
4738 }
4739 return resultobj;
4740 fail:
4741 return NULL;
4742}
4743
4744
c32bde28 4745static PyObject *_wrap_Point___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4746 PyObject *resultobj = NULL;
d14a1e28
RD
4747 wxPoint *arg1 = (wxPoint *) 0 ;
4748 wxPoint *arg2 = 0 ;
4749 wxPoint result;
4750 wxPoint temp2 ;
4751 PyObject * obj0 = 0 ;
4752 PyObject * obj1 = 0 ;
4753 char *kwnames[] = {
e811c8ce 4754 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
4755 };
4756
4757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___sub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4759 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4760 {
4761 arg2 = &temp2;
4762 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4763 }
4764 {
4765 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 4766 result = (arg1)->operator -((wxPoint const &)*arg2);
d14a1e28
RD
4767
4768 wxPyEndAllowThreads(__tstate);
4769 if (PyErr_Occurred()) SWIG_fail;
4770 }
4771 {
4772 wxPoint * resultptr;
32fe5131 4773 resultptr = new wxPoint(static_cast<wxPoint & >(result));
15afbcd0 4774 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
4775 }
4776 return resultobj;
4777 fail:
4778 return NULL;
4779}
4780
4781
c32bde28 4782static PyObject *_wrap_Point___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4783 PyObject *resultobj = NULL;
d14a1e28
RD
4784 wxPoint *arg1 = (wxPoint *) 0 ;
4785 wxPoint *arg2 = 0 ;
4786 wxPoint *result;
4787 wxPoint temp2 ;
4788 PyObject * obj0 = 0 ;
4789 PyObject * obj1 = 0 ;
4790 char *kwnames[] = {
e811c8ce 4791 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
4792 };
4793
4794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___iadd__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
4796 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4797 {
4798 arg2 = &temp2;
4799 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4800 }
4801 {
4802 PyThreadState* __tstate = wxPyBeginAllowThreads();
4803 {
4804 wxPoint &_result_ref = (arg1)->operator +=((wxPoint const &)*arg2);
4805 result = (wxPoint *) &_result_ref;
4806 }
4807
4808 wxPyEndAllowThreads(__tstate);
4809 if (PyErr_Occurred()) SWIG_fail;
4810 }
c32bde28 4811 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
4812 return resultobj;
4813 fail:
4814 return NULL;
4815}
4816
4817
c32bde28 4818static PyObject *_wrap_Point___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4819 PyObject *resultobj = NULL;
d14a1e28
RD
4820 wxPoint *arg1 = (wxPoint *) 0 ;
4821 wxPoint *arg2 = 0 ;
4822 wxPoint *result;
4823 wxPoint temp2 ;
4824 PyObject * obj0 = 0 ;
4825 PyObject * obj1 = 0 ;
4826 char *kwnames[] = {
e811c8ce 4827 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
4828 };
4829
4830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___isub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
4832 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4833 {
4834 arg2 = &temp2;
4835 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4836 }
4837 {
4838 PyThreadState* __tstate = wxPyBeginAllowThreads();
4839 {
4840 wxPoint &_result_ref = (arg1)->operator -=((wxPoint const &)*arg2);
4841 result = (wxPoint *) &_result_ref;
4842 }
4843
4844 wxPyEndAllowThreads(__tstate);
4845 if (PyErr_Occurred()) SWIG_fail;
4846 }
c32bde28 4847 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
4848 return resultobj;
4849 fail:
4850 return NULL;
4851}
4852
4853
c32bde28 4854static PyObject *_wrap_Point_Set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4855 PyObject *resultobj = NULL;
d14a1e28
RD
4856 wxPoint *arg1 = (wxPoint *) 0 ;
4857 long arg2 ;
4858 long arg3 ;
4859 PyObject * obj0 = 0 ;
994141e6
RD
4860 PyObject * obj1 = 0 ;
4861 PyObject * obj2 = 0 ;
d14a1e28
RD
4862 char *kwnames[] = {
4863 (char *) "self",(char *) "x",(char *) "y", NULL
4864 };
4865
994141e6 4866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Point_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4868 if (SWIG_arg_fail(1)) SWIG_fail;
4869 {
32fe5131 4870 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
4871 if (SWIG_arg_fail(2)) SWIG_fail;
4872 }
4873 {
32fe5131 4874 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
4875 if (SWIG_arg_fail(3)) SWIG_fail;
4876 }
d14a1e28
RD
4877 {
4878 PyThreadState* __tstate = wxPyBeginAllowThreads();
4879 wxPoint_Set(arg1,arg2,arg3);
4880
4881 wxPyEndAllowThreads(__tstate);
4882 if (PyErr_Occurred()) SWIG_fail;
4883 }
4884 Py_INCREF(Py_None); resultobj = Py_None;
4885 return resultobj;
4886 fail:
4887 return NULL;
4888}
4889
4890
c32bde28 4891static PyObject *_wrap_Point_Get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4892 PyObject *resultobj = NULL;
d14a1e28
RD
4893 wxPoint *arg1 = (wxPoint *) 0 ;
4894 PyObject *result;
4895 PyObject * obj0 = 0 ;
4896 char *kwnames[] = {
4897 (char *) "self", NULL
4898 };
4899
e811c8ce 4900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_Get",kwnames,&obj0)) goto fail;
093d3ff1
RD
4901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
4902 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4903 {
4904 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 4905 result = (PyObject *)wxPoint_Get(arg1);
d14a1e28
RD
4906
4907 wxPyEndAllowThreads(__tstate);
4908 if (PyErr_Occurred()) SWIG_fail;
4909 }
4910 resultobj = result;
4911 return resultobj;
4912 fail:
4913 return NULL;
4914}
4915
4916
c32bde28 4917static PyObject * Point_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4918 PyObject *obj;
4919 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4920 SWIG_TypeClientData(SWIGTYPE_p_wxPoint, obj);
4921 Py_INCREF(obj);
4922 return Py_BuildValue((char *)"");
4923}
c32bde28 4924static PyObject *_wrap_new_Rect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4925 PyObject *resultobj = NULL;
d14a1e28
RD
4926 int arg1 = (int) 0 ;
4927 int arg2 = (int) 0 ;
4928 int arg3 = (int) 0 ;
4929 int arg4 = (int) 0 ;
4930 wxRect *result;
994141e6
RD
4931 PyObject * obj0 = 0 ;
4932 PyObject * obj1 = 0 ;
4933 PyObject * obj2 = 0 ;
4934 PyObject * obj3 = 0 ;
d14a1e28
RD
4935 char *kwnames[] = {
4936 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4937 };
4938
994141e6
RD
4939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Rect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4940 if (obj0) {
093d3ff1 4941 {
32fe5131 4942 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
4943 if (SWIG_arg_fail(1)) SWIG_fail;
4944 }
994141e6
RD
4945 }
4946 if (obj1) {
093d3ff1 4947 {
32fe5131 4948 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
4949 if (SWIG_arg_fail(2)) SWIG_fail;
4950 }
994141e6
RD
4951 }
4952 if (obj2) {
093d3ff1 4953 {
32fe5131 4954 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
4955 if (SWIG_arg_fail(3)) SWIG_fail;
4956 }
994141e6
RD
4957 }
4958 if (obj3) {
093d3ff1 4959 {
32fe5131 4960 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
4961 if (SWIG_arg_fail(4)) SWIG_fail;
4962 }
994141e6 4963 }
d14a1e28
RD
4964 {
4965 PyThreadState* __tstate = wxPyBeginAllowThreads();
4966 result = (wxRect *)new wxRect(arg1,arg2,arg3,arg4);
4967
4968 wxPyEndAllowThreads(__tstate);
4969 if (PyErr_Occurred()) SWIG_fail;
4970 }
15afbcd0 4971 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
4972 return resultobj;
4973 fail:
4974 return NULL;
4975}
4976
4977
c32bde28 4978static PyObject *_wrap_new_RectPP(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4979 PyObject *resultobj = NULL;
d14a1e28
RD
4980 wxPoint *arg1 = 0 ;
4981 wxPoint *arg2 = 0 ;
4982 wxRect *result;
4983 wxPoint temp1 ;
4984 wxPoint temp2 ;
4985 PyObject * obj0 = 0 ;
4986 PyObject * obj1 = 0 ;
4987 char *kwnames[] = {
4988 (char *) "topLeft",(char *) "bottomRight", NULL
4989 };
4990
4991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPP",kwnames,&obj0,&obj1)) goto fail;
4992 {
4993 arg1 = &temp1;
4994 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4995 }
4996 {
4997 arg2 = &temp2;
4998 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4999 }
5000 {
5001 PyThreadState* __tstate = wxPyBeginAllowThreads();
5002 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxPoint const &)*arg2);
5003
5004 wxPyEndAllowThreads(__tstate);
5005 if (PyErr_Occurred()) SWIG_fail;
5006 }
15afbcd0 5007 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
5008 return resultobj;
5009 fail:
5010 return NULL;
5011}
5012
5013
c32bde28 5014static PyObject *_wrap_new_RectPS(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5015 PyObject *resultobj = NULL;
d14a1e28
RD
5016 wxPoint *arg1 = 0 ;
5017 wxSize *arg2 = 0 ;
5018 wxRect *result;
5019 wxPoint temp1 ;
5020 wxSize temp2 ;
5021 PyObject * obj0 = 0 ;
5022 PyObject * obj1 = 0 ;
5023 char *kwnames[] = {
5024 (char *) "pos",(char *) "size", NULL
5025 };
5026
5027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPS",kwnames,&obj0,&obj1)) goto fail;
5028 {
5029 arg1 = &temp1;
5030 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
5031 }
5032 {
5033 arg2 = &temp2;
5034 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
5035 }
5036 {
5037 PyThreadState* __tstate = wxPyBeginAllowThreads();
5038 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxSize const &)*arg2);
5039
5040 wxPyEndAllowThreads(__tstate);
5041 if (PyErr_Occurred()) SWIG_fail;
5042 }
15afbcd0 5043 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
5044 return resultobj;
5045 fail:
5046 return NULL;
5047}
5048
5049
d3b6e4ff 5050static PyObject *_wrap_new_RectS(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5051 PyObject *resultobj = NULL;
d3b6e4ff
RD
5052 wxSize *arg1 = 0 ;
5053 wxRect *result;
5054 wxSize temp1 ;
5055 PyObject * obj0 = 0 ;
5056 char *kwnames[] = {
5057 (char *) "size", NULL
5058 };
5059
5060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_RectS",kwnames,&obj0)) goto fail;
5061 {
5062 arg1 = &temp1;
5063 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
5064 }
5065 {
5066 PyThreadState* __tstate = wxPyBeginAllowThreads();
5067 result = (wxRect *)new wxRect((wxSize const &)*arg1);
5068
5069 wxPyEndAllowThreads(__tstate);
5070 if (PyErr_Occurred()) SWIG_fail;
5071 }
5072 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
5073 return resultobj;
5074 fail:
5075 return NULL;
5076}
5077
5078
c32bde28 5079static PyObject *_wrap_delete_Rect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5080 PyObject *resultobj = NULL;
d14a1e28
RD
5081 wxRect *arg1 = (wxRect *) 0 ;
5082 PyObject * obj0 = 0 ;
5083 char *kwnames[] = {
5084 (char *) "self", NULL
5085 };
5086
5087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Rect",kwnames,&obj0)) goto fail;
093d3ff1
RD
5088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5089 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5090 {
5091 PyThreadState* __tstate = wxPyBeginAllowThreads();
5092 delete arg1;
5093
5094 wxPyEndAllowThreads(__tstate);
5095 if (PyErr_Occurred()) SWIG_fail;
5096 }
5097 Py_INCREF(Py_None); resultobj = Py_None;
5098 return resultobj;
5099 fail:
5100 return NULL;
5101}
5102
5103
c32bde28 5104static PyObject *_wrap_Rect_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5105 PyObject *resultobj = NULL;
d14a1e28
RD
5106 wxRect *arg1 = (wxRect *) 0 ;
5107 int result;
5108 PyObject * obj0 = 0 ;
5109 char *kwnames[] = {
5110 (char *) "self", NULL
5111 };
5112
5113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetX",kwnames,&obj0)) goto fail;
093d3ff1
RD
5114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5115 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5116 {
5117 PyThreadState* __tstate = wxPyBeginAllowThreads();
5118 result = (int)((wxRect const *)arg1)->GetX();
5119
5120 wxPyEndAllowThreads(__tstate);
5121 if (PyErr_Occurred()) SWIG_fail;
5122 }
093d3ff1 5123 {
32fe5131 5124 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 5125 }
d14a1e28
RD
5126 return resultobj;
5127 fail:
5128 return NULL;
5129}
5130
5131
c32bde28 5132static PyObject *_wrap_Rect_SetX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5133 PyObject *resultobj = NULL;
d14a1e28
RD
5134 wxRect *arg1 = (wxRect *) 0 ;
5135 int arg2 ;
5136 PyObject * obj0 = 0 ;
994141e6 5137 PyObject * obj1 = 0 ;
d14a1e28
RD
5138 char *kwnames[] = {
5139 (char *) "self",(char *) "x", NULL
5140 };
5141
994141e6 5142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetX",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5144 if (SWIG_arg_fail(1)) SWIG_fail;
5145 {
32fe5131 5146 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5147 if (SWIG_arg_fail(2)) SWIG_fail;
5148 }
d14a1e28
RD
5149 {
5150 PyThreadState* __tstate = wxPyBeginAllowThreads();
5151 (arg1)->SetX(arg2);
5152
5153 wxPyEndAllowThreads(__tstate);
5154 if (PyErr_Occurred()) SWIG_fail;
5155 }
5156 Py_INCREF(Py_None); resultobj = Py_None;
5157 return resultobj;
5158 fail:
5159 return NULL;
5160}
5161
5162
c32bde28 5163static PyObject *_wrap_Rect_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5164 PyObject *resultobj = NULL;
d14a1e28
RD
5165 wxRect *arg1 = (wxRect *) 0 ;
5166 int result;
5167 PyObject * obj0 = 0 ;
5168 char *kwnames[] = {
5169 (char *) "self", NULL
5170 };
5171
5172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetY",kwnames,&obj0)) goto fail;
093d3ff1
RD
5173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5174 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5175 {
5176 PyThreadState* __tstate = wxPyBeginAllowThreads();
5177 result = (int)(arg1)->GetY();
5178
5179 wxPyEndAllowThreads(__tstate);
5180 if (PyErr_Occurred()) SWIG_fail;
5181 }
093d3ff1 5182 {
32fe5131 5183 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 5184 }
d14a1e28
RD
5185 return resultobj;
5186 fail:
5187 return NULL;
5188}
5189
5190
c32bde28 5191static PyObject *_wrap_Rect_SetY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5192 PyObject *resultobj = NULL;
d14a1e28
RD
5193 wxRect *arg1 = (wxRect *) 0 ;
5194 int arg2 ;
5195 PyObject * obj0 = 0 ;
994141e6 5196 PyObject * obj1 = 0 ;
d14a1e28
RD
5197 char *kwnames[] = {
5198 (char *) "self",(char *) "y", NULL
5199 };
5200
994141e6 5201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5203 if (SWIG_arg_fail(1)) SWIG_fail;
5204 {
32fe5131 5205 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5206 if (SWIG_arg_fail(2)) SWIG_fail;
5207 }
d14a1e28
RD
5208 {
5209 PyThreadState* __tstate = wxPyBeginAllowThreads();
5210 (arg1)->SetY(arg2);
5211
5212 wxPyEndAllowThreads(__tstate);
5213 if (PyErr_Occurred()) SWIG_fail;
5214 }
5215 Py_INCREF(Py_None); resultobj = Py_None;
5216 return resultobj;
5217 fail:
5218 return NULL;
5219}
5220
5221
c32bde28 5222static PyObject *_wrap_Rect_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5223 PyObject *resultobj = NULL;
d14a1e28
RD
5224 wxRect *arg1 = (wxRect *) 0 ;
5225 int result;
5226 PyObject * obj0 = 0 ;
5227 char *kwnames[] = {
5228 (char *) "self", NULL
5229 };
5230
5231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
5232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5233 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5234 {
5235 PyThreadState* __tstate = wxPyBeginAllowThreads();
5236 result = (int)((wxRect const *)arg1)->GetWidth();
5237
5238 wxPyEndAllowThreads(__tstate);
5239 if (PyErr_Occurred()) SWIG_fail;
5240 }
093d3ff1 5241 {
32fe5131 5242 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 5243 }
d14a1e28
RD
5244 return resultobj;
5245 fail:
5246 return NULL;
5247}
5248
5249
c32bde28 5250static PyObject *_wrap_Rect_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5251 PyObject *resultobj = NULL;
d14a1e28
RD
5252 wxRect *arg1 = (wxRect *) 0 ;
5253 int arg2 ;
5254 PyObject * obj0 = 0 ;
994141e6 5255 PyObject * obj1 = 0 ;
d14a1e28
RD
5256 char *kwnames[] = {
5257 (char *) "self",(char *) "w", NULL
5258 };
5259
994141e6 5260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5262 if (SWIG_arg_fail(1)) SWIG_fail;
5263 {
32fe5131 5264 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5265 if (SWIG_arg_fail(2)) SWIG_fail;
5266 }
d14a1e28
RD
5267 {
5268 PyThreadState* __tstate = wxPyBeginAllowThreads();
5269 (arg1)->SetWidth(arg2);
5270
5271 wxPyEndAllowThreads(__tstate);
5272 if (PyErr_Occurred()) SWIG_fail;
5273 }
5274 Py_INCREF(Py_None); resultobj = Py_None;
5275 return resultobj;
5276 fail:
5277 return NULL;
5278}
5279
5280
c32bde28 5281static PyObject *_wrap_Rect_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5282 PyObject *resultobj = NULL;
d14a1e28
RD
5283 wxRect *arg1 = (wxRect *) 0 ;
5284 int result;
5285 PyObject * obj0 = 0 ;
5286 char *kwnames[] = {
5287 (char *) "self", NULL
5288 };
5289
5290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
5291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5292 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5293 {
5294 PyThreadState* __tstate = wxPyBeginAllowThreads();
5295 result = (int)((wxRect const *)arg1)->GetHeight();
5296
5297 wxPyEndAllowThreads(__tstate);
5298 if (PyErr_Occurred()) SWIG_fail;
5299 }
093d3ff1 5300 {
32fe5131 5301 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 5302 }
d14a1e28
RD
5303 return resultobj;
5304 fail:
5305 return NULL;
5306}
5307
5308
c32bde28 5309static PyObject *_wrap_Rect_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5310 PyObject *resultobj = NULL;
d14a1e28
RD
5311 wxRect *arg1 = (wxRect *) 0 ;
5312 int arg2 ;
5313 PyObject * obj0 = 0 ;
994141e6 5314 PyObject * obj1 = 0 ;
d14a1e28
RD
5315 char *kwnames[] = {
5316 (char *) "self",(char *) "h", NULL
5317 };
5318
994141e6 5319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetHeight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5321 if (SWIG_arg_fail(1)) SWIG_fail;
5322 {
32fe5131 5323 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5324 if (SWIG_arg_fail(2)) SWIG_fail;
5325 }
d14a1e28
RD
5326 {
5327 PyThreadState* __tstate = wxPyBeginAllowThreads();
5328 (arg1)->SetHeight(arg2);
5329
5330 wxPyEndAllowThreads(__tstate);
5331 if (PyErr_Occurred()) SWIG_fail;
5332 }
5333 Py_INCREF(Py_None); resultobj = Py_None;
5334 return resultobj;
5335 fail:
5336 return NULL;
5337}
5338
5339
c32bde28 5340static PyObject *_wrap_Rect_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5341 PyObject *resultobj = NULL;
d14a1e28
RD
5342 wxRect *arg1 = (wxRect *) 0 ;
5343 wxPoint result;
5344 PyObject * obj0 = 0 ;
5345 char *kwnames[] = {
5346 (char *) "self", NULL
5347 };
5348
5349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
5350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5351 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5352 {
5353 PyThreadState* __tstate = wxPyBeginAllowThreads();
5354 result = ((wxRect const *)arg1)->GetPosition();
5355
5356 wxPyEndAllowThreads(__tstate);
5357 if (PyErr_Occurred()) SWIG_fail;
5358 }
5359 {
5360 wxPoint * resultptr;
32fe5131 5361 resultptr = new wxPoint(static_cast<wxPoint & >(result));
15afbcd0 5362 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
5363 }
5364 return resultobj;
5365 fail:
5366 return NULL;
5367}
5368
5369
c32bde28 5370static PyObject *_wrap_Rect_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5371 PyObject *resultobj = NULL;
d14a1e28
RD
5372 wxRect *arg1 = (wxRect *) 0 ;
5373 wxPoint *arg2 = 0 ;
5374 wxPoint temp2 ;
5375 PyObject * obj0 = 0 ;
5376 PyObject * obj1 = 0 ;
5377 char *kwnames[] = {
5378 (char *) "self",(char *) "p", NULL
5379 };
5380
5381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5383 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5384 {
5385 arg2 = &temp2;
5386 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5387 }
5388 {
5389 PyThreadState* __tstate = wxPyBeginAllowThreads();
5390 (arg1)->SetPosition((wxPoint const &)*arg2);
5391
5392 wxPyEndAllowThreads(__tstate);
5393 if (PyErr_Occurred()) SWIG_fail;
5394 }
5395 Py_INCREF(Py_None); resultobj = Py_None;
5396 return resultobj;
5397 fail:
5398 return NULL;
5399}
5400
5401
c32bde28 5402static PyObject *_wrap_Rect_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5403 PyObject *resultobj = NULL;
d14a1e28
RD
5404 wxRect *arg1 = (wxRect *) 0 ;
5405 wxSize result;
5406 PyObject * obj0 = 0 ;
5407 char *kwnames[] = {
5408 (char *) "self", NULL
5409 };
5410
5411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
5412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5413 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5414 {
5415 PyThreadState* __tstate = wxPyBeginAllowThreads();
5416 result = ((wxRect const *)arg1)->GetSize();
5417
5418 wxPyEndAllowThreads(__tstate);
5419 if (PyErr_Occurred()) SWIG_fail;
5420 }
5421 {
5422 wxSize * resultptr;
32fe5131 5423 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 5424 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
5425 }
5426 return resultobj;
5427 fail:
5428 return NULL;
5429}
5430
5431
c32bde28 5432static PyObject *_wrap_Rect_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5433 PyObject *resultobj = NULL;
d14a1e28
RD
5434 wxRect *arg1 = (wxRect *) 0 ;
5435 wxSize *arg2 = 0 ;
5436 wxSize temp2 ;
5437 PyObject * obj0 = 0 ;
5438 PyObject * obj1 = 0 ;
5439 char *kwnames[] = {
5440 (char *) "self",(char *) "s", NULL
5441 };
5442
5443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5445 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5446 {
5447 arg2 = &temp2;
5448 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
5449 }
5450 {
5451 PyThreadState* __tstate = wxPyBeginAllowThreads();
5452 (arg1)->SetSize((wxSize const &)*arg2);
5453
5454 wxPyEndAllowThreads(__tstate);
5455 if (PyErr_Occurred()) SWIG_fail;
5456 }
5457 Py_INCREF(Py_None); resultobj = Py_None;
5458 return resultobj;
5459 fail:
5460 return NULL;
5461}
5462
5463
aff4cc5c 5464static PyObject *_wrap_Rect_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5465 PyObject *resultobj = NULL;
aff4cc5c
RD
5466 wxRect *arg1 = (wxRect *) 0 ;
5467 bool result;
5468 PyObject * obj0 = 0 ;
5469 char *kwnames[] = {
5470 (char *) "self", NULL
5471 };
5472
5473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_IsEmpty",kwnames,&obj0)) goto fail;
5474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5475 if (SWIG_arg_fail(1)) SWIG_fail;
5476 {
5477 PyThreadState* __tstate = wxPyBeginAllowThreads();
5478 result = (bool)((wxRect const *)arg1)->IsEmpty();
5479
5480 wxPyEndAllowThreads(__tstate);
5481 if (PyErr_Occurred()) SWIG_fail;
5482 }
5483 {
5484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5485 }
5486 return resultobj;
5487 fail:
5488 return NULL;
5489}
5490
5491
c32bde28 5492static PyObject *_wrap_Rect_GetTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5493 PyObject *resultobj = NULL;
c9c7117a
RD
5494 wxRect *arg1 = (wxRect *) 0 ;
5495 wxPoint result;
5496 PyObject * obj0 = 0 ;
5497 char *kwnames[] = {
5498 (char *) "self", NULL
5499 };
5500
5501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTopLeft",kwnames,&obj0)) goto fail;
093d3ff1
RD
5502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5503 if (SWIG_arg_fail(1)) SWIG_fail;
c9c7117a
RD
5504 {
5505 PyThreadState* __tstate = wxPyBeginAllowThreads();
5506 result = ((wxRect const *)arg1)->GetTopLeft();
5507
5508 wxPyEndAllowThreads(__tstate);
5509 if (PyErr_Occurred()) SWIG_fail;
5510 }
5511 {
5512 wxPoint * resultptr;
32fe5131 5513 resultptr = new wxPoint(static_cast<wxPoint & >(result));
15afbcd0 5514 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
c9c7117a
RD
5515 }
5516 return resultobj;
5517 fail:
5518 return NULL;
5519}
5520
5521
c32bde28 5522static PyObject *_wrap_Rect_SetTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5523 PyObject *resultobj = NULL;
c9c7117a
RD
5524 wxRect *arg1 = (wxRect *) 0 ;
5525 wxPoint *arg2 = 0 ;
5526 wxPoint temp2 ;
5527 PyObject * obj0 = 0 ;
5528 PyObject * obj1 = 0 ;
5529 char *kwnames[] = {
5530 (char *) "self",(char *) "p", NULL
5531 };
5532
5533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTopLeft",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5535 if (SWIG_arg_fail(1)) SWIG_fail;
c9c7117a
RD
5536 {
5537 arg2 = &temp2;
5538 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5539 }
5540 {
5541 PyThreadState* __tstate = wxPyBeginAllowThreads();
5542 (arg1)->SetTopLeft((wxPoint const &)*arg2);
5543
5544 wxPyEndAllowThreads(__tstate);
5545 if (PyErr_Occurred()) SWIG_fail;
5546 }
5547 Py_INCREF(Py_None); resultobj = Py_None;
5548 return resultobj;
5549 fail:
5550 return NULL;
5551}
5552
5553
c32bde28 5554static PyObject *_wrap_Rect_GetBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5555 PyObject *resultobj = NULL;
c9c7117a
RD
5556 wxRect *arg1 = (wxRect *) 0 ;
5557 wxPoint result;
5558 PyObject * obj0 = 0 ;
5559 char *kwnames[] = {
5560 (char *) "self", NULL
5561 };
5562
5563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottomRight",kwnames,&obj0)) goto fail;
093d3ff1
RD
5564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5565 if (SWIG_arg_fail(1)) SWIG_fail;
c9c7117a
RD
5566 {
5567 PyThreadState* __tstate = wxPyBeginAllowThreads();
5568 result = ((wxRect const *)arg1)->GetBottomRight();
5569
5570 wxPyEndAllowThreads(__tstate);
5571 if (PyErr_Occurred()) SWIG_fail;
5572 }
5573 {
5574 wxPoint * resultptr;
32fe5131 5575 resultptr = new wxPoint(static_cast<wxPoint & >(result));
15afbcd0 5576 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
c9c7117a
RD
5577 }
5578 return resultobj;
5579 fail:
5580 return NULL;
5581}
5582
5583
c32bde28 5584static PyObject *_wrap_Rect_SetBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5585 PyObject *resultobj = NULL;
c9c7117a
RD
5586 wxRect *arg1 = (wxRect *) 0 ;
5587 wxPoint *arg2 = 0 ;
5588 wxPoint temp2 ;
5589 PyObject * obj0 = 0 ;
5590 PyObject * obj1 = 0 ;
5591 char *kwnames[] = {
5592 (char *) "self",(char *) "p", NULL
5593 };
5594
5595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottomRight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5597 if (SWIG_arg_fail(1)) SWIG_fail;
c9c7117a
RD
5598 {
5599 arg2 = &temp2;
5600 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5601 }
5602 {
5603 PyThreadState* __tstate = wxPyBeginAllowThreads();
5604 (arg1)->SetBottomRight((wxPoint const &)*arg2);
5605
5606 wxPyEndAllowThreads(__tstate);
5607 if (PyErr_Occurred()) SWIG_fail;
5608 }
5609 Py_INCREF(Py_None); resultobj = Py_None;
5610 return resultobj;
5611 fail:
5612 return NULL;
5613}
5614
5615
c32bde28 5616static PyObject *_wrap_Rect_GetLeft(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5617 PyObject *resultobj = NULL;
d14a1e28
RD
5618 wxRect *arg1 = (wxRect *) 0 ;
5619 int result;
5620 PyObject * obj0 = 0 ;
5621 char *kwnames[] = {
5622 (char *) "self", NULL
5623 };
5624
5625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetLeft",kwnames,&obj0)) goto fail;
093d3ff1
RD
5626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5627 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5628 {
5629 PyThreadState* __tstate = wxPyBeginAllowThreads();
5630 result = (int)((wxRect const *)arg1)->GetLeft();
5631
5632 wxPyEndAllowThreads(__tstate);
5633 if (PyErr_Occurred()) SWIG_fail;
5634 }
093d3ff1 5635 {
32fe5131 5636 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 5637 }
d14a1e28
RD
5638 return resultobj;
5639 fail:
5640 return NULL;
5641}
5642
5643
c32bde28 5644static PyObject *_wrap_Rect_GetTop(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5645 PyObject *resultobj = NULL;
d14a1e28
RD
5646 wxRect *arg1 = (wxRect *) 0 ;
5647 int result;
5648 PyObject * obj0 = 0 ;
5649 char *kwnames[] = {
5650 (char *) "self", NULL
5651 };
5652
5653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTop",kwnames,&obj0)) goto fail;
093d3ff1
RD
5654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5655 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5656 {
5657 PyThreadState* __tstate = wxPyBeginAllowThreads();
5658 result = (int)((wxRect const *)arg1)->GetTop();
5659
5660 wxPyEndAllowThreads(__tstate);
5661 if (PyErr_Occurred()) SWIG_fail;
5662 }
093d3ff1 5663 {
32fe5131 5664 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 5665 }
d14a1e28
RD
5666 return resultobj;
5667 fail:
5668 return NULL;
5669}
5670
5671
c32bde28 5672static PyObject *_wrap_Rect_GetBottom(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5673 PyObject *resultobj = NULL;
d14a1e28
RD
5674 wxRect *arg1 = (wxRect *) 0 ;
5675 int result;
5676 PyObject * obj0 = 0 ;
5677 char *kwnames[] = {
5678 (char *) "self", NULL
5679 };
5680
5681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottom",kwnames,&obj0)) goto fail;
093d3ff1
RD
5682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5683 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5684 {
5685 PyThreadState* __tstate = wxPyBeginAllowThreads();
5686 result = (int)((wxRect const *)arg1)->GetBottom();
5687
5688 wxPyEndAllowThreads(__tstate);
5689 if (PyErr_Occurred()) SWIG_fail;
5690 }
093d3ff1 5691 {
32fe5131 5692 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 5693 }
d14a1e28
RD
5694 return resultobj;
5695 fail:
5696 return NULL;
5697}
5698
5699
c32bde28 5700static PyObject *_wrap_Rect_GetRight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5701 PyObject *resultobj = NULL;
d14a1e28
RD
5702 wxRect *arg1 = (wxRect *) 0 ;
5703 int result;
5704 PyObject * obj0 = 0 ;
5705 char *kwnames[] = {
5706 (char *) "self", NULL
5707 };
5708
5709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetRight",kwnames,&obj0)) goto fail;
093d3ff1
RD
5710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5711 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5712 {
5713 PyThreadState* __tstate = wxPyBeginAllowThreads();
5714 result = (int)((wxRect const *)arg1)->GetRight();
5715
5716 wxPyEndAllowThreads(__tstate);
5717 if (PyErr_Occurred()) SWIG_fail;
5718 }
093d3ff1 5719 {
32fe5131 5720 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 5721 }
d14a1e28
RD
5722 return resultobj;
5723 fail:
5724 return NULL;
5725}
5726
5727
c32bde28 5728static PyObject *_wrap_Rect_SetLeft(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5729 PyObject *resultobj = NULL;
d14a1e28
RD
5730 wxRect *arg1 = (wxRect *) 0 ;
5731 int arg2 ;
5732 PyObject * obj0 = 0 ;
994141e6 5733 PyObject * obj1 = 0 ;
d14a1e28
RD
5734 char *kwnames[] = {
5735 (char *) "self",(char *) "left", NULL
5736 };
5737
994141e6 5738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetLeft",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5740 if (SWIG_arg_fail(1)) SWIG_fail;
5741 {
32fe5131 5742 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5743 if (SWIG_arg_fail(2)) SWIG_fail;
5744 }
d14a1e28
RD
5745 {
5746 PyThreadState* __tstate = wxPyBeginAllowThreads();
5747 (arg1)->SetLeft(arg2);
5748
5749 wxPyEndAllowThreads(__tstate);
5750 if (PyErr_Occurred()) SWIG_fail;
5751 }
5752 Py_INCREF(Py_None); resultobj = Py_None;
5753 return resultobj;
5754 fail:
5755 return NULL;
5756}
5757
5758
c32bde28 5759static PyObject *_wrap_Rect_SetRight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5760 PyObject *resultobj = NULL;
d14a1e28
RD
5761 wxRect *arg1 = (wxRect *) 0 ;
5762 int arg2 ;
5763 PyObject * obj0 = 0 ;
994141e6 5764 PyObject * obj1 = 0 ;
d14a1e28
RD
5765 char *kwnames[] = {
5766 (char *) "self",(char *) "right", NULL
5767 };
5768
994141e6 5769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetRight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5771 if (SWIG_arg_fail(1)) SWIG_fail;
5772 {
32fe5131 5773 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5774 if (SWIG_arg_fail(2)) SWIG_fail;
5775 }
d14a1e28
RD
5776 {
5777 PyThreadState* __tstate = wxPyBeginAllowThreads();
5778 (arg1)->SetRight(arg2);
5779
5780 wxPyEndAllowThreads(__tstate);
5781 if (PyErr_Occurred()) SWIG_fail;
5782 }
5783 Py_INCREF(Py_None); resultobj = Py_None;
5784 return resultobj;
5785 fail:
5786 return NULL;
5787}
5788
5789
c32bde28 5790static PyObject *_wrap_Rect_SetTop(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5791 PyObject *resultobj = NULL;
d14a1e28
RD
5792 wxRect *arg1 = (wxRect *) 0 ;
5793 int arg2 ;
5794 PyObject * obj0 = 0 ;
994141e6 5795 PyObject * obj1 = 0 ;
d14a1e28
RD
5796 char *kwnames[] = {
5797 (char *) "self",(char *) "top", NULL
5798 };
5799
994141e6 5800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTop",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5802 if (SWIG_arg_fail(1)) SWIG_fail;
5803 {
32fe5131 5804 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5805 if (SWIG_arg_fail(2)) SWIG_fail;
5806 }
d14a1e28
RD
5807 {
5808 PyThreadState* __tstate = wxPyBeginAllowThreads();
5809 (arg1)->SetTop(arg2);
5810
5811 wxPyEndAllowThreads(__tstate);
5812 if (PyErr_Occurred()) SWIG_fail;
5813 }
5814 Py_INCREF(Py_None); resultobj = Py_None;
5815 return resultobj;
5816 fail:
5817 return NULL;
5818}
5819
5820
c32bde28 5821static PyObject *_wrap_Rect_SetBottom(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5822 PyObject *resultobj = NULL;
d14a1e28
RD
5823 wxRect *arg1 = (wxRect *) 0 ;
5824 int arg2 ;
5825 PyObject * obj0 = 0 ;
994141e6 5826 PyObject * obj1 = 0 ;
d14a1e28
RD
5827 char *kwnames[] = {
5828 (char *) "self",(char *) "bottom", NULL
5829 };
5830
994141e6 5831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottom",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5833 if (SWIG_arg_fail(1)) SWIG_fail;
5834 {
32fe5131 5835 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5836 if (SWIG_arg_fail(2)) SWIG_fail;
5837 }
d14a1e28
RD
5838 {
5839 PyThreadState* __tstate = wxPyBeginAllowThreads();
5840 (arg1)->SetBottom(arg2);
5841
5842 wxPyEndAllowThreads(__tstate);
5843 if (PyErr_Occurred()) SWIG_fail;
5844 }
5845 Py_INCREF(Py_None); resultobj = Py_None;
5846 return resultobj;
5847 fail:
5848 return NULL;
5849}
5850
5851
c32bde28 5852static PyObject *_wrap_Rect_Inflate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5853 PyObject *resultobj = NULL;
d14a1e28 5854 wxRect *arg1 = (wxRect *) 0 ;
e811c8ce
RD
5855 int arg2 ;
5856 int arg3 ;
d14a1e28
RD
5857 wxRect *result;
5858 PyObject * obj0 = 0 ;
994141e6
RD
5859 PyObject * obj1 = 0 ;
5860 PyObject * obj2 = 0 ;
d14a1e28
RD
5861 char *kwnames[] = {
5862 (char *) "self",(char *) "dx",(char *) "dy", NULL
5863 };
5864
994141e6 5865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Inflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5867 if (SWIG_arg_fail(1)) SWIG_fail;
5868 {
32fe5131 5869 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5870 if (SWIG_arg_fail(2)) SWIG_fail;
5871 }
5872 {
32fe5131 5873 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
5874 if (SWIG_arg_fail(3)) SWIG_fail;
5875 }
d14a1e28
RD
5876 {
5877 PyThreadState* __tstate = wxPyBeginAllowThreads();
5878 {
5879 wxRect &_result_ref = (arg1)->Inflate(arg2,arg3);
5880 result = (wxRect *) &_result_ref;
5881 }
5882
5883 wxPyEndAllowThreads(__tstate);
5884 if (PyErr_Occurred()) SWIG_fail;
5885 }
15afbcd0 5886 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
5887 return resultobj;
5888 fail:
5889 return NULL;
5890}
5891
5892
c32bde28 5893static PyObject *_wrap_Rect_Deflate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5894 PyObject *resultobj = NULL;
d14a1e28 5895 wxRect *arg1 = (wxRect *) 0 ;
e811c8ce
RD
5896 int arg2 ;
5897 int arg3 ;
d14a1e28
RD
5898 wxRect *result;
5899 PyObject * obj0 = 0 ;
994141e6
RD
5900 PyObject * obj1 = 0 ;
5901 PyObject * obj2 = 0 ;
d14a1e28
RD
5902 char *kwnames[] = {
5903 (char *) "self",(char *) "dx",(char *) "dy", NULL
5904 };
5905
994141e6 5906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Deflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5908 if (SWIG_arg_fail(1)) SWIG_fail;
5909 {
32fe5131 5910 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5911 if (SWIG_arg_fail(2)) SWIG_fail;
5912 }
5913 {
32fe5131 5914 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
5915 if (SWIG_arg_fail(3)) SWIG_fail;
5916 }
d14a1e28
RD
5917 {
5918 PyThreadState* __tstate = wxPyBeginAllowThreads();
5919 {
5920 wxRect &_result_ref = (arg1)->Deflate(arg2,arg3);
5921 result = (wxRect *) &_result_ref;
5922 }
5923
5924 wxPyEndAllowThreads(__tstate);
5925 if (PyErr_Occurred()) SWIG_fail;
5926 }
15afbcd0 5927 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
5928 return resultobj;
5929 fail:
5930 return NULL;
5931}
5932
5933
c32bde28 5934static PyObject *_wrap_Rect_OffsetXY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5935 PyObject *resultobj = NULL;
d14a1e28 5936 wxRect *arg1 = (wxRect *) 0 ;
e811c8ce
RD
5937 int arg2 ;
5938 int arg3 ;
d14a1e28 5939 PyObject * obj0 = 0 ;
994141e6
RD
5940 PyObject * obj1 = 0 ;
5941 PyObject * obj2 = 0 ;
d14a1e28
RD
5942 char *kwnames[] = {
5943 (char *) "self",(char *) "dx",(char *) "dy", NULL
5944 };
5945
994141e6 5946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_OffsetXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5948 if (SWIG_arg_fail(1)) SWIG_fail;
5949 {
32fe5131 5950 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
5951 if (SWIG_arg_fail(2)) SWIG_fail;
5952 }
5953 {
32fe5131 5954 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
5955 if (SWIG_arg_fail(3)) SWIG_fail;
5956 }
d14a1e28
RD
5957 {
5958 PyThreadState* __tstate = wxPyBeginAllowThreads();
5959 (arg1)->Offset(arg2,arg3);
5960
5961 wxPyEndAllowThreads(__tstate);
5962 if (PyErr_Occurred()) SWIG_fail;
5963 }
5964 Py_INCREF(Py_None); resultobj = Py_None;
5965 return resultobj;
5966 fail:
5967 return NULL;
5968}
5969
5970
c32bde28 5971static PyObject *_wrap_Rect_Offset(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5972 PyObject *resultobj = NULL;
d14a1e28
RD
5973 wxRect *arg1 = (wxRect *) 0 ;
5974 wxPoint *arg2 = 0 ;
5975 wxPoint temp2 ;
5976 PyObject * obj0 = 0 ;
5977 PyObject * obj1 = 0 ;
5978 char *kwnames[] = {
5979 (char *) "self",(char *) "pt", NULL
5980 };
5981
5982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Offset",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
5984 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5985 {
5986 arg2 = &temp2;
5987 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5988 }
5989 {
5990 PyThreadState* __tstate = wxPyBeginAllowThreads();
5991 (arg1)->Offset((wxPoint const &)*arg2);
5992
5993 wxPyEndAllowThreads(__tstate);
5994 if (PyErr_Occurred()) SWIG_fail;
5995 }
5996 Py_INCREF(Py_None); resultobj = Py_None;
5997 return resultobj;
5998 fail:
5999 return NULL;
6000}
6001
6002
c32bde28 6003static PyObject *_wrap_Rect_Intersect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6004 PyObject *resultobj = NULL;
d14a1e28
RD
6005 wxRect *arg1 = (wxRect *) 0 ;
6006 wxRect *arg2 = 0 ;
5cbf236d 6007 wxRect result;
d14a1e28
RD
6008 wxRect temp2 ;
6009 PyObject * obj0 = 0 ;
6010 PyObject * obj1 = 0 ;
6011 char *kwnames[] = {
6012 (char *) "self",(char *) "rect", NULL
6013 };
6014
6015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6017 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6018 {
6019 arg2 = &temp2;
6020 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6021 }
6022 {
6023 PyThreadState* __tstate = wxPyBeginAllowThreads();
5cbf236d 6024 result = (arg1)->Intersect((wxRect const &)*arg2);
d14a1e28
RD
6025
6026 wxPyEndAllowThreads(__tstate);
6027 if (PyErr_Occurred()) SWIG_fail;
6028 }
5cbf236d
RD
6029 {
6030 wxRect * resultptr;
32fe5131 6031 resultptr = new wxRect(static_cast<wxRect & >(result));
5cbf236d
RD
6032 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
6033 }
6034 return resultobj;
6035 fail:
6036 return NULL;
6037}
6038
6039
6040static PyObject *_wrap_Rect_Union(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6041 PyObject *resultobj = NULL;
5cbf236d
RD
6042 wxRect *arg1 = (wxRect *) 0 ;
6043 wxRect *arg2 = 0 ;
6044 wxRect result;
6045 wxRect temp2 ;
6046 PyObject * obj0 = 0 ;
6047 PyObject * obj1 = 0 ;
6048 char *kwnames[] = {
6049 (char *) "self",(char *) "rect", NULL
6050 };
6051
6052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Union",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6054 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
6055 {
6056 arg2 = &temp2;
6057 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6058 }
6059 {
6060 PyThreadState* __tstate = wxPyBeginAllowThreads();
6061 result = (arg1)->Union((wxRect const &)*arg2);
6062
6063 wxPyEndAllowThreads(__tstate);
6064 if (PyErr_Occurred()) SWIG_fail;
6065 }
6066 {
6067 wxRect * resultptr;
32fe5131 6068 resultptr = new wxRect(static_cast<wxRect & >(result));
5cbf236d
RD
6069 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
6070 }
d14a1e28
RD
6071 return resultobj;
6072 fail:
6073 return NULL;
6074}
6075
6076
c32bde28 6077static PyObject *_wrap_Rect___add__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6078 PyObject *resultobj = NULL;
d14a1e28
RD
6079 wxRect *arg1 = (wxRect *) 0 ;
6080 wxRect *arg2 = 0 ;
6081 wxRect result;
6082 wxRect temp2 ;
6083 PyObject * obj0 = 0 ;
6084 PyObject * obj1 = 0 ;
6085 char *kwnames[] = {
6086 (char *) "self",(char *) "rect", NULL
6087 };
6088
6089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___add__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6091 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6092 {
6093 arg2 = &temp2;
6094 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6095 }
6096 {
6097 PyThreadState* __tstate = wxPyBeginAllowThreads();
6098 result = ((wxRect const *)arg1)->operator +((wxRect const &)*arg2);
6099
6100 wxPyEndAllowThreads(__tstate);
6101 if (PyErr_Occurred()) SWIG_fail;
6102 }
6103 {
6104 wxRect * resultptr;
32fe5131 6105 resultptr = new wxRect(static_cast<wxRect & >(result));
15afbcd0 6106 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
6107 }
6108 return resultobj;
6109 fail:
6110 return NULL;
6111}
6112
6113
c32bde28 6114static PyObject *_wrap_Rect___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6115 PyObject *resultobj = NULL;
d14a1e28
RD
6116 wxRect *arg1 = (wxRect *) 0 ;
6117 wxRect *arg2 = 0 ;
6118 wxRect *result;
6119 wxRect temp2 ;
6120 PyObject * obj0 = 0 ;
6121 PyObject * obj1 = 0 ;
6122 char *kwnames[] = {
6123 (char *) "self",(char *) "rect", NULL
6124 };
6125
6126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___iadd__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
6128 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6129 {
6130 arg2 = &temp2;
6131 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6132 }
6133 {
6134 PyThreadState* __tstate = wxPyBeginAllowThreads();
6135 {
6136 wxRect &_result_ref = (arg1)->operator +=((wxRect const &)*arg2);
6137 result = (wxRect *) &_result_ref;
6138 }
6139
6140 wxPyEndAllowThreads(__tstate);
6141 if (PyErr_Occurred()) SWIG_fail;
6142 }
c32bde28 6143 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
6144 return resultobj;
6145 fail:
6146 return NULL;
6147}
6148
6149
c32bde28 6150static PyObject *_wrap_Rect___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6151 PyObject *resultobj = NULL;
d14a1e28
RD
6152 wxRect *arg1 = (wxRect *) 0 ;
6153 wxRect *arg2 = 0 ;
6154 bool result;
6155 wxRect temp2 ;
6156 PyObject * obj0 = 0 ;
6157 PyObject * obj1 = 0 ;
6158 char *kwnames[] = {
6159 (char *) "self",(char *) "rect", NULL
6160 };
6161
6162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6164 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6165 {
6166 arg2 = &temp2;
6167 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6168 }
6169 {
6170 PyThreadState* __tstate = wxPyBeginAllowThreads();
6171 result = (bool)((wxRect const *)arg1)->operator ==((wxRect const &)*arg2);
6172
6173 wxPyEndAllowThreads(__tstate);
6174 if (PyErr_Occurred()) SWIG_fail;
6175 }
4f89f6a3
RD
6176 {
6177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6178 }
d14a1e28
RD
6179 return resultobj;
6180 fail:
6181 return NULL;
6182}
6183
6184
c32bde28 6185static PyObject *_wrap_Rect___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6186 PyObject *resultobj = NULL;
d14a1e28
RD
6187 wxRect *arg1 = (wxRect *) 0 ;
6188 wxRect *arg2 = 0 ;
6189 bool result;
6190 wxRect temp2 ;
6191 PyObject * obj0 = 0 ;
6192 PyObject * obj1 = 0 ;
6193 char *kwnames[] = {
6194 (char *) "self",(char *) "rect", NULL
6195 };
6196
6197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6199 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6200 {
6201 arg2 = &temp2;
6202 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6203 }
6204 {
6205 PyThreadState* __tstate = wxPyBeginAllowThreads();
6206 result = (bool)((wxRect const *)arg1)->operator !=((wxRect const &)*arg2);
6207
6208 wxPyEndAllowThreads(__tstate);
6209 if (PyErr_Occurred()) SWIG_fail;
6210 }
4f89f6a3
RD
6211 {
6212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6213 }
d14a1e28
RD
6214 return resultobj;
6215 fail:
6216 return NULL;
6217}
6218
6219
c32bde28 6220static PyObject *_wrap_Rect_InsideXY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6221 PyObject *resultobj = NULL;
d14a1e28
RD
6222 wxRect *arg1 = (wxRect *) 0 ;
6223 int arg2 ;
6224 int arg3 ;
6225 bool result;
6226 PyObject * obj0 = 0 ;
994141e6
RD
6227 PyObject * obj1 = 0 ;
6228 PyObject * obj2 = 0 ;
d14a1e28
RD
6229 char *kwnames[] = {
6230 (char *) "self",(char *) "x",(char *) "y", NULL
6231 };
6232
994141e6 6233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_InsideXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6235 if (SWIG_arg_fail(1)) SWIG_fail;
6236 {
32fe5131 6237 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6238 if (SWIG_arg_fail(2)) SWIG_fail;
6239 }
6240 {
32fe5131 6241 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
6242 if (SWIG_arg_fail(3)) SWIG_fail;
6243 }
d14a1e28
RD
6244 {
6245 PyThreadState* __tstate = wxPyBeginAllowThreads();
6246 result = (bool)((wxRect const *)arg1)->Inside(arg2,arg3);
6247
6248 wxPyEndAllowThreads(__tstate);
6249 if (PyErr_Occurred()) SWIG_fail;
6250 }
4f89f6a3
RD
6251 {
6252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6253 }
d14a1e28
RD
6254 return resultobj;
6255 fail:
6256 return NULL;
6257}
6258
6259
c32bde28 6260static PyObject *_wrap_Rect_Inside(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6261 PyObject *resultobj = NULL;
d14a1e28
RD
6262 wxRect *arg1 = (wxRect *) 0 ;
6263 wxPoint *arg2 = 0 ;
6264 bool result;
6265 wxPoint temp2 ;
6266 PyObject * obj0 = 0 ;
6267 PyObject * obj1 = 0 ;
6268 char *kwnames[] = {
6269 (char *) "self",(char *) "pt", NULL
6270 };
6271
6272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Inside",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6274 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6275 {
6276 arg2 = &temp2;
6277 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6278 }
6279 {
6280 PyThreadState* __tstate = wxPyBeginAllowThreads();
6281 result = (bool)((wxRect const *)arg1)->Inside((wxPoint const &)*arg2);
6282
6283 wxPyEndAllowThreads(__tstate);
6284 if (PyErr_Occurred()) SWIG_fail;
6285 }
4f89f6a3
RD
6286 {
6287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6288 }
d14a1e28
RD
6289 return resultobj;
6290 fail:
6291 return NULL;
6292}
6293
6294
c32bde28 6295static PyObject *_wrap_Rect_Intersects(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6296 PyObject *resultobj = NULL;
d14a1e28
RD
6297 wxRect *arg1 = (wxRect *) 0 ;
6298 wxRect *arg2 = 0 ;
6299 bool result;
6300 wxRect temp2 ;
6301 PyObject * obj0 = 0 ;
6302 PyObject * obj1 = 0 ;
6303 char *kwnames[] = {
6304 (char *) "self",(char *) "rect", NULL
6305 };
6306
6307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersects",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6309 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6310 {
6311 arg2 = &temp2;
6312 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6313 }
6314 {
6315 PyThreadState* __tstate = wxPyBeginAllowThreads();
6316 result = (bool)((wxRect const *)arg1)->Intersects((wxRect const &)*arg2);
6317
6318 wxPyEndAllowThreads(__tstate);
6319 if (PyErr_Occurred()) SWIG_fail;
6320 }
4f89f6a3
RD
6321 {
6322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6323 }
d14a1e28
RD
6324 return resultobj;
6325 fail:
6326 return NULL;
6327}
6328
6329
b1fcee84
RD
6330static PyObject *_wrap_Rect_CenterIn(PyObject *, PyObject *args, PyObject *kwargs) {
6331 PyObject *resultobj = NULL;
6332 wxRect *arg1 = (wxRect *) 0 ;
6333 wxRect *arg2 = 0 ;
6334 int arg3 = (int) wxBOTH ;
6335 wxRect result;
6336 wxRect temp2 ;
6337 PyObject * obj0 = 0 ;
6338 PyObject * obj1 = 0 ;
6339 PyObject * obj2 = 0 ;
6340 char *kwnames[] = {
6341 (char *) "self",(char *) "r",(char *) "dir", NULL
6342 };
6343
6344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Rect_CenterIn",kwnames,&obj0,&obj1,&obj2)) goto fail;
6345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6346 if (SWIG_arg_fail(1)) SWIG_fail;
6347 {
6348 arg2 = &temp2;
6349 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6350 }
6351 if (obj2) {
6352 {
6353 arg3 = static_cast<int >(SWIG_As_int(obj2));
6354 if (SWIG_arg_fail(3)) SWIG_fail;
6355 }
6356 }
6357 {
6358 PyThreadState* __tstate = wxPyBeginAllowThreads();
6359 result = (arg1)->CenterIn((wxRect const &)*arg2,arg3);
6360
6361 wxPyEndAllowThreads(__tstate);
6362 if (PyErr_Occurred()) SWIG_fail;
6363 }
6364 {
6365 wxRect * resultptr;
6366 resultptr = new wxRect(static_cast<wxRect & >(result));
6367 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
6368 }
6369 return resultobj;
6370 fail:
6371 return NULL;
6372}
6373
6374
c32bde28 6375static PyObject *_wrap_Rect_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6376 PyObject *resultobj = NULL;
d14a1e28
RD
6377 wxRect *arg1 = (wxRect *) 0 ;
6378 int arg2 ;
6379 PyObject * obj0 = 0 ;
994141e6 6380 PyObject * obj1 = 0 ;
d14a1e28
RD
6381 char *kwnames[] = {
6382 (char *) "self",(char *) "x", NULL
6383 };
6384
994141e6 6385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_x_set",kwnames,&obj0,&obj1)) 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;
6388 {
32fe5131 6389 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6390 if (SWIG_arg_fail(2)) SWIG_fail;
6391 }
d14a1e28
RD
6392 if (arg1) (arg1)->x = arg2;
6393
6394 Py_INCREF(Py_None); resultobj = Py_None;
6395 return resultobj;
6396 fail:
6397 return NULL;
6398}
6399
6400
c32bde28 6401static PyObject *_wrap_Rect_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6402 PyObject *resultobj = NULL;
d14a1e28
RD
6403 wxRect *arg1 = (wxRect *) 0 ;
6404 int result;
6405 PyObject * obj0 = 0 ;
6406 char *kwnames[] = {
6407 (char *) "self", NULL
6408 };
6409
6410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_x_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
6411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6412 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6413 result = (int) ((arg1)->x);
6414
093d3ff1 6415 {
32fe5131 6416 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 6417 }
d14a1e28
RD
6418 return resultobj;
6419 fail:
6420 return NULL;
6421}
6422
6423
c32bde28 6424static PyObject *_wrap_Rect_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6425 PyObject *resultobj = NULL;
d14a1e28
RD
6426 wxRect *arg1 = (wxRect *) 0 ;
6427 int arg2 ;
6428 PyObject * obj0 = 0 ;
994141e6 6429 PyObject * obj1 = 0 ;
d14a1e28
RD
6430 char *kwnames[] = {
6431 (char *) "self",(char *) "y", NULL
6432 };
6433
994141e6 6434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_y_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6436 if (SWIG_arg_fail(1)) SWIG_fail;
6437 {
32fe5131 6438 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6439 if (SWIG_arg_fail(2)) SWIG_fail;
6440 }
d14a1e28
RD
6441 if (arg1) (arg1)->y = arg2;
6442
6443 Py_INCREF(Py_None); resultobj = Py_None;
6444 return resultobj;
6445 fail:
6446 return NULL;
6447}
6448
6449
c32bde28 6450static PyObject *_wrap_Rect_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6451 PyObject *resultobj = NULL;
d14a1e28
RD
6452 wxRect *arg1 = (wxRect *) 0 ;
6453 int result;
6454 PyObject * obj0 = 0 ;
6455 char *kwnames[] = {
6456 (char *) "self", NULL
6457 };
6458
6459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_y_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
6460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6461 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6462 result = (int) ((arg1)->y);
6463
093d3ff1 6464 {
32fe5131 6465 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 6466 }
d14a1e28
RD
6467 return resultobj;
6468 fail:
6469 return NULL;
6470}
6471
6472
c32bde28 6473static PyObject *_wrap_Rect_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6474 PyObject *resultobj = NULL;
d14a1e28
RD
6475 wxRect *arg1 = (wxRect *) 0 ;
6476 int arg2 ;
6477 PyObject * obj0 = 0 ;
994141e6 6478 PyObject * obj1 = 0 ;
d14a1e28
RD
6479 char *kwnames[] = {
6480 (char *) "self",(char *) "width", NULL
6481 };
6482
994141e6 6483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_width_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6485 if (SWIG_arg_fail(1)) SWIG_fail;
6486 {
32fe5131 6487 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6488 if (SWIG_arg_fail(2)) SWIG_fail;
6489 }
d14a1e28
RD
6490 if (arg1) (arg1)->width = arg2;
6491
6492 Py_INCREF(Py_None); resultobj = Py_None;
6493 return resultobj;
6494 fail:
6495 return NULL;
6496}
6497
6498
c32bde28 6499static PyObject *_wrap_Rect_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6500 PyObject *resultobj = NULL;
d14a1e28
RD
6501 wxRect *arg1 = (wxRect *) 0 ;
6502 int result;
6503 PyObject * obj0 = 0 ;
6504 char *kwnames[] = {
6505 (char *) "self", NULL
6506 };
6507
6508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_width_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
6509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6510 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6511 result = (int) ((arg1)->width);
6512
093d3ff1 6513 {
32fe5131 6514 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 6515 }
d14a1e28
RD
6516 return resultobj;
6517 fail:
6518 return NULL;
6519}
6520
6521
c32bde28 6522static PyObject *_wrap_Rect_height_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6523 PyObject *resultobj = NULL;
d14a1e28
RD
6524 wxRect *arg1 = (wxRect *) 0 ;
6525 int arg2 ;
6526 PyObject * obj0 = 0 ;
994141e6 6527 PyObject * obj1 = 0 ;
d14a1e28
RD
6528 char *kwnames[] = {
6529 (char *) "self",(char *) "height", NULL
6530 };
6531
994141e6 6532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_height_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6534 if (SWIG_arg_fail(1)) SWIG_fail;
6535 {
32fe5131 6536 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6537 if (SWIG_arg_fail(2)) SWIG_fail;
6538 }
d14a1e28
RD
6539 if (arg1) (arg1)->height = arg2;
6540
6541 Py_INCREF(Py_None); resultobj = Py_None;
6542 return resultobj;
6543 fail:
6544 return NULL;
6545}
6546
6547
c32bde28 6548static PyObject *_wrap_Rect_height_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6549 PyObject *resultobj = NULL;
d14a1e28
RD
6550 wxRect *arg1 = (wxRect *) 0 ;
6551 int result;
6552 PyObject * obj0 = 0 ;
6553 char *kwnames[] = {
6554 (char *) "self", NULL
6555 };
6556
6557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_height_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
6558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6559 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6560 result = (int) ((arg1)->height);
6561
093d3ff1 6562 {
32fe5131 6563 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 6564 }
d14a1e28
RD
6565 return resultobj;
6566 fail:
6567 return NULL;
6568}
6569
6570
c32bde28 6571static PyObject *_wrap_Rect_Set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6572 PyObject *resultobj = NULL;
d14a1e28
RD
6573 wxRect *arg1 = (wxRect *) 0 ;
6574 int arg2 = (int) 0 ;
6575 int arg3 = (int) 0 ;
6576 int arg4 = (int) 0 ;
6577 int arg5 = (int) 0 ;
6578 PyObject * obj0 = 0 ;
994141e6
RD
6579 PyObject * obj1 = 0 ;
6580 PyObject * obj2 = 0 ;
6581 PyObject * obj3 = 0 ;
6582 PyObject * obj4 = 0 ;
d14a1e28
RD
6583 char *kwnames[] = {
6584 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6585 };
6586
994141e6 6587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Rect_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
6588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6589 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 6590 if (obj1) {
093d3ff1 6591 {
32fe5131 6592 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
6593 if (SWIG_arg_fail(2)) SWIG_fail;
6594 }
994141e6
RD
6595 }
6596 if (obj2) {
093d3ff1 6597 {
32fe5131 6598 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
6599 if (SWIG_arg_fail(3)) SWIG_fail;
6600 }
994141e6
RD
6601 }
6602 if (obj3) {
093d3ff1 6603 {
32fe5131 6604 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
6605 if (SWIG_arg_fail(4)) SWIG_fail;
6606 }
994141e6
RD
6607 }
6608 if (obj4) {
093d3ff1 6609 {
32fe5131 6610 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
6611 if (SWIG_arg_fail(5)) SWIG_fail;
6612 }
994141e6 6613 }
d14a1e28
RD
6614 {
6615 PyThreadState* __tstate = wxPyBeginAllowThreads();
6616 wxRect_Set(arg1,arg2,arg3,arg4,arg5);
6617
6618 wxPyEndAllowThreads(__tstate);
6619 if (PyErr_Occurred()) SWIG_fail;
6620 }
6621 Py_INCREF(Py_None); resultobj = Py_None;
6622 return resultobj;
6623 fail:
6624 return NULL;
6625}
6626
6627
c32bde28 6628static PyObject *_wrap_Rect_Get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6629 PyObject *resultobj = NULL;
d14a1e28
RD
6630 wxRect *arg1 = (wxRect *) 0 ;
6631 PyObject *result;
6632 PyObject * obj0 = 0 ;
6633 char *kwnames[] = {
6634 (char *) "self", NULL
6635 };
6636
e811c8ce 6637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_Get",kwnames,&obj0)) goto fail;
093d3ff1
RD
6638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6639 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6640 {
6641 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 6642 result = (PyObject *)wxRect_Get(arg1);
d14a1e28
RD
6643
6644 wxPyEndAllowThreads(__tstate);
6645 if (PyErr_Occurred()) SWIG_fail;
6646 }
6647 resultobj = result;
6648 return resultobj;
6649 fail:
6650 return NULL;
6651}
6652
6653
c32bde28 6654static PyObject * Rect_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6655 PyObject *obj;
6656 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6657 SWIG_TypeClientData(SWIGTYPE_p_wxRect, obj);
6658 Py_INCREF(obj);
6659 return Py_BuildValue((char *)"");
6660}
c32bde28 6661static PyObject *_wrap_IntersectRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6662 PyObject *resultobj = NULL;
d14a1e28
RD
6663 wxRect *arg1 = (wxRect *) 0 ;
6664 wxRect *arg2 = (wxRect *) 0 ;
6665 PyObject *result;
6666 PyObject * obj0 = 0 ;
6667 PyObject * obj1 = 0 ;
6668 char *kwnames[] = {
6669 (char *) "r1",(char *) "r2", NULL
6670 };
6671
6672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IntersectRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6673 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6674 if (SWIG_arg_fail(1)) SWIG_fail;
6675 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
6676 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 6677 {
e3b71cb8 6678 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6679 PyThreadState* __tstate = wxPyBeginAllowThreads();
6680 result = (PyObject *)wxIntersectRect(arg1,arg2);
6681
6682 wxPyEndAllowThreads(__tstate);
110da5b0 6683 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6684 }
6685 resultobj = result;
6686 return resultobj;
6687 fail:
6688 return NULL;
6689}
6690
6691
c32bde28 6692static PyObject *_wrap_new_Point2D(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6693 PyObject *resultobj = NULL;
d14a1e28
RD
6694 double arg1 = (double) 0.0 ;
6695 double arg2 = (double) 0.0 ;
6696 wxPoint2D *result;
994141e6
RD
6697 PyObject * obj0 = 0 ;
6698 PyObject * obj1 = 0 ;
d14a1e28
RD
6699 char *kwnames[] = {
6700 (char *) "x",(char *) "y", NULL
6701 };
6702
994141e6
RD
6703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point2D",kwnames,&obj0,&obj1)) goto fail;
6704 if (obj0) {
093d3ff1 6705 {
32fe5131 6706 arg1 = static_cast<double >(SWIG_As_double(obj0));
093d3ff1
RD
6707 if (SWIG_arg_fail(1)) SWIG_fail;
6708 }
994141e6
RD
6709 }
6710 if (obj1) {
093d3ff1 6711 {
32fe5131 6712 arg2 = static_cast<double >(SWIG_As_double(obj1));
093d3ff1
RD
6713 if (SWIG_arg_fail(2)) SWIG_fail;
6714 }
994141e6 6715 }
d14a1e28
RD
6716 {
6717 PyThreadState* __tstate = wxPyBeginAllowThreads();
6718 result = (wxPoint2D *)new wxPoint2D(arg1,arg2);
6719
6720 wxPyEndAllowThreads(__tstate);
6721 if (PyErr_Occurred()) SWIG_fail;
6722 }
15afbcd0 6723 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
6724 return resultobj;
6725 fail:
6726 return NULL;
6727}
6728
6729
c32bde28 6730static PyObject *_wrap_new_Point2DCopy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6731 PyObject *resultobj = NULL;
d14a1e28
RD
6732 wxPoint2D *arg1 = 0 ;
6733 wxPoint2D *result;
6734 wxPoint2D temp1 ;
6735 PyObject * obj0 = 0 ;
6736 char *kwnames[] = {
6737 (char *) "pt", NULL
6738 };
6739
6740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DCopy",kwnames,&obj0)) goto fail;
6741 {
6742 arg1 = &temp1;
6743 if ( ! wxPoint2D_helper(obj0, &arg1)) SWIG_fail;
6744 }
6745 {
6746 PyThreadState* __tstate = wxPyBeginAllowThreads();
6747 result = (wxPoint2D *)new wxPoint2D((wxPoint2D const &)*arg1);
6748
6749 wxPyEndAllowThreads(__tstate);
6750 if (PyErr_Occurred()) SWIG_fail;
6751 }
15afbcd0 6752 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
6753 return resultobj;
6754 fail:
6755 return NULL;
6756}
6757
6758
c32bde28 6759static PyObject *_wrap_new_Point2DFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6760 PyObject *resultobj = NULL;
d14a1e28
RD
6761 wxPoint *arg1 = 0 ;
6762 wxPoint2D *result;
6763 wxPoint temp1 ;
6764 PyObject * obj0 = 0 ;
6765 char *kwnames[] = {
6766 (char *) "pt", NULL
6767 };
6768
6769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DFromPoint",kwnames,&obj0)) goto fail;
6770 {
6771 arg1 = &temp1;
6772 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
6773 }
6774 {
6775 PyThreadState* __tstate = wxPyBeginAllowThreads();
6776 result = (wxPoint2D *)new wxPoint2D((wxPoint const &)*arg1);
6777
6778 wxPyEndAllowThreads(__tstate);
6779 if (PyErr_Occurred()) SWIG_fail;
6780 }
15afbcd0 6781 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
6782 return resultobj;
6783 fail:
6784 return NULL;
6785}
6786
6787
c32bde28 6788static PyObject *_wrap_Point2D_GetFloor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6789 PyObject *resultobj = NULL;
d14a1e28
RD
6790 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6791 int *arg2 = (int *) 0 ;
6792 int *arg3 = (int *) 0 ;
6793 int temp2 ;
c32bde28 6794 int res2 = 0 ;
d14a1e28 6795 int temp3 ;
c32bde28 6796 int res3 = 0 ;
d14a1e28
RD
6797 PyObject * obj0 = 0 ;
6798 char *kwnames[] = {
6799 (char *) "self", NULL
6800 };
6801
c32bde28
RD
6802 arg2 = &temp2; res2 = SWIG_NEWOBJ;
6803 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 6804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetFloor",kwnames,&obj0)) goto fail;
093d3ff1
RD
6805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
6806 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6807 {
6808 PyThreadState* __tstate = wxPyBeginAllowThreads();
6809 ((wxPoint2D const *)arg1)->GetFloor(arg2,arg3);
6810
6811 wxPyEndAllowThreads(__tstate);
6812 if (PyErr_Occurred()) SWIG_fail;
6813 }
6814 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
6815 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
6816 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
6817 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
6818 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
6819 return resultobj;
6820 fail:
6821 return NULL;
6822}
6823
6824
c32bde28 6825static PyObject *_wrap_Point2D_GetRounded(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6826 PyObject *resultobj = NULL;
d14a1e28
RD
6827 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6828 int *arg2 = (int *) 0 ;
6829 int *arg3 = (int *) 0 ;
6830 int temp2 ;
c32bde28 6831 int res2 = 0 ;
d14a1e28 6832 int temp3 ;
c32bde28 6833 int res3 = 0 ;
d14a1e28
RD
6834 PyObject * obj0 = 0 ;
6835 char *kwnames[] = {
6836 (char *) "self", NULL
6837 };
6838
c32bde28
RD
6839 arg2 = &temp2; res2 = SWIG_NEWOBJ;
6840 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 6841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetRounded",kwnames,&obj0)) goto fail;
093d3ff1
RD
6842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
6843 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6844 {
6845 PyThreadState* __tstate = wxPyBeginAllowThreads();
6846 ((wxPoint2D const *)arg1)->GetRounded(arg2,arg3);
6847
6848 wxPyEndAllowThreads(__tstate);
6849 if (PyErr_Occurred()) SWIG_fail;
6850 }
6851 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
6852 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
6853 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
6854 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
6855 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
6856 return resultobj;
6857 fail:
6858 return NULL;
6859}
6860
6861
c32bde28 6862static PyObject *_wrap_Point2D_GetVectorLength(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6863 PyObject *resultobj = NULL;
d14a1e28
RD
6864 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6865 double result;
6866 PyObject * obj0 = 0 ;
6867 char *kwnames[] = {
6868 (char *) "self", NULL
6869 };
6870
6871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorLength",kwnames,&obj0)) goto fail;
093d3ff1
RD
6872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
6873 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6874 {
6875 PyThreadState* __tstate = wxPyBeginAllowThreads();
6876 result = (double)((wxPoint2D const *)arg1)->GetVectorLength();
6877
6878 wxPyEndAllowThreads(__tstate);
6879 if (PyErr_Occurred()) SWIG_fail;
6880 }
093d3ff1 6881 {
32fe5131 6882 resultobj = SWIG_From_double(static_cast<double >(result));
093d3ff1 6883 }
d14a1e28
RD
6884 return resultobj;
6885 fail:
6886 return NULL;
6887}
6888
6889
c32bde28 6890static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6891 PyObject *resultobj = NULL;
d14a1e28
RD
6892 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6893 double result;
6894 PyObject * obj0 = 0 ;
6895 char *kwnames[] = {
6896 (char *) "self", NULL
6897 };
6898
6899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorAngle",kwnames,&obj0)) goto fail;
093d3ff1
RD
6900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
6901 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6902 {
6903 PyThreadState* __tstate = wxPyBeginAllowThreads();
6904 result = (double)((wxPoint2D const *)arg1)->GetVectorAngle();
6905
6906 wxPyEndAllowThreads(__tstate);
6907 if (PyErr_Occurred()) SWIG_fail;
6908 }
093d3ff1 6909 {
32fe5131 6910 resultobj = SWIG_From_double(static_cast<double >(result));
093d3ff1 6911 }
d14a1e28
RD
6912 return resultobj;
6913 fail:
6914 return NULL;
6915}
6916
6917
c32bde28 6918static PyObject *_wrap_Point2D_SetVectorLength(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6919 PyObject *resultobj = NULL;
d14a1e28
RD
6920 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6921 double arg2 ;
6922 PyObject * obj0 = 0 ;
994141e6 6923 PyObject * obj1 = 0 ;
d14a1e28
RD
6924 char *kwnames[] = {
6925 (char *) "self",(char *) "length", NULL
6926 };
6927
994141e6 6928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
6930 if (SWIG_arg_fail(1)) SWIG_fail;
6931 {
32fe5131 6932 arg2 = static_cast<double >(SWIG_As_double(obj1));
093d3ff1
RD
6933 if (SWIG_arg_fail(2)) SWIG_fail;
6934 }
d14a1e28
RD
6935 {
6936 PyThreadState* __tstate = wxPyBeginAllowThreads();
6937 (arg1)->SetVectorLength(arg2);
6938
6939 wxPyEndAllowThreads(__tstate);
6940 if (PyErr_Occurred()) SWIG_fail;
6941 }
6942 Py_INCREF(Py_None); resultobj = Py_None;
6943 return resultobj;
6944 fail:
6945 return NULL;
6946}
6947
6948
c32bde28 6949static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6950 PyObject *resultobj = NULL;
d14a1e28
RD
6951 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6952 double arg2 ;
6953 PyObject * obj0 = 0 ;
994141e6 6954 PyObject * obj1 = 0 ;
d14a1e28
RD
6955 char *kwnames[] = {
6956 (char *) "self",(char *) "degrees", NULL
6957 };
6958
994141e6 6959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorAngle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
6961 if (SWIG_arg_fail(1)) SWIG_fail;
6962 {
32fe5131 6963 arg2 = static_cast<double >(SWIG_As_double(obj1));
093d3ff1
RD
6964 if (SWIG_arg_fail(2)) SWIG_fail;
6965 }
d14a1e28
RD
6966 {
6967 PyThreadState* __tstate = wxPyBeginAllowThreads();
6968 (arg1)->SetVectorAngle(arg2);
6969
6970 wxPyEndAllowThreads(__tstate);
6971 if (PyErr_Occurred()) SWIG_fail;
6972 }
6973 Py_INCREF(Py_None); resultobj = Py_None;
6974 return resultobj;
6975 fail:
6976 return NULL;
6977}
6978
6979
c32bde28 6980static PyObject *_wrap_Point2D_GetDistance(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6981 PyObject *resultobj = NULL;
d14a1e28
RD
6982 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
6983 wxPoint2D *arg2 = 0 ;
6984 double result;
6985 wxPoint2D temp2 ;
6986 PyObject * obj0 = 0 ;
6987 PyObject * obj1 = 0 ;
6988 char *kwnames[] = {
6989 (char *) "self",(char *) "pt", NULL
6990 };
6991
6992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistance",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
6994 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6995 {
6996 arg2 = &temp2;
6997 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
6998 }
6999 {
7000 PyThreadState* __tstate = wxPyBeginAllowThreads();
7001 result = (double)((wxPoint2D const *)arg1)->GetDistance((wxPoint2D const &)*arg2);
7002
7003 wxPyEndAllowThreads(__tstate);
7004 if (PyErr_Occurred()) SWIG_fail;
7005 }
093d3ff1 7006 {
32fe5131 7007 resultobj = SWIG_From_double(static_cast<double >(result));
093d3ff1 7008 }
d14a1e28
RD
7009 return resultobj;
7010 fail:
7011 return NULL;
7012}
7013
7014
c32bde28 7015static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7016 PyObject *resultobj = NULL;
d14a1e28
RD
7017 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7018 wxPoint2D *arg2 = 0 ;
7019 double result;
7020 wxPoint2D temp2 ;
7021 PyObject * obj0 = 0 ;
7022 PyObject * obj1 = 0 ;
7023 char *kwnames[] = {
7024 (char *) "self",(char *) "pt", NULL
7025 };
7026
7027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistanceSquare",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
7029 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7030 {
7031 arg2 = &temp2;
7032 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
7033 }
7034 {
7035 PyThreadState* __tstate = wxPyBeginAllowThreads();
7036 result = (double)((wxPoint2D const *)arg1)->GetDistanceSquare((wxPoint2D const &)*arg2);
7037
7038 wxPyEndAllowThreads(__tstate);
7039 if (PyErr_Occurred()) SWIG_fail;
7040 }
093d3ff1 7041 {
32fe5131 7042 resultobj = SWIG_From_double(static_cast<double >(result));
093d3ff1 7043 }
d14a1e28
RD
7044 return resultobj;
7045 fail:
7046 return NULL;
7047}
7048
7049
c32bde28 7050static PyObject *_wrap_Point2D_GetDotProduct(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7051 PyObject *resultobj = NULL;
d14a1e28
RD
7052 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7053 wxPoint2D *arg2 = 0 ;
7054 double result;
7055 wxPoint2D temp2 ;
7056 PyObject * obj0 = 0 ;
7057 PyObject * obj1 = 0 ;
7058 char *kwnames[] = {
7059 (char *) "self",(char *) "vec", NULL
7060 };
7061
7062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDotProduct",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
7064 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7065 {
7066 arg2 = &temp2;
7067 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
7068 }
7069 {
7070 PyThreadState* __tstate = wxPyBeginAllowThreads();
7071 result = (double)((wxPoint2D const *)arg1)->GetDotProduct((wxPoint2D const &)*arg2);
7072
7073 wxPyEndAllowThreads(__tstate);
7074 if (PyErr_Occurred()) SWIG_fail;
7075 }
093d3ff1 7076 {
32fe5131 7077 resultobj = SWIG_From_double(static_cast<double >(result));
093d3ff1 7078 }
d14a1e28
RD
7079 return resultobj;
7080 fail:
7081 return NULL;
7082}
7083
7084
c32bde28 7085static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7086 PyObject *resultobj = NULL;
d14a1e28
RD
7087 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7088 wxPoint2D *arg2 = 0 ;
7089 double result;
7090 wxPoint2D temp2 ;
7091 PyObject * obj0 = 0 ;
7092 PyObject * obj1 = 0 ;
7093 char *kwnames[] = {
7094 (char *) "self",(char *) "vec", NULL
7095 };
7096
7097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetCrossProduct",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
7099 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7100 {
7101 arg2 = &temp2;
7102 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
7103 }
7104 {
7105 PyThreadState* __tstate = wxPyBeginAllowThreads();
7106 result = (double)((wxPoint2D const *)arg1)->GetCrossProduct((wxPoint2D const &)*arg2);
7107
7108 wxPyEndAllowThreads(__tstate);
7109 if (PyErr_Occurred()) SWIG_fail;
7110 }
093d3ff1 7111 {
32fe5131 7112 resultobj = SWIG_From_double(static_cast<double >(result));
093d3ff1 7113 }
d14a1e28
RD
7114 return resultobj;
7115 fail:
7116 return NULL;
7117}
7118
7119
c32bde28 7120static PyObject *_wrap_Point2D___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7121 PyObject *resultobj = NULL;
d14a1e28
RD
7122 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7123 wxPoint2D result;
7124 PyObject * obj0 = 0 ;
7125 char *kwnames[] = {
7126 (char *) "self", NULL
7127 };
7128
7129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D___neg__",kwnames,&obj0)) goto fail;
093d3ff1
RD
7130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
7131 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7132 {
7133 PyThreadState* __tstate = wxPyBeginAllowThreads();
7134 result = (arg1)->operator -();
7135
7136 wxPyEndAllowThreads(__tstate);
7137 if (PyErr_Occurred()) SWIG_fail;
7138 }
7139 {
7140 wxPoint2D * resultptr;
32fe5131 7141 resultptr = new wxPoint2D(static_cast<wxPoint2D & >(result));
15afbcd0 7142 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
7143 }
7144 return resultobj;
7145 fail:
7146 return NULL;
7147}
7148
7149
c32bde28 7150static PyObject *_wrap_Point2D___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7151 PyObject *resultobj = NULL;
d14a1e28
RD
7152 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7153 wxPoint2D *arg2 = 0 ;
7154 wxPoint2D *result;
7155 wxPoint2D temp2 ;
7156 PyObject * obj0 = 0 ;
7157 PyObject * obj1 = 0 ;
7158 char *kwnames[] = {
7159 (char *) "self",(char *) "pt", NULL
7160 };
7161
7162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___iadd__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
7164 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7165 {
7166 arg2 = &temp2;
7167 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
7168 }
7169 {
7170 PyThreadState* __tstate = wxPyBeginAllowThreads();
7171 {
7172 wxPoint2D &_result_ref = (arg1)->operator +=((wxPoint2D const &)*arg2);
7173 result = (wxPoint2D *) &_result_ref;
7174 }
7175
7176 wxPyEndAllowThreads(__tstate);
7177 if (PyErr_Occurred()) SWIG_fail;
7178 }
c32bde28 7179 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
7180 return resultobj;
7181 fail:
7182 return NULL;
7183}
7184
7185
c32bde28 7186static PyObject *_wrap_Point2D___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7187 PyObject *resultobj = NULL;
d14a1e28
RD
7188 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7189 wxPoint2D *arg2 = 0 ;
7190 wxPoint2D *result;
7191 wxPoint2D temp2 ;
7192 PyObject * obj0 = 0 ;
7193 PyObject * obj1 = 0 ;
7194 char *kwnames[] = {
7195 (char *) "self",(char *) "pt", NULL
7196 };
7197
7198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___isub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
7200 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7201 {
7202 arg2 = &temp2;
7203 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
7204 }
7205 {
7206 PyThreadState* __tstate = wxPyBeginAllowThreads();
7207 {
7208 wxPoint2D &_result_ref = (arg1)->operator -=((wxPoint2D const &)*arg2);
7209 result = (wxPoint2D *) &_result_ref;
7210 }
7211
7212 wxPyEndAllowThreads(__tstate);
7213 if (PyErr_Occurred()) SWIG_fail;
7214 }
c32bde28 7215 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
7216 return resultobj;
7217 fail:
7218 return NULL;
7219}
7220
7221
c32bde28 7222static PyObject *_wrap_Point2D___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7223 PyObject *resultobj = NULL;
d14a1e28
RD
7224 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7225 wxPoint2D *arg2 = 0 ;
7226 wxPoint2D *result;
7227 wxPoint2D temp2 ;
7228 PyObject * obj0 = 0 ;
7229 PyObject * obj1 = 0 ;
7230 char *kwnames[] = {
7231 (char *) "self",(char *) "pt", NULL
7232 };
7233
7234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___imul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
7236 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7237 {
7238 arg2 = &temp2;
7239 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
7240 }
7241 {
7242 PyThreadState* __tstate = wxPyBeginAllowThreads();
7243 {
7244 wxPoint2D &_result_ref = (arg1)->operator *=((wxPoint2D const &)*arg2);
7245 result = (wxPoint2D *) &_result_ref;
7246 }
7247
7248 wxPyEndAllowThreads(__tstate);
7249 if (PyErr_Occurred()) SWIG_fail;
7250 }
c32bde28 7251 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
7252 return resultobj;
7253 fail:
7254 return NULL;
7255}
7256
7257
c32bde28 7258static PyObject *_wrap_Point2D___idiv__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7259 PyObject *resultobj = NULL;
d14a1e28
RD
7260 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7261 wxPoint2D *arg2 = 0 ;
7262 wxPoint2D *result;
7263 wxPoint2D temp2 ;
7264 PyObject * obj0 = 0 ;
7265 PyObject * obj1 = 0 ;
7266 char *kwnames[] = {
7267 (char *) "self",(char *) "pt", NULL
7268 };
7269
7270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___idiv__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
7272 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7273 {
7274 arg2 = &temp2;
7275 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
7276 }
7277 {
7278 PyThreadState* __tstate = wxPyBeginAllowThreads();
7279 {
7280 wxPoint2D &_result_ref = (arg1)->operator /=((wxPoint2D const &)*arg2);
7281 result = (wxPoint2D *) &_result_ref;
7282 }
7283
7284 wxPyEndAllowThreads(__tstate);
7285 if (PyErr_Occurred()) SWIG_fail;
7286 }
c32bde28 7287 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
7288 return resultobj;
7289 fail:
7290 return NULL;
7291}
7292
7293
c32bde28 7294static PyObject *_wrap_Point2D___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7295 PyObject *resultobj = NULL;
d14a1e28
RD
7296 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7297 wxPoint2D *arg2 = 0 ;
7298 bool result;
7299 wxPoint2D temp2 ;
7300 PyObject * obj0 = 0 ;
7301 PyObject * obj1 = 0 ;
7302 char *kwnames[] = {
7303 (char *) "self",(char *) "pt", NULL
7304 };
7305
7306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
7308 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7309 {
7310 arg2 = &temp2;
7311 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
7312 }
7313 {
7314 PyThreadState* __tstate = wxPyBeginAllowThreads();
7315 result = (bool)((wxPoint2D const *)arg1)->operator ==((wxPoint2D const &)*arg2);
7316
7317 wxPyEndAllowThreads(__tstate);
7318 if (PyErr_Occurred()) SWIG_fail;
7319 }
4f89f6a3
RD
7320 {
7321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7322 }
d14a1e28
RD
7323 return resultobj;
7324 fail:
7325 return NULL;
7326}
7327
7328
c32bde28 7329static PyObject *_wrap_Point2D___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7330 PyObject *resultobj = NULL;
d14a1e28
RD
7331 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7332 wxPoint2D *arg2 = 0 ;
7333 bool result;
7334 wxPoint2D temp2 ;
7335 PyObject * obj0 = 0 ;
7336 PyObject * obj1 = 0 ;
7337 char *kwnames[] = {
7338 (char *) "self",(char *) "pt", NULL
7339 };
7340
7341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
7343 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7344 {
7345 arg2 = &temp2;
7346 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
7347 }
7348 {
7349 PyThreadState* __tstate = wxPyBeginAllowThreads();
7350 result = (bool)((wxPoint2D const *)arg1)->operator !=((wxPoint2D const &)*arg2);
7351
7352 wxPyEndAllowThreads(__tstate);
7353 if (PyErr_Occurred()) SWIG_fail;
7354 }
4f89f6a3
RD
7355 {
7356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7357 }
d14a1e28
RD
7358 return resultobj;
7359 fail:
7360 return NULL;
7361}
7362
7363
c32bde28 7364static PyObject *_wrap_Point2D_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7365 PyObject *resultobj = NULL;
d14a1e28
RD
7366 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7367 double arg2 ;
7368 PyObject * obj0 = 0 ;
994141e6 7369 PyObject * obj1 = 0 ;
d14a1e28
RD
7370 char *kwnames[] = {
7371 (char *) "self",(char *) "m_x", NULL
7372 };
7373
994141e6 7374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_x_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
7376 if (SWIG_arg_fail(1)) SWIG_fail;
7377 {
32fe5131 7378 arg2 = static_cast<double >(SWIG_As_double(obj1));
093d3ff1
RD
7379 if (SWIG_arg_fail(2)) SWIG_fail;
7380 }
d14a1e28
RD
7381 if (arg1) (arg1)->m_x = arg2;
7382
7383 Py_INCREF(Py_None); resultobj = Py_None;
7384 return resultobj;
7385 fail:
7386 return NULL;
7387}
7388
7389
c32bde28 7390static PyObject *_wrap_Point2D_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7391 PyObject *resultobj = NULL;
d14a1e28
RD
7392 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7393 double result;
7394 PyObject * obj0 = 0 ;
7395 char *kwnames[] = {
7396 (char *) "self", NULL
7397 };
7398
7399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_x_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
7400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
7401 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7402 result = (double) ((arg1)->m_x);
7403
093d3ff1 7404 {
32fe5131 7405 resultobj = SWIG_From_double(static_cast<double >(result));
093d3ff1 7406 }
d14a1e28
RD
7407 return resultobj;
7408 fail:
7409 return NULL;
7410}
7411
7412
c32bde28 7413static PyObject *_wrap_Point2D_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7414 PyObject *resultobj = NULL;
d14a1e28
RD
7415 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7416 double arg2 ;
7417 PyObject * obj0 = 0 ;
994141e6 7418 PyObject * obj1 = 0 ;
d14a1e28
RD
7419 char *kwnames[] = {
7420 (char *) "self",(char *) "m_y", NULL
7421 };
7422
994141e6 7423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_y_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
7425 if (SWIG_arg_fail(1)) SWIG_fail;
7426 {
32fe5131 7427 arg2 = static_cast<double >(SWIG_As_double(obj1));
093d3ff1
RD
7428 if (SWIG_arg_fail(2)) SWIG_fail;
7429 }
d14a1e28
RD
7430 if (arg1) (arg1)->m_y = arg2;
7431
7432 Py_INCREF(Py_None); resultobj = Py_None;
7433 return resultobj;
7434 fail:
7435 return NULL;
7436}
7437
7438
c32bde28 7439static PyObject *_wrap_Point2D_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7440 PyObject *resultobj = NULL;
d14a1e28
RD
7441 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7442 double result;
7443 PyObject * obj0 = 0 ;
7444 char *kwnames[] = {
7445 (char *) "self", NULL
7446 };
7447
7448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_y_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
7449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
7450 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7451 result = (double) ((arg1)->m_y);
7452
093d3ff1 7453 {
32fe5131 7454 resultobj = SWIG_From_double(static_cast<double >(result));
093d3ff1 7455 }
d14a1e28
RD
7456 return resultobj;
7457 fail:
7458 return NULL;
7459}
7460
7461
c32bde28 7462static PyObject *_wrap_Point2D_Set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7463 PyObject *resultobj = NULL;
d14a1e28
RD
7464 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7465 double arg2 = (double) 0 ;
7466 double arg3 = (double) 0 ;
7467 PyObject * obj0 = 0 ;
994141e6
RD
7468 PyObject * obj1 = 0 ;
7469 PyObject * obj2 = 0 ;
d14a1e28
RD
7470 char *kwnames[] = {
7471 (char *) "self",(char *) "x",(char *) "y", NULL
7472 };
7473
994141e6 7474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Point2D_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
7476 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 7477 if (obj1) {
093d3ff1 7478 {
32fe5131 7479 arg2 = static_cast<double >(SWIG_As_double(obj1));
093d3ff1
RD
7480 if (SWIG_arg_fail(2)) SWIG_fail;
7481 }
994141e6
RD
7482 }
7483 if (obj2) {
093d3ff1 7484 {
32fe5131 7485 arg3 = static_cast<double >(SWIG_As_double(obj2));
093d3ff1
RD
7486 if (SWIG_arg_fail(3)) SWIG_fail;
7487 }
994141e6 7488 }
d14a1e28
RD
7489 {
7490 PyThreadState* __tstate = wxPyBeginAllowThreads();
7491 wxPoint2D_Set(arg1,arg2,arg3);
7492
7493 wxPyEndAllowThreads(__tstate);
7494 if (PyErr_Occurred()) SWIG_fail;
7495 }
7496 Py_INCREF(Py_None); resultobj = Py_None;
7497 return resultobj;
7498 fail:
7499 return NULL;
7500}
7501
7502
c32bde28 7503static PyObject *_wrap_Point2D_Get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7504 PyObject *resultobj = NULL;
d14a1e28
RD
7505 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
7506 PyObject *result;
7507 PyObject * obj0 = 0 ;
7508 char *kwnames[] = {
7509 (char *) "self", NULL
7510 };
7511
e811c8ce 7512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_Get",kwnames,&obj0)) goto fail;
093d3ff1
RD
7513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0);
7514 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7515 {
7516 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 7517 result = (PyObject *)wxPoint2D_Get(arg1);
d14a1e28
RD
7518
7519 wxPyEndAllowThreads(__tstate);
7520 if (PyErr_Occurred()) SWIG_fail;
7521 }
7522 resultobj = result;
7523 return resultobj;
7524 fail:
7525 return NULL;
7526}
7527
7528
c32bde28 7529static PyObject * Point2D_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7530 PyObject *obj;
7531 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7532 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D, obj);
7533 Py_INCREF(obj);
7534 return Py_BuildValue((char *)"");
7535}
c32bde28 7536static int _wrap_DefaultPosition_set(PyObject *) {
d14a1e28
RD
7537 PyErr_SetString(PyExc_TypeError,"Variable DefaultPosition is read-only.");
7538 return 1;
7539}
7540
7541
093d3ff1 7542static PyObject *_wrap_DefaultPosition_get(void) {
32fe5131 7543 PyObject *pyobj = NULL;
d14a1e28 7544
15afbcd0 7545 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultPosition), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
7546 return pyobj;
7547}
7548
7549
c32bde28 7550static int _wrap_DefaultSize_set(PyObject *) {
d14a1e28
RD
7551 PyErr_SetString(PyExc_TypeError,"Variable DefaultSize is read-only.");
7552 return 1;
7553}
7554
7555
093d3ff1 7556static PyObject *_wrap_DefaultSize_get(void) {
32fe5131 7557 PyObject *pyobj = NULL;
d14a1e28 7558
15afbcd0 7559 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSize), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
7560 return pyobj;
7561}
7562
7563
c32bde28 7564static PyObject *_wrap_new_InputStream(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7565 PyObject *resultobj = NULL;
d14a1e28
RD
7566 PyObject *arg1 = (PyObject *) 0 ;
7567 wxPyInputStream *result;
7568 PyObject * obj0 = 0 ;
7569 char *kwnames[] = {
7570 (char *) "p", NULL
7571 };
7572
7573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_InputStream",kwnames,&obj0)) goto fail;
7574 arg1 = obj0;
7575 {
7576 PyThreadState* __tstate = wxPyBeginAllowThreads();
7577 result = (wxPyInputStream *)new_wxPyInputStream(arg1);
7578
7579 wxPyEndAllowThreads(__tstate);
7580 if (PyErr_Occurred()) SWIG_fail;
7581 }
15afbcd0 7582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyInputStream, 1);
d14a1e28
RD
7583 return resultobj;
7584 fail:
7585 return NULL;
7586}
7587
7588
8fb0e70a 7589static PyObject *_wrap_delete_InputStream(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7590 PyObject *resultobj = NULL;
8fb0e70a
RD
7591 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7592 PyObject * obj0 = 0 ;
7593 char *kwnames[] = {
7594 (char *) "self", NULL
7595 };
7596
7597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_InputStream",kwnames,&obj0)) goto fail;
093d3ff1
RD
7598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7599 if (SWIG_arg_fail(1)) SWIG_fail;
8fb0e70a
RD
7600 {
7601 PyThreadState* __tstate = wxPyBeginAllowThreads();
7602 delete arg1;
7603
7604 wxPyEndAllowThreads(__tstate);
7605 if (PyErr_Occurred()) SWIG_fail;
7606 }
7607 Py_INCREF(Py_None); resultobj = Py_None;
7608 return resultobj;
7609 fail:
7610 return NULL;
7611}
7612
7613
c32bde28 7614static PyObject *_wrap_InputStream_close(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7615 PyObject *resultobj = NULL;
d14a1e28
RD
7616 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7617 PyObject * obj0 = 0 ;
7618 char *kwnames[] = {
7619 (char *) "self", NULL
7620 };
7621
7622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_close",kwnames,&obj0)) goto fail;
093d3ff1
RD
7623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7624 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7625 {
7626 PyThreadState* __tstate = wxPyBeginAllowThreads();
7627 (arg1)->close();
7628
7629 wxPyEndAllowThreads(__tstate);
7630 if (PyErr_Occurred()) SWIG_fail;
7631 }
7632 Py_INCREF(Py_None); resultobj = Py_None;
7633 return resultobj;
7634 fail:
7635 return NULL;
7636}
7637
7638
c32bde28 7639static PyObject *_wrap_InputStream_flush(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7640 PyObject *resultobj = NULL;
d14a1e28
RD
7641 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7642 PyObject * obj0 = 0 ;
7643 char *kwnames[] = {
7644 (char *) "self", NULL
7645 };
7646
7647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_flush",kwnames,&obj0)) goto fail;
093d3ff1
RD
7648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7649 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7650 {
7651 PyThreadState* __tstate = wxPyBeginAllowThreads();
7652 (arg1)->flush();
7653
7654 wxPyEndAllowThreads(__tstate);
7655 if (PyErr_Occurred()) SWIG_fail;
7656 }
7657 Py_INCREF(Py_None); resultobj = Py_None;
7658 return resultobj;
7659 fail:
7660 return NULL;
7661}
7662
7663
c32bde28 7664static PyObject *_wrap_InputStream_eof(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7665 PyObject *resultobj = NULL;
d14a1e28
RD
7666 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7667 bool result;
7668 PyObject * obj0 = 0 ;
7669 char *kwnames[] = {
7670 (char *) "self", NULL
7671 };
7672
7673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_eof",kwnames,&obj0)) goto fail;
093d3ff1
RD
7674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7675 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7676 {
7677 PyThreadState* __tstate = wxPyBeginAllowThreads();
7678 result = (bool)(arg1)->eof();
7679
7680 wxPyEndAllowThreads(__tstate);
7681 if (PyErr_Occurred()) SWIG_fail;
7682 }
4f89f6a3
RD
7683 {
7684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7685 }
d14a1e28
RD
7686 return resultobj;
7687 fail:
7688 return NULL;
7689}
7690
7691
c32bde28 7692static PyObject *_wrap_InputStream_read(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7693 PyObject *resultobj = NULL;
d14a1e28
RD
7694 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7695 int arg2 = (int) -1 ;
7696 PyObject *result;
7697 PyObject * obj0 = 0 ;
994141e6 7698 PyObject * obj1 = 0 ;
d14a1e28
RD
7699 char *kwnames[] = {
7700 (char *) "self",(char *) "size", NULL
7701 };
7702
994141e6 7703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_read",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7705 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 7706 if (obj1) {
093d3ff1 7707 {
32fe5131 7708 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7709 if (SWIG_arg_fail(2)) SWIG_fail;
7710 }
994141e6 7711 }
d14a1e28
RD
7712 {
7713 PyThreadState* __tstate = wxPyBeginAllowThreads();
7714 result = (PyObject *)(arg1)->read(arg2);
7715
7716 wxPyEndAllowThreads(__tstate);
7717 if (PyErr_Occurred()) SWIG_fail;
7718 }
7719 resultobj = result;
7720 return resultobj;
7721 fail:
7722 return NULL;
7723}
7724
7725
c32bde28 7726static PyObject *_wrap_InputStream_readline(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7727 PyObject *resultobj = NULL;
d14a1e28
RD
7728 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7729 int arg2 = (int) -1 ;
7730 PyObject *result;
7731 PyObject * obj0 = 0 ;
994141e6 7732 PyObject * obj1 = 0 ;
d14a1e28
RD
7733 char *kwnames[] = {
7734 (char *) "self",(char *) "size", NULL
7735 };
7736
994141e6 7737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readline",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7739 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 7740 if (obj1) {
093d3ff1 7741 {
32fe5131 7742 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7743 if (SWIG_arg_fail(2)) SWIG_fail;
7744 }
994141e6 7745 }
d14a1e28
RD
7746 {
7747 PyThreadState* __tstate = wxPyBeginAllowThreads();
7748 result = (PyObject *)(arg1)->readline(arg2);
7749
7750 wxPyEndAllowThreads(__tstate);
7751 if (PyErr_Occurred()) SWIG_fail;
7752 }
7753 resultobj = result;
7754 return resultobj;
7755 fail:
7756 return NULL;
7757}
7758
7759
c32bde28 7760static PyObject *_wrap_InputStream_readlines(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7761 PyObject *resultobj = NULL;
d14a1e28
RD
7762 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7763 int arg2 = (int) -1 ;
7764 PyObject *result;
7765 PyObject * obj0 = 0 ;
994141e6 7766 PyObject * obj1 = 0 ;
d14a1e28
RD
7767 char *kwnames[] = {
7768 (char *) "self",(char *) "sizehint", NULL
7769 };
7770
994141e6 7771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readlines",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7773 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 7774 if (obj1) {
093d3ff1 7775 {
32fe5131 7776 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7777 if (SWIG_arg_fail(2)) SWIG_fail;
7778 }
994141e6 7779 }
d14a1e28
RD
7780 {
7781 PyThreadState* __tstate = wxPyBeginAllowThreads();
7782 result = (PyObject *)(arg1)->readlines(arg2);
7783
7784 wxPyEndAllowThreads(__tstate);
7785 if (PyErr_Occurred()) SWIG_fail;
7786 }
7787 resultobj = result;
7788 return resultobj;
7789 fail:
7790 return NULL;
7791}
7792
7793
c32bde28 7794static PyObject *_wrap_InputStream_seek(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7795 PyObject *resultobj = NULL;
d14a1e28
RD
7796 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7797 int arg2 ;
7798 int arg3 = (int) 0 ;
7799 PyObject * obj0 = 0 ;
994141e6
RD
7800 PyObject * obj1 = 0 ;
7801 PyObject * obj2 = 0 ;
d14a1e28
RD
7802 char *kwnames[] = {
7803 (char *) "self",(char *) "offset",(char *) "whence", NULL
7804 };
7805
994141e6 7806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_seek",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7808 if (SWIG_arg_fail(1)) SWIG_fail;
7809 {
32fe5131 7810 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7811 if (SWIG_arg_fail(2)) SWIG_fail;
7812 }
994141e6 7813 if (obj2) {
093d3ff1 7814 {
32fe5131 7815 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
7816 if (SWIG_arg_fail(3)) SWIG_fail;
7817 }
994141e6 7818 }
d14a1e28
RD
7819 {
7820 PyThreadState* __tstate = wxPyBeginAllowThreads();
7821 (arg1)->seek(arg2,arg3);
7822
7823 wxPyEndAllowThreads(__tstate);
7824 if (PyErr_Occurred()) SWIG_fail;
7825 }
7826 Py_INCREF(Py_None); resultobj = Py_None;
7827 return resultobj;
7828 fail:
7829 return NULL;
7830}
7831
7832
c32bde28 7833static PyObject *_wrap_InputStream_tell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7834 PyObject *resultobj = NULL;
d14a1e28
RD
7835 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7836 int result;
7837 PyObject * obj0 = 0 ;
7838 char *kwnames[] = {
7839 (char *) "self", NULL
7840 };
7841
7842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_tell",kwnames,&obj0)) goto fail;
093d3ff1
RD
7843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7844 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7845 {
7846 PyThreadState* __tstate = wxPyBeginAllowThreads();
7847 result = (int)(arg1)->tell();
7848
7849 wxPyEndAllowThreads(__tstate);
7850 if (PyErr_Occurred()) SWIG_fail;
7851 }
093d3ff1 7852 {
32fe5131 7853 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 7854 }
d14a1e28
RD
7855 return resultobj;
7856 fail:
7857 return NULL;
7858}
7859
7860
c32bde28 7861static PyObject *_wrap_InputStream_Peek(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7862 PyObject *resultobj = NULL;
d14a1e28
RD
7863 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7864 char result;
7865 PyObject * obj0 = 0 ;
7866 char *kwnames[] = {
7867 (char *) "self", NULL
7868 };
7869
7870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Peek",kwnames,&obj0)) goto fail;
093d3ff1
RD
7871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7872 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7873 {
7874 PyThreadState* __tstate = wxPyBeginAllowThreads();
7875 result = (char)(arg1)->Peek();
7876
7877 wxPyEndAllowThreads(__tstate);
7878 if (PyErr_Occurred()) SWIG_fail;
7879 }
093d3ff1 7880 {
32fe5131 7881 resultobj = SWIG_From_char(static_cast<char >(result));
093d3ff1 7882 }
d14a1e28
RD
7883 return resultobj;
7884 fail:
7885 return NULL;
7886}
7887
7888
c32bde28 7889static PyObject *_wrap_InputStream_GetC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7890 PyObject *resultobj = NULL;
d14a1e28
RD
7891 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7892 char result;
7893 PyObject * obj0 = 0 ;
7894 char *kwnames[] = {
7895 (char *) "self", NULL
7896 };
7897
7898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_GetC",kwnames,&obj0)) goto fail;
093d3ff1
RD
7899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7900 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7901 {
7902 PyThreadState* __tstate = wxPyBeginAllowThreads();
7903 result = (char)(arg1)->GetC();
7904
7905 wxPyEndAllowThreads(__tstate);
7906 if (PyErr_Occurred()) SWIG_fail;
7907 }
093d3ff1 7908 {
32fe5131 7909 resultobj = SWIG_From_char(static_cast<char >(result));
093d3ff1 7910 }
d14a1e28
RD
7911 return resultobj;
7912 fail:
7913 return NULL;
7914}
7915
7916
c32bde28 7917static PyObject *_wrap_InputStream_LastRead(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7918 PyObject *resultobj = NULL;
d14a1e28
RD
7919 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7920 size_t result;
7921 PyObject * obj0 = 0 ;
7922 char *kwnames[] = {
7923 (char *) "self", NULL
7924 };
7925
7926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_LastRead",kwnames,&obj0)) goto fail;
093d3ff1
RD
7927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7928 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7929 {
7930 PyThreadState* __tstate = wxPyBeginAllowThreads();
7931 result = (size_t)(arg1)->LastRead();
7932
7933 wxPyEndAllowThreads(__tstate);
7934 if (PyErr_Occurred()) SWIG_fail;
7935 }
093d3ff1 7936 {
32fe5131 7937 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 7938 }
d14a1e28
RD
7939 return resultobj;
7940 fail:
7941 return NULL;
7942}
7943
7944
c32bde28 7945static PyObject *_wrap_InputStream_CanRead(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7946 PyObject *resultobj = NULL;
d14a1e28
RD
7947 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7948 bool result;
7949 PyObject * obj0 = 0 ;
7950 char *kwnames[] = {
7951 (char *) "self", NULL
7952 };
7953
7954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_CanRead",kwnames,&obj0)) goto fail;
093d3ff1
RD
7955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7956 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7957 {
7958 PyThreadState* __tstate = wxPyBeginAllowThreads();
7959 result = (bool)(arg1)->CanRead();
7960
7961 wxPyEndAllowThreads(__tstate);
7962 if (PyErr_Occurred()) SWIG_fail;
7963 }
4f89f6a3
RD
7964 {
7965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7966 }
d14a1e28
RD
7967 return resultobj;
7968 fail:
7969 return NULL;
7970}
7971
7972
c32bde28 7973static PyObject *_wrap_InputStream_Eof(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7974 PyObject *resultobj = NULL;
d14a1e28
RD
7975 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
7976 bool result;
7977 PyObject * obj0 = 0 ;
7978 char *kwnames[] = {
7979 (char *) "self", NULL
7980 };
7981
7982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Eof",kwnames,&obj0)) goto fail;
093d3ff1
RD
7983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
7984 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7985 {
7986 PyThreadState* __tstate = wxPyBeginAllowThreads();
7987 result = (bool)(arg1)->Eof();
7988
7989 wxPyEndAllowThreads(__tstate);
7990 if (PyErr_Occurred()) SWIG_fail;
7991 }
4f89f6a3
RD
7992 {
7993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7994 }
d14a1e28
RD
7995 return resultobj;
7996 fail:
7997 return NULL;
7998}
7999
8000
c32bde28 8001static PyObject *_wrap_InputStream_Ungetch(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8002 PyObject *resultobj = NULL;
d14a1e28
RD
8003 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
8004 char arg2 ;
8005 bool result;
8006 PyObject * obj0 = 0 ;
994141e6 8007 PyObject * obj1 = 0 ;
d14a1e28
RD
8008 char *kwnames[] = {
8009 (char *) "self",(char *) "c", NULL
8010 };
8011
994141e6 8012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InputStream_Ungetch",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
8014 if (SWIG_arg_fail(1)) SWIG_fail;
8015 {
32fe5131 8016 arg2 = static_cast<char >(SWIG_As_char(obj1));
093d3ff1
RD
8017 if (SWIG_arg_fail(2)) SWIG_fail;
8018 }
d14a1e28
RD
8019 {
8020 PyThreadState* __tstate = wxPyBeginAllowThreads();
8021 result = (bool)(arg1)->Ungetch(arg2);
8022
8023 wxPyEndAllowThreads(__tstate);
8024 if (PyErr_Occurred()) SWIG_fail;
8025 }
4f89f6a3
RD
8026 {
8027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8028 }
d14a1e28
RD
8029 return resultobj;
8030 fail:
8031 return NULL;
8032}
8033
8034
c32bde28 8035static PyObject *_wrap_InputStream_SeekI(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8036 PyObject *resultobj = NULL;
d14a1e28
RD
8037 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
8038 long arg2 ;
093d3ff1 8039 wxSeekMode arg3 = (wxSeekMode) wxFromStart ;
d14a1e28
RD
8040 long result;
8041 PyObject * obj0 = 0 ;
994141e6
RD
8042 PyObject * obj1 = 0 ;
8043 PyObject * obj2 = 0 ;
d14a1e28
RD
8044 char *kwnames[] = {
8045 (char *) "self",(char *) "pos",(char *) "mode", NULL
8046 };
8047
994141e6 8048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_SeekI",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
8050 if (SWIG_arg_fail(1)) SWIG_fail;
8051 {
32fe5131 8052 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
8053 if (SWIG_arg_fail(2)) SWIG_fail;
8054 }
994141e6 8055 if (obj2) {
093d3ff1 8056 {
32fe5131 8057 arg3 = static_cast<wxSeekMode >(SWIG_As_int(obj2));
093d3ff1
RD
8058 if (SWIG_arg_fail(3)) SWIG_fail;
8059 }
994141e6 8060 }
d14a1e28
RD
8061 {
8062 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 8063 result = (long)(arg1)->SeekI(arg2,arg3);
d14a1e28
RD
8064
8065 wxPyEndAllowThreads(__tstate);
8066 if (PyErr_Occurred()) SWIG_fail;
8067 }
093d3ff1 8068 {
32fe5131 8069 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 8070 }
d14a1e28
RD
8071 return resultobj;
8072 fail:
8073 return NULL;
8074}
8075
8076
c32bde28 8077static PyObject *_wrap_InputStream_TellI(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8078 PyObject *resultobj = NULL;
d14a1e28
RD
8079 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
8080 long result;
8081 PyObject * obj0 = 0 ;
8082 char *kwnames[] = {
8083 (char *) "self", NULL
8084 };
8085
8086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_TellI",kwnames,&obj0)) goto fail;
093d3ff1
RD
8087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0);
8088 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8089 {
8090 PyThreadState* __tstate = wxPyBeginAllowThreads();
8091 result = (long)(arg1)->TellI();
8092
8093 wxPyEndAllowThreads(__tstate);
8094 if (PyErr_Occurred()) SWIG_fail;
8095 }
093d3ff1 8096 {
32fe5131 8097 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 8098 }
d14a1e28
RD
8099 return resultobj;
8100 fail:
8101 return NULL;
8102}
8103
8104
c32bde28 8105static PyObject * InputStream_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8106 PyObject *obj;
8107 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8108 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream, obj);
8109 Py_INCREF(obj);
8110 return Py_BuildValue((char *)"");
8111}
c32bde28 8112static PyObject *_wrap_OutputStream_write(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8113 PyObject *resultobj = NULL;
d14a1e28
RD
8114 wxOutputStream *arg1 = (wxOutputStream *) 0 ;
8115 PyObject *arg2 = (PyObject *) 0 ;
8116 PyObject * obj0 = 0 ;
8117 PyObject * obj1 = 0 ;
8118 char *kwnames[] = {
8119 (char *) "self",(char *) "obj", NULL
8120 };
8121
8122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:OutputStream_write",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxOutputStream, SWIG_POINTER_EXCEPTION | 0);
8124 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8125 arg2 = obj1;
8126 {
8127 PyThreadState* __tstate = wxPyBeginAllowThreads();
8128 wxOutputStream_write(arg1,arg2);
8129
8130 wxPyEndAllowThreads(__tstate);
8131 if (PyErr_Occurred()) SWIG_fail;
8132 }
8133 Py_INCREF(Py_None); resultobj = Py_None;
8134 return resultobj;
8135 fail:
8136 return NULL;
8137}
8138
8139
c32bde28 8140static PyObject * OutputStream_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8141 PyObject *obj;
8142 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8143 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream, obj);
8144 Py_INCREF(obj);
8145 return Py_BuildValue((char *)"");
8146}
c32bde28 8147static PyObject *_wrap_new_FSFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8148 PyObject *resultobj = NULL;
d14a1e28
RD
8149 wxInputStream *arg1 = (wxInputStream *) 0 ;
8150 wxString *arg2 = 0 ;
8151 wxString *arg3 = 0 ;
8152 wxString *arg4 = 0 ;
8153 wxDateTime arg5 ;
8154 wxFSFile *result;
8155 wxPyInputStream *temp1 ;
ae8162c8
RD
8156 bool temp2 = false ;
8157 bool temp3 = false ;
8158 bool temp4 = false ;
d14a1e28
RD
8159 PyObject * obj0 = 0 ;
8160 PyObject * obj1 = 0 ;
8161 PyObject * obj2 = 0 ;
8162 PyObject * obj3 = 0 ;
8163 PyObject * obj4 = 0 ;
8164 char *kwnames[] = {
8165 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
8166 };
8167
8168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_FSFile",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
8169 {
8170 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
e2950dbb 8171 arg1 = wxPyCBInputStream_copy((wxPyCBInputStream*)temp1->m_wxis);
d14a1e28
RD
8172 } else {
8173 PyErr_Clear(); // clear the failure of the wxPyConvert above
e2950dbb 8174 arg1 = wxPyCBInputStream_create(obj0, true);
d14a1e28 8175 if (arg1 == NULL) {
e2950dbb 8176 PyErr_SetString(PyExc_TypeError, "Expected wx.InputStream or Python file-like object.");
d14a1e28
RD
8177 SWIG_fail;
8178 }
d14a1e28
RD
8179 }
8180 }
8181 {
8182 arg2 = wxString_in_helper(obj1);
8183 if (arg2 == NULL) SWIG_fail;
ae8162c8 8184 temp2 = true;
d14a1e28
RD
8185 }
8186 {
8187 arg3 = wxString_in_helper(obj2);
8188 if (arg3 == NULL) SWIG_fail;
ae8162c8 8189 temp3 = true;
d14a1e28
RD
8190 }
8191 {
8192 arg4 = wxString_in_helper(obj3);
8193 if (arg4 == NULL) SWIG_fail;
ae8162c8 8194 temp4 = true;
d14a1e28 8195 }
093d3ff1
RD
8196 {
8197 wxDateTime * argp;
8198 SWIG_Python_ConvertPtr(obj4, (void **)&argp, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION);
8199 if (SWIG_arg_fail(5)) SWIG_fail;
8200 if (argp == NULL) {
8201 SWIG_null_ref("wxDateTime");
8202 }
8203 if (SWIG_arg_fail(5)) SWIG_fail;
8204 arg5 = *argp;
8205 }
d14a1e28
RD
8206 {
8207 PyThreadState* __tstate = wxPyBeginAllowThreads();
8208 result = (wxFSFile *)new wxFSFile(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
8209
8210 wxPyEndAllowThreads(__tstate);
8211 if (PyErr_Occurred()) SWIG_fail;
8212 }
8213 {
7e08d4ef 8214 resultobj = wxPyMake_wxObject(result, (bool)1);
d14a1e28 8215 }
d14a1e28
RD
8216 {
8217 if (temp2)
8218 delete arg2;
8219 }
8220 {
8221 if (temp3)
8222 delete arg3;
8223 }
8224 {
8225 if (temp4)
8226 delete arg4;
8227 }
8228 return resultobj;
8229 fail:
d14a1e28
RD
8230 {
8231 if (temp2)
8232 delete arg2;
8233 }
8234 {
8235 if (temp3)
8236 delete arg3;
8237 }
8238 {
8239 if (temp4)
8240 delete arg4;
8241 }
8242 return NULL;
8243}
8244
8245
c32bde28 8246static PyObject *_wrap_delete_FSFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8247 PyObject *resultobj = NULL;
d14a1e28
RD
8248 wxFSFile *arg1 = (wxFSFile *) 0 ;
8249 PyObject * obj0 = 0 ;
8250 char *kwnames[] = {
8251 (char *) "self", NULL
8252 };
8253
8254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FSFile",kwnames,&obj0)) goto fail;
093d3ff1
RD
8255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFSFile, SWIG_POINTER_EXCEPTION | 0);
8256 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8257 {
8258 PyThreadState* __tstate = wxPyBeginAllowThreads();
8259 delete arg1;
8260
8261 wxPyEndAllowThreads(__tstate);
8262 if (PyErr_Occurred()) SWIG_fail;
8263 }
8264 Py_INCREF(Py_None); resultobj = Py_None;
8265 return resultobj;
8266 fail:
8267 return NULL;
8268}
8269
8270
c32bde28 8271static PyObject *_wrap_FSFile_GetStream(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8272 PyObject *resultobj = NULL;
d14a1e28
RD
8273 wxFSFile *arg1 = (wxFSFile *) 0 ;
8274 wxInputStream *result;
8275 PyObject * obj0 = 0 ;
8276 char *kwnames[] = {
8277 (char *) "self", NULL
8278 };
8279
8280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetStream",kwnames,&obj0)) goto fail;
093d3ff1
RD
8281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFSFile, SWIG_POINTER_EXCEPTION | 0);
8282 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8283 {
8284 PyThreadState* __tstate = wxPyBeginAllowThreads();
8285 result = (wxInputStream *)(arg1)->GetStream();
8286
8287 wxPyEndAllowThreads(__tstate);
8288 if (PyErr_Occurred()) SWIG_fail;
8289 }
8290 {
8291 wxPyInputStream * _ptr = NULL;
8292
8293 if (result) {
8294 _ptr = new wxPyInputStream(result);
8295 }
fc71d09b 8296 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), 0);
d14a1e28
RD
8297 }
8298 return resultobj;
8299 fail:
8300 return NULL;
8301}
8302
8303
c32bde28 8304static PyObject *_wrap_FSFile_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8305 PyObject *resultobj = NULL;
d14a1e28
RD
8306 wxFSFile *arg1 = (wxFSFile *) 0 ;
8307 wxString *result;
8308 PyObject * obj0 = 0 ;
8309 char *kwnames[] = {
8310 (char *) "self", NULL
8311 };
8312
8313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetMimeType",kwnames,&obj0)) goto fail;
093d3ff1
RD
8314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFSFile, SWIG_POINTER_EXCEPTION | 0);
8315 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8316 {
8317 PyThreadState* __tstate = wxPyBeginAllowThreads();
8318 {
8319 wxString const &_result_ref = (arg1)->GetMimeType();
8320 result = (wxString *) &_result_ref;
8321 }
8322
8323 wxPyEndAllowThreads(__tstate);
8324 if (PyErr_Occurred()) SWIG_fail;
8325 }
cc6dd355
RD
8326 {
8327#if wxUSE_UNICODE
8328 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
8329#else
8330 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
8331#endif
8332 }
d14a1e28
RD
8333 return resultobj;
8334 fail:
8335 return NULL;
8336}
8337
8338
c32bde28 8339static PyObject *_wrap_FSFile_GetLocation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8340 PyObject *resultobj = NULL;
d14a1e28
RD
8341 wxFSFile *arg1 = (wxFSFile *) 0 ;
8342 wxString *result;
8343 PyObject * obj0 = 0 ;
8344 char *kwnames[] = {
8345 (char *) "self", NULL
8346 };
8347
8348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetLocation",kwnames,&obj0)) goto fail;
093d3ff1
RD
8349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFSFile, SWIG_POINTER_EXCEPTION | 0);
8350 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8351 {
8352 PyThreadState* __tstate = wxPyBeginAllowThreads();
8353 {
8354 wxString const &_result_ref = (arg1)->GetLocation();
8355 result = (wxString *) &_result_ref;
8356 }
8357
8358 wxPyEndAllowThreads(__tstate);
8359 if (PyErr_Occurred()) SWIG_fail;
8360 }
cc6dd355
RD
8361 {
8362#if wxUSE_UNICODE
8363 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
8364#else
8365 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
8366#endif
8367 }
d14a1e28
RD
8368 return resultobj;
8369 fail:
8370 return NULL;
8371}
8372
8373
c32bde28 8374static PyObject *_wrap_FSFile_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8375 PyObject *resultobj = NULL;
d14a1e28
RD
8376 wxFSFile *arg1 = (wxFSFile *) 0 ;
8377 wxString *result;
8378 PyObject * obj0 = 0 ;
8379 char *kwnames[] = {
8380 (char *) "self", NULL
8381 };
8382
8383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetAnchor",kwnames,&obj0)) goto fail;
093d3ff1
RD
8384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFSFile, SWIG_POINTER_EXCEPTION | 0);
8385 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8386 {
8387 PyThreadState* __tstate = wxPyBeginAllowThreads();
8388 {
8389 wxString const &_result_ref = (arg1)->GetAnchor();
8390 result = (wxString *) &_result_ref;
8391 }
8392
8393 wxPyEndAllowThreads(__tstate);
8394 if (PyErr_Occurred()) SWIG_fail;
8395 }
cc6dd355
RD
8396 {
8397#if wxUSE_UNICODE
8398 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
8399#else
8400 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
8401#endif
8402 }
d14a1e28
RD
8403 return resultobj;
8404 fail:
8405 return NULL;
8406}
8407
8408
c32bde28 8409static PyObject *_wrap_FSFile_GetModificationTime(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8410 PyObject *resultobj = NULL;
d14a1e28
RD
8411 wxFSFile *arg1 = (wxFSFile *) 0 ;
8412 wxDateTime result;
8413 PyObject * obj0 = 0 ;
8414 char *kwnames[] = {
8415 (char *) "self", NULL
8416 };
8417
8418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetModificationTime",kwnames,&obj0)) goto fail;
093d3ff1
RD
8419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFSFile, SWIG_POINTER_EXCEPTION | 0);
8420 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8421 {
8422 PyThreadState* __tstate = wxPyBeginAllowThreads();
8423 result = (arg1)->GetModificationTime();
8424
8425 wxPyEndAllowThreads(__tstate);
8426 if (PyErr_Occurred()) SWIG_fail;
8427 }
8428 {
8429 wxDateTime * resultptr;
32fe5131 8430 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
15afbcd0 8431 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
8432 }
8433 return resultobj;
8434 fail:
8435 return NULL;
8436}
8437
8438
c32bde28 8439static PyObject * FSFile_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8440 PyObject *obj;
8441 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8442 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile, obj);
8443 Py_INCREF(obj);
8444 return Py_BuildValue((char *)"");
8445}
c32bde28 8446static PyObject * CPPFileSystemHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8447 PyObject *obj;
8448 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8449 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler, obj);
8450 Py_INCREF(obj);
8451 return Py_BuildValue((char *)"");
8452}
c32bde28 8453static PyObject *_wrap_new_FileSystemHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8454 PyObject *resultobj = NULL;
d14a1e28
RD
8455 wxPyFileSystemHandler *result;
8456 char *kwnames[] = {
8457 NULL
8458 };
8459
8460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystemHandler",kwnames)) goto fail;
8461 {
8462 PyThreadState* __tstate = wxPyBeginAllowThreads();
8463 result = (wxPyFileSystemHandler *)new wxPyFileSystemHandler();
8464
8465 wxPyEndAllowThreads(__tstate);
8466 if (PyErr_Occurred()) SWIG_fail;
8467 }
15afbcd0 8468 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileSystemHandler, 1);
d14a1e28
RD
8469 return resultobj;
8470 fail:
8471 return NULL;
8472}
8473
8474
c32bde28 8475static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8476 PyObject *resultobj = NULL;
d14a1e28
RD
8477 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
8478 PyObject *arg2 = (PyObject *) 0 ;
8479 PyObject *arg3 = (PyObject *) 0 ;
8480 PyObject * obj0 = 0 ;
8481 PyObject * obj1 = 0 ;
8482 PyObject * obj2 = 0 ;
8483 char *kwnames[] = {
8484 (char *) "self",(char *) "self",(char *) "_class", NULL
8485 };
8486
8487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
8489 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8490 arg2 = obj1;
8491 arg3 = obj2;
8492 {
8493 PyThreadState* __tstate = wxPyBeginAllowThreads();
8494 (arg1)->_setCallbackInfo(arg2,arg3);
8495
8496 wxPyEndAllowThreads(__tstate);
8497 if (PyErr_Occurred()) SWIG_fail;
8498 }
8499 Py_INCREF(Py_None); resultobj = Py_None;
8500 return resultobj;
8501 fail:
8502 return NULL;
8503}
8504
8505
c32bde28 8506static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8507 PyObject *resultobj = NULL;
d14a1e28
RD
8508 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
8509 wxString *arg2 = 0 ;
8510 bool result;
ae8162c8 8511 bool temp2 = false ;
d14a1e28
RD
8512 PyObject * obj0 = 0 ;
8513 PyObject * obj1 = 0 ;
8514 char *kwnames[] = {
8515 (char *) "self",(char *) "location", NULL
8516 };
8517
8518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
8520 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8521 {
8522 arg2 = wxString_in_helper(obj1);
8523 if (arg2 == NULL) SWIG_fail;
ae8162c8 8524 temp2 = true;
d14a1e28
RD
8525 }
8526 {
8527 PyThreadState* __tstate = wxPyBeginAllowThreads();
8528 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
8529
8530 wxPyEndAllowThreads(__tstate);
8531 if (PyErr_Occurred()) SWIG_fail;
8532 }
4f89f6a3
RD
8533 {
8534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8535 }
d14a1e28
RD
8536 {
8537 if (temp2)
8538 delete arg2;
8539 }
8540 return resultobj;
8541 fail:
8542 {
8543 if (temp2)
8544 delete arg2;
8545 }
8546 return NULL;
8547}
8548
8549
c32bde28 8550static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8551 PyObject *resultobj = NULL;
d14a1e28
RD
8552 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
8553 wxFileSystem *arg2 = 0 ;
8554 wxString *arg3 = 0 ;
8555 wxFSFile *result;
ae8162c8 8556 bool temp3 = false ;
d14a1e28
RD
8557 PyObject * obj0 = 0 ;
8558 PyObject * obj1 = 0 ;
8559 PyObject * obj2 = 0 ;
8560 char *kwnames[] = {
8561 (char *) "self",(char *) "fs",(char *) "location", NULL
8562 };
8563
8564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
8566 if (SWIG_arg_fail(1)) SWIG_fail;
8567 {
8568 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
8569 if (SWIG_arg_fail(2)) SWIG_fail;
8570 if (arg2 == NULL) {
8571 SWIG_null_ref("wxFileSystem");
8572 }
8573 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
8574 }
8575 {
8576 arg3 = wxString_in_helper(obj2);
8577 if (arg3 == NULL) SWIG_fail;
ae8162c8 8578 temp3 = true;
d14a1e28
RD
8579 }
8580 {
8581 PyThreadState* __tstate = wxPyBeginAllowThreads();
8582 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
8583
8584 wxPyEndAllowThreads(__tstate);
8585 if (PyErr_Occurred()) SWIG_fail;
8586 }
8587 {
7e08d4ef 8588 resultobj = wxPyMake_wxObject(result, (bool)1);
d14a1e28
RD
8589 }
8590 {
8591 if (temp3)
8592 delete arg3;
8593 }
8594 return resultobj;
8595 fail:
8596 {
8597 if (temp3)
8598 delete arg3;
8599 }
8600 return NULL;
8601}
8602
8603
c32bde28 8604static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8605 PyObject *resultobj = NULL;
d14a1e28
RD
8606 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
8607 wxString *arg2 = 0 ;
8608 int arg3 = (int) 0 ;
8609 wxString result;
ae8162c8 8610 bool temp2 = false ;
d14a1e28
RD
8611 PyObject * obj0 = 0 ;
8612 PyObject * obj1 = 0 ;
994141e6 8613 PyObject * obj2 = 0 ;
d14a1e28
RD
8614 char *kwnames[] = {
8615 (char *) "self",(char *) "spec",(char *) "flags", NULL
8616 };
8617
994141e6 8618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
8620 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8621 {
8622 arg2 = wxString_in_helper(obj1);
8623 if (arg2 == NULL) SWIG_fail;
ae8162c8 8624 temp2 = true;
d14a1e28 8625 }
994141e6 8626 if (obj2) {
093d3ff1 8627 {
32fe5131 8628 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
8629 if (SWIG_arg_fail(3)) SWIG_fail;
8630 }
994141e6 8631 }
d14a1e28
RD
8632 {
8633 PyThreadState* __tstate = wxPyBeginAllowThreads();
8634 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
8635
8636 wxPyEndAllowThreads(__tstate);
8637 if (PyErr_Occurred()) SWIG_fail;
8638 }
8639 {
8640#if wxUSE_UNICODE
8641 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8642#else
8643 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8644#endif
8645 }
8646 {
8647 if (temp2)
8648 delete arg2;
8649 }
8650 return resultobj;
8651 fail:
8652 {
8653 if (temp2)
8654 delete arg2;
8655 }
8656 return NULL;
8657}
8658
8659
c32bde28 8660static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8661 PyObject *resultobj = NULL;
d14a1e28
RD
8662 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
8663 wxString result;
8664 PyObject * obj0 = 0 ;
8665 char *kwnames[] = {
8666 (char *) "self", NULL
8667 };
8668
8669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystemHandler_FindNext",kwnames,&obj0)) goto fail;
093d3ff1
RD
8670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
8671 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8672 {
8673 PyThreadState* __tstate = wxPyBeginAllowThreads();
8674 result = (arg1)->FindNext();
8675
8676 wxPyEndAllowThreads(__tstate);
8677 if (PyErr_Occurred()) SWIG_fail;
8678 }
8679 {
8680#if wxUSE_UNICODE
8681 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8682#else
8683 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8684#endif
8685 }
8686 return resultobj;
8687 fail:
8688 return NULL;
8689}
8690
8691
c32bde28 8692static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8693 PyObject *resultobj = NULL;
d14a1e28
RD
8694 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
8695 wxString *arg2 = 0 ;
8696 wxString result;
ae8162c8 8697 bool temp2 = false ;
d14a1e28
RD
8698 PyObject * obj0 = 0 ;
8699 PyObject * obj1 = 0 ;
8700 char *kwnames[] = {
8701 (char *) "self",(char *) "location", NULL
8702 };
8703
8704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetProtocol",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
8706 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8707 {
8708 arg2 = wxString_in_helper(obj1);
8709 if (arg2 == NULL) SWIG_fail;
ae8162c8 8710 temp2 = true;
d14a1e28
RD
8711 }
8712 {
8713 PyThreadState* __tstate = wxPyBeginAllowThreads();
8714 result = (arg1)->GetProtocol((wxString const &)*arg2);
8715
8716 wxPyEndAllowThreads(__tstate);
8717 if (PyErr_Occurred()) SWIG_fail;
8718 }
8719 {
8720#if wxUSE_UNICODE
8721 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8722#else
8723 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8724#endif
8725 }
8726 {
8727 if (temp2)
8728 delete arg2;
8729 }
8730 return resultobj;
8731 fail:
8732 {
8733 if (temp2)
8734 delete arg2;
8735 }
8736 return NULL;
8737}
8738
8739
c32bde28 8740static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8741 PyObject *resultobj = NULL;
d14a1e28
RD
8742 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
8743 wxString *arg2 = 0 ;
8744 wxString result;
ae8162c8 8745 bool temp2 = false ;
d14a1e28
RD
8746 PyObject * obj0 = 0 ;
8747 PyObject * obj1 = 0 ;
8748 char *kwnames[] = {
8749 (char *) "self",(char *) "location", NULL
8750 };
8751
8752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
8754 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8755 {
8756 arg2 = wxString_in_helper(obj1);
8757 if (arg2 == NULL) SWIG_fail;
ae8162c8 8758 temp2 = true;
d14a1e28
RD
8759 }
8760 {
8761 PyThreadState* __tstate = wxPyBeginAllowThreads();
8762 result = (arg1)->GetLeftLocation((wxString const &)*arg2);
8763
8764 wxPyEndAllowThreads(__tstate);
8765 if (PyErr_Occurred()) SWIG_fail;
8766 }
8767 {
8768#if wxUSE_UNICODE
8769 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8770#else
8771 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8772#endif
8773 }
8774 {
8775 if (temp2)
8776 delete arg2;
8777 }
8778 return resultobj;
8779 fail:
8780 {
8781 if (temp2)
8782 delete arg2;
8783 }
8784 return NULL;
8785}
8786
8787
c32bde28 8788static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8789 PyObject *resultobj = NULL;
d14a1e28
RD
8790 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
8791 wxString *arg2 = 0 ;
8792 wxString result;
ae8162c8 8793 bool temp2 = false ;
d14a1e28
RD
8794 PyObject * obj0 = 0 ;
8795 PyObject * obj1 = 0 ;
8796 char *kwnames[] = {
8797 (char *) "self",(char *) "location", NULL
8798 };
8799
8800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetAnchor",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
8802 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8803 {
8804 arg2 = wxString_in_helper(obj1);
8805 if (arg2 == NULL) SWIG_fail;
ae8162c8 8806 temp2 = true;
d14a1e28
RD
8807 }
8808 {
8809 PyThreadState* __tstate = wxPyBeginAllowThreads();
8810 result = (arg1)->GetAnchor((wxString const &)*arg2);
8811
8812 wxPyEndAllowThreads(__tstate);
8813 if (PyErr_Occurred()) SWIG_fail;
8814 }
8815 {
8816#if wxUSE_UNICODE
8817 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8818#else
8819 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8820#endif
8821 }
8822 {
8823 if (temp2)
8824 delete arg2;
8825 }
8826 return resultobj;
8827 fail:
8828 {
8829 if (temp2)
8830 delete arg2;
8831 }
8832 return NULL;
8833}
8834
8835
c32bde28 8836static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8837 PyObject *resultobj = NULL;
d14a1e28
RD
8838 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
8839 wxString *arg2 = 0 ;
8840 wxString result;
ae8162c8 8841 bool temp2 = false ;
d14a1e28
RD
8842 PyObject * obj0 = 0 ;
8843 PyObject * obj1 = 0 ;
8844 char *kwnames[] = {
8845 (char *) "self",(char *) "location", NULL
8846 };
8847
8848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
8850 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8851 {
8852 arg2 = wxString_in_helper(obj1);
8853 if (arg2 == NULL) SWIG_fail;
ae8162c8 8854 temp2 = true;
d14a1e28
RD
8855 }
8856 {
8857 PyThreadState* __tstate = wxPyBeginAllowThreads();
8858 result = (arg1)->GetRightLocation((wxString const &)*arg2);
8859
8860 wxPyEndAllowThreads(__tstate);
8861 if (PyErr_Occurred()) SWIG_fail;
8862 }
8863 {
8864#if wxUSE_UNICODE
8865 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8866#else
8867 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8868#endif
8869 }
8870 {
8871 if (temp2)
8872 delete arg2;
8873 }
8874 return resultobj;
8875 fail:
8876 {
8877 if (temp2)
8878 delete arg2;
8879 }
8880 return NULL;
8881}
8882
8883
c32bde28 8884static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8885 PyObject *resultobj = NULL;
d14a1e28
RD
8886 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
8887 wxString *arg2 = 0 ;
8888 wxString result;
ae8162c8 8889 bool temp2 = false ;
d14a1e28
RD
8890 PyObject * obj0 = 0 ;
8891 PyObject * obj1 = 0 ;
8892 char *kwnames[] = {
8893 (char *) "self",(char *) "location", NULL
8894 };
8895
8896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
8898 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8899 {
8900 arg2 = wxString_in_helper(obj1);
8901 if (arg2 == NULL) SWIG_fail;
ae8162c8 8902 temp2 = true;
d14a1e28
RD
8903 }
8904 {
8905 PyThreadState* __tstate = wxPyBeginAllowThreads();
8906 result = (arg1)->GetMimeTypeFromExt((wxString const &)*arg2);
8907
8908 wxPyEndAllowThreads(__tstate);
8909 if (PyErr_Occurred()) SWIG_fail;
8910 }
8911 {
8912#if wxUSE_UNICODE
8913 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8914#else
8915 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8916#endif
8917 }
8918 {
8919 if (temp2)
8920 delete arg2;
8921 }
8922 return resultobj;
8923 fail:
8924 {
8925 if (temp2)
8926 delete arg2;
8927 }
8928 return NULL;
8929}
8930
8931
c32bde28 8932static PyObject * FileSystemHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8933 PyObject *obj;
8934 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8935 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler, obj);
8936 Py_INCREF(obj);
8937 return Py_BuildValue((char *)"");
8938}
c32bde28 8939static PyObject *_wrap_new_FileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8940 PyObject *resultobj = NULL;
d14a1e28
RD
8941 wxFileSystem *result;
8942 char *kwnames[] = {
8943 NULL
8944 };
8945
8946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystem",kwnames)) goto fail;
8947 {
8948 PyThreadState* __tstate = wxPyBeginAllowThreads();
8949 result = (wxFileSystem *)new wxFileSystem();
8950
8951 wxPyEndAllowThreads(__tstate);
8952 if (PyErr_Occurred()) SWIG_fail;
8953 }
8954 {
7e08d4ef 8955 resultobj = wxPyMake_wxObject(result, (bool)1);
d14a1e28
RD
8956 }
8957 return resultobj;
8958 fail:
8959 return NULL;
8960}
8961
8962
c32bde28 8963static PyObject *_wrap_delete_FileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8964 PyObject *resultobj = NULL;
d14a1e28
RD
8965 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
8966 PyObject * obj0 = 0 ;
8967 char *kwnames[] = {
8968 (char *) "self", NULL
8969 };
8970
8971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileSystem",kwnames,&obj0)) goto fail;
093d3ff1
RD
8972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
8973 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8974 {
8975 PyThreadState* __tstate = wxPyBeginAllowThreads();
8976 delete arg1;
8977
8978 wxPyEndAllowThreads(__tstate);
8979 if (PyErr_Occurred()) SWIG_fail;
8980 }
8981 Py_INCREF(Py_None); resultobj = Py_None;
8982 return resultobj;
8983 fail:
8984 return NULL;
8985}
8986
8987
c32bde28 8988static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8989 PyObject *resultobj = NULL;
d14a1e28
RD
8990 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
8991 wxString *arg2 = 0 ;
ae8162c8
RD
8992 bool arg3 = (bool) false ;
8993 bool temp2 = false ;
d14a1e28
RD
8994 PyObject * obj0 = 0 ;
8995 PyObject * obj1 = 0 ;
8996 PyObject * obj2 = 0 ;
8997 char *kwnames[] = {
8998 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8999 };
9000
9001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_ChangePathTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
9003 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9004 {
9005 arg2 = wxString_in_helper(obj1);
9006 if (arg2 == NULL) SWIG_fail;
ae8162c8 9007 temp2 = true;
d14a1e28
RD
9008 }
9009 if (obj2) {
093d3ff1 9010 {
32fe5131 9011 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
9012 if (SWIG_arg_fail(3)) SWIG_fail;
9013 }
d14a1e28
RD
9014 }
9015 {
9016 PyThreadState* __tstate = wxPyBeginAllowThreads();
9017 (arg1)->ChangePathTo((wxString const &)*arg2,arg3);
9018
9019 wxPyEndAllowThreads(__tstate);
9020 if (PyErr_Occurred()) SWIG_fail;
9021 }
9022 Py_INCREF(Py_None); resultobj = Py_None;
9023 {
9024 if (temp2)
9025 delete arg2;
9026 }
9027 return resultobj;
9028 fail:
9029 {
9030 if (temp2)
9031 delete arg2;
9032 }
9033 return NULL;
9034}
9035
9036
c32bde28 9037static PyObject *_wrap_FileSystem_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9038 PyObject *resultobj = NULL;
d14a1e28
RD
9039 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
9040 wxString result;
9041 PyObject * obj0 = 0 ;
9042 char *kwnames[] = {
9043 (char *) "self", NULL
9044 };
9045
9046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
9047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
9048 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9049 {
9050 PyThreadState* __tstate = wxPyBeginAllowThreads();
9051 result = (arg1)->GetPath();
9052
9053 wxPyEndAllowThreads(__tstate);
9054 if (PyErr_Occurred()) SWIG_fail;
9055 }
9056 {
9057#if wxUSE_UNICODE
9058 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9059#else
9060 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9061#endif
9062 }
9063 return resultobj;
9064 fail:
9065 return NULL;
9066}
9067
9068
c32bde28 9069static PyObject *_wrap_FileSystem_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9070 PyObject *resultobj = NULL;
d14a1e28
RD
9071 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
9072 wxString *arg2 = 0 ;
9073 wxFSFile *result;
ae8162c8 9074 bool temp2 = false ;
d14a1e28
RD
9075 PyObject * obj0 = 0 ;
9076 PyObject * obj1 = 0 ;
9077 char *kwnames[] = {
9078 (char *) "self",(char *) "location", NULL
9079 };
9080
9081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystem_OpenFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
9083 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9084 {
9085 arg2 = wxString_in_helper(obj1);
9086 if (arg2 == NULL) SWIG_fail;
ae8162c8 9087 temp2 = true;
d14a1e28
RD
9088 }
9089 {
9090 PyThreadState* __tstate = wxPyBeginAllowThreads();
9091 result = (wxFSFile *)(arg1)->OpenFile((wxString const &)*arg2);
9092
9093 wxPyEndAllowThreads(__tstate);
9094 if (PyErr_Occurred()) SWIG_fail;
9095 }
9096 {
7e08d4ef 9097 resultobj = wxPyMake_wxObject(result, (bool)1);
d14a1e28
RD
9098 }
9099 {
9100 if (temp2)
9101 delete arg2;
9102 }
9103 return resultobj;
9104 fail:
9105 {
9106 if (temp2)
9107 delete arg2;
9108 }
9109 return NULL;
9110}
9111
9112
c32bde28 9113static PyObject *_wrap_FileSystem_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9114 PyObject *resultobj = NULL;
d14a1e28
RD
9115 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
9116 wxString *arg2 = 0 ;
9117 int arg3 = (int) 0 ;
9118 wxString result;
ae8162c8 9119 bool temp2 = false ;
d14a1e28
RD
9120 PyObject * obj0 = 0 ;
9121 PyObject * obj1 = 0 ;
994141e6 9122 PyObject * obj2 = 0 ;
d14a1e28
RD
9123 char *kwnames[] = {
9124 (char *) "self",(char *) "spec",(char *) "flags", NULL
9125 };
9126
994141e6 9127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
9129 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9130 {
9131 arg2 = wxString_in_helper(obj1);
9132 if (arg2 == NULL) SWIG_fail;
ae8162c8 9133 temp2 = true;
d14a1e28 9134 }
994141e6 9135 if (obj2) {
093d3ff1 9136 {
32fe5131 9137 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
9138 if (SWIG_arg_fail(3)) SWIG_fail;
9139 }
994141e6 9140 }
d14a1e28
RD
9141 {
9142 PyThreadState* __tstate = wxPyBeginAllowThreads();
9143 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
9144
9145 wxPyEndAllowThreads(__tstate);
9146 if (PyErr_Occurred()) SWIG_fail;
9147 }
9148 {
9149#if wxUSE_UNICODE
9150 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9151#else
9152 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9153#endif
9154 }
9155 {
9156 if (temp2)
9157 delete arg2;
9158 }
9159 return resultobj;
9160 fail:
9161 {
9162 if (temp2)
9163 delete arg2;
9164 }
9165 return NULL;
9166}
9167
9168
c32bde28 9169static PyObject *_wrap_FileSystem_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9170 PyObject *resultobj = NULL;
d14a1e28
RD
9171 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
9172 wxString result;
9173 PyObject * obj0 = 0 ;
9174 char *kwnames[] = {
9175 (char *) "self", NULL
9176 };
9177
9178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FindNext",kwnames,&obj0)) goto fail;
093d3ff1
RD
9179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
9180 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9181 {
9182 PyThreadState* __tstate = wxPyBeginAllowThreads();
9183 result = (arg1)->FindNext();
9184
9185 wxPyEndAllowThreads(__tstate);
9186 if (PyErr_Occurred()) SWIG_fail;
9187 }
9188 {
9189#if wxUSE_UNICODE
9190 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9191#else
9192 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9193#endif
9194 }
9195 return resultobj;
9196 fail:
9197 return NULL;
9198}
9199
9200
c32bde28 9201static PyObject *_wrap_FileSystem_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9202 PyObject *resultobj = NULL;
d14a1e28
RD
9203 wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ;
9204 PyObject * obj0 = 0 ;
9205 char *kwnames[] = {
9206 (char *) "handler", NULL
9207 };
9208
9209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_AddHandler",kwnames,&obj0)) goto fail;
093d3ff1
RD
9210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileSystemHandler, SWIG_POINTER_EXCEPTION | 0);
9211 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9212 {
9213 PyThreadState* __tstate = wxPyBeginAllowThreads();
9214 wxFileSystem::AddHandler(arg1);
9215
9216 wxPyEndAllowThreads(__tstate);
9217 if (PyErr_Occurred()) SWIG_fail;
9218 }
9219 Py_INCREF(Py_None); resultobj = Py_None;
9220 return resultobj;
9221 fail:
9222 return NULL;
9223}
9224
9225
c32bde28 9226static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9227 PyObject *resultobj = NULL;
d14a1e28
RD
9228 char *kwnames[] = {
9229 NULL
9230 };
9231
9232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FileSystem_CleanUpHandlers",kwnames)) goto fail;
9233 {
9234 PyThreadState* __tstate = wxPyBeginAllowThreads();
9235 wxFileSystem::CleanUpHandlers();
9236
9237 wxPyEndAllowThreads(__tstate);
9238 if (PyErr_Occurred()) SWIG_fail;
9239 }
9240 Py_INCREF(Py_None); resultobj = Py_None;
9241 return resultobj;
9242 fail:
9243 return NULL;
9244}
9245
9246
c32bde28 9247static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9248 PyObject *resultobj = NULL;
d14a1e28
RD
9249 wxString *arg1 = 0 ;
9250 wxString result;
ae8162c8 9251 bool temp1 = false ;
d14a1e28
RD
9252 PyObject * obj0 = 0 ;
9253 char *kwnames[] = {
9254 (char *) "filename", NULL
9255 };
9256
9257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FileNameToURL",kwnames,&obj0)) goto fail;
9258 {
9259 arg1 = wxString_in_helper(obj0);
9260 if (arg1 == NULL) SWIG_fail;
ae8162c8 9261 temp1 = true;
d14a1e28
RD
9262 }
9263 {
9264 PyThreadState* __tstate = wxPyBeginAllowThreads();
9265 result = wxFileSystem::FileNameToURL((wxString const &)*arg1);
9266
9267 wxPyEndAllowThreads(__tstate);
9268 if (PyErr_Occurred()) SWIG_fail;
9269 }
9270 {
9271#if wxUSE_UNICODE
9272 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9273#else
9274 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9275#endif
9276 }
9277 {
9278 if (temp1)
9279 delete arg1;
9280 }
9281 return resultobj;
9282 fail:
9283 {
9284 if (temp1)
9285 delete arg1;
9286 }
9287 return NULL;
9288}
9289
9290
c32bde28 9291static PyObject *_wrap_FileSystem_URLToFileName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9292 PyObject *resultobj = NULL;
d14a1e28
RD
9293 wxString *arg1 = 0 ;
9294 wxString result;
ae8162c8 9295 bool temp1 = false ;
d14a1e28
RD
9296 PyObject * obj0 = 0 ;
9297 char *kwnames[] = {
9298 (char *) "url", NULL
9299 };
9300
9301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_URLToFileName",kwnames,&obj0)) goto fail;
9302 {
9303 arg1 = wxString_in_helper(obj0);
9304 if (arg1 == NULL) SWIG_fail;
ae8162c8 9305 temp1 = true;
d14a1e28
RD
9306 }
9307 {
9308 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 9309 result = wxFileSystem_URLToFileName((wxString const &)*arg1);
d14a1e28
RD
9310
9311 wxPyEndAllowThreads(__tstate);
9312 if (PyErr_Occurred()) SWIG_fail;
9313 }
9314 {
9315#if wxUSE_UNICODE
9316 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9317#else
9318 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9319#endif
9320 }
9321 {
9322 if (temp1)
9323 delete arg1;
9324 }
9325 return resultobj;
9326 fail:
9327 {
9328 if (temp1)
9329 delete arg1;
9330 }
9331 return NULL;
9332}
9333
9334
2ef75293
RD
9335static PyObject * FileSystem_swigregister(PyObject *, PyObject *args) {
9336 PyObject *obj;
9337 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9338 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem, obj);
9339 Py_INCREF(obj);
9340 return Py_BuildValue((char *)"");
9341}
c32bde28 9342static PyObject *_wrap_new_InternetFSHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9343 PyObject *resultobj = NULL;
d14a1e28
RD
9344 wxInternetFSHandler *result;
9345 char *kwnames[] = {
9346 NULL
9347 };
9348
9349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_InternetFSHandler",kwnames)) goto fail;
9350 {
9351 PyThreadState* __tstate = wxPyBeginAllowThreads();
9352 result = (wxInternetFSHandler *)new wxInternetFSHandler();
9353
9354 wxPyEndAllowThreads(__tstate);
9355 if (PyErr_Occurred()) SWIG_fail;
9356 }
15afbcd0 9357 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInternetFSHandler, 1);
d14a1e28
RD
9358 return resultobj;
9359 fail:
9360 return NULL;
9361}
9362
9363
c32bde28 9364static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9365 PyObject *resultobj = NULL;
d14a1e28
RD
9366 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
9367 wxString *arg2 = 0 ;
9368 bool result;
ae8162c8 9369 bool temp2 = false ;
d14a1e28
RD
9370 PyObject * obj0 = 0 ;
9371 PyObject * obj1 = 0 ;
9372 char *kwnames[] = {
9373 (char *) "self",(char *) "location", NULL
9374 };
9375
9376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InternetFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxInternetFSHandler, SWIG_POINTER_EXCEPTION | 0);
9378 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9379 {
9380 arg2 = wxString_in_helper(obj1);
9381 if (arg2 == NULL) SWIG_fail;
ae8162c8 9382 temp2 = true;
d14a1e28
RD
9383 }
9384 {
9385 PyThreadState* __tstate = wxPyBeginAllowThreads();
9386 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
9387
9388 wxPyEndAllowThreads(__tstate);
9389 if (PyErr_Occurred()) SWIG_fail;
9390 }
4f89f6a3
RD
9391 {
9392 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9393 }
d14a1e28
RD
9394 {
9395 if (temp2)
9396 delete arg2;
9397 }
9398 return resultobj;
9399 fail:
9400 {
9401 if (temp2)
9402 delete arg2;
9403 }
9404 return NULL;
9405}
9406
9407
c32bde28 9408static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9409 PyObject *resultobj = NULL;
d14a1e28
RD
9410 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
9411 wxFileSystem *arg2 = 0 ;
9412 wxString *arg3 = 0 ;
9413 wxFSFile *result;
ae8162c8 9414 bool temp3 = false ;
d14a1e28
RD
9415 PyObject * obj0 = 0 ;
9416 PyObject * obj1 = 0 ;
9417 PyObject * obj2 = 0 ;
9418 char *kwnames[] = {
9419 (char *) "self",(char *) "fs",(char *) "location", NULL
9420 };
9421
9422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:InternetFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxInternetFSHandler, SWIG_POINTER_EXCEPTION | 0);
9424 if (SWIG_arg_fail(1)) SWIG_fail;
9425 {
9426 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
9427 if (SWIG_arg_fail(2)) SWIG_fail;
9428 if (arg2 == NULL) {
9429 SWIG_null_ref("wxFileSystem");
9430 }
9431 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
9432 }
9433 {
9434 arg3 = wxString_in_helper(obj2);
9435 if (arg3 == NULL) SWIG_fail;
ae8162c8 9436 temp3 = true;
d14a1e28
RD
9437 }
9438 {
9439 PyThreadState* __tstate = wxPyBeginAllowThreads();
9440 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
9441
9442 wxPyEndAllowThreads(__tstate);
9443 if (PyErr_Occurred()) SWIG_fail;
9444 }
9445 {
7e08d4ef 9446 resultobj = wxPyMake_wxObject(result, (bool)1);
d14a1e28
RD
9447 }
9448 {
9449 if (temp3)
9450 delete arg3;
9451 }
9452 return resultobj;
9453 fail:
9454 {
9455 if (temp3)
9456 delete arg3;
9457 }
9458 return NULL;
9459}
9460
9461
c32bde28 9462static PyObject * InternetFSHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9463 PyObject *obj;
9464 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9465 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler, obj);
9466 Py_INCREF(obj);
9467 return Py_BuildValue((char *)"");
9468}
c32bde28 9469static PyObject *_wrap_new_ZipFSHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9470 PyObject *resultobj = NULL;
d14a1e28
RD
9471 wxZipFSHandler *result;
9472 char *kwnames[] = {
9473 NULL
9474 };
9475
9476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ZipFSHandler",kwnames)) goto fail;
9477 {
9478 PyThreadState* __tstate = wxPyBeginAllowThreads();
9479 result = (wxZipFSHandler *)new wxZipFSHandler();
9480
9481 wxPyEndAllowThreads(__tstate);
9482 if (PyErr_Occurred()) SWIG_fail;
9483 }
15afbcd0 9484 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxZipFSHandler, 1);
d14a1e28
RD
9485 return resultobj;
9486 fail:
9487 return NULL;
9488}
9489
9490
c32bde28 9491static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9492 PyObject *resultobj = NULL;
d14a1e28
RD
9493 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
9494 wxString *arg2 = 0 ;
9495 bool result;
ae8162c8 9496 bool temp2 = false ;
d14a1e28
RD
9497 PyObject * obj0 = 0 ;
9498 PyObject * obj1 = 0 ;
9499 char *kwnames[] = {
9500 (char *) "self",(char *) "location", NULL
9501 };
9502
9503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ZipFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxZipFSHandler, SWIG_POINTER_EXCEPTION | 0);
9505 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9506 {
9507 arg2 = wxString_in_helper(obj1);
9508 if (arg2 == NULL) SWIG_fail;
ae8162c8 9509 temp2 = true;
d14a1e28
RD
9510 }
9511 {
9512 PyThreadState* __tstate = wxPyBeginAllowThreads();
9513 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
9514
9515 wxPyEndAllowThreads(__tstate);
9516 if (PyErr_Occurred()) SWIG_fail;
9517 }
4f89f6a3
RD
9518 {
9519 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9520 }
d14a1e28
RD
9521 {
9522 if (temp2)
9523 delete arg2;
9524 }
9525 return resultobj;
9526 fail:
9527 {
9528 if (temp2)
9529 delete arg2;
9530 }
9531 return NULL;
9532}
9533
9534
c32bde28 9535static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9536 PyObject *resultobj = NULL;
d14a1e28
RD
9537 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
9538 wxFileSystem *arg2 = 0 ;
9539 wxString *arg3 = 0 ;
9540 wxFSFile *result;
ae8162c8 9541 bool temp3 = false ;
d14a1e28
RD
9542 PyObject * obj0 = 0 ;
9543 PyObject * obj1 = 0 ;
9544 PyObject * obj2 = 0 ;
9545 char *kwnames[] = {
9546 (char *) "self",(char *) "fs",(char *) "location", NULL
9547 };
9548
9549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ZipFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxZipFSHandler, SWIG_POINTER_EXCEPTION | 0);
9551 if (SWIG_arg_fail(1)) SWIG_fail;
9552 {
9553 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
9554 if (SWIG_arg_fail(2)) SWIG_fail;
9555 if (arg2 == NULL) {
9556 SWIG_null_ref("wxFileSystem");
9557 }
9558 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
9559 }
9560 {
9561 arg3 = wxString_in_helper(obj2);
9562 if (arg3 == NULL) SWIG_fail;
ae8162c8 9563 temp3 = true;
d14a1e28
RD
9564 }
9565 {
9566 PyThreadState* __tstate = wxPyBeginAllowThreads();
9567 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
9568
9569 wxPyEndAllowThreads(__tstate);
9570 if (PyErr_Occurred()) SWIG_fail;
9571 }
9572 {
7e08d4ef 9573 resultobj = wxPyMake_wxObject(result, (bool)1);
d14a1e28
RD
9574 }
9575 {
9576 if (temp3)
9577 delete arg3;
9578 }
9579 return resultobj;
9580 fail:
9581 {
9582 if (temp3)
9583 delete arg3;
9584 }
9585 return NULL;
9586}
9587
9588
c32bde28 9589static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9590 PyObject *resultobj = NULL;
d14a1e28
RD
9591 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
9592 wxString *arg2 = 0 ;
9593 int arg3 = (int) 0 ;
9594 wxString result;
ae8162c8 9595 bool temp2 = false ;
d14a1e28
RD
9596 PyObject * obj0 = 0 ;
9597 PyObject * obj1 = 0 ;
994141e6 9598 PyObject * obj2 = 0 ;
d14a1e28
RD
9599 char *kwnames[] = {
9600 (char *) "self",(char *) "spec",(char *) "flags", NULL
9601 };
9602
994141e6 9603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxZipFSHandler, SWIG_POINTER_EXCEPTION | 0);
9605 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9606 {
9607 arg2 = wxString_in_helper(obj1);
9608 if (arg2 == NULL) SWIG_fail;
ae8162c8 9609 temp2 = true;
d14a1e28 9610 }
994141e6 9611 if (obj2) {
093d3ff1 9612 {
32fe5131 9613 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
9614 if (SWIG_arg_fail(3)) SWIG_fail;
9615 }
994141e6 9616 }
d14a1e28
RD
9617 {
9618 PyThreadState* __tstate = wxPyBeginAllowThreads();
9619 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
9620
9621 wxPyEndAllowThreads(__tstate);
9622 if (PyErr_Occurred()) SWIG_fail;
9623 }
9624 {
9625#if wxUSE_UNICODE
9626 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9627#else
9628 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9629#endif
9630 }
9631 {
9632 if (temp2)
9633 delete arg2;
9634 }
9635 return resultobj;
9636 fail:
9637 {
9638 if (temp2)
9639 delete arg2;
9640 }
9641 return NULL;
9642}
9643
9644
c32bde28 9645static PyObject *_wrap_ZipFSHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9646 PyObject *resultobj = NULL;
d14a1e28
RD
9647 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
9648 wxString result;
9649 PyObject * obj0 = 0 ;
9650 char *kwnames[] = {
9651 (char *) "self", NULL
9652 };
9653
9654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ZipFSHandler_FindNext",kwnames,&obj0)) goto fail;
093d3ff1
RD
9655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxZipFSHandler, SWIG_POINTER_EXCEPTION | 0);
9656 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9657 {
9658 PyThreadState* __tstate = wxPyBeginAllowThreads();
9659 result = (arg1)->FindNext();
9660
9661 wxPyEndAllowThreads(__tstate);
9662 if (PyErr_Occurred()) SWIG_fail;
9663 }
9664 {
9665#if wxUSE_UNICODE
9666 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9667#else
9668 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9669#endif
9670 }
9671 return resultobj;
9672 fail:
9673 return NULL;
9674}
9675
9676
c32bde28 9677static PyObject * ZipFSHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9678 PyObject *obj;
9679 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9680 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler, obj);
9681 Py_INCREF(obj);
9682 return Py_BuildValue((char *)"");
9683}
c32bde28 9684static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9685 PyObject *resultobj = NULL;
d14a1e28
RD
9686 wxString *arg1 = 0 ;
9687 wxImage *arg2 = 0 ;
9688 long arg3 ;
ae8162c8 9689 bool temp1 = false ;
d14a1e28
RD
9690 PyObject * obj0 = 0 ;
9691 PyObject * obj1 = 0 ;
994141e6 9692 PyObject * obj2 = 0 ;
d14a1e28
RD
9693 char *kwnames[] = {
9694 (char *) "filename",(char *) "image",(char *) "type", NULL
9695 };
9696
994141e6 9697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
9698 {
9699 arg1 = wxString_in_helper(obj0);
9700 if (arg1 == NULL) SWIG_fail;
ae8162c8 9701 temp1 = true;
d14a1e28 9702 }
093d3ff1
RD
9703 {
9704 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
9705 if (SWIG_arg_fail(2)) SWIG_fail;
9706 if (arg2 == NULL) {
9707 SWIG_null_ref("wxImage");
9708 }
9709 if (SWIG_arg_fail(2)) SWIG_fail;
9710 }
9711 {
32fe5131 9712 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1 9713 if (SWIG_arg_fail(3)) SWIG_fail;
994141e6 9714 }
d14a1e28
RD
9715 {
9716 PyThreadState* __tstate = wxPyBeginAllowThreads();
9717 __wxMemoryFSHandler_AddFile_wxImage((wxString const &)*arg1,*arg2,arg3);
9718
9719 wxPyEndAllowThreads(__tstate);
9720 if (PyErr_Occurred()) SWIG_fail;
9721 }
9722 Py_INCREF(Py_None); resultobj = Py_None;
9723 {
9724 if (temp1)
9725 delete arg1;
9726 }
9727 return resultobj;
9728 fail:
9729 {
9730 if (temp1)
9731 delete arg1;
9732 }
9733 return NULL;
9734}
9735
9736
c32bde28 9737static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9738 PyObject *resultobj = NULL;
d14a1e28
RD
9739 wxString *arg1 = 0 ;
9740 wxBitmap *arg2 = 0 ;
9741 long arg3 ;
ae8162c8 9742 bool temp1 = false ;
d14a1e28
RD
9743 PyObject * obj0 = 0 ;
9744 PyObject * obj1 = 0 ;
994141e6 9745 PyObject * obj2 = 0 ;
d14a1e28
RD
9746 char *kwnames[] = {
9747 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9748 };
9749
994141e6 9750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
9751 {
9752 arg1 = wxString_in_helper(obj0);
9753 if (arg1 == NULL) SWIG_fail;
ae8162c8 9754 temp1 = true;
d14a1e28 9755 }
093d3ff1
RD
9756 {
9757 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
9758 if (SWIG_arg_fail(2)) SWIG_fail;
9759 if (arg2 == NULL) {
9760 SWIG_null_ref("wxBitmap");
9761 }
9762 if (SWIG_arg_fail(2)) SWIG_fail;
9763 }
9764 {
32fe5131 9765 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1 9766 if (SWIG_arg_fail(3)) SWIG_fail;
994141e6 9767 }
d14a1e28
RD
9768 {
9769 PyThreadState* __tstate = wxPyBeginAllowThreads();
9770 __wxMemoryFSHandler_AddFile_wxBitmap((wxString const &)*arg1,(wxBitmap const &)*arg2,arg3);
9771
9772 wxPyEndAllowThreads(__tstate);
9773 if (PyErr_Occurred()) SWIG_fail;
9774 }
9775 Py_INCREF(Py_None); resultobj = Py_None;
9776 {
9777 if (temp1)
9778 delete arg1;
9779 }
9780 return resultobj;
9781 fail:
9782 {
9783 if (temp1)
9784 delete arg1;
9785 }
9786 return NULL;
9787}
9788
9789
c32bde28 9790static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9791 PyObject *resultobj = NULL;
d14a1e28
RD
9792 wxString *arg1 = 0 ;
9793 PyObject *arg2 = (PyObject *) 0 ;
ae8162c8 9794 bool temp1 = false ;
d14a1e28
RD
9795 PyObject * obj0 = 0 ;
9796 PyObject * obj1 = 0 ;
9797 char *kwnames[] = {
9798 (char *) "filename",(char *) "data", NULL
9799 };
9800
9801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames,&obj0,&obj1)) goto fail;
9802 {
9803 arg1 = wxString_in_helper(obj0);
9804 if (arg1 == NULL) SWIG_fail;
ae8162c8 9805 temp1 = true;
d14a1e28
RD
9806 }
9807 arg2 = obj1;
9808 {
9809 PyThreadState* __tstate = wxPyBeginAllowThreads();
9810 __wxMemoryFSHandler_AddFile_Data((wxString const &)*arg1,arg2);
9811
9812 wxPyEndAllowThreads(__tstate);
9813 if (PyErr_Occurred()) SWIG_fail;
9814 }
9815 Py_INCREF(Py_None); resultobj = Py_None;
9816 {
9817 if (temp1)
9818 delete arg1;
9819 }
9820 return resultobj;
9821 fail:
9822 {
9823 if (temp1)
9824 delete arg1;
9825 }
9826 return NULL;
9827}
9828
9829
c32bde28 9830static PyObject *_wrap_new_MemoryFSHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9831 PyObject *resultobj = NULL;
d14a1e28
RD
9832 wxMemoryFSHandler *result;
9833 char *kwnames[] = {
9834 NULL
9835 };
9836
9837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryFSHandler",kwnames)) goto fail;
9838 {
9839 PyThreadState* __tstate = wxPyBeginAllowThreads();
9840 result = (wxMemoryFSHandler *)new wxMemoryFSHandler();
9841
9842 wxPyEndAllowThreads(__tstate);
9843 if (PyErr_Occurred()) SWIG_fail;
9844 }
15afbcd0 9845 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryFSHandler, 1);
d14a1e28
RD
9846 return resultobj;
9847 fail:
9848 return NULL;
9849}
9850
9851
c32bde28 9852static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9853 PyObject *resultobj = NULL;
d14a1e28 9854 wxString *arg1 = 0 ;
ae8162c8 9855 bool temp1 = false ;
d14a1e28
RD
9856 PyObject * obj0 = 0 ;
9857 char *kwnames[] = {
9858 (char *) "filename", NULL
9859 };
9860
9861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_RemoveFile",kwnames,&obj0)) goto fail;
9862 {
9863 arg1 = wxString_in_helper(obj0);
9864 if (arg1 == NULL) SWIG_fail;
ae8162c8 9865 temp1 = true;
d14a1e28
RD
9866 }
9867 {
9868 PyThreadState* __tstate = wxPyBeginAllowThreads();
9869 wxMemoryFSHandler::RemoveFile((wxString const &)*arg1);
9870
9871 wxPyEndAllowThreads(__tstate);
9872 if (PyErr_Occurred()) SWIG_fail;
9873 }
9874 Py_INCREF(Py_None); resultobj = Py_None;
9875 {
9876 if (temp1)
9877 delete arg1;
9878 }
9879 return resultobj;
9880 fail:
9881 {
9882 if (temp1)
9883 delete arg1;
9884 }
9885 return NULL;
9886}
9887
9888
c32bde28 9889static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9890 PyObject *resultobj = NULL;
d14a1e28
RD
9891 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
9892 wxString *arg2 = 0 ;
9893 bool result;
ae8162c8 9894 bool temp2 = false ;
d14a1e28
RD
9895 PyObject * obj0 = 0 ;
9896 PyObject * obj1 = 0 ;
9897 char *kwnames[] = {
9898 (char *) "self",(char *) "location", NULL
9899 };
9900
9901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMemoryFSHandler, SWIG_POINTER_EXCEPTION | 0);
9903 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9904 {
9905 arg2 = wxString_in_helper(obj1);
9906 if (arg2 == NULL) SWIG_fail;
ae8162c8 9907 temp2 = true;
d14a1e28
RD
9908 }
9909 {
9910 PyThreadState* __tstate = wxPyBeginAllowThreads();
9911 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
9912
9913 wxPyEndAllowThreads(__tstate);
9914 if (PyErr_Occurred()) SWIG_fail;
9915 }
4f89f6a3
RD
9916 {
9917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9918 }
d14a1e28
RD
9919 {
9920 if (temp2)
9921 delete arg2;
9922 }
9923 return resultobj;
9924 fail:
9925 {
9926 if (temp2)
9927 delete arg2;
9928 }
9929 return NULL;
9930}
9931
9932
c32bde28 9933static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9934 PyObject *resultobj = NULL;
d14a1e28
RD
9935 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
9936 wxFileSystem *arg2 = 0 ;
9937 wxString *arg3 = 0 ;
9938 wxFSFile *result;
ae8162c8 9939 bool temp3 = false ;
d14a1e28
RD
9940 PyObject * obj0 = 0 ;
9941 PyObject * obj1 = 0 ;
9942 PyObject * obj2 = 0 ;
9943 char *kwnames[] = {
9944 (char *) "self",(char *) "fs",(char *) "location", NULL
9945 };
9946
9947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMemoryFSHandler, SWIG_POINTER_EXCEPTION | 0);
9949 if (SWIG_arg_fail(1)) SWIG_fail;
9950 {
9951 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0);
9952 if (SWIG_arg_fail(2)) SWIG_fail;
9953 if (arg2 == NULL) {
9954 SWIG_null_ref("wxFileSystem");
9955 }
9956 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
9957 }
9958 {
9959 arg3 = wxString_in_helper(obj2);
9960 if (arg3 == NULL) SWIG_fail;
ae8162c8 9961 temp3 = true;
d14a1e28
RD
9962 }
9963 {
9964 PyThreadState* __tstate = wxPyBeginAllowThreads();
9965 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
9966
9967 wxPyEndAllowThreads(__tstate);
9968 if (PyErr_Occurred()) SWIG_fail;
9969 }
9970 {
7e08d4ef 9971 resultobj = wxPyMake_wxObject(result, (bool)1);
d14a1e28
RD
9972 }
9973 {
9974 if (temp3)
9975 delete arg3;
9976 }
9977 return resultobj;
9978 fail:
9979 {
9980 if (temp3)
9981 delete arg3;
9982 }
9983 return NULL;
9984}
9985
9986
c32bde28 9987static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9988 PyObject *resultobj = NULL;
d14a1e28
RD
9989 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
9990 wxString *arg2 = 0 ;
9991 int arg3 = (int) 0 ;
9992 wxString result;
ae8162c8 9993 bool temp2 = false ;
d14a1e28
RD
9994 PyObject * obj0 = 0 ;
9995 PyObject * obj1 = 0 ;
994141e6 9996 PyObject * obj2 = 0 ;
d14a1e28
RD
9997 char *kwnames[] = {
9998 (char *) "self",(char *) "spec",(char *) "flags", NULL
9999 };
10000
994141e6 10001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMemoryFSHandler, SWIG_POINTER_EXCEPTION | 0);
10003 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10004 {
10005 arg2 = wxString_in_helper(obj1);
10006 if (arg2 == NULL) SWIG_fail;
ae8162c8 10007 temp2 = true;
d14a1e28 10008 }
994141e6 10009 if (obj2) {
093d3ff1 10010 {
32fe5131 10011 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
10012 if (SWIG_arg_fail(3)) SWIG_fail;
10013 }
994141e6 10014 }
d14a1e28
RD
10015 {
10016 PyThreadState* __tstate = wxPyBeginAllowThreads();
10017 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
10018
10019 wxPyEndAllowThreads(__tstate);
10020 if (PyErr_Occurred()) SWIG_fail;
10021 }
10022 {
10023#if wxUSE_UNICODE
10024 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10025#else
10026 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10027#endif
10028 }
10029 {
10030 if (temp2)
10031 delete arg2;
10032 }
10033 return resultobj;
10034 fail:
10035 {
10036 if (temp2)
10037 delete arg2;
10038 }
10039 return NULL;
10040}
10041
10042
c32bde28 10043static PyObject *_wrap_MemoryFSHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10044 PyObject *resultobj = NULL;
d14a1e28
RD
10045 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
10046 wxString result;
10047 PyObject * obj0 = 0 ;
10048 char *kwnames[] = {
10049 (char *) "self", NULL
10050 };
10051
10052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_FindNext",kwnames,&obj0)) goto fail;
093d3ff1
RD
10053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMemoryFSHandler, SWIG_POINTER_EXCEPTION | 0);
10054 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10055 {
10056 PyThreadState* __tstate = wxPyBeginAllowThreads();
10057 result = (arg1)->FindNext();
10058
10059 wxPyEndAllowThreads(__tstate);
10060 if (PyErr_Occurred()) SWIG_fail;
10061 }
10062 {
10063#if wxUSE_UNICODE
10064 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10065#else
10066 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10067#endif
10068 }
10069 return resultobj;
10070 fail:
10071 return NULL;
10072}
10073
10074
c32bde28 10075static PyObject * MemoryFSHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10076 PyObject *obj;
10077 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10078 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler, obj);
10079 Py_INCREF(obj);
10080 return Py_BuildValue((char *)"");
10081}
c32bde28 10082static PyObject *_wrap_ImageHandler_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10083 PyObject *resultobj = NULL;
d14a1e28
RD
10084 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
10085 wxString result;
10086 PyObject * obj0 = 0 ;
10087 char *kwnames[] = {
10088 (char *) "self", NULL
10089 };
10090
10091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetName",kwnames,&obj0)) goto fail;
093d3ff1
RD
10092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
10093 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10094 {
10095 PyThreadState* __tstate = wxPyBeginAllowThreads();
10096 result = (arg1)->GetName();
10097
10098 wxPyEndAllowThreads(__tstate);
10099 if (PyErr_Occurred()) SWIG_fail;
10100 }
10101 {
10102#if wxUSE_UNICODE
10103 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10104#else
10105 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10106#endif
10107 }
10108 return resultobj;
10109 fail:
10110 return NULL;
10111}
10112
10113
c32bde28 10114static PyObject *_wrap_ImageHandler_GetExtension(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10115 PyObject *resultobj = NULL;
d14a1e28
RD
10116 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
10117 wxString result;
10118 PyObject * obj0 = 0 ;
10119 char *kwnames[] = {
10120 (char *) "self", NULL
10121 };
10122
10123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetExtension",kwnames,&obj0)) goto fail;
093d3ff1
RD
10124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
10125 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10126 {
10127 PyThreadState* __tstate = wxPyBeginAllowThreads();
10128 result = (arg1)->GetExtension();
10129
10130 wxPyEndAllowThreads(__tstate);
10131 if (PyErr_Occurred()) SWIG_fail;
10132 }
10133 {
10134#if wxUSE_UNICODE
10135 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10136#else
10137 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10138#endif
10139 }
10140 return resultobj;
10141 fail:
10142 return NULL;
10143}
10144
10145
c32bde28 10146static PyObject *_wrap_ImageHandler_GetType(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10147 PyObject *resultobj = NULL;
d14a1e28
RD
10148 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
10149 long result;
10150 PyObject * obj0 = 0 ;
10151 char *kwnames[] = {
10152 (char *) "self", NULL
10153 };
10154
10155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetType",kwnames,&obj0)) goto fail;
093d3ff1
RD
10156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
10157 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10158 {
10159 PyThreadState* __tstate = wxPyBeginAllowThreads();
10160 result = (long)(arg1)->GetType();
10161
10162 wxPyEndAllowThreads(__tstate);
10163 if (PyErr_Occurred()) SWIG_fail;
10164 }
093d3ff1 10165 {
32fe5131 10166 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 10167 }
d14a1e28
RD
10168 return resultobj;
10169 fail:
10170 return NULL;
10171}
10172
10173
c32bde28 10174static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10175 PyObject *resultobj = NULL;
d14a1e28
RD
10176 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
10177 wxString result;
10178 PyObject * obj0 = 0 ;
10179 char *kwnames[] = {
10180 (char *) "self", NULL
10181 };
10182
10183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetMimeType",kwnames,&obj0)) goto fail;
093d3ff1
RD
10184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
10185 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10186 {
10187 PyThreadState* __tstate = wxPyBeginAllowThreads();
10188 result = (arg1)->GetMimeType();
10189
10190 wxPyEndAllowThreads(__tstate);
10191 if (PyErr_Occurred()) SWIG_fail;
10192 }
10193 {
10194#if wxUSE_UNICODE
10195 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10196#else
10197 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10198#endif
10199 }
10200 return resultobj;
10201 fail:
10202 return NULL;
10203}
10204
10205
c32bde28 10206static PyObject *_wrap_ImageHandler_CanRead(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10207 PyObject *resultobj = NULL;
d14a1e28
RD
10208 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
10209 wxString *arg2 = 0 ;
10210 bool result;
ae8162c8 10211 bool temp2 = false ;
d14a1e28
RD
10212 PyObject * obj0 = 0 ;
10213 PyObject * obj1 = 0 ;
10214 char *kwnames[] = {
10215 (char *) "self",(char *) "name", NULL
10216 };
10217
10218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_CanRead",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
10220 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10221 {
10222 arg2 = wxString_in_helper(obj1);
10223 if (arg2 == NULL) SWIG_fail;
ae8162c8 10224 temp2 = true;
d14a1e28
RD
10225 }
10226 {
10227 PyThreadState* __tstate = wxPyBeginAllowThreads();
10228 result = (bool)(arg1)->CanRead((wxString const &)*arg2);
10229
10230 wxPyEndAllowThreads(__tstate);
10231 if (PyErr_Occurred()) SWIG_fail;
10232 }
4f89f6a3
RD
10233 {
10234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10235 }
d14a1e28
RD
10236 {
10237 if (temp2)
10238 delete arg2;
10239 }
10240 return resultobj;
10241 fail:
10242 {
10243 if (temp2)
10244 delete arg2;
10245 }
10246 return NULL;
10247}
10248
10249
c32bde28 10250static PyObject *_wrap_ImageHandler_SetName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10251 PyObject *resultobj = NULL;
d14a1e28
RD
10252 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
10253 wxString *arg2 = 0 ;
ae8162c8 10254 bool temp2 = false ;
d14a1e28
RD
10255 PyObject * obj0 = 0 ;
10256 PyObject * obj1 = 0 ;
10257 char *kwnames[] = {
10258 (char *) "self",(char *) "name", NULL
10259 };
10260
10261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
10263 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10264 {
10265 arg2 = wxString_in_helper(obj1);
10266 if (arg2 == NULL) SWIG_fail;
ae8162c8 10267 temp2 = true;
d14a1e28
RD
10268 }
10269 {
10270 PyThreadState* __tstate = wxPyBeginAllowThreads();
10271 (arg1)->SetName((wxString const &)*arg2);
10272
10273 wxPyEndAllowThreads(__tstate);
10274 if (PyErr_Occurred()) SWIG_fail;
10275 }
10276 Py_INCREF(Py_None); resultobj = Py_None;
10277 {
10278 if (temp2)
10279 delete arg2;
10280 }
10281 return resultobj;
10282 fail:
10283 {
10284 if (temp2)
10285 delete arg2;
10286 }
10287 return NULL;
10288}
10289
10290
c32bde28 10291static PyObject *_wrap_ImageHandler_SetExtension(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10292 PyObject *resultobj = NULL;
d14a1e28
RD
10293 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
10294 wxString *arg2 = 0 ;
ae8162c8 10295 bool temp2 = false ;
d14a1e28
RD
10296 PyObject * obj0 = 0 ;
10297 PyObject * obj1 = 0 ;
10298 char *kwnames[] = {
10299 (char *) "self",(char *) "extension", NULL
10300 };
10301
10302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetExtension",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
10304 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10305 {
10306 arg2 = wxString_in_helper(obj1);
10307 if (arg2 == NULL) SWIG_fail;
ae8162c8 10308 temp2 = true;
d14a1e28
RD
10309 }
10310 {
10311 PyThreadState* __tstate = wxPyBeginAllowThreads();
10312 (arg1)->SetExtension((wxString const &)*arg2);
10313
10314 wxPyEndAllowThreads(__tstate);
10315 if (PyErr_Occurred()) SWIG_fail;
10316 }
10317 Py_INCREF(Py_None); resultobj = Py_None;
10318 {
10319 if (temp2)
10320 delete arg2;
10321 }
10322 return resultobj;
10323 fail:
10324 {
10325 if (temp2)
10326 delete arg2;
10327 }
10328 return NULL;
10329}
10330
10331
c32bde28 10332static PyObject *_wrap_ImageHandler_SetType(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10333 PyObject *resultobj = NULL;
d14a1e28
RD
10334 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
10335 long arg2 ;
10336 PyObject * obj0 = 0 ;
994141e6 10337 PyObject * obj1 = 0 ;
d14a1e28
RD
10338 char *kwnames[] = {
10339 (char *) "self",(char *) "type", NULL
10340 };
10341
994141e6 10342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetType",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
10344 if (SWIG_arg_fail(1)) SWIG_fail;
10345 {
32fe5131 10346 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
10347 if (SWIG_arg_fail(2)) SWIG_fail;
10348 }
d14a1e28
RD
10349 {
10350 PyThreadState* __tstate = wxPyBeginAllowThreads();
10351 (arg1)->SetType(arg2);
10352
10353 wxPyEndAllowThreads(__tstate);
10354 if (PyErr_Occurred()) SWIG_fail;
10355 }
10356 Py_INCREF(Py_None); resultobj = Py_None;
10357 return resultobj;
10358 fail:
10359 return NULL;
10360}
10361
10362
c32bde28 10363static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10364 PyObject *resultobj = NULL;
d14a1e28
RD
10365 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
10366 wxString *arg2 = 0 ;
ae8162c8 10367 bool temp2 = false ;
d14a1e28
RD
10368 PyObject * obj0 = 0 ;
10369 PyObject * obj1 = 0 ;
10370 char *kwnames[] = {
10371 (char *) "self",(char *) "mimetype", NULL
10372 };
10373
10374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetMimeType",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
10376 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10377 {
10378 arg2 = wxString_in_helper(obj1);
10379 if (arg2 == NULL) SWIG_fail;
ae8162c8 10380 temp2 = true;
d14a1e28
RD
10381 }
10382 {
10383 PyThreadState* __tstate = wxPyBeginAllowThreads();
10384 (arg1)->SetMimeType((wxString const &)*arg2);
10385
10386 wxPyEndAllowThreads(__tstate);
10387 if (PyErr_Occurred()) SWIG_fail;
10388 }
10389 Py_INCREF(Py_None); resultobj = Py_None;
10390 {
10391 if (temp2)
10392 delete arg2;
10393 }
10394 return resultobj;
10395 fail:
10396 {
10397 if (temp2)
10398 delete arg2;
10399 }
10400 return NULL;
10401}
10402
10403
c32bde28 10404static PyObject * ImageHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10405 PyObject *obj;
10406 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10407 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler, obj);
10408 Py_INCREF(obj);
10409 return Py_BuildValue((char *)"");
10410}
943e8dfd 10411static PyObject *_wrap_new_PyImageHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10412 PyObject *resultobj = NULL;
943e8dfd
RD
10413 wxPyImageHandler *result;
10414 char *kwnames[] = {
10415 NULL
10416 };
10417
10418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyImageHandler",kwnames)) goto fail;
10419 {
10420 PyThreadState* __tstate = wxPyBeginAllowThreads();
10421 result = (wxPyImageHandler *)new wxPyImageHandler();
10422
10423 wxPyEndAllowThreads(__tstate);
10424 if (PyErr_Occurred()) SWIG_fail;
10425 }
10426 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyImageHandler, 1);
10427 return resultobj;
10428 fail:
10429 return NULL;
10430}
10431
10432
10433static PyObject *_wrap_PyImageHandler__SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10434 PyObject *resultobj = NULL;
943e8dfd
RD
10435 wxPyImageHandler *arg1 = (wxPyImageHandler *) 0 ;
10436 PyObject *arg2 = (PyObject *) 0 ;
10437 PyObject * obj0 = 0 ;
10438 PyObject * obj1 = 0 ;
10439 char *kwnames[] = {
10440 (char *) "self",(char *) "self", NULL
10441 };
10442
10443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyImageHandler__SetSelf",kwnames,&obj0,&obj1)) goto fail;
10444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyImageHandler, SWIG_POINTER_EXCEPTION | 0);
10445 if (SWIG_arg_fail(1)) SWIG_fail;
10446 arg2 = obj1;
10447 {
10448 PyThreadState* __tstate = wxPyBeginAllowThreads();
10449 (arg1)->_SetSelf(arg2);
10450
10451 wxPyEndAllowThreads(__tstate);
10452 if (PyErr_Occurred()) SWIG_fail;
10453 }
10454 Py_INCREF(Py_None); resultobj = Py_None;
10455 return resultobj;
10456 fail:
10457 return NULL;
10458}
10459
10460
10461static PyObject * PyImageHandler_swigregister(PyObject *, PyObject *args) {
10462 PyObject *obj;
10463 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10464 SWIG_TypeClientData(SWIGTYPE_p_wxPyImageHandler, obj);
10465 Py_INCREF(obj);
10466 return Py_BuildValue((char *)"");
10467}
c32bde28 10468static PyObject *_wrap_new_ImageHistogram(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10469 PyObject *resultobj = NULL;
d14a1e28
RD
10470 wxImageHistogram *result;
10471 char *kwnames[] = {
10472 NULL
10473 };
10474
10475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ImageHistogram",kwnames)) goto fail;
10476 {
10477 PyThreadState* __tstate = wxPyBeginAllowThreads();
10478 result = (wxImageHistogram *)new wxImageHistogram();
10479
10480 wxPyEndAllowThreads(__tstate);
10481 if (PyErr_Occurred()) SWIG_fail;
10482 }
15afbcd0 10483 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImageHistogram, 1);
d14a1e28
RD
10484 return resultobj;
10485 fail:
10486 return NULL;
10487}
10488
10489
c32bde28 10490static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10491 PyObject *resultobj = NULL;
7a27cf7c
RD
10492 byte arg1 ;
10493 byte arg2 ;
10494 byte arg3 ;
d14a1e28
RD
10495 unsigned long result;
10496 PyObject * obj0 = 0 ;
10497 PyObject * obj1 = 0 ;
10498 PyObject * obj2 = 0 ;
10499 char *kwnames[] = {
10500 (char *) "r",(char *) "g",(char *) "b", NULL
10501 };
10502
10503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1 10504 {
32fe5131 10505 arg1 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj0));
093d3ff1
RD
10506 if (SWIG_arg_fail(1)) SWIG_fail;
10507 }
10508 {
32fe5131 10509 arg2 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
093d3ff1
RD
10510 if (SWIG_arg_fail(2)) SWIG_fail;
10511 }
10512 {
32fe5131 10513 arg3 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj2));
093d3ff1
RD
10514 if (SWIG_arg_fail(3)) SWIG_fail;
10515 }
d14a1e28
RD
10516 {
10517 PyThreadState* __tstate = wxPyBeginAllowThreads();
10518 result = (unsigned long)wxImageHistogram::MakeKey(arg1,arg2,arg3);
10519
10520 wxPyEndAllowThreads(__tstate);
10521 if (PyErr_Occurred()) SWIG_fail;
10522 }
093d3ff1 10523 {
32fe5131 10524 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 10525 }
d14a1e28
RD
10526 return resultobj;
10527 fail:
10528 return NULL;
10529}
10530
10531
c32bde28 10532static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10533 PyObject *resultobj = NULL;
d14a1e28 10534 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
7a27cf7c
RD
10535 byte *arg2 = (byte *) 0 ;
10536 byte *arg3 = (byte *) 0 ;
10537 byte *arg4 = (byte *) 0 ;
10538 byte arg5 = (byte) 1 ;
10539 byte arg6 = (byte) 0 ;
10540 byte arg7 = (byte) 0 ;
d14a1e28 10541 bool result;
7a27cf7c 10542 byte temp2 ;
c32bde28 10543 int res2 = 0 ;
7a27cf7c 10544 byte temp3 ;
c32bde28 10545 int res3 = 0 ;
7a27cf7c 10546 byte temp4 ;
c32bde28 10547 int res4 = 0 ;
d14a1e28
RD
10548 PyObject * obj0 = 0 ;
10549 PyObject * obj1 = 0 ;
10550 PyObject * obj2 = 0 ;
10551 PyObject * obj3 = 0 ;
10552 char *kwnames[] = {
10553 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10554 };
10555
c32bde28
RD
10556 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10557 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10558 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d14a1e28 10559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHistogram, SWIG_POINTER_EXCEPTION | 0);
10561 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 10562 if (obj1) {
093d3ff1 10563 {
32fe5131 10564 arg5 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
093d3ff1
RD
10565 if (SWIG_arg_fail(5)) SWIG_fail;
10566 }
d14a1e28
RD
10567 }
10568 if (obj2) {
093d3ff1 10569 {
32fe5131 10570 arg6 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj2));
093d3ff1
RD
10571 if (SWIG_arg_fail(6)) SWIG_fail;
10572 }
d14a1e28
RD
10573 }
10574 if (obj3) {
093d3ff1 10575 {
32fe5131 10576 arg7 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj3));
093d3ff1
RD
10577 if (SWIG_arg_fail(7)) SWIG_fail;
10578 }
d14a1e28
RD
10579 }
10580 {
10581 PyThreadState* __tstate = wxPyBeginAllowThreads();
10582 result = (bool)((wxImageHistogram const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
10583
10584 wxPyEndAllowThreads(__tstate);
10585 if (PyErr_Occurred()) SWIG_fail;
10586 }
4f89f6a3
RD
10587 {
10588 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10589 }
c32bde28
RD
10590 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10591 SWIG_From_unsigned_SS_char((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_unsigned_char, 0)));
10592 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10593 SWIG_From_unsigned_SS_char((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_unsigned_char, 0)));
10594 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10595 SWIG_From_unsigned_SS_char((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_unsigned_char, 0)));
d14a1e28
RD
10596 return resultobj;
10597 fail:
10598 return NULL;
10599}
10600
10601
f1cbd8fa 10602static PyObject *_wrap_ImageHistogram_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10603 PyObject *resultobj = NULL;
f1cbd8fa
RD
10604 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
10605 unsigned long arg2 ;
10606 unsigned long result;
10607 PyObject * obj0 = 0 ;
10608 PyObject * obj1 = 0 ;
10609 char *kwnames[] = {
10610 (char *) "self",(char *) "key", NULL
10611 };
10612
10613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHistogram_GetCount",kwnames,&obj0,&obj1)) goto fail;
10614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHistogram, SWIG_POINTER_EXCEPTION | 0);
10615 if (SWIG_arg_fail(1)) SWIG_fail;
10616 {
32fe5131 10617 arg2 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1));
f1cbd8fa
RD
10618 if (SWIG_arg_fail(2)) SWIG_fail;
10619 }
10620 {
10621 PyThreadState* __tstate = wxPyBeginAllowThreads();
10622 result = (unsigned long)wxImageHistogram_GetCount(arg1,arg2);
10623
10624 wxPyEndAllowThreads(__tstate);
10625 if (PyErr_Occurred()) SWIG_fail;
10626 }
10627 {
32fe5131 10628 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
f1cbd8fa
RD
10629 }
10630 return resultobj;
10631 fail:
10632 return NULL;
10633}
10634
10635
10636static PyObject *_wrap_ImageHistogram_GetCountRGB(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10637 PyObject *resultobj = NULL;
f1cbd8fa 10638 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
7a27cf7c
RD
10639 byte arg2 ;
10640 byte arg3 ;
10641 byte arg4 ;
f1cbd8fa
RD
10642 unsigned long result;
10643 PyObject * obj0 = 0 ;
10644 PyObject * obj1 = 0 ;
10645 PyObject * obj2 = 0 ;
10646 PyObject * obj3 = 0 ;
10647 char *kwnames[] = {
10648 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10649 };
10650
10651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHistogram, SWIG_POINTER_EXCEPTION | 0);
10653 if (SWIG_arg_fail(1)) SWIG_fail;
10654 {
32fe5131 10655 arg2 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
f1cbd8fa
RD
10656 if (SWIG_arg_fail(2)) SWIG_fail;
10657 }
10658 {
32fe5131 10659 arg3 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj2));
f1cbd8fa
RD
10660 if (SWIG_arg_fail(3)) SWIG_fail;
10661 }
10662 {
32fe5131 10663 arg4 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj3));
f1cbd8fa
RD
10664 if (SWIG_arg_fail(4)) SWIG_fail;
10665 }
10666 {
10667 PyThreadState* __tstate = wxPyBeginAllowThreads();
10668 result = (unsigned long)wxImageHistogram_GetCountRGB(arg1,arg2,arg3,arg4);
10669
10670 wxPyEndAllowThreads(__tstate);
10671 if (PyErr_Occurred()) SWIG_fail;
10672 }
10673 {
32fe5131 10674 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
f1cbd8fa
RD
10675 }
10676 return resultobj;
10677 fail:
10678 return NULL;
10679}
10680
10681
10682static PyObject *_wrap_ImageHistogram_GetCountColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10683 PyObject *resultobj = NULL;
f1cbd8fa
RD
10684 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
10685 wxColour *arg2 = 0 ;
10686 unsigned long result;
10687 wxColour temp2 ;
10688 PyObject * obj0 = 0 ;
10689 PyObject * obj1 = 0 ;
10690 char *kwnames[] = {
10691 (char *) "self",(char *) "colour", NULL
10692 };
10693
10694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHistogram_GetCountColour",kwnames,&obj0,&obj1)) goto fail;
10695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHistogram, SWIG_POINTER_EXCEPTION | 0);
10696 if (SWIG_arg_fail(1)) SWIG_fail;
10697 {
10698 arg2 = &temp2;
10699 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10700 }
10701 {
10702 PyThreadState* __tstate = wxPyBeginAllowThreads();
10703 result = (unsigned long)wxImageHistogram_GetCountColour(arg1,(wxColour const &)*arg2);
10704
10705 wxPyEndAllowThreads(__tstate);
10706 if (PyErr_Occurred()) SWIG_fail;
10707 }
10708 {
32fe5131 10709 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
f1cbd8fa
RD
10710 }
10711 return resultobj;
10712 fail:
10713 return NULL;
10714}
10715
10716
c32bde28 10717static PyObject * ImageHistogram_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10718 PyObject *obj;
10719 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10720 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram, obj);
10721 Py_INCREF(obj);
10722 return Py_BuildValue((char *)"");
10723}
943e8dfd 10724static PyObject *_wrap_new_Image_RGBValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10725 PyObject *resultobj = NULL;
943e8dfd
RD
10726 byte arg1 = (byte) 0 ;
10727 byte arg2 = (byte) 0 ;
10728 byte arg3 = (byte) 0 ;
10729 wxImage_RGBValue *result;
10730 PyObject * obj0 = 0 ;
10731 PyObject * obj1 = 0 ;
10732 PyObject * obj2 = 0 ;
10733 char *kwnames[] = {
10734 (char *) "r",(char *) "g",(char *) "b", NULL
10735 };
10736
10737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_Image_RGBValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
10738 if (obj0) {
10739 {
32fe5131 10740 arg1 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj0));
943e8dfd
RD
10741 if (SWIG_arg_fail(1)) SWIG_fail;
10742 }
10743 }
10744 if (obj1) {
10745 {
32fe5131 10746 arg2 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
943e8dfd
RD
10747 if (SWIG_arg_fail(2)) SWIG_fail;
10748 }
10749 }
10750 if (obj2) {
10751 {
32fe5131 10752 arg3 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj2));
943e8dfd
RD
10753 if (SWIG_arg_fail(3)) SWIG_fail;
10754 }
10755 }
10756 {
10757 PyThreadState* __tstate = wxPyBeginAllowThreads();
10758 result = (wxImage_RGBValue *)new wxImage_RGBValue(arg1,arg2,arg3);
10759
10760 wxPyEndAllowThreads(__tstate);
10761 if (PyErr_Occurred()) SWIG_fail;
10762 }
10763 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage_RGBValue, 1);
10764 return resultobj;
10765 fail:
10766 return NULL;
10767}
10768
10769
10770static PyObject *_wrap_Image_RGBValue_red_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10771 PyObject *resultobj = NULL;
943e8dfd
RD
10772 wxImage_RGBValue *arg1 = (wxImage_RGBValue *) 0 ;
10773 byte arg2 ;
10774 PyObject * obj0 = 0 ;
10775 PyObject * obj1 = 0 ;
10776 char *kwnames[] = {
10777 (char *) "self",(char *) "red", NULL
10778 };
10779
10780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_RGBValue_red_set",kwnames,&obj0,&obj1)) goto fail;
10781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_RGBValue, SWIG_POINTER_EXCEPTION | 0);
10782 if (SWIG_arg_fail(1)) SWIG_fail;
10783 {
32fe5131 10784 arg2 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
943e8dfd
RD
10785 if (SWIG_arg_fail(2)) SWIG_fail;
10786 }
10787 if (arg1) (arg1)->red = arg2;
10788
10789 Py_INCREF(Py_None); resultobj = Py_None;
10790 return resultobj;
10791 fail:
10792 return NULL;
10793}
10794
10795
10796static PyObject *_wrap_Image_RGBValue_red_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10797 PyObject *resultobj = NULL;
943e8dfd
RD
10798 wxImage_RGBValue *arg1 = (wxImage_RGBValue *) 0 ;
10799 byte result;
10800 PyObject * obj0 = 0 ;
10801 char *kwnames[] = {
10802 (char *) "self", NULL
10803 };
10804
10805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RGBValue_red_get",kwnames,&obj0)) goto fail;
10806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_RGBValue, SWIG_POINTER_EXCEPTION | 0);
10807 if (SWIG_arg_fail(1)) SWIG_fail;
10808 result = (byte) ((arg1)->red);
10809
10810 {
32fe5131 10811 resultobj = SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result));
943e8dfd
RD
10812 }
10813 return resultobj;
10814 fail:
10815 return NULL;
10816}
10817
10818
10819static PyObject *_wrap_Image_RGBValue_green_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10820 PyObject *resultobj = NULL;
943e8dfd
RD
10821 wxImage_RGBValue *arg1 = (wxImage_RGBValue *) 0 ;
10822 byte arg2 ;
10823 PyObject * obj0 = 0 ;
10824 PyObject * obj1 = 0 ;
10825 char *kwnames[] = {
10826 (char *) "self",(char *) "green", NULL
10827 };
10828
10829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_RGBValue_green_set",kwnames,&obj0,&obj1)) goto fail;
10830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_RGBValue, SWIG_POINTER_EXCEPTION | 0);
10831 if (SWIG_arg_fail(1)) SWIG_fail;
10832 {
32fe5131 10833 arg2 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
943e8dfd
RD
10834 if (SWIG_arg_fail(2)) SWIG_fail;
10835 }
10836 if (arg1) (arg1)->green = arg2;
10837
10838 Py_INCREF(Py_None); resultobj = Py_None;
10839 return resultobj;
10840 fail:
10841 return NULL;
10842}
10843
10844
10845static PyObject *_wrap_Image_RGBValue_green_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10846 PyObject *resultobj = NULL;
943e8dfd
RD
10847 wxImage_RGBValue *arg1 = (wxImage_RGBValue *) 0 ;
10848 byte result;
10849 PyObject * obj0 = 0 ;
10850 char *kwnames[] = {
10851 (char *) "self", NULL
10852 };
10853
10854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RGBValue_green_get",kwnames,&obj0)) goto fail;
10855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_RGBValue, SWIG_POINTER_EXCEPTION | 0);
10856 if (SWIG_arg_fail(1)) SWIG_fail;
10857 result = (byte) ((arg1)->green);
10858
10859 {
32fe5131 10860 resultobj = SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result));
943e8dfd
RD
10861 }
10862 return resultobj;
10863 fail:
10864 return NULL;
10865}
10866
10867
10868static PyObject *_wrap_Image_RGBValue_blue_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10869 PyObject *resultobj = NULL;
943e8dfd
RD
10870 wxImage_RGBValue *arg1 = (wxImage_RGBValue *) 0 ;
10871 byte arg2 ;
10872 PyObject * obj0 = 0 ;
10873 PyObject * obj1 = 0 ;
10874 char *kwnames[] = {
10875 (char *) "self",(char *) "blue", NULL
10876 };
10877
10878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_RGBValue_blue_set",kwnames,&obj0,&obj1)) goto fail;
10879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_RGBValue, SWIG_POINTER_EXCEPTION | 0);
10880 if (SWIG_arg_fail(1)) SWIG_fail;
10881 {
32fe5131 10882 arg2 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
943e8dfd
RD
10883 if (SWIG_arg_fail(2)) SWIG_fail;
10884 }
10885 if (arg1) (arg1)->blue = arg2;
10886
10887 Py_INCREF(Py_None); resultobj = Py_None;
10888 return resultobj;
10889 fail:
10890 return NULL;
10891}
10892
10893
10894static PyObject *_wrap_Image_RGBValue_blue_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10895 PyObject *resultobj = NULL;
943e8dfd
RD
10896 wxImage_RGBValue *arg1 = (wxImage_RGBValue *) 0 ;
10897 byte result;
10898 PyObject * obj0 = 0 ;
10899 char *kwnames[] = {
10900 (char *) "self", NULL
10901 };
10902
10903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RGBValue_blue_get",kwnames,&obj0)) goto fail;
10904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_RGBValue, SWIG_POINTER_EXCEPTION | 0);
10905 if (SWIG_arg_fail(1)) SWIG_fail;
10906 result = (byte) ((arg1)->blue);
10907
10908 {
32fe5131 10909 resultobj = SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result));
943e8dfd
RD
10910 }
10911 return resultobj;
10912 fail:
10913 return NULL;
10914}
10915
10916
10917static PyObject * Image_RGBValue_swigregister(PyObject *, PyObject *args) {
10918 PyObject *obj;
10919 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10920 SWIG_TypeClientData(SWIGTYPE_p_wxImage_RGBValue, obj);
10921 Py_INCREF(obj);
10922 return Py_BuildValue((char *)"");
10923}
10924static PyObject *_wrap_new_Image_HSVValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10925 PyObject *resultobj = NULL;
943e8dfd
RD
10926 double arg1 = (double) 0.0 ;
10927 double arg2 = (double) 0.0 ;
10928 double arg3 = (double) 0.0 ;
10929 wxImage_HSVValue *result;
10930 PyObject * obj0 = 0 ;
10931 PyObject * obj1 = 0 ;
10932 PyObject * obj2 = 0 ;
10933 char *kwnames[] = {
10934 (char *) "h",(char *) "s",(char *) "v", NULL
10935 };
10936
10937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_Image_HSVValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
10938 if (obj0) {
10939 {
32fe5131 10940 arg1 = static_cast<double >(SWIG_As_double(obj0));
943e8dfd
RD
10941 if (SWIG_arg_fail(1)) SWIG_fail;
10942 }
10943 }
10944 if (obj1) {
10945 {
32fe5131 10946 arg2 = static_cast<double >(SWIG_As_double(obj1));
943e8dfd
RD
10947 if (SWIG_arg_fail(2)) SWIG_fail;
10948 }
10949 }
10950 if (obj2) {
10951 {
32fe5131 10952 arg3 = static_cast<double >(SWIG_As_double(obj2));
943e8dfd
RD
10953 if (SWIG_arg_fail(3)) SWIG_fail;
10954 }
10955 }
10956 {
10957 PyThreadState* __tstate = wxPyBeginAllowThreads();
10958 result = (wxImage_HSVValue *)new wxImage_HSVValue(arg1,arg2,arg3);
10959
10960 wxPyEndAllowThreads(__tstate);
10961 if (PyErr_Occurred()) SWIG_fail;
10962 }
10963 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage_HSVValue, 1);
10964 return resultobj;
10965 fail:
10966 return NULL;
10967}
10968
10969
10970static PyObject *_wrap_Image_HSVValue_hue_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10971 PyObject *resultobj = NULL;
943e8dfd
RD
10972 wxImage_HSVValue *arg1 = (wxImage_HSVValue *) 0 ;
10973 double arg2 ;
10974 PyObject * obj0 = 0 ;
10975 PyObject * obj1 = 0 ;
10976 char *kwnames[] = {
10977 (char *) "self",(char *) "hue", NULL
10978 };
10979
10980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HSVValue_hue_set",kwnames,&obj0,&obj1)) goto fail;
10981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_HSVValue, SWIG_POINTER_EXCEPTION | 0);
10982 if (SWIG_arg_fail(1)) SWIG_fail;
10983 {
32fe5131 10984 arg2 = static_cast<double >(SWIG_As_double(obj1));
943e8dfd
RD
10985 if (SWIG_arg_fail(2)) SWIG_fail;
10986 }
10987 if (arg1) (arg1)->hue = arg2;
10988
10989 Py_INCREF(Py_None); resultobj = Py_None;
10990 return resultobj;
10991 fail:
10992 return NULL;
10993}
10994
10995
10996static PyObject *_wrap_Image_HSVValue_hue_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10997 PyObject *resultobj = NULL;
943e8dfd
RD
10998 wxImage_HSVValue *arg1 = (wxImage_HSVValue *) 0 ;
10999 double result;
11000 PyObject * obj0 = 0 ;
11001 char *kwnames[] = {
11002 (char *) "self", NULL
11003 };
11004
11005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HSVValue_hue_get",kwnames,&obj0)) goto fail;
11006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_HSVValue, SWIG_POINTER_EXCEPTION | 0);
11007 if (SWIG_arg_fail(1)) SWIG_fail;
11008 result = (double) ((arg1)->hue);
11009
11010 {
32fe5131 11011 resultobj = SWIG_From_double(static_cast<double >(result));
943e8dfd
RD
11012 }
11013 return resultobj;
11014 fail:
11015 return NULL;
11016}
11017
11018
11019static PyObject *_wrap_Image_HSVValue_saturation_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11020 PyObject *resultobj = NULL;
943e8dfd
RD
11021 wxImage_HSVValue *arg1 = (wxImage_HSVValue *) 0 ;
11022 double arg2 ;
11023 PyObject * obj0 = 0 ;
11024 PyObject * obj1 = 0 ;
11025 char *kwnames[] = {
11026 (char *) "self",(char *) "saturation", NULL
11027 };
11028
11029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HSVValue_saturation_set",kwnames,&obj0,&obj1)) goto fail;
11030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_HSVValue, SWIG_POINTER_EXCEPTION | 0);
11031 if (SWIG_arg_fail(1)) SWIG_fail;
11032 {
32fe5131 11033 arg2 = static_cast<double >(SWIG_As_double(obj1));
943e8dfd
RD
11034 if (SWIG_arg_fail(2)) SWIG_fail;
11035 }
11036 if (arg1) (arg1)->saturation = arg2;
11037
11038 Py_INCREF(Py_None); resultobj = Py_None;
11039 return resultobj;
11040 fail:
11041 return NULL;
11042}
11043
11044
11045static PyObject *_wrap_Image_HSVValue_saturation_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11046 PyObject *resultobj = NULL;
943e8dfd
RD
11047 wxImage_HSVValue *arg1 = (wxImage_HSVValue *) 0 ;
11048 double result;
11049 PyObject * obj0 = 0 ;
11050 char *kwnames[] = {
11051 (char *) "self", NULL
11052 };
11053
11054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HSVValue_saturation_get",kwnames,&obj0)) goto fail;
11055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_HSVValue, SWIG_POINTER_EXCEPTION | 0);
11056 if (SWIG_arg_fail(1)) SWIG_fail;
11057 result = (double) ((arg1)->saturation);
11058
11059 {
32fe5131 11060 resultobj = SWIG_From_double(static_cast<double >(result));
943e8dfd
RD
11061 }
11062 return resultobj;
11063 fail:
11064 return NULL;
11065}
11066
11067
11068static PyObject *_wrap_Image_HSVValue_value_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11069 PyObject *resultobj = NULL;
943e8dfd
RD
11070 wxImage_HSVValue *arg1 = (wxImage_HSVValue *) 0 ;
11071 double arg2 ;
11072 PyObject * obj0 = 0 ;
11073 PyObject * obj1 = 0 ;
11074 char *kwnames[] = {
11075 (char *) "self",(char *) "value", NULL
11076 };
11077
11078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HSVValue_value_set",kwnames,&obj0,&obj1)) goto fail;
11079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_HSVValue, SWIG_POINTER_EXCEPTION | 0);
11080 if (SWIG_arg_fail(1)) SWIG_fail;
11081 {
32fe5131 11082 arg2 = static_cast<double >(SWIG_As_double(obj1));
943e8dfd
RD
11083 if (SWIG_arg_fail(2)) SWIG_fail;
11084 }
11085 if (arg1) (arg1)->value = arg2;
11086
11087 Py_INCREF(Py_None); resultobj = Py_None;
11088 return resultobj;
11089 fail:
11090 return NULL;
11091}
11092
11093
11094static PyObject *_wrap_Image_HSVValue_value_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11095 PyObject *resultobj = NULL;
943e8dfd
RD
11096 wxImage_HSVValue *arg1 = (wxImage_HSVValue *) 0 ;
11097 double result;
11098 PyObject * obj0 = 0 ;
11099 char *kwnames[] = {
11100 (char *) "self", NULL
11101 };
11102
11103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HSVValue_value_get",kwnames,&obj0)) goto fail;
11104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_HSVValue, SWIG_POINTER_EXCEPTION | 0);
11105 if (SWIG_arg_fail(1)) SWIG_fail;
11106 result = (double) ((arg1)->value);
11107
11108 {
32fe5131 11109 resultobj = SWIG_From_double(static_cast<double >(result));
943e8dfd
RD
11110 }
11111 return resultobj;
11112 fail:
11113 return NULL;
11114}
11115
11116
11117static PyObject * Image_HSVValue_swigregister(PyObject *, PyObject *args) {
11118 PyObject *obj;
11119 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11120 SWIG_TypeClientData(SWIGTYPE_p_wxImage_HSVValue, obj);
11121 Py_INCREF(obj);
11122 return Py_BuildValue((char *)"");
11123}
c32bde28 11124static PyObject *_wrap_new_Image(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11125 PyObject *resultobj = NULL;
d14a1e28
RD
11126 wxString *arg1 = 0 ;
11127 long arg2 = (long) wxBITMAP_TYPE_ANY ;
11128 int arg3 = (int) -1 ;
11129 wxImage *result;
ae8162c8 11130 bool temp1 = false ;
d14a1e28 11131 PyObject * obj0 = 0 ;
994141e6
RD
11132 PyObject * obj1 = 0 ;
11133 PyObject * obj2 = 0 ;
d14a1e28
RD
11134 char *kwnames[] = {
11135 (char *) "name",(char *) "type",(char *) "index", NULL
11136 };
11137
994141e6 11138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_Image",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
11139 {
11140 arg1 = wxString_in_helper(obj0);
11141 if (arg1 == NULL) SWIG_fail;
ae8162c8 11142 temp1 = true;
d14a1e28 11143 }
994141e6 11144 if (obj1) {
093d3ff1 11145 {
32fe5131 11146 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
11147 if (SWIG_arg_fail(2)) SWIG_fail;
11148 }
994141e6
RD
11149 }
11150 if (obj2) {
093d3ff1 11151 {
32fe5131 11152 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
11153 if (SWIG_arg_fail(3)) SWIG_fail;
11154 }
994141e6 11155 }
d14a1e28
RD
11156 {
11157 PyThreadState* __tstate = wxPyBeginAllowThreads();
11158 result = (wxImage *)new wxImage((wxString const &)*arg1,arg2,arg3);
11159
11160 wxPyEndAllowThreads(__tstate);
11161 if (PyErr_Occurred()) SWIG_fail;
11162 }
15afbcd0 11163 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
11164 {
11165 if (temp1)
11166 delete arg1;
11167 }
11168 return resultobj;
11169 fail:
11170 {
11171 if (temp1)
11172 delete arg1;
11173 }
11174 return NULL;
11175}
11176
11177
c32bde28 11178static PyObject *_wrap_delete_Image(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11179 PyObject *resultobj = NULL;
d14a1e28
RD
11180 wxImage *arg1 = (wxImage *) 0 ;
11181 PyObject * obj0 = 0 ;
11182 char *kwnames[] = {
11183 (char *) "self", NULL
11184 };
11185
11186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Image",kwnames,&obj0)) goto fail;
093d3ff1
RD
11187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11188 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11189 {
11190 PyThreadState* __tstate = wxPyBeginAllowThreads();
11191 delete arg1;
11192
11193 wxPyEndAllowThreads(__tstate);
11194 if (PyErr_Occurred()) SWIG_fail;
11195 }
11196 Py_INCREF(Py_None); resultobj = Py_None;
11197 return resultobj;
11198 fail:
11199 return NULL;
11200}
11201
11202
c32bde28 11203static PyObject *_wrap_new_ImageFromMime(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11204 PyObject *resultobj = NULL;
d14a1e28
RD
11205 wxString *arg1 = 0 ;
11206 wxString *arg2 = 0 ;
11207 int arg3 = (int) -1 ;
11208 wxImage *result;
ae8162c8
RD
11209 bool temp1 = false ;
11210 bool temp2 = false ;
d14a1e28
RD
11211 PyObject * obj0 = 0 ;
11212 PyObject * obj1 = 0 ;
994141e6 11213 PyObject * obj2 = 0 ;
d14a1e28
RD
11214 char *kwnames[] = {
11215 (char *) "name",(char *) "mimetype",(char *) "index", NULL
11216 };
11217
994141e6 11218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
11219 {
11220 arg1 = wxString_in_helper(obj0);
11221 if (arg1 == NULL) SWIG_fail;
ae8162c8 11222 temp1 = true;
d14a1e28
RD
11223 }
11224 {
11225 arg2 = wxString_in_helper(obj1);
11226 if (arg2 == NULL) SWIG_fail;
ae8162c8 11227 temp2 = true;
d14a1e28 11228 }
994141e6 11229 if (obj2) {
093d3ff1 11230 {
32fe5131 11231 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
11232 if (SWIG_arg_fail(3)) SWIG_fail;
11233 }
994141e6 11234 }
d14a1e28
RD
11235 {
11236 PyThreadState* __tstate = wxPyBeginAllowThreads();
11237 result = (wxImage *)new wxImage((wxString const &)*arg1,(wxString const &)*arg2,arg3);
11238
11239 wxPyEndAllowThreads(__tstate);
11240 if (PyErr_Occurred()) SWIG_fail;
11241 }
15afbcd0 11242 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
11243 {
11244 if (temp1)
11245 delete arg1;
11246 }
11247 {
11248 if (temp2)
11249 delete arg2;
11250 }
11251 return resultobj;
11252 fail:
11253 {
11254 if (temp1)
11255 delete arg1;
11256 }
11257 {
11258 if (temp2)
11259 delete arg2;
11260 }
11261 return NULL;
11262}
11263
11264
c32bde28 11265static PyObject *_wrap_new_ImageFromStream(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11266 PyObject *resultobj = NULL;
d14a1e28
RD
11267 wxInputStream *arg1 = 0 ;
11268 long arg2 = (long) wxBITMAP_TYPE_ANY ;
11269 int arg3 = (int) -1 ;
11270 wxImage *result;
11271 wxPyInputStream *temp1 ;
11272 bool created1 ;
11273 PyObject * obj0 = 0 ;
994141e6
RD
11274 PyObject * obj1 = 0 ;
11275 PyObject * obj2 = 0 ;
d14a1e28
RD
11276 char *kwnames[] = {
11277 (char *) "stream",(char *) "type",(char *) "index", NULL
11278 };
11279
994141e6 11280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_ImageFromStream",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
11281 {
11282 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
11283 arg1 = temp1->m_wxis;
ae8162c8 11284 created1 = false;
d14a1e28
RD
11285 } else {
11286 PyErr_Clear(); // clear the failure of the wxPyConvert above
ae8162c8 11287 arg1 = wxPyCBInputStream_create(obj0, false);
d14a1e28 11288 if (arg1 == NULL) {
e2950dbb 11289 PyErr_SetString(PyExc_TypeError, "Expected wx.InputStream or Python file-like object.");
d14a1e28
RD
11290 SWIG_fail;
11291 }
ae8162c8 11292 created1 = true;
d14a1e28
RD
11293 }
11294 }
994141e6 11295 if (obj1) {
093d3ff1 11296 {
32fe5131 11297 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
11298 if (SWIG_arg_fail(2)) SWIG_fail;
11299 }
994141e6
RD
11300 }
11301 if (obj2) {
093d3ff1 11302 {
32fe5131 11303 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
11304 if (SWIG_arg_fail(3)) SWIG_fail;
11305 }
994141e6 11306 }
d14a1e28
RD
11307 {
11308 PyThreadState* __tstate = wxPyBeginAllowThreads();
11309 result = (wxImage *)new wxImage(*arg1,arg2,arg3);
11310
11311 wxPyEndAllowThreads(__tstate);
11312 if (PyErr_Occurred()) SWIG_fail;
11313 }
15afbcd0 11314 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28 11315 {
e2950dbb 11316 if (created1) delete arg1;
d14a1e28
RD
11317 }
11318 return resultobj;
11319 fail:
11320 {
e2950dbb 11321 if (created1) delete arg1;
d14a1e28
RD
11322 }
11323 return NULL;
11324}
11325
11326
c32bde28 11327static PyObject *_wrap_new_ImageFromStreamMime(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11328 PyObject *resultobj = NULL;
d14a1e28
RD
11329 wxInputStream *arg1 = 0 ;
11330 wxString *arg2 = 0 ;
11331 int arg3 = (int) -1 ;
11332 wxImage *result;
11333 wxPyInputStream *temp1 ;
11334 bool created1 ;
ae8162c8 11335 bool temp2 = false ;
d14a1e28
RD
11336 PyObject * obj0 = 0 ;
11337 PyObject * obj1 = 0 ;
994141e6 11338 PyObject * obj2 = 0 ;
d14a1e28
RD
11339 char *kwnames[] = {
11340 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
11341 };
11342
994141e6 11343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromStreamMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
11344 {
11345 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
11346 arg1 = temp1->m_wxis;
ae8162c8 11347 created1 = false;
d14a1e28
RD
11348 } else {
11349 PyErr_Clear(); // clear the failure of the wxPyConvert above
ae8162c8 11350 arg1 = wxPyCBInputStream_create(obj0, false);
d14a1e28 11351 if (arg1 == NULL) {
e2950dbb 11352 PyErr_SetString(PyExc_TypeError, "Expected wx.InputStream or Python file-like object.");
d14a1e28
RD
11353 SWIG_fail;
11354 }
ae8162c8 11355 created1 = true;
d14a1e28
RD
11356 }
11357 }
11358 {
11359 arg2 = wxString_in_helper(obj1);
11360 if (arg2 == NULL) SWIG_fail;
ae8162c8 11361 temp2 = true;
d14a1e28 11362 }
994141e6 11363 if (obj2) {
093d3ff1 11364 {
32fe5131 11365 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
11366 if (SWIG_arg_fail(3)) SWIG_fail;
11367 }
994141e6 11368 }
d14a1e28
RD
11369 {
11370 PyThreadState* __tstate = wxPyBeginAllowThreads();
11371 result = (wxImage *)new wxImage(*arg1,(wxString const &)*arg2,arg3);
11372
11373 wxPyEndAllowThreads(__tstate);
11374 if (PyErr_Occurred()) SWIG_fail;
11375 }
15afbcd0 11376 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28 11377 {
e2950dbb 11378 if (created1) delete arg1;
d14a1e28
RD
11379 }
11380 {
11381 if (temp2)
11382 delete arg2;
11383 }
11384 return resultobj;
11385 fail:
11386 {
e2950dbb 11387 if (created1) delete arg1;
d14a1e28
RD
11388 }
11389 {
11390 if (temp2)
11391 delete arg2;
11392 }
11393 return NULL;
11394}
11395
11396
c32bde28 11397static PyObject *_wrap_new_EmptyImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11398 PyObject *resultobj = NULL;
d14a1e28
RD
11399 int arg1 = (int) 0 ;
11400 int arg2 = (int) 0 ;
ae8162c8 11401 bool arg3 = (bool) true ;
d14a1e28 11402 wxImage *result;
994141e6
RD
11403 PyObject * obj0 = 0 ;
11404 PyObject * obj1 = 0 ;
d14a1e28 11405 PyObject * obj2 = 0 ;
66c033b4
RD
11406 char *kwnames[] = {
11407 (char *) "width",(char *) "height",(char *) "clear", NULL
11408 };
d14a1e28 11409
66c033b4 11410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_EmptyImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
994141e6 11411 if (obj0) {
093d3ff1 11412 {
32fe5131 11413 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
11414 if (SWIG_arg_fail(1)) SWIG_fail;
11415 }
994141e6
RD
11416 }
11417 if (obj1) {
093d3ff1 11418 {
32fe5131 11419 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
11420 if (SWIG_arg_fail(2)) SWIG_fail;
11421 }
994141e6 11422 }
d14a1e28 11423 if (obj2) {
093d3ff1 11424 {
32fe5131 11425 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
11426 if (SWIG_arg_fail(3)) SWIG_fail;
11427 }
d14a1e28
RD
11428 }
11429 {
11430 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 11431 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
d14a1e28
RD
11432
11433 wxPyEndAllowThreads(__tstate);
11434 if (PyErr_Occurred()) SWIG_fail;
11435 }
15afbcd0 11436 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
11437 return resultobj;
11438 fail:
11439 return NULL;
11440}
11441
11442
c32bde28 11443static PyObject *_wrap_new_ImageFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11444 PyObject *resultobj = NULL;
d14a1e28
RD
11445 wxBitmap *arg1 = 0 ;
11446 wxImage *result;
11447 PyObject * obj0 = 0 ;
11448 char *kwnames[] = {
11449 (char *) "bitmap", NULL
11450 };
11451
11452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ImageFromBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
11453 {
11454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
11455 if (SWIG_arg_fail(1)) SWIG_fail;
11456 if (arg1 == NULL) {
11457 SWIG_null_ref("wxBitmap");
11458 }
11459 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11460 }
11461 {
e3b71cb8 11462 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11463 PyThreadState* __tstate = wxPyBeginAllowThreads();
11464 result = (wxImage *)new_wxImage((wxBitmap const &)*arg1);
11465
11466 wxPyEndAllowThreads(__tstate);
110da5b0 11467 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11468 }
15afbcd0 11469 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
11470 return resultobj;
11471 fail:
11472 return NULL;
11473}
11474
11475
c32bde28 11476static PyObject *_wrap_new_ImageFromData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11477 PyObject *resultobj = NULL;
d14a1e28
RD
11478 int arg1 ;
11479 int arg2 ;
61d07ac7
RD
11480 buffer arg3 ;
11481 int arg4 ;
d14a1e28 11482 wxImage *result;
994141e6
RD
11483 PyObject * obj0 = 0 ;
11484 PyObject * obj1 = 0 ;
d14a1e28
RD
11485 PyObject * obj2 = 0 ;
11486 char *kwnames[] = {
11487 (char *) "width",(char *) "height",(char *) "data", NULL
11488 };
11489
994141e6 11490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ImageFromData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1 11491 {
32fe5131 11492 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
11493 if (SWIG_arg_fail(1)) SWIG_fail;
11494 }
11495 {
32fe5131 11496 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
11497 if (SWIG_arg_fail(2)) SWIG_fail;
11498 }
61d07ac7
RD
11499 {
11500 if (!PyArg_Parse(obj2, "t#", &arg3, &arg4)) SWIG_fail;
11501 }
d14a1e28
RD
11502 {
11503 PyThreadState* __tstate = wxPyBeginAllowThreads();
61d07ac7 11504 result = (wxImage *)new_wxImage(arg1,arg2,arg3,arg4);
d14a1e28
RD
11505
11506 wxPyEndAllowThreads(__tstate);
11507 if (PyErr_Occurred()) SWIG_fail;
11508 }
15afbcd0 11509 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
11510 return resultobj;
11511 fail:
11512 return NULL;
11513}
11514
11515
1823fbb4 11516static PyObject *_wrap_new_ImageFromDataWithAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11517 PyObject *resultobj = NULL;
1823fbb4
RD
11518 int arg1 ;
11519 int arg2 ;
61d07ac7
RD
11520 buffer arg3 ;
11521 int arg4 ;
11522 buffer arg5 ;
11523 int arg6 ;
1823fbb4
RD
11524 wxImage *result;
11525 PyObject * obj0 = 0 ;
11526 PyObject * obj1 = 0 ;
11527 PyObject * obj2 = 0 ;
11528 PyObject * obj3 = 0 ;
11529 char *kwnames[] = {
11530 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
11531 };
11532
11533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1 11534 {
32fe5131 11535 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
11536 if (SWIG_arg_fail(1)) SWIG_fail;
11537 }
11538 {
32fe5131 11539 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
11540 if (SWIG_arg_fail(2)) SWIG_fail;
11541 }
61d07ac7
RD
11542 {
11543 if (!PyArg_Parse(obj2, "t#", &arg3, &arg4)) SWIG_fail;
11544 }
11545 {
11546 if (!PyArg_Parse(obj3, "t#", &arg5, &arg6)) SWIG_fail;
11547 }
1823fbb4
RD
11548 {
11549 PyThreadState* __tstate = wxPyBeginAllowThreads();
61d07ac7 11550 result = (wxImage *)new_wxImage(arg1,arg2,arg3,arg4,arg5,arg6);
1823fbb4
RD
11551
11552 wxPyEndAllowThreads(__tstate);
11553 if (PyErr_Occurred()) SWIG_fail;
11554 }
11555 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
11556 return resultobj;
11557 fail:
11558 return NULL;
11559}
11560
11561
c32bde28 11562static PyObject *_wrap_Image_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11563 PyObject *resultobj = NULL;
d14a1e28
RD
11564 wxImage *arg1 = (wxImage *) 0 ;
11565 int arg2 ;
11566 int arg3 ;
7a27cf7c 11567 bool arg4 = (bool) true ;
d14a1e28 11568 PyObject * obj0 = 0 ;
994141e6
RD
11569 PyObject * obj1 = 0 ;
11570 PyObject * obj2 = 0 ;
7a27cf7c 11571 PyObject * obj3 = 0 ;
d14a1e28 11572 char *kwnames[] = {
7a27cf7c 11573 (char *) "self",(char *) "width",(char *) "height",(char *) "clear", NULL
d14a1e28
RD
11574 };
11575
7a27cf7c 11576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_Create",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
11577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11578 if (SWIG_arg_fail(1)) SWIG_fail;
11579 {
32fe5131 11580 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
11581 if (SWIG_arg_fail(2)) SWIG_fail;
11582 }
11583 {
32fe5131 11584 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
11585 if (SWIG_arg_fail(3)) SWIG_fail;
11586 }
7a27cf7c
RD
11587 if (obj3) {
11588 {
32fe5131 11589 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
7a27cf7c
RD
11590 if (SWIG_arg_fail(4)) SWIG_fail;
11591 }
11592 }
d14a1e28
RD
11593 {
11594 PyThreadState* __tstate = wxPyBeginAllowThreads();
7a27cf7c 11595 (arg1)->Create(arg2,arg3,arg4);
d14a1e28
RD
11596
11597 wxPyEndAllowThreads(__tstate);
11598 if (PyErr_Occurred()) SWIG_fail;
11599 }
11600 Py_INCREF(Py_None); resultobj = Py_None;
11601 return resultobj;
11602 fail:
11603 return NULL;
11604}
11605
11606
c32bde28 11607static PyObject *_wrap_Image_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11608 PyObject *resultobj = NULL;
d14a1e28
RD
11609 wxImage *arg1 = (wxImage *) 0 ;
11610 PyObject * obj0 = 0 ;
11611 char *kwnames[] = {
11612 (char *) "self", NULL
11613 };
11614
11615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
11616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11617 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11618 {
11619 PyThreadState* __tstate = wxPyBeginAllowThreads();
11620 (arg1)->Destroy();
11621
11622 wxPyEndAllowThreads(__tstate);
11623 if (PyErr_Occurred()) SWIG_fail;
11624 }
11625 Py_INCREF(Py_None); resultobj = Py_None;
11626 return resultobj;
11627 fail:
11628 return NULL;
11629}
11630
11631
c32bde28 11632static PyObject *_wrap_Image_Scale(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11633 PyObject *resultobj = NULL;
d14a1e28
RD
11634 wxImage *arg1 = (wxImage *) 0 ;
11635 int arg2 ;
11636 int arg3 ;
093d3ff1 11637 SwigValueWrapper<wxImage > result;
d14a1e28 11638 PyObject * obj0 = 0 ;
994141e6
RD
11639 PyObject * obj1 = 0 ;
11640 PyObject * obj2 = 0 ;
d14a1e28
RD
11641 char *kwnames[] = {
11642 (char *) "self",(char *) "width",(char *) "height", NULL
11643 };
11644
994141e6 11645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11647 if (SWIG_arg_fail(1)) SWIG_fail;
11648 {
32fe5131 11649 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
11650 if (SWIG_arg_fail(2)) SWIG_fail;
11651 }
11652 {
32fe5131 11653 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
11654 if (SWIG_arg_fail(3)) SWIG_fail;
11655 }
d14a1e28
RD
11656 {
11657 PyThreadState* __tstate = wxPyBeginAllowThreads();
11658 result = (arg1)->Scale(arg2,arg3);
11659
11660 wxPyEndAllowThreads(__tstate);
11661 if (PyErr_Occurred()) SWIG_fail;
11662 }
11663 {
11664 wxImage * resultptr;
32fe5131 11665 resultptr = new wxImage(static_cast<wxImage & >(result));
15afbcd0 11666 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
11667 }
11668 return resultobj;
11669 fail:
11670 return NULL;
11671}
11672
11673
c32bde28 11674static PyObject *_wrap_Image_ShrinkBy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11675 PyObject *resultobj = NULL;
d14a1e28
RD
11676 wxImage *arg1 = (wxImage *) 0 ;
11677 int arg2 ;
11678 int arg3 ;
093d3ff1 11679 SwigValueWrapper<wxImage > result;
d14a1e28 11680 PyObject * obj0 = 0 ;
994141e6
RD
11681 PyObject * obj1 = 0 ;
11682 PyObject * obj2 = 0 ;
d14a1e28
RD
11683 char *kwnames[] = {
11684 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
11685 };
11686
994141e6 11687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_ShrinkBy",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11689 if (SWIG_arg_fail(1)) SWIG_fail;
11690 {
32fe5131 11691 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
11692 if (SWIG_arg_fail(2)) SWIG_fail;
11693 }
11694 {
32fe5131 11695 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
11696 if (SWIG_arg_fail(3)) SWIG_fail;
11697 }
d14a1e28
RD
11698 {
11699 PyThreadState* __tstate = wxPyBeginAllowThreads();
11700 result = ((wxImage const *)arg1)->ShrinkBy(arg2,arg3);
11701
11702 wxPyEndAllowThreads(__tstate);
11703 if (PyErr_Occurred()) SWIG_fail;
11704 }
11705 {
11706 wxImage * resultptr;
32fe5131 11707 resultptr = new wxImage(static_cast<wxImage & >(result));
15afbcd0 11708 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
11709 }
11710 return resultobj;
11711 fail:
11712 return NULL;
11713}
11714
11715
c32bde28 11716static PyObject *_wrap_Image_Rescale(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11717 PyObject *resultobj = NULL;
d14a1e28
RD
11718 wxImage *arg1 = (wxImage *) 0 ;
11719 int arg2 ;
11720 int arg3 ;
11721 wxImage *result;
11722 PyObject * obj0 = 0 ;
994141e6
RD
11723 PyObject * obj1 = 0 ;
11724 PyObject * obj2 = 0 ;
d14a1e28
RD
11725 char *kwnames[] = {
11726 (char *) "self",(char *) "width",(char *) "height", NULL
11727 };
11728
994141e6 11729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Rescale",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11731 if (SWIG_arg_fail(1)) SWIG_fail;
11732 {
32fe5131 11733 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
11734 if (SWIG_arg_fail(2)) SWIG_fail;
11735 }
11736 {
32fe5131 11737 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
11738 if (SWIG_arg_fail(3)) SWIG_fail;
11739 }
d14a1e28
RD
11740 {
11741 PyThreadState* __tstate = wxPyBeginAllowThreads();
11742 {
11743 wxImage &_result_ref = (arg1)->Rescale(arg2,arg3);
11744 result = (wxImage *) &_result_ref;
11745 }
11746
11747 wxPyEndAllowThreads(__tstate);
11748 if (PyErr_Occurred()) SWIG_fail;
11749 }
15afbcd0 11750 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 0);
d14a1e28
RD
11751 return resultobj;
11752 fail:
11753 return NULL;
11754}
11755
11756
aff4cc5c 11757static PyObject *_wrap_Image_Resize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11758 PyObject *resultobj = NULL;
aff4cc5c
RD
11759 wxImage *arg1 = (wxImage *) 0 ;
11760 wxSize *arg2 = 0 ;
11761 wxPoint *arg3 = 0 ;
11762 int arg4 = (int) -1 ;
11763 int arg5 = (int) -1 ;
11764 int arg6 = (int) -1 ;
11765 wxImage *result;
11766 wxSize temp2 ;
11767 wxPoint temp3 ;
11768 PyObject * obj0 = 0 ;
11769 PyObject * obj1 = 0 ;
11770 PyObject * obj2 = 0 ;
11771 PyObject * obj3 = 0 ;
11772 PyObject * obj4 = 0 ;
11773 PyObject * obj5 = 0 ;
11774 char *kwnames[] = {
11775 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
11776 };
11777
11778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:Image_Resize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11780 if (SWIG_arg_fail(1)) SWIG_fail;
11781 {
11782 arg2 = &temp2;
11783 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11784 }
11785 {
11786 arg3 = &temp3;
11787 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11788 }
11789 if (obj3) {
11790 {
32fe5131 11791 arg4 = static_cast<int >(SWIG_As_int(obj3));
aff4cc5c
RD
11792 if (SWIG_arg_fail(4)) SWIG_fail;
11793 }
11794 }
11795 if (obj4) {
11796 {
32fe5131 11797 arg5 = static_cast<int >(SWIG_As_int(obj4));
aff4cc5c
RD
11798 if (SWIG_arg_fail(5)) SWIG_fail;
11799 }
11800 }
11801 if (obj5) {
11802 {
32fe5131 11803 arg6 = static_cast<int >(SWIG_As_int(obj5));
aff4cc5c
RD
11804 if (SWIG_arg_fail(6)) SWIG_fail;
11805 }
11806 }
11807 {
11808 PyThreadState* __tstate = wxPyBeginAllowThreads();
11809 {
11810 wxImage &_result_ref = (arg1)->Resize((wxSize const &)*arg2,(wxPoint const &)*arg3,arg4,arg5,arg6);
11811 result = (wxImage *) &_result_ref;
11812 }
11813
11814 wxPyEndAllowThreads(__tstate);
11815 if (PyErr_Occurred()) SWIG_fail;
11816 }
11817 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 0);
11818 return resultobj;
11819 fail:
11820 return NULL;
11821}
11822
11823
c32bde28 11824static PyObject *_wrap_Image_SetRGB(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11825 PyObject *resultobj = NULL;
d14a1e28
RD
11826 wxImage *arg1 = (wxImage *) 0 ;
11827 int arg2 ;
11828 int arg3 ;
7a27cf7c
RD
11829 byte arg4 ;
11830 byte arg5 ;
11831 byte arg6 ;
d14a1e28 11832 PyObject * obj0 = 0 ;
994141e6
RD
11833 PyObject * obj1 = 0 ;
11834 PyObject * obj2 = 0 ;
d14a1e28
RD
11835 PyObject * obj3 = 0 ;
11836 PyObject * obj4 = 0 ;
11837 PyObject * obj5 = 0 ;
11838 char *kwnames[] = {
11839 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
11840 };
11841
994141e6 11842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Image_SetRGB",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
11843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11844 if (SWIG_arg_fail(1)) SWIG_fail;
11845 {
32fe5131 11846 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
11847 if (SWIG_arg_fail(2)) SWIG_fail;
11848 }
11849 {
32fe5131 11850 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
11851 if (SWIG_arg_fail(3)) SWIG_fail;
11852 }
11853 {
32fe5131 11854 arg4 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj3));
093d3ff1
RD
11855 if (SWIG_arg_fail(4)) SWIG_fail;
11856 }
11857 {
32fe5131 11858 arg5 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj4));
093d3ff1
RD
11859 if (SWIG_arg_fail(5)) SWIG_fail;
11860 }
11861 {
32fe5131 11862 arg6 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj5));
093d3ff1
RD
11863 if (SWIG_arg_fail(6)) SWIG_fail;
11864 }
d14a1e28
RD
11865 {
11866 PyThreadState* __tstate = wxPyBeginAllowThreads();
11867 (arg1)->SetRGB(arg2,arg3,arg4,arg5,arg6);
11868
11869 wxPyEndAllowThreads(__tstate);
11870 if (PyErr_Occurred()) SWIG_fail;
11871 }
11872 Py_INCREF(Py_None); resultobj = Py_None;
11873 return resultobj;
11874 fail:
11875 return NULL;
11876}
11877
11878
aff4cc5c 11879static PyObject *_wrap_Image_SetRGBRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11880 PyObject *resultobj = NULL;
aff4cc5c
RD
11881 wxImage *arg1 = (wxImage *) 0 ;
11882 wxRect *arg2 = 0 ;
7a27cf7c
RD
11883 byte arg3 ;
11884 byte arg4 ;
11885 byte arg5 ;
aff4cc5c
RD
11886 wxRect temp2 ;
11887 PyObject * obj0 = 0 ;
11888 PyObject * obj1 = 0 ;
11889 PyObject * obj2 = 0 ;
11890 PyObject * obj3 = 0 ;
11891 PyObject * obj4 = 0 ;
11892 char *kwnames[] = {
11893 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
11894 };
11895
11896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetRGBRect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
11897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11898 if (SWIG_arg_fail(1)) SWIG_fail;
11899 {
11900 arg2 = &temp2;
11901 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11902 }
11903 {
32fe5131 11904 arg3 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj2));
aff4cc5c
RD
11905 if (SWIG_arg_fail(3)) SWIG_fail;
11906 }
11907 {
32fe5131 11908 arg4 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj3));
aff4cc5c
RD
11909 if (SWIG_arg_fail(4)) SWIG_fail;
11910 }
11911 {
32fe5131 11912 arg5 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj4));
aff4cc5c
RD
11913 if (SWIG_arg_fail(5)) SWIG_fail;
11914 }
11915 {
11916 PyThreadState* __tstate = wxPyBeginAllowThreads();
11917 (arg1)->SetRGB((wxRect const &)*arg2,arg3,arg4,arg5);
11918
11919 wxPyEndAllowThreads(__tstate);
11920 if (PyErr_Occurred()) SWIG_fail;
11921 }
11922 Py_INCREF(Py_None); resultobj = Py_None;
11923 return resultobj;
11924 fail:
11925 return NULL;
11926}
11927
11928
c32bde28 11929static PyObject *_wrap_Image_GetRed(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11930 PyObject *resultobj = NULL;
d14a1e28
RD
11931 wxImage *arg1 = (wxImage *) 0 ;
11932 int arg2 ;
11933 int arg3 ;
7a27cf7c 11934 byte result;
d14a1e28 11935 PyObject * obj0 = 0 ;
994141e6
RD
11936 PyObject * obj1 = 0 ;
11937 PyObject * obj2 = 0 ;
d14a1e28
RD
11938 char *kwnames[] = {
11939 (char *) "self",(char *) "x",(char *) "y", NULL
11940 };
11941
994141e6 11942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetRed",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11944 if (SWIG_arg_fail(1)) SWIG_fail;
11945 {
32fe5131 11946 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
11947 if (SWIG_arg_fail(2)) SWIG_fail;
11948 }
11949 {
32fe5131 11950 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
11951 if (SWIG_arg_fail(3)) SWIG_fail;
11952 }
d14a1e28
RD
11953 {
11954 PyThreadState* __tstate = wxPyBeginAllowThreads();
7a27cf7c 11955 result = (byte)(arg1)->GetRed(arg2,arg3);
d14a1e28
RD
11956
11957 wxPyEndAllowThreads(__tstate);
11958 if (PyErr_Occurred()) SWIG_fail;
11959 }
093d3ff1 11960 {
32fe5131 11961 resultobj = SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result));
093d3ff1 11962 }
d14a1e28
RD
11963 return resultobj;
11964 fail:
11965 return NULL;
11966}
11967
11968
c32bde28 11969static PyObject *_wrap_Image_GetGreen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11970 PyObject *resultobj = NULL;
d14a1e28
RD
11971 wxImage *arg1 = (wxImage *) 0 ;
11972 int arg2 ;
11973 int arg3 ;
7a27cf7c 11974 byte result;
d14a1e28 11975 PyObject * obj0 = 0 ;
994141e6
RD
11976 PyObject * obj1 = 0 ;
11977 PyObject * obj2 = 0 ;
d14a1e28
RD
11978 char *kwnames[] = {
11979 (char *) "self",(char *) "x",(char *) "y", NULL
11980 };
11981
994141e6 11982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetGreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
11984 if (SWIG_arg_fail(1)) SWIG_fail;
11985 {
32fe5131 11986 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
11987 if (SWIG_arg_fail(2)) SWIG_fail;
11988 }
11989 {
32fe5131 11990 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
11991 if (SWIG_arg_fail(3)) SWIG_fail;
11992 }
d14a1e28
RD
11993 {
11994 PyThreadState* __tstate = wxPyBeginAllowThreads();
7a27cf7c 11995 result = (byte)(arg1)->GetGreen(arg2,arg3);
d14a1e28
RD
11996
11997 wxPyEndAllowThreads(__tstate);
11998 if (PyErr_Occurred()) SWIG_fail;
11999 }
093d3ff1 12000 {
32fe5131 12001 resultobj = SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result));
093d3ff1 12002 }
d14a1e28
RD
12003 return resultobj;
12004 fail:
12005 return NULL;
12006}
12007
12008
c32bde28 12009static PyObject *_wrap_Image_GetBlue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12010 PyObject *resultobj = NULL;
d14a1e28
RD
12011 wxImage *arg1 = (wxImage *) 0 ;
12012 int arg2 ;
12013 int arg3 ;
7a27cf7c 12014 byte result;
d14a1e28 12015 PyObject * obj0 = 0 ;
994141e6
RD
12016 PyObject * obj1 = 0 ;
12017 PyObject * obj2 = 0 ;
d14a1e28
RD
12018 char *kwnames[] = {
12019 (char *) "self",(char *) "x",(char *) "y", NULL
12020 };
12021
994141e6 12022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetBlue",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12024 if (SWIG_arg_fail(1)) SWIG_fail;
12025 {
32fe5131 12026 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12027 if (SWIG_arg_fail(2)) SWIG_fail;
12028 }
12029 {
32fe5131 12030 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
12031 if (SWIG_arg_fail(3)) SWIG_fail;
12032 }
d14a1e28
RD
12033 {
12034 PyThreadState* __tstate = wxPyBeginAllowThreads();
7a27cf7c 12035 result = (byte)(arg1)->GetBlue(arg2,arg3);
d14a1e28
RD
12036
12037 wxPyEndAllowThreads(__tstate);
12038 if (PyErr_Occurred()) SWIG_fail;
12039 }
093d3ff1 12040 {
32fe5131 12041 resultobj = SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result));
093d3ff1 12042 }
d14a1e28
RD
12043 return resultobj;
12044 fail:
12045 return NULL;
12046}
12047
12048
c32bde28 12049static PyObject *_wrap_Image_SetAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12050 PyObject *resultobj = NULL;
d14a1e28
RD
12051 wxImage *arg1 = (wxImage *) 0 ;
12052 int arg2 ;
12053 int arg3 ;
7a27cf7c 12054 byte arg4 ;
d14a1e28 12055 PyObject * obj0 = 0 ;
994141e6
RD
12056 PyObject * obj1 = 0 ;
12057 PyObject * obj2 = 0 ;
d14a1e28
RD
12058 PyObject * obj3 = 0 ;
12059 char *kwnames[] = {
12060 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
12061 };
12062
994141e6 12063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) 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;
12066 {
32fe5131 12067 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12068 if (SWIG_arg_fail(2)) SWIG_fail;
12069 }
12070 {
32fe5131 12071 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
12072 if (SWIG_arg_fail(3)) SWIG_fail;
12073 }
12074 {
32fe5131 12075 arg4 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj3));
093d3ff1
RD
12076 if (SWIG_arg_fail(4)) SWIG_fail;
12077 }
d14a1e28
RD
12078 {
12079 PyThreadState* __tstate = wxPyBeginAllowThreads();
12080 (arg1)->SetAlpha(arg2,arg3,arg4);
12081
12082 wxPyEndAllowThreads(__tstate);
12083 if (PyErr_Occurred()) SWIG_fail;
12084 }
12085 Py_INCREF(Py_None); resultobj = Py_None;
12086 return resultobj;
12087 fail:
12088 return NULL;
12089}
12090
12091
c32bde28 12092static PyObject *_wrap_Image_GetAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12093 PyObject *resultobj = NULL;
d14a1e28
RD
12094 wxImage *arg1 = (wxImage *) 0 ;
12095 int arg2 ;
12096 int arg3 ;
7a27cf7c 12097 byte result;
d14a1e28 12098 PyObject * obj0 = 0 ;
994141e6
RD
12099 PyObject * obj1 = 0 ;
12100 PyObject * obj2 = 0 ;
d14a1e28
RD
12101 char *kwnames[] = {
12102 (char *) "self",(char *) "x",(char *) "y", NULL
12103 };
12104
994141e6 12105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetAlpha",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12107 if (SWIG_arg_fail(1)) SWIG_fail;
12108 {
32fe5131 12109 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12110 if (SWIG_arg_fail(2)) SWIG_fail;
12111 }
12112 {
32fe5131 12113 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
12114 if (SWIG_arg_fail(3)) SWIG_fail;
12115 }
d14a1e28
RD
12116 {
12117 PyThreadState* __tstate = wxPyBeginAllowThreads();
7a27cf7c 12118 result = (byte)(arg1)->GetAlpha(arg2,arg3);
d14a1e28
RD
12119
12120 wxPyEndAllowThreads(__tstate);
12121 if (PyErr_Occurred()) SWIG_fail;
12122 }
093d3ff1 12123 {
32fe5131 12124 resultobj = SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result));
093d3ff1 12125 }
d14a1e28
RD
12126 return resultobj;
12127 fail:
12128 return NULL;
12129}
12130
12131
c32bde28 12132static PyObject *_wrap_Image_HasAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12133 PyObject *resultobj = NULL;
d14a1e28
RD
12134 wxImage *arg1 = (wxImage *) 0 ;
12135 bool result;
12136 PyObject * obj0 = 0 ;
12137 char *kwnames[] = {
12138 (char *) "self", NULL
12139 };
12140
12141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasAlpha",kwnames,&obj0)) goto fail;
093d3ff1
RD
12142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12143 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12144 {
12145 PyThreadState* __tstate = wxPyBeginAllowThreads();
12146 result = (bool)(arg1)->HasAlpha();
12147
12148 wxPyEndAllowThreads(__tstate);
12149 if (PyErr_Occurred()) SWIG_fail;
12150 }
4f89f6a3
RD
12151 {
12152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12153 }
d14a1e28
RD
12154 return resultobj;
12155 fail:
12156 return NULL;
12157}
12158
12159
68350608 12160static PyObject *_wrap_Image_InitAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12161 PyObject *resultobj = NULL;
68350608
RD
12162 wxImage *arg1 = (wxImage *) 0 ;
12163 PyObject * obj0 = 0 ;
12164 char *kwnames[] = {
12165 (char *) "self", NULL
12166 };
12167
12168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InitAlpha",kwnames,&obj0)) goto fail;
12169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12170 if (SWIG_arg_fail(1)) SWIG_fail;
12171 {
12172 PyThreadState* __tstate = wxPyBeginAllowThreads();
12173 (arg1)->InitAlpha();
12174
12175 wxPyEndAllowThreads(__tstate);
12176 if (PyErr_Occurred()) SWIG_fail;
12177 }
12178 Py_INCREF(Py_None); resultobj = Py_None;
12179 return resultobj;
12180 fail:
12181 return NULL;
12182}
12183
12184
bcd0d7b6 12185static PyObject *_wrap_Image_IsTransparent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12186 PyObject *resultobj = NULL;
bcd0d7b6
RD
12187 wxImage *arg1 = (wxImage *) 0 ;
12188 int arg2 ;
12189 int arg3 ;
7a27cf7c 12190 byte arg4 = (byte) wxIMAGE_ALPHA_THRESHOLD ;
bcd0d7b6
RD
12191 bool result;
12192 PyObject * obj0 = 0 ;
12193 PyObject * obj1 = 0 ;
12194 PyObject * obj2 = 0 ;
12195 PyObject * obj3 = 0 ;
12196 char *kwnames[] = {
12197 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
12198 };
12199
12200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_IsTransparent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12202 if (SWIG_arg_fail(1)) SWIG_fail;
12203 {
32fe5131 12204 arg2 = static_cast<int >(SWIG_As_int(obj1));
bcd0d7b6
RD
12205 if (SWIG_arg_fail(2)) SWIG_fail;
12206 }
12207 {
32fe5131 12208 arg3 = static_cast<int >(SWIG_As_int(obj2));
bcd0d7b6
RD
12209 if (SWIG_arg_fail(3)) SWIG_fail;
12210 }
12211 if (obj3) {
12212 {
32fe5131 12213 arg4 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj3));
bcd0d7b6
RD
12214 if (SWIG_arg_fail(4)) SWIG_fail;
12215 }
12216 }
12217 {
12218 PyThreadState* __tstate = wxPyBeginAllowThreads();
12219 result = (bool)((wxImage const *)arg1)->IsTransparent(arg2,arg3,arg4);
12220
12221 wxPyEndAllowThreads(__tstate);
12222 if (PyErr_Occurred()) SWIG_fail;
12223 }
12224 {
12225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12226 }
12227 return resultobj;
12228 fail:
12229 return NULL;
12230}
12231
12232
c32bde28 12233static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12234 PyObject *resultobj = NULL;
d14a1e28
RD
12235 wxImage *arg1 = (wxImage *) 0 ;
12236 byte *arg2 = (byte *) 0 ;
12237 byte *arg3 = (byte *) 0 ;
12238 byte *arg4 = (byte *) 0 ;
12239 byte arg5 = (byte) 0 ;
12240 byte arg6 = (byte) 0 ;
12241 byte arg7 = (byte) 0 ;
12242 bool result;
12243 byte temp2 ;
c32bde28 12244 int res2 = 0 ;
d14a1e28 12245 byte temp3 ;
c32bde28 12246 int res3 = 0 ;
d14a1e28 12247 byte temp4 ;
c32bde28 12248 int res4 = 0 ;
d14a1e28
RD
12249 PyObject * obj0 = 0 ;
12250 PyObject * obj1 = 0 ;
12251 PyObject * obj2 = 0 ;
12252 PyObject * obj3 = 0 ;
12253 char *kwnames[] = {
12254 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
12255 };
12256
c32bde28
RD
12257 arg2 = &temp2; res2 = SWIG_NEWOBJ;
12258 arg3 = &temp3; res3 = SWIG_NEWOBJ;
12259 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d14a1e28 12260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
12261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12262 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 12263 if (obj1) {
093d3ff1 12264 {
32fe5131 12265 arg5 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
093d3ff1
RD
12266 if (SWIG_arg_fail(5)) SWIG_fail;
12267 }
d14a1e28
RD
12268 }
12269 if (obj2) {
093d3ff1 12270 {
32fe5131 12271 arg6 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj2));
093d3ff1
RD
12272 if (SWIG_arg_fail(6)) SWIG_fail;
12273 }
d14a1e28
RD
12274 }
12275 if (obj3) {
093d3ff1 12276 {
32fe5131 12277 arg7 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj3));
093d3ff1
RD
12278 if (SWIG_arg_fail(7)) SWIG_fail;
12279 }
d14a1e28
RD
12280 }
12281 {
12282 PyThreadState* __tstate = wxPyBeginAllowThreads();
12283 result = (bool)((wxImage const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
12284
12285 wxPyEndAllowThreads(__tstate);
12286 if (PyErr_Occurred()) SWIG_fail;
12287 }
4f89f6a3
RD
12288 {
12289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12290 }
c32bde28 12291 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
093d3ff1 12292 SWIG_From_unsigned_SS_char((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_unsigned_char, 0)));
c32bde28 12293 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
093d3ff1 12294 SWIG_From_unsigned_SS_char((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_unsigned_char, 0)));
c32bde28 12295 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
093d3ff1 12296 SWIG_From_unsigned_SS_char((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_unsigned_char, 0)));
d14a1e28
RD
12297 return resultobj;
12298 fail:
12299 return NULL;
12300}
12301
12302
c32bde28 12303static PyObject *_wrap_Image_ConvertAlphaToMask(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12304 PyObject *resultobj = NULL;
4cf4100f 12305 wxImage *arg1 = (wxImage *) 0 ;
bcd0d7b6 12306 byte arg2 = (byte) wxIMAGE_ALPHA_THRESHOLD ;
4cf4100f
RD
12307 bool result;
12308 PyObject * obj0 = 0 ;
12309 PyObject * obj1 = 0 ;
12310 char *kwnames[] = {
12311 (char *) "self",(char *) "threshold", NULL
12312 };
12313
12314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_ConvertAlphaToMask",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12316 if (SWIG_arg_fail(1)) SWIG_fail;
4cf4100f 12317 if (obj1) {
093d3ff1 12318 {
32fe5131 12319 arg2 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
093d3ff1
RD
12320 if (SWIG_arg_fail(2)) SWIG_fail;
12321 }
4cf4100f
RD
12322 }
12323 {
12324 PyThreadState* __tstate = wxPyBeginAllowThreads();
12325 result = (bool)(arg1)->ConvertAlphaToMask(arg2);
12326
12327 wxPyEndAllowThreads(__tstate);
12328 if (PyErr_Occurred()) SWIG_fail;
12329 }
12330 {
12331 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12332 }
12333 return resultobj;
12334 fail:
12335 return NULL;
12336}
12337
12338
8fb0e70a 12339static PyObject *_wrap_Image_ConvertColourToAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12340 PyObject *resultobj = NULL;
8fb0e70a 12341 wxImage *arg1 = (wxImage *) 0 ;
7a27cf7c
RD
12342 byte arg2 ;
12343 byte arg3 ;
12344 byte arg4 ;
8fb0e70a
RD
12345 bool result;
12346 PyObject * obj0 = 0 ;
12347 PyObject * obj1 = 0 ;
12348 PyObject * obj2 = 0 ;
12349 PyObject * obj3 = 0 ;
12350 char *kwnames[] = {
12351 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12352 };
12353
12354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
12355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12356 if (SWIG_arg_fail(1)) SWIG_fail;
12357 {
32fe5131 12358 arg2 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
093d3ff1
RD
12359 if (SWIG_arg_fail(2)) SWIG_fail;
12360 }
12361 {
32fe5131 12362 arg3 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj2));
093d3ff1
RD
12363 if (SWIG_arg_fail(3)) SWIG_fail;
12364 }
12365 {
32fe5131 12366 arg4 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj3));
093d3ff1
RD
12367 if (SWIG_arg_fail(4)) SWIG_fail;
12368 }
8fb0e70a
RD
12369 {
12370 PyThreadState* __tstate = wxPyBeginAllowThreads();
12371 result = (bool)(arg1)->ConvertColourToAlpha(arg2,arg3,arg4);
12372
12373 wxPyEndAllowThreads(__tstate);
12374 if (PyErr_Occurred()) SWIG_fail;
12375 }
12376 {
12377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12378 }
12379 return resultobj;
12380 fail:
12381 return NULL;
12382}
12383
12384
c32bde28 12385static PyObject *_wrap_Image_SetMaskFromImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12386 PyObject *resultobj = NULL;
d14a1e28
RD
12387 wxImage *arg1 = (wxImage *) 0 ;
12388 wxImage *arg2 = 0 ;
12389 byte arg3 ;
12390 byte arg4 ;
12391 byte arg5 ;
12392 bool result;
12393 PyObject * obj0 = 0 ;
12394 PyObject * obj1 = 0 ;
12395 PyObject * obj2 = 0 ;
12396 PyObject * obj3 = 0 ;
12397 PyObject * obj4 = 0 ;
12398 char *kwnames[] = {
12399 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
12400 };
12401
12402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetMaskFromImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
12403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12404 if (SWIG_arg_fail(1)) SWIG_fail;
12405 {
12406 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12407 if (SWIG_arg_fail(2)) SWIG_fail;
12408 if (arg2 == NULL) {
12409 SWIG_null_ref("wxImage");
12410 }
12411 if (SWIG_arg_fail(2)) SWIG_fail;
12412 }
12413 {
32fe5131 12414 arg3 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj2));
093d3ff1
RD
12415 if (SWIG_arg_fail(3)) SWIG_fail;
12416 }
12417 {
32fe5131 12418 arg4 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj3));
093d3ff1
RD
12419 if (SWIG_arg_fail(4)) SWIG_fail;
12420 }
12421 {
32fe5131 12422 arg5 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj4));
093d3ff1
RD
12423 if (SWIG_arg_fail(5)) SWIG_fail;
12424 }
d14a1e28
RD
12425 {
12426 PyThreadState* __tstate = wxPyBeginAllowThreads();
12427 result = (bool)(arg1)->SetMaskFromImage((wxImage const &)*arg2,arg3,arg4,arg5);
12428
12429 wxPyEndAllowThreads(__tstate);
12430 if (PyErr_Occurred()) SWIG_fail;
12431 }
4f89f6a3
RD
12432 {
12433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12434 }
d14a1e28
RD
12435 return resultobj;
12436 fail:
12437 return NULL;
12438}
12439
12440
c32bde28 12441static PyObject *_wrap_Image_CanRead(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12442 PyObject *resultobj = NULL;
d14a1e28
RD
12443 wxString *arg1 = 0 ;
12444 bool result;
ae8162c8 12445 bool temp1 = false ;
d14a1e28
RD
12446 PyObject * obj0 = 0 ;
12447 char *kwnames[] = {
7a27cf7c 12448 (char *) "filename", NULL
d14a1e28
RD
12449 };
12450
12451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanRead",kwnames,&obj0)) goto fail;
12452 {
12453 arg1 = wxString_in_helper(obj0);
12454 if (arg1 == NULL) SWIG_fail;
ae8162c8 12455 temp1 = true;
d14a1e28
RD
12456 }
12457 {
12458 PyThreadState* __tstate = wxPyBeginAllowThreads();
12459 result = (bool)wxImage::CanRead((wxString const &)*arg1);
12460
12461 wxPyEndAllowThreads(__tstate);
12462 if (PyErr_Occurred()) SWIG_fail;
12463 }
4f89f6a3
RD
12464 {
12465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12466 }
d14a1e28
RD
12467 {
12468 if (temp1)
12469 delete arg1;
12470 }
12471 return resultobj;
12472 fail:
12473 {
12474 if (temp1)
12475 delete arg1;
12476 }
12477 return NULL;
12478}
12479
12480
c32bde28 12481static PyObject *_wrap_Image_GetImageCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12482 PyObject *resultobj = NULL;
d14a1e28
RD
12483 wxString *arg1 = 0 ;
12484 long arg2 = (long) wxBITMAP_TYPE_ANY ;
12485 int result;
ae8162c8 12486 bool temp1 = false ;
d14a1e28 12487 PyObject * obj0 = 0 ;
994141e6 12488 PyObject * obj1 = 0 ;
d14a1e28 12489 char *kwnames[] = {
7a27cf7c 12490 (char *) "filename",(char *) "type", NULL
d14a1e28
RD
12491 };
12492
994141e6 12493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_GetImageCount",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
12494 {
12495 arg1 = wxString_in_helper(obj0);
12496 if (arg1 == NULL) SWIG_fail;
ae8162c8 12497 temp1 = true;
d14a1e28 12498 }
994141e6 12499 if (obj1) {
093d3ff1 12500 {
32fe5131 12501 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
12502 if (SWIG_arg_fail(2)) SWIG_fail;
12503 }
994141e6 12504 }
d14a1e28
RD
12505 {
12506 PyThreadState* __tstate = wxPyBeginAllowThreads();
12507 result = (int)wxImage::GetImageCount((wxString const &)*arg1,arg2);
12508
12509 wxPyEndAllowThreads(__tstate);
12510 if (PyErr_Occurred()) SWIG_fail;
12511 }
093d3ff1 12512 {
32fe5131 12513 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12514 }
d14a1e28
RD
12515 {
12516 if (temp1)
12517 delete arg1;
12518 }
12519 return resultobj;
12520 fail:
12521 {
12522 if (temp1)
12523 delete arg1;
12524 }
12525 return NULL;
12526}
12527
12528
c32bde28 12529static PyObject *_wrap_Image_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12530 PyObject *resultobj = NULL;
d14a1e28
RD
12531 wxImage *arg1 = (wxImage *) 0 ;
12532 wxString *arg2 = 0 ;
12533 long arg3 = (long) wxBITMAP_TYPE_ANY ;
12534 int arg4 = (int) -1 ;
12535 bool result;
ae8162c8 12536 bool temp2 = false ;
d14a1e28
RD
12537 PyObject * obj0 = 0 ;
12538 PyObject * obj1 = 0 ;
994141e6
RD
12539 PyObject * obj2 = 0 ;
12540 PyObject * obj3 = 0 ;
d14a1e28
RD
12541 char *kwnames[] = {
12542 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
12543 };
12544
994141e6 12545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
12546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12547 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12548 {
12549 arg2 = wxString_in_helper(obj1);
12550 if (arg2 == NULL) SWIG_fail;
ae8162c8 12551 temp2 = true;
d14a1e28 12552 }
994141e6 12553 if (obj2) {
093d3ff1 12554 {
32fe5131 12555 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
12556 if (SWIG_arg_fail(3)) SWIG_fail;
12557 }
994141e6
RD
12558 }
12559 if (obj3) {
093d3ff1 12560 {
32fe5131 12561 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
12562 if (SWIG_arg_fail(4)) SWIG_fail;
12563 }
994141e6 12564 }
d14a1e28
RD
12565 {
12566 PyThreadState* __tstate = wxPyBeginAllowThreads();
12567 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3,arg4);
12568
12569 wxPyEndAllowThreads(__tstate);
12570 if (PyErr_Occurred()) SWIG_fail;
12571 }
4f89f6a3
RD
12572 {
12573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12574 }
d14a1e28
RD
12575 {
12576 if (temp2)
12577 delete arg2;
12578 }
12579 return resultobj;
12580 fail:
12581 {
12582 if (temp2)
12583 delete arg2;
12584 }
12585 return NULL;
12586}
12587
12588
c32bde28 12589static PyObject *_wrap_Image_LoadMimeFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12590 PyObject *resultobj = NULL;
d14a1e28
RD
12591 wxImage *arg1 = (wxImage *) 0 ;
12592 wxString *arg2 = 0 ;
12593 wxString *arg3 = 0 ;
12594 int arg4 = (int) -1 ;
12595 bool result;
ae8162c8
RD
12596 bool temp2 = false ;
12597 bool temp3 = false ;
d14a1e28
RD
12598 PyObject * obj0 = 0 ;
12599 PyObject * obj1 = 0 ;
12600 PyObject * obj2 = 0 ;
994141e6 12601 PyObject * obj3 = 0 ;
d14a1e28
RD
12602 char *kwnames[] = {
12603 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
12604 };
12605
994141e6 12606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
12607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12608 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12609 {
12610 arg2 = wxString_in_helper(obj1);
12611 if (arg2 == NULL) SWIG_fail;
ae8162c8 12612 temp2 = true;
d14a1e28
RD
12613 }
12614 {
12615 arg3 = wxString_in_helper(obj2);
12616 if (arg3 == NULL) SWIG_fail;
ae8162c8 12617 temp3 = true;
d14a1e28 12618 }
994141e6 12619 if (obj3) {
093d3ff1 12620 {
32fe5131 12621 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
12622 if (SWIG_arg_fail(4)) SWIG_fail;
12623 }
994141e6 12624 }
d14a1e28
RD
12625 {
12626 PyThreadState* __tstate = wxPyBeginAllowThreads();
12627 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxString const &)*arg3,arg4);
12628
12629 wxPyEndAllowThreads(__tstate);
12630 if (PyErr_Occurred()) SWIG_fail;
12631 }
4f89f6a3
RD
12632 {
12633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12634 }
d14a1e28
RD
12635 {
12636 if (temp2)
12637 delete arg2;
12638 }
12639 {
12640 if (temp3)
12641 delete arg3;
12642 }
12643 return resultobj;
12644 fail:
12645 {
12646 if (temp2)
12647 delete arg2;
12648 }
12649 {
12650 if (temp3)
12651 delete arg3;
12652 }
12653 return NULL;
12654}
12655
12656
c32bde28 12657static PyObject *_wrap_Image_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12658 PyObject *resultobj = NULL;
d14a1e28
RD
12659 wxImage *arg1 = (wxImage *) 0 ;
12660 wxString *arg2 = 0 ;
12661 int arg3 ;
12662 bool result;
ae8162c8 12663 bool temp2 = false ;
d14a1e28
RD
12664 PyObject * obj0 = 0 ;
12665 PyObject * obj1 = 0 ;
994141e6 12666 PyObject * obj2 = 0 ;
d14a1e28
RD
12667 char *kwnames[] = {
12668 (char *) "self",(char *) "name",(char *) "type", NULL
12669 };
12670
994141e6 12671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12673 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12674 {
12675 arg2 = wxString_in_helper(obj1);
12676 if (arg2 == NULL) SWIG_fail;
ae8162c8 12677 temp2 = true;
d14a1e28 12678 }
093d3ff1 12679 {
32fe5131 12680 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
12681 if (SWIG_arg_fail(3)) SWIG_fail;
12682 }
d14a1e28
RD
12683 {
12684 PyThreadState* __tstate = wxPyBeginAllowThreads();
12685 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
12686
12687 wxPyEndAllowThreads(__tstate);
12688 if (PyErr_Occurred()) SWIG_fail;
12689 }
4f89f6a3
RD
12690 {
12691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12692 }
d14a1e28
RD
12693 {
12694 if (temp2)
12695 delete arg2;
12696 }
12697 return resultobj;
12698 fail:
12699 {
12700 if (temp2)
12701 delete arg2;
12702 }
12703 return NULL;
12704}
12705
12706
c32bde28 12707static PyObject *_wrap_Image_SaveMimeFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12708 PyObject *resultobj = NULL;
d14a1e28
RD
12709 wxImage *arg1 = (wxImage *) 0 ;
12710 wxString *arg2 = 0 ;
12711 wxString *arg3 = 0 ;
12712 bool result;
ae8162c8
RD
12713 bool temp2 = false ;
12714 bool temp3 = false ;
d14a1e28
RD
12715 PyObject * obj0 = 0 ;
12716 PyObject * obj1 = 0 ;
12717 PyObject * obj2 = 0 ;
12718 char *kwnames[] = {
12719 (char *) "self",(char *) "name",(char *) "mimetype", NULL
12720 };
12721
12722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveMimeFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12724 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12725 {
12726 arg2 = wxString_in_helper(obj1);
12727 if (arg2 == NULL) SWIG_fail;
ae8162c8 12728 temp2 = true;
d14a1e28
RD
12729 }
12730 {
12731 arg3 = wxString_in_helper(obj2);
12732 if (arg3 == NULL) SWIG_fail;
ae8162c8 12733 temp3 = true;
d14a1e28
RD
12734 }
12735 {
12736 PyThreadState* __tstate = wxPyBeginAllowThreads();
12737 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxString const &)*arg3);
12738
12739 wxPyEndAllowThreads(__tstate);
12740 if (PyErr_Occurred()) SWIG_fail;
12741 }
4f89f6a3
RD
12742 {
12743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12744 }
d14a1e28
RD
12745 {
12746 if (temp2)
12747 delete arg2;
12748 }
12749 {
12750 if (temp3)
12751 delete arg3;
12752 }
12753 return resultobj;
12754 fail:
12755 {
12756 if (temp2)
12757 delete arg2;
12758 }
12759 {
12760 if (temp3)
12761 delete arg3;
12762 }
12763 return NULL;
12764}
12765
12766
c32bde28 12767static PyObject *_wrap_Image_CanReadStream(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12768 PyObject *resultobj = NULL;
d14a1e28
RD
12769 wxInputStream *arg1 = 0 ;
12770 bool result;
12771 wxPyInputStream *temp1 ;
12772 bool created1 ;
12773 PyObject * obj0 = 0 ;
12774 char *kwnames[] = {
12775 (char *) "stream", NULL
12776 };
12777
12778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanReadStream",kwnames,&obj0)) goto fail;
12779 {
12780 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
12781 arg1 = temp1->m_wxis;
ae8162c8 12782 created1 = false;
d14a1e28
RD
12783 } else {
12784 PyErr_Clear(); // clear the failure of the wxPyConvert above
ae8162c8 12785 arg1 = wxPyCBInputStream_create(obj0, false);
d14a1e28 12786 if (arg1 == NULL) {
e2950dbb 12787 PyErr_SetString(PyExc_TypeError, "Expected wx.InputStream or Python file-like object.");
d14a1e28
RD
12788 SWIG_fail;
12789 }
ae8162c8 12790 created1 = true;
d14a1e28
RD
12791 }
12792 }
12793 {
12794 PyThreadState* __tstate = wxPyBeginAllowThreads();
12795 result = (bool)wxImage::CanRead(*arg1);
12796
12797 wxPyEndAllowThreads(__tstate);
12798 if (PyErr_Occurred()) SWIG_fail;
12799 }
4f89f6a3
RD
12800 {
12801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12802 }
d14a1e28 12803 {
e2950dbb 12804 if (created1) delete arg1;
d14a1e28
RD
12805 }
12806 return resultobj;
12807 fail:
12808 {
e2950dbb 12809 if (created1) delete arg1;
d14a1e28
RD
12810 }
12811 return NULL;
12812}
12813
12814
c32bde28 12815static PyObject *_wrap_Image_LoadStream(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12816 PyObject *resultobj = NULL;
d14a1e28
RD
12817 wxImage *arg1 = (wxImage *) 0 ;
12818 wxInputStream *arg2 = 0 ;
12819 long arg3 = (long) wxBITMAP_TYPE_ANY ;
12820 int arg4 = (int) -1 ;
12821 bool result;
12822 wxPyInputStream *temp2 ;
12823 bool created2 ;
12824 PyObject * obj0 = 0 ;
12825 PyObject * obj1 = 0 ;
994141e6
RD
12826 PyObject * obj2 = 0 ;
12827 PyObject * obj3 = 0 ;
d14a1e28
RD
12828 char *kwnames[] = {
12829 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
12830 };
12831
994141e6 12832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
12833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12834 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12835 {
12836 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
12837 arg2 = temp2->m_wxis;
ae8162c8 12838 created2 = false;
d14a1e28
RD
12839 } else {
12840 PyErr_Clear(); // clear the failure of the wxPyConvert above
ae8162c8 12841 arg2 = wxPyCBInputStream_create(obj1, false);
d14a1e28 12842 if (arg2 == NULL) {
e2950dbb 12843 PyErr_SetString(PyExc_TypeError, "Expected wx.InputStream or Python file-like object.");
d14a1e28
RD
12844 SWIG_fail;
12845 }
ae8162c8 12846 created2 = true;
d14a1e28
RD
12847 }
12848 }
994141e6 12849 if (obj2) {
093d3ff1 12850 {
32fe5131 12851 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
12852 if (SWIG_arg_fail(3)) SWIG_fail;
12853 }
994141e6
RD
12854 }
12855 if (obj3) {
093d3ff1 12856 {
32fe5131 12857 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
12858 if (SWIG_arg_fail(4)) SWIG_fail;
12859 }
994141e6 12860 }
d14a1e28
RD
12861 {
12862 PyThreadState* __tstate = wxPyBeginAllowThreads();
12863 result = (bool)(arg1)->LoadFile(*arg2,arg3,arg4);
12864
12865 wxPyEndAllowThreads(__tstate);
12866 if (PyErr_Occurred()) SWIG_fail;
12867 }
4f89f6a3
RD
12868 {
12869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12870 }
d14a1e28 12871 {
e2950dbb 12872 if (created2) delete arg2;
d14a1e28
RD
12873 }
12874 return resultobj;
12875 fail:
12876 {
e2950dbb 12877 if (created2) delete arg2;
d14a1e28
RD
12878 }
12879 return NULL;
12880}
12881
12882
c32bde28 12883static PyObject *_wrap_Image_LoadMimeStream(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12884 PyObject *resultobj = NULL;
d14a1e28
RD
12885 wxImage *arg1 = (wxImage *) 0 ;
12886 wxInputStream *arg2 = 0 ;
12887 wxString *arg3 = 0 ;
12888 int arg4 = (int) -1 ;
12889 bool result;
12890 wxPyInputStream *temp2 ;
12891 bool created2 ;
ae8162c8 12892 bool temp3 = false ;
d14a1e28
RD
12893 PyObject * obj0 = 0 ;
12894 PyObject * obj1 = 0 ;
12895 PyObject * obj2 = 0 ;
994141e6 12896 PyObject * obj3 = 0 ;
d14a1e28
RD
12897 char *kwnames[] = {
12898 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
12899 };
12900
994141e6 12901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
12902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12903 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12904 {
12905 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
12906 arg2 = temp2->m_wxis;
ae8162c8 12907 created2 = false;
d14a1e28
RD
12908 } else {
12909 PyErr_Clear(); // clear the failure of the wxPyConvert above
ae8162c8 12910 arg2 = wxPyCBInputStream_create(obj1, false);
d14a1e28 12911 if (arg2 == NULL) {
e2950dbb 12912 PyErr_SetString(PyExc_TypeError, "Expected wx.InputStream or Python file-like object.");
d14a1e28
RD
12913 SWIG_fail;
12914 }
ae8162c8 12915 created2 = true;
d14a1e28
RD
12916 }
12917 }
12918 {
12919 arg3 = wxString_in_helper(obj2);
12920 if (arg3 == NULL) SWIG_fail;
ae8162c8 12921 temp3 = true;
d14a1e28 12922 }
994141e6 12923 if (obj3) {
093d3ff1 12924 {
32fe5131 12925 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
12926 if (SWIG_arg_fail(4)) SWIG_fail;
12927 }
994141e6 12928 }
d14a1e28
RD
12929 {
12930 PyThreadState* __tstate = wxPyBeginAllowThreads();
12931 result = (bool)(arg1)->LoadFile(*arg2,(wxString const &)*arg3,arg4);
12932
12933 wxPyEndAllowThreads(__tstate);
12934 if (PyErr_Occurred()) SWIG_fail;
12935 }
4f89f6a3
RD
12936 {
12937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12938 }
d14a1e28 12939 {
e2950dbb 12940 if (created2) delete arg2;
d14a1e28
RD
12941 }
12942 {
12943 if (temp3)
12944 delete arg3;
12945 }
12946 return resultobj;
12947 fail:
12948 {
e2950dbb 12949 if (created2) delete arg2;
d14a1e28
RD
12950 }
12951 {
12952 if (temp3)
12953 delete arg3;
12954 }
12955 return NULL;
12956}
12957
12958
c32bde28 12959static PyObject *_wrap_Image_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12960 PyObject *resultobj = NULL;
d14a1e28
RD
12961 wxImage *arg1 = (wxImage *) 0 ;
12962 bool result;
12963 PyObject * obj0 = 0 ;
12964 char *kwnames[] = {
12965 (char *) "self", NULL
12966 };
12967
12968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
12969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12970 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12971 {
12972 PyThreadState* __tstate = wxPyBeginAllowThreads();
12973 result = (bool)(arg1)->Ok();
12974
12975 wxPyEndAllowThreads(__tstate);
12976 if (PyErr_Occurred()) SWIG_fail;
12977 }
4f89f6a3
RD
12978 {
12979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12980 }
d14a1e28
RD
12981 return resultobj;
12982 fail:
12983 return NULL;
12984}
12985
12986
c32bde28 12987static PyObject *_wrap_Image_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12988 PyObject *resultobj = NULL;
d14a1e28
RD
12989 wxImage *arg1 = (wxImage *) 0 ;
12990 int result;
12991 PyObject * obj0 = 0 ;
12992 char *kwnames[] = {
12993 (char *) "self", NULL
12994 };
12995
12996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
12997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
12998 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12999 {
13000 PyThreadState* __tstate = wxPyBeginAllowThreads();
13001 result = (int)(arg1)->GetWidth();
13002
13003 wxPyEndAllowThreads(__tstate);
13004 if (PyErr_Occurred()) SWIG_fail;
13005 }
093d3ff1 13006 {
32fe5131 13007 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13008 }
d14a1e28
RD
13009 return resultobj;
13010 fail:
13011 return NULL;
13012}
13013
13014
c32bde28 13015static PyObject *_wrap_Image_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13016 PyObject *resultobj = NULL;
d14a1e28
RD
13017 wxImage *arg1 = (wxImage *) 0 ;
13018 int result;
13019 PyObject * obj0 = 0 ;
13020 char *kwnames[] = {
13021 (char *) "self", NULL
13022 };
13023
13024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
13025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13026 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13027 {
13028 PyThreadState* __tstate = wxPyBeginAllowThreads();
13029 result = (int)(arg1)->GetHeight();
13030
13031 wxPyEndAllowThreads(__tstate);
13032 if (PyErr_Occurred()) SWIG_fail;
13033 }
093d3ff1 13034 {
32fe5131 13035 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13036 }
d14a1e28
RD
13037 return resultobj;
13038 fail:
13039 return NULL;
13040}
13041
13042
c32bde28 13043static PyObject *_wrap_Image_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13044 PyObject *resultobj = NULL;
b2df227b
RD
13045 wxImage *arg1 = (wxImage *) 0 ;
13046 wxSize result;
13047 PyObject * obj0 = 0 ;
13048 char *kwnames[] = {
13049 (char *) "self", NULL
13050 };
13051
13052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
13053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13054 if (SWIG_arg_fail(1)) SWIG_fail;
b2df227b
RD
13055 {
13056 PyThreadState* __tstate = wxPyBeginAllowThreads();
13057 result = wxImage_GetSize(arg1);
13058
13059 wxPyEndAllowThreads(__tstate);
13060 if (PyErr_Occurred()) SWIG_fail;
13061 }
13062 {
13063 wxSize * resultptr;
32fe5131 13064 resultptr = new wxSize(static_cast<wxSize & >(result));
b2df227b
RD
13065 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
13066 }
13067 return resultobj;
13068 fail:
13069 return NULL;
13070}
13071
13072
c32bde28 13073static PyObject *_wrap_Image_GetSubImage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13074 PyObject *resultobj = NULL;
d14a1e28
RD
13075 wxImage *arg1 = (wxImage *) 0 ;
13076 wxRect *arg2 = 0 ;
093d3ff1 13077 SwigValueWrapper<wxImage > result;
d14a1e28
RD
13078 wxRect temp2 ;
13079 PyObject * obj0 = 0 ;
13080 PyObject * obj1 = 0 ;
13081 char *kwnames[] = {
13082 (char *) "self",(char *) "rect", NULL
13083 };
13084
13085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetSubImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13087 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13088 {
13089 arg2 = &temp2;
13090 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13091 }
13092 {
13093 PyThreadState* __tstate = wxPyBeginAllowThreads();
13094 result = (arg1)->GetSubImage((wxRect const &)*arg2);
13095
13096 wxPyEndAllowThreads(__tstate);
13097 if (PyErr_Occurred()) SWIG_fail;
13098 }
13099 {
13100 wxImage * resultptr;
32fe5131 13101 resultptr = new wxImage(static_cast<wxImage & >(result));
15afbcd0 13102 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
13103 }
13104 return resultobj;
13105 fail:
13106 return NULL;
13107}
13108
13109
aff4cc5c 13110static PyObject *_wrap_Image_Size(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13111 PyObject *resultobj = NULL;
aff4cc5c
RD
13112 wxImage *arg1 = (wxImage *) 0 ;
13113 wxSize *arg2 = 0 ;
13114 wxPoint *arg3 = 0 ;
13115 int arg4 = (int) -1 ;
13116 int arg5 = (int) -1 ;
13117 int arg6 = (int) -1 ;
13118 SwigValueWrapper<wxImage > result;
13119 wxSize temp2 ;
13120 wxPoint temp3 ;
13121 PyObject * obj0 = 0 ;
13122 PyObject * obj1 = 0 ;
13123 PyObject * obj2 = 0 ;
13124 PyObject * obj3 = 0 ;
13125 PyObject * obj4 = 0 ;
13126 PyObject * obj5 = 0 ;
13127 char *kwnames[] = {
13128 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
13129 };
13130
13131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:Image_Size",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13133 if (SWIG_arg_fail(1)) SWIG_fail;
13134 {
13135 arg2 = &temp2;
13136 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13137 }
13138 {
13139 arg3 = &temp3;
13140 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13141 }
13142 if (obj3) {
13143 {
32fe5131 13144 arg4 = static_cast<int >(SWIG_As_int(obj3));
aff4cc5c
RD
13145 if (SWIG_arg_fail(4)) SWIG_fail;
13146 }
13147 }
13148 if (obj4) {
13149 {
32fe5131 13150 arg5 = static_cast<int >(SWIG_As_int(obj4));
aff4cc5c
RD
13151 if (SWIG_arg_fail(5)) SWIG_fail;
13152 }
13153 }
13154 if (obj5) {
13155 {
32fe5131 13156 arg6 = static_cast<int >(SWIG_As_int(obj5));
aff4cc5c
RD
13157 if (SWIG_arg_fail(6)) SWIG_fail;
13158 }
13159 }
13160 {
13161 PyThreadState* __tstate = wxPyBeginAllowThreads();
13162 result = ((wxImage const *)arg1)->Size((wxSize const &)*arg2,(wxPoint const &)*arg3,arg4,arg5,arg6);
13163
13164 wxPyEndAllowThreads(__tstate);
13165 if (PyErr_Occurred()) SWIG_fail;
13166 }
13167 {
13168 wxImage * resultptr;
32fe5131 13169 resultptr = new wxImage(static_cast<wxImage & >(result));
aff4cc5c
RD
13170 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
13171 }
13172 return resultobj;
13173 fail:
13174 return NULL;
13175}
13176
13177
c32bde28 13178static PyObject *_wrap_Image_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13179 PyObject *resultobj = NULL;
d14a1e28 13180 wxImage *arg1 = (wxImage *) 0 ;
093d3ff1 13181 SwigValueWrapper<wxImage > result;
d14a1e28
RD
13182 PyObject * obj0 = 0 ;
13183 char *kwnames[] = {
13184 (char *) "self", NULL
13185 };
13186
13187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Copy",kwnames,&obj0)) goto fail;
093d3ff1
RD
13188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13189 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13190 {
13191 PyThreadState* __tstate = wxPyBeginAllowThreads();
13192 result = (arg1)->Copy();
13193
13194 wxPyEndAllowThreads(__tstate);
13195 if (PyErr_Occurred()) SWIG_fail;
13196 }
13197 {
13198 wxImage * resultptr;
32fe5131 13199 resultptr = new wxImage(static_cast<wxImage & >(result));
15afbcd0 13200 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
13201 }
13202 return resultobj;
13203 fail:
13204 return NULL;
13205}
13206
13207
c32bde28 13208static PyObject *_wrap_Image_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13209 PyObject *resultobj = NULL;
d14a1e28
RD
13210 wxImage *arg1 = (wxImage *) 0 ;
13211 wxImage *arg2 = 0 ;
13212 int arg3 ;
13213 int arg4 ;
13214 PyObject * obj0 = 0 ;
13215 PyObject * obj1 = 0 ;
994141e6
RD
13216 PyObject * obj2 = 0 ;
13217 PyObject * obj3 = 0 ;
d14a1e28
RD
13218 char *kwnames[] = {
13219 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
13220 };
13221
994141e6 13222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_Paste",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
13223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13224 if (SWIG_arg_fail(1)) SWIG_fail;
13225 {
13226 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13227 if (SWIG_arg_fail(2)) SWIG_fail;
13228 if (arg2 == NULL) {
13229 SWIG_null_ref("wxImage");
13230 }
13231 if (SWIG_arg_fail(2)) SWIG_fail;
13232 }
13233 {
32fe5131 13234 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
13235 if (SWIG_arg_fail(3)) SWIG_fail;
13236 }
13237 {
32fe5131 13238 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1 13239 if (SWIG_arg_fail(4)) SWIG_fail;
994141e6 13240 }
d14a1e28
RD
13241 {
13242 PyThreadState* __tstate = wxPyBeginAllowThreads();
13243 (arg1)->Paste((wxImage const &)*arg2,arg3,arg4);
13244
13245 wxPyEndAllowThreads(__tstate);
13246 if (PyErr_Occurred()) SWIG_fail;
13247 }
13248 Py_INCREF(Py_None); resultobj = Py_None;
13249 return resultobj;
13250 fail:
13251 return NULL;
13252}
13253
13254
c32bde28 13255static PyObject *_wrap_Image_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13256 PyObject *resultobj = NULL;
d14a1e28
RD
13257 wxImage *arg1 = (wxImage *) 0 ;
13258 PyObject *result;
13259 PyObject * obj0 = 0 ;
13260 char *kwnames[] = {
13261 (char *) "self", NULL
13262 };
13263
13264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetData",kwnames,&obj0)) 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;
d14a1e28
RD
13267 {
13268 PyThreadState* __tstate = wxPyBeginAllowThreads();
13269 result = (PyObject *)wxImage_GetData(arg1);
13270
13271 wxPyEndAllowThreads(__tstate);
13272 if (PyErr_Occurred()) SWIG_fail;
13273 }
13274 resultobj = result;
13275 return resultobj;
13276 fail:
13277 return NULL;
13278}
13279
13280
c32bde28 13281static PyObject *_wrap_Image_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13282 PyObject *resultobj = NULL;
d14a1e28 13283 wxImage *arg1 = (wxImage *) 0 ;
61d07ac7
RD
13284 buffer arg2 ;
13285 int arg3 ;
d14a1e28
RD
13286 PyObject * obj0 = 0 ;
13287 PyObject * obj1 = 0 ;
13288 char *kwnames[] = {
13289 (char *) "self",(char *) "data", NULL
13290 };
13291
13292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13294 if (SWIG_arg_fail(1)) SWIG_fail;
61d07ac7
RD
13295 {
13296 if (!PyArg_Parse(obj1, "t#", &arg2, &arg3)) SWIG_fail;
13297 }
d14a1e28
RD
13298 {
13299 PyThreadState* __tstate = wxPyBeginAllowThreads();
61d07ac7 13300 wxImage_SetData(arg1,arg2,arg3);
d14a1e28
RD
13301
13302 wxPyEndAllowThreads(__tstate);
13303 if (PyErr_Occurred()) SWIG_fail;
13304 }
13305 Py_INCREF(Py_None); resultobj = Py_None;
13306 return resultobj;
13307 fail:
13308 return NULL;
13309}
13310
13311
c32bde28 13312static PyObject *_wrap_Image_GetDataBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13313 PyObject *resultobj = NULL;
d14a1e28
RD
13314 wxImage *arg1 = (wxImage *) 0 ;
13315 PyObject *result;
13316 PyObject * obj0 = 0 ;
13317 char *kwnames[] = {
13318 (char *) "self", NULL
13319 };
13320
13321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetDataBuffer",kwnames,&obj0)) goto fail;
093d3ff1
RD
13322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13323 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13324 {
13325 PyThreadState* __tstate = wxPyBeginAllowThreads();
13326 result = (PyObject *)wxImage_GetDataBuffer(arg1);
13327
13328 wxPyEndAllowThreads(__tstate);
13329 if (PyErr_Occurred()) SWIG_fail;
13330 }
13331 resultobj = result;
13332 return resultobj;
13333 fail:
13334 return NULL;
13335}
13336
13337
c32bde28 13338static PyObject *_wrap_Image_SetDataBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13339 PyObject *resultobj = NULL;
d14a1e28 13340 wxImage *arg1 = (wxImage *) 0 ;
61d07ac7
RD
13341 buffer arg2 ;
13342 int arg3 ;
d14a1e28
RD
13343 PyObject * obj0 = 0 ;
13344 PyObject * obj1 = 0 ;
13345 char *kwnames[] = {
13346 (char *) "self",(char *) "data", NULL
13347 };
13348
13349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetDataBuffer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13351 if (SWIG_arg_fail(1)) SWIG_fail;
61d07ac7
RD
13352 {
13353 if (!PyArg_Parse(obj1, "t#", &arg2, &arg3)) SWIG_fail;
13354 }
d14a1e28
RD
13355 {
13356 PyThreadState* __tstate = wxPyBeginAllowThreads();
61d07ac7 13357 wxImage_SetDataBuffer(arg1,arg2,arg3);
d14a1e28
RD
13358
13359 wxPyEndAllowThreads(__tstate);
13360 if (PyErr_Occurred()) SWIG_fail;
13361 }
13362 Py_INCREF(Py_None); resultobj = Py_None;
13363 return resultobj;
13364 fail:
13365 return NULL;
13366}
13367
13368
c32bde28 13369static PyObject *_wrap_Image_GetAlphaData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13370 PyObject *resultobj = NULL;
d14a1e28
RD
13371 wxImage *arg1 = (wxImage *) 0 ;
13372 PyObject *result;
13373 PyObject * obj0 = 0 ;
13374 char *kwnames[] = {
13375 (char *) "self", NULL
13376 };
13377
13378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaData",kwnames,&obj0)) goto fail;
093d3ff1
RD
13379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13380 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13381 {
13382 PyThreadState* __tstate = wxPyBeginAllowThreads();
13383 result = (PyObject *)wxImage_GetAlphaData(arg1);
13384
13385 wxPyEndAllowThreads(__tstate);
13386 if (PyErr_Occurred()) SWIG_fail;
13387 }
13388 resultobj = result;
13389 return resultobj;
13390 fail:
13391 return NULL;
13392}
13393
13394
c32bde28 13395static PyObject *_wrap_Image_SetAlphaData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13396 PyObject *resultobj = NULL;
d14a1e28 13397 wxImage *arg1 = (wxImage *) 0 ;
61d07ac7
RD
13398 buffer arg2 ;
13399 int arg3 ;
d14a1e28
RD
13400 PyObject * obj0 = 0 ;
13401 PyObject * obj1 = 0 ;
13402 char *kwnames[] = {
61d07ac7 13403 (char *) "self",(char *) "alpha", NULL
d14a1e28
RD
13404 };
13405
13406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13408 if (SWIG_arg_fail(1)) SWIG_fail;
61d07ac7
RD
13409 {
13410 if (!PyArg_Parse(obj1, "t#", &arg2, &arg3)) SWIG_fail;
13411 }
d14a1e28
RD
13412 {
13413 PyThreadState* __tstate = wxPyBeginAllowThreads();
61d07ac7 13414 wxImage_SetAlphaData(arg1,arg2,arg3);
d14a1e28
RD
13415
13416 wxPyEndAllowThreads(__tstate);
13417 if (PyErr_Occurred()) SWIG_fail;
13418 }
13419 Py_INCREF(Py_None); resultobj = Py_None;
13420 return resultobj;
13421 fail:
13422 return NULL;
13423}
13424
13425
c32bde28 13426static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13427 PyObject *resultobj = NULL;
d14a1e28
RD
13428 wxImage *arg1 = (wxImage *) 0 ;
13429 PyObject *result;
13430 PyObject * obj0 = 0 ;
13431 char *kwnames[] = {
13432 (char *) "self", NULL
13433 };
13434
13435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaBuffer",kwnames,&obj0)) goto fail;
093d3ff1
RD
13436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13437 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13438 {
13439 PyThreadState* __tstate = wxPyBeginAllowThreads();
13440 result = (PyObject *)wxImage_GetAlphaBuffer(arg1);
13441
13442 wxPyEndAllowThreads(__tstate);
13443 if (PyErr_Occurred()) SWIG_fail;
13444 }
13445 resultobj = result;
13446 return resultobj;
13447 fail:
13448 return NULL;
13449}
13450
13451
c32bde28 13452static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13453 PyObject *resultobj = NULL;
d14a1e28 13454 wxImage *arg1 = (wxImage *) 0 ;
61d07ac7
RD
13455 buffer arg2 ;
13456 int arg3 ;
d14a1e28
RD
13457 PyObject * obj0 = 0 ;
13458 PyObject * obj1 = 0 ;
13459 char *kwnames[] = {
61d07ac7 13460 (char *) "self",(char *) "alpha", NULL
d14a1e28
RD
13461 };
13462
13463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaBuffer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13465 if (SWIG_arg_fail(1)) SWIG_fail;
61d07ac7
RD
13466 {
13467 if (!PyArg_Parse(obj1, "t#", &arg2, &arg3)) SWIG_fail;
13468 }
d14a1e28
RD
13469 {
13470 PyThreadState* __tstate = wxPyBeginAllowThreads();
61d07ac7 13471 wxImage_SetAlphaBuffer(arg1,arg2,arg3);
d14a1e28
RD
13472
13473 wxPyEndAllowThreads(__tstate);
13474 if (PyErr_Occurred()) SWIG_fail;
13475 }
13476 Py_INCREF(Py_None); resultobj = Py_None;
13477 return resultobj;
13478 fail:
13479 return NULL;
13480}
13481
13482
c32bde28 13483static PyObject *_wrap_Image_SetMaskColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13484 PyObject *resultobj = NULL;
d14a1e28 13485 wxImage *arg1 = (wxImage *) 0 ;
7a27cf7c
RD
13486 byte arg2 ;
13487 byte arg3 ;
13488 byte arg4 ;
d14a1e28
RD
13489 PyObject * obj0 = 0 ;
13490 PyObject * obj1 = 0 ;
13491 PyObject * obj2 = 0 ;
13492 PyObject * obj3 = 0 ;
13493 char *kwnames[] = {
13494 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
13495 };
13496
13497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetMaskColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
13498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13499 if (SWIG_arg_fail(1)) SWIG_fail;
13500 {
32fe5131 13501 arg2 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
093d3ff1
RD
13502 if (SWIG_arg_fail(2)) SWIG_fail;
13503 }
13504 {
32fe5131 13505 arg3 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj2));
093d3ff1
RD
13506 if (SWIG_arg_fail(3)) SWIG_fail;
13507 }
13508 {
32fe5131 13509 arg4 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj3));
093d3ff1
RD
13510 if (SWIG_arg_fail(4)) SWIG_fail;
13511 }
d14a1e28
RD
13512 {
13513 PyThreadState* __tstate = wxPyBeginAllowThreads();
13514 (arg1)->SetMaskColour(arg2,arg3,arg4);
13515
13516 wxPyEndAllowThreads(__tstate);
13517 if (PyErr_Occurred()) SWIG_fail;
13518 }
13519 Py_INCREF(Py_None); resultobj = Py_None;
13520 return resultobj;
13521 fail:
13522 return NULL;
13523}
13524
13525
aff4cc5c 13526static PyObject *_wrap_Image_GetOrFindMaskColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13527 PyObject *resultobj = NULL;
aff4cc5c 13528 wxImage *arg1 = (wxImage *) 0 ;
7a27cf7c
RD
13529 byte *arg2 = (byte *) 0 ;
13530 byte *arg3 = (byte *) 0 ;
13531 byte *arg4 = (byte *) 0 ;
13532 byte temp2 ;
aff4cc5c 13533 int res2 = 0 ;
7a27cf7c 13534 byte temp3 ;
aff4cc5c 13535 int res3 = 0 ;
7a27cf7c 13536 byte temp4 ;
aff4cc5c
RD
13537 int res4 = 0 ;
13538 PyObject * obj0 = 0 ;
13539 char *kwnames[] = {
13540 (char *) "self", NULL
13541 };
13542
13543 arg2 = &temp2; res2 = SWIG_NEWOBJ;
13544 arg3 = &temp3; res3 = SWIG_NEWOBJ;
13545 arg4 = &temp4; res4 = SWIG_NEWOBJ;
13546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetOrFindMaskColour",kwnames,&obj0)) goto fail;
13547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13548 if (SWIG_arg_fail(1)) SWIG_fail;
13549 {
13550 PyThreadState* __tstate = wxPyBeginAllowThreads();
13551 ((wxImage const *)arg1)->GetOrFindMaskColour(arg2,arg3,arg4);
13552
13553 wxPyEndAllowThreads(__tstate);
13554 if (PyErr_Occurred()) SWIG_fail;
13555 }
13556 Py_INCREF(Py_None); resultobj = Py_None;
13557 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
13558 SWIG_From_unsigned_SS_char((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_unsigned_char, 0)));
13559 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
13560 SWIG_From_unsigned_SS_char((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_unsigned_char, 0)));
13561 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
13562 SWIG_From_unsigned_SS_char((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_unsigned_char, 0)));
13563 return resultobj;
13564 fail:
13565 return NULL;
13566}
13567
13568
c32bde28 13569static PyObject *_wrap_Image_GetMaskRed(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13570 PyObject *resultobj = NULL;
d14a1e28 13571 wxImage *arg1 = (wxImage *) 0 ;
7a27cf7c 13572 byte result;
d14a1e28
RD
13573 PyObject * obj0 = 0 ;
13574 char *kwnames[] = {
13575 (char *) "self", NULL
13576 };
13577
13578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskRed",kwnames,&obj0)) goto fail;
093d3ff1
RD
13579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13580 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13581 {
13582 PyThreadState* __tstate = wxPyBeginAllowThreads();
7a27cf7c 13583 result = (byte)(arg1)->GetMaskRed();
d14a1e28
RD
13584
13585 wxPyEndAllowThreads(__tstate);
13586 if (PyErr_Occurred()) SWIG_fail;
13587 }
093d3ff1 13588 {
32fe5131 13589 resultobj = SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result));
093d3ff1 13590 }
d14a1e28
RD
13591 return resultobj;
13592 fail:
13593 return NULL;
13594}
13595
13596
c32bde28 13597static PyObject *_wrap_Image_GetMaskGreen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13598 PyObject *resultobj = NULL;
d14a1e28 13599 wxImage *arg1 = (wxImage *) 0 ;
7a27cf7c 13600 byte result;
d14a1e28
RD
13601 PyObject * obj0 = 0 ;
13602 char *kwnames[] = {
13603 (char *) "self", NULL
13604 };
13605
13606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskGreen",kwnames,&obj0)) goto fail;
093d3ff1
RD
13607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13608 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13609 {
13610 PyThreadState* __tstate = wxPyBeginAllowThreads();
7a27cf7c 13611 result = (byte)(arg1)->GetMaskGreen();
d14a1e28
RD
13612
13613 wxPyEndAllowThreads(__tstate);
13614 if (PyErr_Occurred()) SWIG_fail;
13615 }
093d3ff1 13616 {
32fe5131 13617 resultobj = SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result));
093d3ff1 13618 }
d14a1e28
RD
13619 return resultobj;
13620 fail:
13621 return NULL;
13622}
13623
13624
c32bde28 13625static PyObject *_wrap_Image_GetMaskBlue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13626 PyObject *resultobj = NULL;
d14a1e28 13627 wxImage *arg1 = (wxImage *) 0 ;
7a27cf7c 13628 byte result;
d14a1e28
RD
13629 PyObject * obj0 = 0 ;
13630 char *kwnames[] = {
13631 (char *) "self", NULL
13632 };
13633
13634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskBlue",kwnames,&obj0)) goto fail;
093d3ff1
RD
13635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13636 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13637 {
13638 PyThreadState* __tstate = wxPyBeginAllowThreads();
7a27cf7c 13639 result = (byte)(arg1)->GetMaskBlue();
d14a1e28
RD
13640
13641 wxPyEndAllowThreads(__tstate);
13642 if (PyErr_Occurred()) SWIG_fail;
13643 }
093d3ff1 13644 {
32fe5131 13645 resultobj = SWIG_From_unsigned_SS_char(static_cast<unsigned char >(result));
093d3ff1 13646 }
d14a1e28
RD
13647 return resultobj;
13648 fail:
13649 return NULL;
13650}
13651
13652
c32bde28 13653static PyObject *_wrap_Image_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13654 PyObject *resultobj = NULL;
d14a1e28 13655 wxImage *arg1 = (wxImage *) 0 ;
ae8162c8 13656 bool arg2 = (bool) true ;
d14a1e28
RD
13657 PyObject * obj0 = 0 ;
13658 PyObject * obj1 = 0 ;
13659 char *kwnames[] = {
13660 (char *) "self",(char *) "mask", NULL
13661 };
13662
13663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_SetMask",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13665 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 13666 if (obj1) {
093d3ff1 13667 {
32fe5131 13668 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
13669 if (SWIG_arg_fail(2)) SWIG_fail;
13670 }
d14a1e28
RD
13671 }
13672 {
13673 PyThreadState* __tstate = wxPyBeginAllowThreads();
13674 (arg1)->SetMask(arg2);
13675
13676 wxPyEndAllowThreads(__tstate);
13677 if (PyErr_Occurred()) SWIG_fail;
13678 }
13679 Py_INCREF(Py_None); resultobj = Py_None;
13680 return resultobj;
13681 fail:
13682 return NULL;
13683}
13684
13685
c32bde28 13686static PyObject *_wrap_Image_HasMask(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13687 PyObject *resultobj = NULL;
d14a1e28
RD
13688 wxImage *arg1 = (wxImage *) 0 ;
13689 bool result;
13690 PyObject * obj0 = 0 ;
13691 char *kwnames[] = {
13692 (char *) "self", NULL
13693 };
13694
13695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasMask",kwnames,&obj0)) goto fail;
093d3ff1
RD
13696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13697 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13698 {
13699 PyThreadState* __tstate = wxPyBeginAllowThreads();
13700 result = (bool)(arg1)->HasMask();
13701
13702 wxPyEndAllowThreads(__tstate);
13703 if (PyErr_Occurred()) SWIG_fail;
13704 }
4f89f6a3
RD
13705 {
13706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13707 }
d14a1e28
RD
13708 return resultobj;
13709 fail:
13710 return NULL;
13711}
13712
13713
c32bde28 13714static PyObject *_wrap_Image_Rotate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13715 PyObject *resultobj = NULL;
d14a1e28
RD
13716 wxImage *arg1 = (wxImage *) 0 ;
13717 double arg2 ;
13718 wxPoint *arg3 = 0 ;
ae8162c8 13719 bool arg4 = (bool) true ;
d14a1e28 13720 wxPoint *arg5 = (wxPoint *) NULL ;
093d3ff1 13721 SwigValueWrapper<wxImage > result;
d14a1e28
RD
13722 wxPoint temp3 ;
13723 PyObject * obj0 = 0 ;
994141e6 13724 PyObject * obj1 = 0 ;
d14a1e28
RD
13725 PyObject * obj2 = 0 ;
13726 PyObject * obj3 = 0 ;
13727 PyObject * obj4 = 0 ;
13728 char *kwnames[] = {
13729 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
13730 };
13731
994141e6 13732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Image_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
13733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13734 if (SWIG_arg_fail(1)) SWIG_fail;
13735 {
32fe5131 13736 arg2 = static_cast<double >(SWIG_As_double(obj1));
093d3ff1
RD
13737 if (SWIG_arg_fail(2)) SWIG_fail;
13738 }
d14a1e28
RD
13739 {
13740 arg3 = &temp3;
13741 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13742 }
13743 if (obj3) {
093d3ff1 13744 {
32fe5131 13745 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
093d3ff1
RD
13746 if (SWIG_arg_fail(4)) SWIG_fail;
13747 }
d14a1e28
RD
13748 }
13749 if (obj4) {
093d3ff1
RD
13750 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
13751 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
13752 }
13753 {
13754 PyThreadState* __tstate = wxPyBeginAllowThreads();
13755 result = ((wxImage const *)arg1)->Rotate(arg2,(wxPoint const &)*arg3,arg4,arg5);
13756
13757 wxPyEndAllowThreads(__tstate);
13758 if (PyErr_Occurred()) SWIG_fail;
13759 }
13760 {
13761 wxImage * resultptr;
32fe5131 13762 resultptr = new wxImage(static_cast<wxImage & >(result));
15afbcd0 13763 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
13764 }
13765 return resultobj;
13766 fail:
13767 return NULL;
13768}
13769
13770
c32bde28 13771static PyObject *_wrap_Image_Rotate90(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13772 PyObject *resultobj = NULL;
d14a1e28 13773 wxImage *arg1 = (wxImage *) 0 ;
ae8162c8 13774 bool arg2 = (bool) true ;
093d3ff1 13775 SwigValueWrapper<wxImage > result;
d14a1e28
RD
13776 PyObject * obj0 = 0 ;
13777 PyObject * obj1 = 0 ;
13778 char *kwnames[] = {
13779 (char *) "self",(char *) "clockwise", NULL
13780 };
13781
13782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Rotate90",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13784 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 13785 if (obj1) {
093d3ff1 13786 {
32fe5131 13787 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
13788 if (SWIG_arg_fail(2)) SWIG_fail;
13789 }
d14a1e28
RD
13790 }
13791 {
13792 PyThreadState* __tstate = wxPyBeginAllowThreads();
13793 result = (arg1)->Rotate90(arg2);
13794
13795 wxPyEndAllowThreads(__tstate);
13796 if (PyErr_Occurred()) SWIG_fail;
13797 }
13798 {
13799 wxImage * resultptr;
32fe5131 13800 resultptr = new wxImage(static_cast<wxImage & >(result));
15afbcd0 13801 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
13802 }
13803 return resultobj;
13804 fail:
13805 return NULL;
13806}
13807
13808
c32bde28 13809static PyObject *_wrap_Image_Mirror(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13810 PyObject *resultobj = NULL;
d14a1e28 13811 wxImage *arg1 = (wxImage *) 0 ;
ae8162c8 13812 bool arg2 = (bool) true ;
093d3ff1 13813 SwigValueWrapper<wxImage > result;
d14a1e28
RD
13814 PyObject * obj0 = 0 ;
13815 PyObject * obj1 = 0 ;
13816 char *kwnames[] = {
13817 (char *) "self",(char *) "horizontally", NULL
13818 };
13819
13820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Mirror",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13822 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 13823 if (obj1) {
093d3ff1 13824 {
32fe5131 13825 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
13826 if (SWIG_arg_fail(2)) SWIG_fail;
13827 }
d14a1e28
RD
13828 }
13829 {
13830 PyThreadState* __tstate = wxPyBeginAllowThreads();
13831 result = (arg1)->Mirror(arg2);
13832
13833 wxPyEndAllowThreads(__tstate);
13834 if (PyErr_Occurred()) SWIG_fail;
13835 }
13836 {
13837 wxImage * resultptr;
32fe5131 13838 resultptr = new wxImage(static_cast<wxImage & >(result));
15afbcd0 13839 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
13840 }
13841 return resultobj;
13842 fail:
13843 return NULL;
13844}
13845
13846
c32bde28 13847static PyObject *_wrap_Image_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13848 PyObject *resultobj = NULL;
d14a1e28 13849 wxImage *arg1 = (wxImage *) 0 ;
7a27cf7c
RD
13850 byte arg2 ;
13851 byte arg3 ;
13852 byte arg4 ;
13853 byte arg5 ;
13854 byte arg6 ;
13855 byte arg7 ;
d14a1e28
RD
13856 PyObject * obj0 = 0 ;
13857 PyObject * obj1 = 0 ;
13858 PyObject * obj2 = 0 ;
13859 PyObject * obj3 = 0 ;
13860 PyObject * obj4 = 0 ;
13861 PyObject * obj5 = 0 ;
13862 PyObject * obj6 = 0 ;
13863 char *kwnames[] = {
13864 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
13865 };
13866
13867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:Image_Replace",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
13868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13869 if (SWIG_arg_fail(1)) SWIG_fail;
13870 {
32fe5131 13871 arg2 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
093d3ff1
RD
13872 if (SWIG_arg_fail(2)) SWIG_fail;
13873 }
13874 {
32fe5131 13875 arg3 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj2));
093d3ff1
RD
13876 if (SWIG_arg_fail(3)) SWIG_fail;
13877 }
13878 {
32fe5131 13879 arg4 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj3));
093d3ff1
RD
13880 if (SWIG_arg_fail(4)) SWIG_fail;
13881 }
13882 {
32fe5131 13883 arg5 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj4));
093d3ff1
RD
13884 if (SWIG_arg_fail(5)) SWIG_fail;
13885 }
13886 {
32fe5131 13887 arg6 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj5));
093d3ff1
RD
13888 if (SWIG_arg_fail(6)) SWIG_fail;
13889 }
13890 {
32fe5131 13891 arg7 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj6));
093d3ff1
RD
13892 if (SWIG_arg_fail(7)) SWIG_fail;
13893 }
d14a1e28
RD
13894 {
13895 PyThreadState* __tstate = wxPyBeginAllowThreads();
13896 (arg1)->Replace(arg2,arg3,arg4,arg5,arg6,arg7);
13897
13898 wxPyEndAllowThreads(__tstate);
13899 if (PyErr_Occurred()) SWIG_fail;
13900 }
13901 Py_INCREF(Py_None); resultobj = Py_None;
13902 return resultobj;
13903 fail:
13904 return NULL;
13905}
13906
13907
32fe5131
RD
13908static PyObject *_wrap_Image_ConvertToGreyscale(PyObject *, PyObject *args, PyObject *kwargs) {
13909 PyObject *resultobj = NULL;
13910 wxImage *arg1 = (wxImage *) 0 ;
13911 double arg2 = (double) 0.299 ;
13912 double arg3 = (double) 0.587 ;
13913 double arg4 = (double) 0.114 ;
13914 SwigValueWrapper<wxImage > result;
13915 PyObject * obj0 = 0 ;
13916 PyObject * obj1 = 0 ;
13917 PyObject * obj2 = 0 ;
13918 PyObject * obj3 = 0 ;
13919 char *kwnames[] = {
13920 (char *) "self",(char *) "lr",(char *) "lg",(char *) "lb", NULL
13921 };
13922
13923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_ConvertToGreyscale",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13925 if (SWIG_arg_fail(1)) SWIG_fail;
13926 if (obj1) {
13927 {
13928 arg2 = static_cast<double >(SWIG_As_double(obj1));
13929 if (SWIG_arg_fail(2)) SWIG_fail;
13930 }
13931 }
13932 if (obj2) {
13933 {
13934 arg3 = static_cast<double >(SWIG_As_double(obj2));
13935 if (SWIG_arg_fail(3)) SWIG_fail;
13936 }
13937 }
13938 if (obj3) {
13939 {
13940 arg4 = static_cast<double >(SWIG_As_double(obj3));
13941 if (SWIG_arg_fail(4)) SWIG_fail;
13942 }
13943 }
13944 {
13945 PyThreadState* __tstate = wxPyBeginAllowThreads();
13946 result = ((wxImage const *)arg1)->ConvertToGreyscale(arg2,arg3,arg4);
13947
13948 wxPyEndAllowThreads(__tstate);
13949 if (PyErr_Occurred()) SWIG_fail;
13950 }
13951 {
13952 wxImage * resultptr;
13953 resultptr = new wxImage(static_cast<wxImage & >(result));
13954 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
13955 }
13956 return resultobj;
13957 fail:
13958 return NULL;
13959}
13960
13961
c32bde28 13962static PyObject *_wrap_Image_ConvertToMono(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13963 PyObject *resultobj = NULL;
d14a1e28 13964 wxImage *arg1 = (wxImage *) 0 ;
7a27cf7c
RD
13965 byte arg2 ;
13966 byte arg3 ;
13967 byte arg4 ;
093d3ff1 13968 SwigValueWrapper<wxImage > result;
d14a1e28
RD
13969 PyObject * obj0 = 0 ;
13970 PyObject * obj1 = 0 ;
13971 PyObject * obj2 = 0 ;
13972 PyObject * obj3 = 0 ;
13973 char *kwnames[] = {
13974 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
13975 };
13976
13977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMono",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
13978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
13979 if (SWIG_arg_fail(1)) SWIG_fail;
13980 {
32fe5131 13981 arg2 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
093d3ff1
RD
13982 if (SWIG_arg_fail(2)) SWIG_fail;
13983 }
13984 {
32fe5131 13985 arg3 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj2));
093d3ff1
RD
13986 if (SWIG_arg_fail(3)) SWIG_fail;
13987 }
13988 {
32fe5131 13989 arg4 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj3));
093d3ff1
RD
13990 if (SWIG_arg_fail(4)) SWIG_fail;
13991 }
d14a1e28
RD
13992 {
13993 PyThreadState* __tstate = wxPyBeginAllowThreads();
13994 result = ((wxImage const *)arg1)->ConvertToMono(arg2,arg3,arg4);
13995
13996 wxPyEndAllowThreads(__tstate);
13997 if (PyErr_Occurred()) SWIG_fail;
13998 }
13999 {
14000 wxImage * resultptr;
32fe5131 14001 resultptr = new wxImage(static_cast<wxImage & >(result));
15afbcd0 14002 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
14003 }
14004 return resultobj;
14005 fail:
14006 return NULL;
14007}
14008
14009
c32bde28 14010static PyObject *_wrap_Image_SetOption(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14011 PyObject *resultobj = NULL;
d14a1e28
RD
14012 wxImage *arg1 = (wxImage *) 0 ;
14013 wxString *arg2 = 0 ;
14014 wxString *arg3 = 0 ;
ae8162c8
RD
14015 bool temp2 = false ;
14016 bool temp3 = false ;
d14a1e28
RD
14017 PyObject * obj0 = 0 ;
14018 PyObject * obj1 = 0 ;
14019 PyObject * obj2 = 0 ;
14020 char *kwnames[] = {
14021 (char *) "self",(char *) "name",(char *) "value", NULL
14022 };
14023
14024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOption",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
14026 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14027 {
14028 arg2 = wxString_in_helper(obj1);
14029 if (arg2 == NULL) SWIG_fail;
ae8162c8 14030 temp2 = true;
d14a1e28
RD
14031 }
14032 {
14033 arg3 = wxString_in_helper(obj2);
14034 if (arg3 == NULL) SWIG_fail;
ae8162c8 14035 temp3 = true;
d14a1e28
RD
14036 }
14037 {
14038 PyThreadState* __tstate = wxPyBeginAllowThreads();
14039 (arg1)->SetOption((wxString const &)*arg2,(wxString const &)*arg3);
14040
14041 wxPyEndAllowThreads(__tstate);
14042 if (PyErr_Occurred()) SWIG_fail;
14043 }
14044 Py_INCREF(Py_None); resultobj = Py_None;
14045 {
14046 if (temp2)
14047 delete arg2;
14048 }
14049 {
14050 if (temp3)
14051 delete arg3;
14052 }
14053 return resultobj;
14054 fail:
14055 {
14056 if (temp2)
14057 delete arg2;
14058 }
14059 {
14060 if (temp3)
14061 delete arg3;
14062 }
14063 return NULL;
14064}
14065
14066
c32bde28 14067static PyObject *_wrap_Image_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14068 PyObject *resultobj = NULL;
d14a1e28
RD
14069 wxImage *arg1 = (wxImage *) 0 ;
14070 wxString *arg2 = 0 ;
14071 int arg3 ;
ae8162c8 14072 bool temp2 = false ;
d14a1e28
RD
14073 PyObject * obj0 = 0 ;
14074 PyObject * obj1 = 0 ;
994141e6 14075 PyObject * obj2 = 0 ;
d14a1e28
RD
14076 char *kwnames[] = {
14077 (char *) "self",(char *) "name",(char *) "value", NULL
14078 };
14079
994141e6 14080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOptionInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
14082 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14083 {
14084 arg2 = wxString_in_helper(obj1);
14085 if (arg2 == NULL) SWIG_fail;
ae8162c8 14086 temp2 = true;
d14a1e28 14087 }
093d3ff1 14088 {
32fe5131 14089 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
14090 if (SWIG_arg_fail(3)) SWIG_fail;
14091 }
d14a1e28
RD
14092 {
14093 PyThreadState* __tstate = wxPyBeginAllowThreads();
14094 (arg1)->SetOption((wxString const &)*arg2,arg3);
14095
14096 wxPyEndAllowThreads(__tstate);
14097 if (PyErr_Occurred()) SWIG_fail;
14098 }
14099 Py_INCREF(Py_None); resultobj = Py_None;
14100 {
14101 if (temp2)
14102 delete arg2;
14103 }
14104 return resultobj;
14105 fail:
14106 {
14107 if (temp2)
14108 delete arg2;
14109 }
14110 return NULL;
14111}
14112
14113
c32bde28 14114static PyObject *_wrap_Image_GetOption(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14115 PyObject *resultobj = NULL;
d14a1e28
RD
14116 wxImage *arg1 = (wxImage *) 0 ;
14117 wxString *arg2 = 0 ;
14118 wxString result;
ae8162c8 14119 bool temp2 = false ;
d14a1e28
RD
14120 PyObject * obj0 = 0 ;
14121 PyObject * obj1 = 0 ;
14122 char *kwnames[] = {
14123 (char *) "self",(char *) "name", NULL
14124 };
14125
14126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOption",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
14128 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14129 {
14130 arg2 = wxString_in_helper(obj1);
14131 if (arg2 == NULL) SWIG_fail;
ae8162c8 14132 temp2 = true;
d14a1e28
RD
14133 }
14134 {
14135 PyThreadState* __tstate = wxPyBeginAllowThreads();
14136 result = ((wxImage const *)arg1)->GetOption((wxString const &)*arg2);
14137
14138 wxPyEndAllowThreads(__tstate);
14139 if (PyErr_Occurred()) SWIG_fail;
14140 }
14141 {
14142#if wxUSE_UNICODE
14143 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14144#else
14145 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14146#endif
14147 }
14148 {
14149 if (temp2)
14150 delete arg2;
14151 }
14152 return resultobj;
14153 fail:
14154 {
14155 if (temp2)
14156 delete arg2;
14157 }
14158 return NULL;
14159}
14160
14161
c32bde28 14162static PyObject *_wrap_Image_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14163 PyObject *resultobj = NULL;
d14a1e28
RD
14164 wxImage *arg1 = (wxImage *) 0 ;
14165 wxString *arg2 = 0 ;
14166 int result;
ae8162c8 14167 bool temp2 = false ;
d14a1e28
RD
14168 PyObject * obj0 = 0 ;
14169 PyObject * obj1 = 0 ;
14170 char *kwnames[] = {
14171 (char *) "self",(char *) "name", NULL
14172 };
14173
14174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOptionInt",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
14176 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14177 {
14178 arg2 = wxString_in_helper(obj1);
14179 if (arg2 == NULL) SWIG_fail;
ae8162c8 14180 temp2 = true;
d14a1e28
RD
14181 }
14182 {
14183 PyThreadState* __tstate = wxPyBeginAllowThreads();
14184 result = (int)((wxImage const *)arg1)->GetOptionInt((wxString const &)*arg2);
14185
14186 wxPyEndAllowThreads(__tstate);
14187 if (PyErr_Occurred()) SWIG_fail;
14188 }
093d3ff1 14189 {
32fe5131 14190 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 14191 }
d14a1e28
RD
14192 {
14193 if (temp2)
14194 delete arg2;
14195 }
14196 return resultobj;
14197 fail:
14198 {
14199 if (temp2)
14200 delete arg2;
14201 }
14202 return NULL;
14203}
14204
14205
c32bde28 14206static PyObject *_wrap_Image_HasOption(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14207 PyObject *resultobj = NULL;
d14a1e28
RD
14208 wxImage *arg1 = (wxImage *) 0 ;
14209 wxString *arg2 = 0 ;
14210 bool result;
ae8162c8 14211 bool temp2 = false ;
d14a1e28
RD
14212 PyObject * obj0 = 0 ;
14213 PyObject * obj1 = 0 ;
14214 char *kwnames[] = {
14215 (char *) "self",(char *) "name", NULL
14216 };
14217
14218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HasOption",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
14220 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14221 {
14222 arg2 = wxString_in_helper(obj1);
14223 if (arg2 == NULL) SWIG_fail;
ae8162c8 14224 temp2 = true;
d14a1e28
RD
14225 }
14226 {
14227 PyThreadState* __tstate = wxPyBeginAllowThreads();
14228 result = (bool)((wxImage const *)arg1)->HasOption((wxString const &)*arg2);
14229
14230 wxPyEndAllowThreads(__tstate);
14231 if (PyErr_Occurred()) SWIG_fail;
14232 }
4f89f6a3
RD
14233 {
14234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14235 }
d14a1e28
RD
14236 {
14237 if (temp2)
14238 delete arg2;
14239 }
14240 return resultobj;
14241 fail:
14242 {
14243 if (temp2)
14244 delete arg2;
14245 }
14246 return NULL;
14247}
14248
14249
c32bde28 14250static PyObject *_wrap_Image_CountColours(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14251 PyObject *resultobj = NULL;
d14a1e28
RD
14252 wxImage *arg1 = (wxImage *) 0 ;
14253 unsigned long arg2 = (unsigned long) (unsigned long) -1 ;
14254 unsigned long result;
14255 PyObject * obj0 = 0 ;
14256 PyObject * obj1 = 0 ;
14257 char *kwnames[] = {
14258 (char *) "self",(char *) "stopafter", NULL
14259 };
14260
14261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_CountColours",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
14263 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 14264 if (obj1) {
093d3ff1 14265 {
32fe5131 14266 arg2 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
14267 if (SWIG_arg_fail(2)) SWIG_fail;
14268 }
d14a1e28
RD
14269 }
14270 {
14271 PyThreadState* __tstate = wxPyBeginAllowThreads();
14272 result = (unsigned long)(arg1)->CountColours(arg2);
14273
14274 wxPyEndAllowThreads(__tstate);
14275 if (PyErr_Occurred()) SWIG_fail;
14276 }
093d3ff1 14277 {
32fe5131 14278 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 14279 }
d14a1e28
RD
14280 return resultobj;
14281 fail:
14282 return NULL;
14283}
14284
14285
c32bde28 14286static PyObject *_wrap_Image_ComputeHistogram(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14287 PyObject *resultobj = NULL;
d14a1e28
RD
14288 wxImage *arg1 = (wxImage *) 0 ;
14289 wxImageHistogram *arg2 = 0 ;
14290 unsigned long result;
14291 PyObject * obj0 = 0 ;
14292 PyObject * obj1 = 0 ;
14293 char *kwnames[] = {
14294 (char *) "self",(char *) "h", NULL
14295 };
14296
14297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_ComputeHistogram",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
14299 if (SWIG_arg_fail(1)) SWIG_fail;
14300 {
14301 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageHistogram, SWIG_POINTER_EXCEPTION | 0);
14302 if (SWIG_arg_fail(2)) SWIG_fail;
14303 if (arg2 == NULL) {
14304 SWIG_null_ref("wxImageHistogram");
14305 }
14306 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
14307 }
14308 {
14309 PyThreadState* __tstate = wxPyBeginAllowThreads();
14310 result = (unsigned long)(arg1)->ComputeHistogram(*arg2);
14311
14312 wxPyEndAllowThreads(__tstate);
14313 if (PyErr_Occurred()) SWIG_fail;
14314 }
093d3ff1 14315 {
32fe5131 14316 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 14317 }
d14a1e28
RD
14318 return resultobj;
14319 fail:
14320 return NULL;
14321}
14322
14323
c32bde28 14324static PyObject *_wrap_Image_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14325 PyObject *resultobj = NULL;
d14a1e28
RD
14326 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
14327 PyObject * obj0 = 0 ;
14328 char *kwnames[] = {
14329 (char *) "handler", NULL
14330 };
14331
14332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_AddHandler",kwnames,&obj0)) goto fail;
093d3ff1
RD
14333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
14334 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14335 {
14336 PyThreadState* __tstate = wxPyBeginAllowThreads();
14337 wxImage::AddHandler(arg1);
14338
14339 wxPyEndAllowThreads(__tstate);
14340 if (PyErr_Occurred()) SWIG_fail;
14341 }
14342 Py_INCREF(Py_None); resultobj = Py_None;
14343 return resultobj;
14344 fail:
14345 return NULL;
14346}
14347
14348
c32bde28 14349static PyObject *_wrap_Image_InsertHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14350 PyObject *resultobj = NULL;
d14a1e28
RD
14351 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
14352 PyObject * obj0 = 0 ;
14353 char *kwnames[] = {
14354 (char *) "handler", NULL
14355 };
14356
14357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InsertHandler",kwnames,&obj0)) goto fail;
093d3ff1
RD
14358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0);
14359 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14360 {
14361 PyThreadState* __tstate = wxPyBeginAllowThreads();
14362 wxImage::InsertHandler(arg1);
14363
14364 wxPyEndAllowThreads(__tstate);
14365 if (PyErr_Occurred()) SWIG_fail;
14366 }
14367 Py_INCREF(Py_None); resultobj = Py_None;
14368 return resultobj;
14369 fail:
14370 return NULL;
14371}
14372
14373
c32bde28 14374static PyObject *_wrap_Image_RemoveHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14375 PyObject *resultobj = NULL;
d14a1e28
RD
14376 wxString *arg1 = 0 ;
14377 bool result;
ae8162c8 14378 bool temp1 = false ;
d14a1e28
RD
14379 PyObject * obj0 = 0 ;
14380 char *kwnames[] = {
14381 (char *) "name", NULL
14382 };
14383
14384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RemoveHandler",kwnames,&obj0)) goto fail;
14385 {
14386 arg1 = wxString_in_helper(obj0);
14387 if (arg1 == NULL) SWIG_fail;
ae8162c8 14388 temp1 = true;
d14a1e28
RD
14389 }
14390 {
14391 PyThreadState* __tstate = wxPyBeginAllowThreads();
14392 result = (bool)wxImage::RemoveHandler((wxString const &)*arg1);
14393
14394 wxPyEndAllowThreads(__tstate);
14395 if (PyErr_Occurred()) SWIG_fail;
14396 }
4f89f6a3
RD
14397 {
14398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14399 }
d14a1e28
RD
14400 {
14401 if (temp1)
14402 delete arg1;
14403 }
14404 return resultobj;
14405 fail:
14406 {
14407 if (temp1)
14408 delete arg1;
14409 }
14410 return NULL;
14411}
14412
14413
c32bde28 14414static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14415 PyObject *resultobj = NULL;
d14a1e28
RD
14416 wxString result;
14417 char *kwnames[] = {
14418 NULL
14419 };
14420
14421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Image_GetImageExtWildcard",kwnames)) goto fail;
14422 {
14423 PyThreadState* __tstate = wxPyBeginAllowThreads();
14424 result = wxImage::GetImageExtWildcard();
14425
14426 wxPyEndAllowThreads(__tstate);
14427 if (PyErr_Occurred()) SWIG_fail;
14428 }
14429 {
14430#if wxUSE_UNICODE
14431 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14432#else
14433 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14434#endif
14435 }
14436 return resultobj;
14437 fail:
14438 return NULL;
14439}
14440
14441
c32bde28 14442static PyObject *_wrap_Image_ConvertToBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14443 PyObject *resultobj = NULL;
d14a1e28 14444 wxImage *arg1 = (wxImage *) 0 ;
1fbf26be 14445 int arg2 = (int) -1 ;
d14a1e28
RD
14446 wxBitmap result;
14447 PyObject * obj0 = 0 ;
1fbf26be 14448 PyObject * obj1 = 0 ;
d14a1e28 14449 char *kwnames[] = {
1fbf26be 14450 (char *) "self",(char *) "depth", NULL
d14a1e28
RD
14451 };
14452
1fbf26be 14453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_ConvertToBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
14455 if (SWIG_arg_fail(1)) SWIG_fail;
1fbf26be 14456 if (obj1) {
093d3ff1 14457 {
32fe5131 14458 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14459 if (SWIG_arg_fail(2)) SWIG_fail;
14460 }
1fbf26be 14461 }
d14a1e28 14462 {
e3b71cb8 14463 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 14464 PyThreadState* __tstate = wxPyBeginAllowThreads();
1fbf26be 14465 result = wxImage_ConvertToBitmap(arg1,arg2);
d14a1e28
RD
14466
14467 wxPyEndAllowThreads(__tstate);
110da5b0 14468 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14469 }
14470 {
14471 wxBitmap * resultptr;
32fe5131 14472 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
15afbcd0 14473 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
14474 }
14475 return resultobj;
14476 fail:
14477 return NULL;
14478}
14479
14480
c32bde28 14481static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14482 PyObject *resultobj = NULL;
d14a1e28 14483 wxImage *arg1 = (wxImage *) 0 ;
7a27cf7c
RD
14484 byte arg2 ;
14485 byte arg3 ;
14486 byte arg4 ;
d14a1e28
RD
14487 wxBitmap result;
14488 PyObject * obj0 = 0 ;
14489 PyObject * obj1 = 0 ;
14490 PyObject * obj2 = 0 ;
14491 PyObject * obj3 = 0 ;
14492 char *kwnames[] = {
14493 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
14494 };
14495
14496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
14497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
14498 if (SWIG_arg_fail(1)) SWIG_fail;
14499 {
32fe5131 14500 arg2 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj1));
093d3ff1
RD
14501 if (SWIG_arg_fail(2)) SWIG_fail;
14502 }
14503 {
32fe5131 14504 arg3 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj2));
093d3ff1
RD
14505 if (SWIG_arg_fail(3)) SWIG_fail;
14506 }
14507 {
32fe5131 14508 arg4 = static_cast<byte >(SWIG_As_unsigned_SS_char(obj3));
093d3ff1
RD
14509 if (SWIG_arg_fail(4)) SWIG_fail;
14510 }
d14a1e28 14511 {
e3b71cb8 14512 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14513 PyThreadState* __tstate = wxPyBeginAllowThreads();
14514 result = wxImage_ConvertToMonoBitmap(arg1,arg2,arg3,arg4);
14515
14516 wxPyEndAllowThreads(__tstate);
110da5b0 14517 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14518 }
14519 {
14520 wxBitmap * resultptr;
32fe5131 14521 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
15afbcd0 14522 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
14523 }
14524 return resultobj;
14525 fail:
14526 return NULL;
14527}
14528
14529
943e8dfd 14530static PyObject *_wrap_Image_RotateHue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14531 PyObject *resultobj = NULL;
943e8dfd
RD
14532 wxImage *arg1 = (wxImage *) 0 ;
14533 double arg2 ;
14534 PyObject * obj0 = 0 ;
14535 PyObject * obj1 = 0 ;
14536 char *kwnames[] = {
14537 (char *) "self",(char *) "angle", NULL
14538 };
14539
14540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_RotateHue",kwnames,&obj0,&obj1)) goto fail;
14541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
14542 if (SWIG_arg_fail(1)) SWIG_fail;
14543 {
32fe5131 14544 arg2 = static_cast<double >(SWIG_As_double(obj1));
943e8dfd
RD
14545 if (SWIG_arg_fail(2)) SWIG_fail;
14546 }
14547 {
14548 PyThreadState* __tstate = wxPyBeginAllowThreads();
14549 (arg1)->RotateHue(arg2);
14550
14551 wxPyEndAllowThreads(__tstate);
14552 if (PyErr_Occurred()) SWIG_fail;
14553 }
14554 Py_INCREF(Py_None); resultobj = Py_None;
14555 return resultobj;
14556 fail:
14557 return NULL;
14558}
14559
14560
14561static PyObject *_wrap_Image_RGBtoHSV(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14562 PyObject *resultobj = NULL;
943e8dfd
RD
14563 wxImage_RGBValue arg1 ;
14564 wxImage_HSVValue result;
14565 PyObject * obj0 = 0 ;
14566 char *kwnames[] = {
14567 (char *) "rgb", NULL
14568 };
14569
14570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RGBtoHSV",kwnames,&obj0)) goto fail;
14571 {
14572 wxImage_RGBValue * argp;
14573 SWIG_Python_ConvertPtr(obj0, (void **)&argp, SWIGTYPE_p_wxImage_RGBValue, SWIG_POINTER_EXCEPTION);
14574 if (SWIG_arg_fail(1)) SWIG_fail;
14575 if (argp == NULL) {
14576 SWIG_null_ref("wxImage_RGBValue");
14577 }
14578 if (SWIG_arg_fail(1)) SWIG_fail;
14579 arg1 = *argp;
14580 }
14581 {
14582 PyThreadState* __tstate = wxPyBeginAllowThreads();
14583 result = wxImage::RGBtoHSV(arg1);
14584
14585 wxPyEndAllowThreads(__tstate);
14586 if (PyErr_Occurred()) SWIG_fail;
14587 }
14588 {
14589 wxImage_HSVValue * resultptr;
32fe5131 14590 resultptr = new wxImage_HSVValue(static_cast<wxImage_HSVValue & >(result));
943e8dfd
RD
14591 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage_HSVValue, 1);
14592 }
14593 return resultobj;
14594 fail:
14595 return NULL;
14596}
14597
14598
14599static PyObject *_wrap_Image_HSVtoRGB(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14600 PyObject *resultobj = NULL;
943e8dfd
RD
14601 wxImage_HSVValue arg1 ;
14602 wxImage_RGBValue result;
14603 PyObject * obj0 = 0 ;
14604 char *kwnames[] = {
14605 (char *) "hsv", NULL
14606 };
14607
14608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HSVtoRGB",kwnames,&obj0)) goto fail;
14609 {
14610 wxImage_HSVValue * argp;
14611 SWIG_Python_ConvertPtr(obj0, (void **)&argp, SWIGTYPE_p_wxImage_HSVValue, SWIG_POINTER_EXCEPTION);
14612 if (SWIG_arg_fail(1)) SWIG_fail;
14613 if (argp == NULL) {
14614 SWIG_null_ref("wxImage_HSVValue");
14615 }
14616 if (SWIG_arg_fail(1)) SWIG_fail;
14617 arg1 = *argp;
14618 }
14619 {
14620 PyThreadState* __tstate = wxPyBeginAllowThreads();
14621 result = wxImage::HSVtoRGB(arg1);
14622
14623 wxPyEndAllowThreads(__tstate);
14624 if (PyErr_Occurred()) SWIG_fail;
14625 }
14626 {
14627 wxImage_RGBValue * resultptr;
32fe5131 14628 resultptr = new wxImage_RGBValue(static_cast<wxImage_RGBValue & >(result));
943e8dfd
RD
14629 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage_RGBValue, 1);
14630 }
14631 return resultobj;
14632 fail:
14633 return NULL;
14634}
14635
14636
c32bde28 14637static PyObject * Image_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14638 PyObject *obj;
14639 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14640 SWIG_TypeClientData(SWIGTYPE_p_wxImage, obj);
14641 Py_INCREF(obj);
14642 return Py_BuildValue((char *)"");
14643}
c32bde28 14644static int _wrap_NullImage_set(PyObject *) {
d14a1e28
RD
14645 PyErr_SetString(PyExc_TypeError,"Variable NullImage is read-only.");
14646 return 1;
14647}
14648
14649
093d3ff1 14650static PyObject *_wrap_NullImage_get(void) {
32fe5131 14651 PyObject *pyobj = NULL;
d14a1e28 14652
15afbcd0 14653 pyobj = SWIG_NewPointerObj((void *)(&wxNullImage), SWIGTYPE_p_wxImage, 0);
d14a1e28
RD
14654 return pyobj;
14655}
14656
14657
0c243d93
RD
14658static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject *) {
14659 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_FILENAME is read-only.");
14660 return 1;
14661}
14662
14663
14664static PyObject *_wrap_IMAGE_OPTION_FILENAME_get(void) {
32fe5131 14665 PyObject *pyobj = NULL;
0c243d93
RD
14666
14667 {
14668#if wxUSE_UNICODE
14669 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME)->c_str(), (&wxPyIMAGE_OPTION_FILENAME)->Len());
14670#else
14671 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME)->c_str(), (&wxPyIMAGE_OPTION_FILENAME)->Len());
14672#endif
14673 }
14674 return pyobj;
14675}
14676
14677
c32bde28 14678static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject *) {
d14a1e28
RD
14679 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
14680 return 1;
14681}
14682
14683
093d3ff1 14684static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
32fe5131 14685 PyObject *pyobj = NULL;
d14a1e28
RD
14686
14687 {
14688#if wxUSE_UNICODE
14689 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
14690#else
14691 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
14692#endif
14693 }
14694 return pyobj;
14695}
14696
14697
c32bde28 14698static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject *) {
d14a1e28
RD
14699 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
14700 return 1;
14701}
14702
14703
093d3ff1 14704static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
32fe5131 14705 PyObject *pyobj = NULL;
d14a1e28
RD
14706
14707 {
14708#if wxUSE_UNICODE
14709 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
14710#else
14711 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
14712#endif
14713 }
14714 return pyobj;
14715}
14716
14717
c32bde28 14718static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject *) {
d14a1e28
RD
14719 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
14720 return 1;
14721}
14722
14723
093d3ff1 14724static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
32fe5131 14725 PyObject *pyobj = NULL;
d14a1e28
RD
14726
14727 {
14728#if wxUSE_UNICODE
14729 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
14730#else
14731 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
14732#endif
14733 }
14734 return pyobj;
14735}
14736
14737
c32bde28 14738static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject *) {
d14a1e28
RD
14739 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
14740 return 1;
14741}
14742
14743
093d3ff1 14744static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
32fe5131 14745 PyObject *pyobj = NULL;
d14a1e28
RD
14746
14747 {
14748#if wxUSE_UNICODE
14749 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
14750#else
14751 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
14752#endif
14753 }
14754 return pyobj;
14755}
14756
14757
0c243d93
RD
14758static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject *) {
14759 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
14760 return 1;
14761}
14762
14763
14764static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
32fe5131 14765 PyObject *pyobj = NULL;
0c243d93
RD
14766
14767 {
14768#if wxUSE_UNICODE
14769 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX)->Len());
14770#else
14771 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX)->Len());
14772#endif
14773 }
14774 return pyobj;
14775}
14776
14777
14778static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject *) {
14779 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
14780 return 1;
14781}
14782
14783
14784static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
32fe5131 14785 PyObject *pyobj = NULL;
0c243d93
RD
14786
14787 {
14788#if wxUSE_UNICODE
14789 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY)->Len());
14790#else
14791 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY)->Len());
14792#endif
14793 }
14794 return pyobj;
14795}
14796
14797
c32bde28 14798static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject *) {
d14a1e28
RD
14799 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
14800 return 1;
14801}
14802
14803
093d3ff1 14804static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
32fe5131 14805 PyObject *pyobj = NULL;
d14a1e28
RD
14806
14807 {
14808#if wxUSE_UNICODE
14809 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
14810#else
14811 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
14812#endif
14813 }
14814 return pyobj;
14815}
14816
14817
24d7cbea
RD
14818static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject *) {
14819 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_QUALITY is read-only.");
14820 return 1;
14821}
14822
14823
14824static PyObject *_wrap_IMAGE_OPTION_QUALITY_get(void) {
32fe5131 14825 PyObject *pyobj = NULL;
24d7cbea
RD
14826
14827 {
14828#if wxUSE_UNICODE
14829 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY)->c_str(), (&wxPyIMAGE_OPTION_QUALITY)->Len());
14830#else
14831 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY)->c_str(), (&wxPyIMAGE_OPTION_QUALITY)->Len());
14832#endif
14833 }
14834 return pyobj;
14835}
14836
14837
0c243d93
RD
14838static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject *) {
14839 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
14840 return 1;
14841}
14842
14843
14844static PyObject *_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
32fe5131 14845 PyObject *pyobj = NULL;
0c243d93
RD
14846
14847 {
14848#if wxUSE_UNICODE
14849 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE)->Len());
14850#else
14851 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE)->Len());
14852#endif
14853 }
14854 return pyobj;
14855}
14856
14857
14858static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject *) {
14859 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
14860 return 1;
14861}
14862
14863
14864static PyObject *_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
32fe5131 14865 PyObject *pyobj = NULL;
0c243d93
RD
14866
14867 {
14868#if wxUSE_UNICODE
14869 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL)->Len());
14870#else
14871 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL)->Len());
14872#endif
14873 }
14874 return pyobj;
14875}
14876
14877
14878static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject *) {
14879 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
14880 return 1;
14881}
14882
14883
14884static PyObject *_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
32fe5131 14885 PyObject *pyobj = NULL;
0c243d93
RD
14886
14887 {
14888#if wxUSE_UNICODE
14889 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION)->Len());
14890#else
14891 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION)->Len());
14892#endif
14893 }
14894 return pyobj;
14895}
14896
14897
14898static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject *) {
14899 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
14900 return 1;
14901}
14902
14903
14904static PyObject *_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
32fe5131 14905 PyObject *pyobj = NULL;
0c243d93
RD
14906
14907 {
14908#if wxUSE_UNICODE
14909 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR)->Len());
14910#else
14911 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR)->Len());
14912#endif
14913 }
14914 return pyobj;
14915}
14916
14917
b9d6a5f3
RD
14918static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject *) {
14919 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
14920 return 1;
14921}
14922
14923
14924static PyObject *_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
32fe5131 14925 PyObject *pyobj = NULL;
b9d6a5f3
RD
14926
14927 {
14928#if wxUSE_UNICODE
14929 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT)->Len());
14930#else
14931 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT)->Len());
14932#endif
14933 }
14934 return pyobj;
14935}
14936
14937
14938static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject *) {
14939 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
14940 return 1;
14941}
14942
14943
14944static PyObject *_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
32fe5131 14945 PyObject *pyobj = NULL;
b9d6a5f3
RD
14946
14947 {
14948#if wxUSE_UNICODE
14949 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH)->Len());
14950#else
14951 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH)->Len());
14952#endif
14953 }
14954 return pyobj;
14955}
14956
14957
c32bde28 14958static PyObject *_wrap_new_BMPHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14959 PyObject *resultobj = NULL;
d14a1e28
RD
14960 wxBMPHandler *result;
14961 char *kwnames[] = {
14962 NULL
14963 };
14964
14965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_BMPHandler",kwnames)) goto fail;
14966 {
14967 PyThreadState* __tstate = wxPyBeginAllowThreads();
14968 result = (wxBMPHandler *)new wxBMPHandler();
14969
14970 wxPyEndAllowThreads(__tstate);
14971 if (PyErr_Occurred()) SWIG_fail;
14972 }
15afbcd0 14973 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBMPHandler, 1);
d14a1e28
RD
14974 return resultobj;
14975 fail:
14976 return NULL;
14977}
14978
14979
c32bde28 14980static PyObject * BMPHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14981 PyObject *obj;
14982 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14983 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler, obj);
14984 Py_INCREF(obj);
14985 return Py_BuildValue((char *)"");
14986}
c32bde28 14987static PyObject *_wrap_new_ICOHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14988 PyObject *resultobj = NULL;
d14a1e28
RD
14989 wxICOHandler *result;
14990 char *kwnames[] = {
14991 NULL
14992 };
14993
14994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ICOHandler",kwnames)) goto fail;
14995 {
14996 PyThreadState* __tstate = wxPyBeginAllowThreads();
14997 result = (wxICOHandler *)new wxICOHandler();
14998
14999 wxPyEndAllowThreads(__tstate);
15000 if (PyErr_Occurred()) SWIG_fail;
15001 }
15afbcd0 15002 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxICOHandler, 1);
d14a1e28
RD
15003 return resultobj;
15004 fail:
15005 return NULL;
15006}
15007
15008
c32bde28 15009static PyObject * ICOHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15010 PyObject *obj;
15011 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15012 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler, obj);
15013 Py_INCREF(obj);
15014 return Py_BuildValue((char *)"");
15015}
c32bde28 15016static PyObject *_wrap_new_CURHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15017 PyObject *resultobj = NULL;
d14a1e28
RD
15018 wxCURHandler *result;
15019 char *kwnames[] = {
15020 NULL
15021 };
15022
15023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_CURHandler",kwnames)) goto fail;
15024 {
15025 PyThreadState* __tstate = wxPyBeginAllowThreads();
15026 result = (wxCURHandler *)new wxCURHandler();
15027
15028 wxPyEndAllowThreads(__tstate);
15029 if (PyErr_Occurred()) SWIG_fail;
15030 }
15afbcd0 15031 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCURHandler, 1);
d14a1e28
RD
15032 return resultobj;
15033 fail:
15034 return NULL;
15035}
15036
15037
c32bde28 15038static PyObject * CURHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15039 PyObject *obj;
15040 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15041 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler, obj);
15042 Py_INCREF(obj);
15043 return Py_BuildValue((char *)"");
15044}
c32bde28 15045static PyObject *_wrap_new_ANIHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15046 PyObject *resultobj = NULL;
d14a1e28
RD
15047 wxANIHandler *result;
15048 char *kwnames[] = {
15049 NULL
15050 };
15051
15052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ANIHandler",kwnames)) goto fail;
15053 {
15054 PyThreadState* __tstate = wxPyBeginAllowThreads();
15055 result = (wxANIHandler *)new wxANIHandler();
15056
15057 wxPyEndAllowThreads(__tstate);
15058 if (PyErr_Occurred()) SWIG_fail;
15059 }
15afbcd0 15060 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxANIHandler, 1);
d14a1e28
RD
15061 return resultobj;
15062 fail:
15063 return NULL;
15064}
15065
15066
c32bde28 15067static PyObject * ANIHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15068 PyObject *obj;
15069 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15070 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler, obj);
15071 Py_INCREF(obj);
15072 return Py_BuildValue((char *)"");
15073}
c32bde28 15074static PyObject *_wrap_new_PNGHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15075 PyObject *resultobj = NULL;
d14a1e28
RD
15076 wxPNGHandler *result;
15077 char *kwnames[] = {
15078 NULL
15079 };
15080
15081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNGHandler",kwnames)) goto fail;
15082 {
15083 PyThreadState* __tstate = wxPyBeginAllowThreads();
15084 result = (wxPNGHandler *)new wxPNGHandler();
15085
15086 wxPyEndAllowThreads(__tstate);
15087 if (PyErr_Occurred()) SWIG_fail;
15088 }
15afbcd0 15089 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNGHandler, 1);
d14a1e28
RD
15090 return resultobj;
15091 fail:
15092 return NULL;
15093}
15094
15095
c32bde28 15096static PyObject * PNGHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15097 PyObject *obj;
15098 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15099 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler, obj);
15100 Py_INCREF(obj);
15101 return Py_BuildValue((char *)"");
15102}
c32bde28 15103static PyObject *_wrap_new_GIFHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15104 PyObject *resultobj = NULL;
d14a1e28
RD
15105 wxGIFHandler *result;
15106 char *kwnames[] = {
15107 NULL
15108 };
15109
15110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GIFHandler",kwnames)) goto fail;
15111 {
15112 PyThreadState* __tstate = wxPyBeginAllowThreads();
15113 result = (wxGIFHandler *)new wxGIFHandler();
15114
15115 wxPyEndAllowThreads(__tstate);
15116 if (PyErr_Occurred()) SWIG_fail;
15117 }
15afbcd0 15118 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGIFHandler, 1);
d14a1e28
RD
15119 return resultobj;
15120 fail:
15121 return NULL;
15122}
15123
15124
c32bde28 15125static PyObject * GIFHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15126 PyObject *obj;
15127 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15128 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler, obj);
15129 Py_INCREF(obj);
15130 return Py_BuildValue((char *)"");
15131}
c32bde28 15132static PyObject *_wrap_new_PCXHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15133 PyObject *resultobj = NULL;
d14a1e28
RD
15134 wxPCXHandler *result;
15135 char *kwnames[] = {
15136 NULL
15137 };
15138
15139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PCXHandler",kwnames)) goto fail;
15140 {
15141 PyThreadState* __tstate = wxPyBeginAllowThreads();
15142 result = (wxPCXHandler *)new wxPCXHandler();
15143
15144 wxPyEndAllowThreads(__tstate);
15145 if (PyErr_Occurred()) SWIG_fail;
15146 }
15afbcd0 15147 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPCXHandler, 1);
d14a1e28
RD
15148 return resultobj;
15149 fail:
15150 return NULL;
15151}
15152
15153
c32bde28 15154static PyObject * PCXHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15155 PyObject *obj;
15156 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15157 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler, obj);
15158 Py_INCREF(obj);
15159 return Py_BuildValue((char *)"");
15160}
c32bde28 15161static PyObject *_wrap_new_JPEGHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15162 PyObject *resultobj = NULL;
d14a1e28
RD
15163 wxJPEGHandler *result;
15164 char *kwnames[] = {
15165 NULL
15166 };
15167
15168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_JPEGHandler",kwnames)) goto fail;
15169 {
15170 PyThreadState* __tstate = wxPyBeginAllowThreads();
15171 result = (wxJPEGHandler *)new wxJPEGHandler();
15172
15173 wxPyEndAllowThreads(__tstate);
15174 if (PyErr_Occurred()) SWIG_fail;
15175 }
15afbcd0 15176 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJPEGHandler, 1);
d14a1e28
RD
15177 return resultobj;
15178 fail:
15179 return NULL;
15180}
15181
15182
c32bde28 15183static PyObject * JPEGHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15184 PyObject *obj;
15185 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15186 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler, obj);
15187 Py_INCREF(obj);
15188 return Py_BuildValue((char *)"");
15189}
c32bde28 15190static PyObject *_wrap_new_PNMHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15191 PyObject *resultobj = NULL;
d14a1e28
RD
15192 wxPNMHandler *result;
15193 char *kwnames[] = {
15194 NULL
15195 };
15196
15197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNMHandler",kwnames)) goto fail;
15198 {
15199 PyThreadState* __tstate = wxPyBeginAllowThreads();
15200 result = (wxPNMHandler *)new wxPNMHandler();
15201
15202 wxPyEndAllowThreads(__tstate);
15203 if (PyErr_Occurred()) SWIG_fail;
15204 }
15afbcd0 15205 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNMHandler, 1);
d14a1e28
RD
15206 return resultobj;
15207 fail:
15208 return NULL;
15209}
15210
15211
c32bde28 15212static PyObject * PNMHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15213 PyObject *obj;
15214 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15215 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler, obj);
15216 Py_INCREF(obj);
15217 return Py_BuildValue((char *)"");
15218}
c32bde28 15219static PyObject *_wrap_new_XPMHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15220 PyObject *resultobj = NULL;
d14a1e28
RD
15221 wxXPMHandler *result;
15222 char *kwnames[] = {
15223 NULL
15224 };
15225
15226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_XPMHandler",kwnames)) goto fail;
15227 {
15228 PyThreadState* __tstate = wxPyBeginAllowThreads();
15229 result = (wxXPMHandler *)new wxXPMHandler();
15230
15231 wxPyEndAllowThreads(__tstate);
15232 if (PyErr_Occurred()) SWIG_fail;
15233 }
15afbcd0 15234 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXPMHandler, 1);
d14a1e28
RD
15235 return resultobj;
15236 fail:
15237 return NULL;
15238}
15239
15240
c32bde28 15241static PyObject * XPMHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15242 PyObject *obj;
15243 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15244 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler, obj);
15245 Py_INCREF(obj);
15246 return Py_BuildValue((char *)"");
15247}
c32bde28 15248static PyObject *_wrap_new_TIFFHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15249 PyObject *resultobj = NULL;
d14a1e28
RD
15250 wxTIFFHandler *result;
15251 char *kwnames[] = {
15252 NULL
15253 };
15254
15255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TIFFHandler",kwnames)) goto fail;
15256 {
15257 PyThreadState* __tstate = wxPyBeginAllowThreads();
15258 result = (wxTIFFHandler *)new wxTIFFHandler();
15259
15260 wxPyEndAllowThreads(__tstate);
15261 if (PyErr_Occurred()) SWIG_fail;
15262 }
15afbcd0 15263 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTIFFHandler, 1);
d14a1e28
RD
15264 return resultobj;
15265 fail:
15266 return NULL;
15267}
15268
15269
c32bde28 15270static PyObject * TIFFHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15271 PyObject *obj;
15272 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15273 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler, obj);
15274 Py_INCREF(obj);
15275 return Py_BuildValue((char *)"");
15276}
c32bde28 15277static PyObject *_wrap_Quantize_Quantize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15278 PyObject *resultobj = NULL;
c0de73ae
RD
15279 wxImage *arg1 = 0 ;
15280 wxImage *arg2 = 0 ;
15281 int arg3 = (int) 236 ;
15282 int arg4 = (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS|wxQUANTIZE_FILL_DESTINATION_IMAGE ;
15283 bool result;
15284 PyObject * obj0 = 0 ;
15285 PyObject * obj1 = 0 ;
15286 PyObject * obj2 = 0 ;
15287 PyObject * obj3 = 0 ;
15288 char *kwnames[] = {
15289 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
15290 };
15291
15292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Quantize_Quantize",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
15293 {
15294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
15295 if (SWIG_arg_fail(1)) SWIG_fail;
15296 if (arg1 == NULL) {
15297 SWIG_null_ref("wxImage");
15298 }
15299 if (SWIG_arg_fail(1)) SWIG_fail;
15300 }
15301 {
15302 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0);
15303 if (SWIG_arg_fail(2)) SWIG_fail;
15304 if (arg2 == NULL) {
15305 SWIG_null_ref("wxImage");
15306 }
15307 if (SWIG_arg_fail(2)) SWIG_fail;
c0de73ae
RD
15308 }
15309 if (obj2) {
093d3ff1 15310 {
32fe5131 15311 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
15312 if (SWIG_arg_fail(3)) SWIG_fail;
15313 }
c0de73ae
RD
15314 }
15315 if (obj3) {
093d3ff1 15316 {
32fe5131 15317 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
15318 if (SWIG_arg_fail(4)) SWIG_fail;
15319 }
c0de73ae
RD
15320 }
15321 {
15322 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 15323 result = (bool)wxQuantize_Quantize((wxImage const &)*arg1,*arg2,arg3,arg4);
c0de73ae
RD
15324
15325 wxPyEndAllowThreads(__tstate);
15326 if (PyErr_Occurred()) SWIG_fail;
15327 }
15328 {
15329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15330 }
15331 return resultobj;
15332 fail:
15333 return NULL;
15334}
15335
15336
c32bde28 15337static PyObject * Quantize_swigregister(PyObject *, PyObject *args) {
c0de73ae
RD
15338 PyObject *obj;
15339 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15340 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize, obj);
15341 Py_INCREF(obj);
15342 return Py_BuildValue((char *)"");
15343}
c32bde28 15344static PyObject *_wrap_new_EvtHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15345 PyObject *resultobj = NULL;
d14a1e28
RD
15346 wxEvtHandler *result;
15347 char *kwnames[] = {
15348 NULL
15349 };
15350
15351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EvtHandler",kwnames)) goto fail;
15352 {
15353 PyThreadState* __tstate = wxPyBeginAllowThreads();
15354 result = (wxEvtHandler *)new wxEvtHandler();
15355
15356 wxPyEndAllowThreads(__tstate);
15357 if (PyErr_Occurred()) SWIG_fail;
15358 }
b0f7404b 15359 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvtHandler, 1);
d14a1e28
RD
15360 return resultobj;
15361 fail:
15362 return NULL;
15363}
15364
15365
c32bde28 15366static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15367 PyObject *resultobj = NULL;
d14a1e28
RD
15368 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
15369 wxEvtHandler *result;
15370 PyObject * obj0 = 0 ;
15371 char *kwnames[] = {
15372 (char *) "self", NULL
15373 };
15374
15375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetNextHandler",kwnames,&obj0)) goto fail;
093d3ff1
RD
15376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
15377 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15378 {
15379 PyThreadState* __tstate = wxPyBeginAllowThreads();
15380 result = (wxEvtHandler *)(arg1)->GetNextHandler();
15381
15382 wxPyEndAllowThreads(__tstate);
15383 if (PyErr_Occurred()) SWIG_fail;
15384 }
15385 {
412d302d 15386 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
15387 }
15388 return resultobj;
15389 fail:
15390 return NULL;
15391}
15392
15393
c32bde28 15394static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15395 PyObject *resultobj = NULL;
d14a1e28
RD
15396 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
15397 wxEvtHandler *result;
15398 PyObject * obj0 = 0 ;
15399 char *kwnames[] = {
15400 (char *) "self", NULL
15401 };
15402
15403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
093d3ff1
RD
15404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
15405 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15406 {
15407 PyThreadState* __tstate = wxPyBeginAllowThreads();
15408 result = (wxEvtHandler *)(arg1)->GetPreviousHandler();
15409
15410 wxPyEndAllowThreads(__tstate);
15411 if (PyErr_Occurred()) SWIG_fail;
15412 }
15413 {
412d302d 15414 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
15415 }
15416 return resultobj;
15417 fail:
15418 return NULL;
15419}
15420
15421
c32bde28 15422static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15423 PyObject *resultobj = NULL;
d14a1e28
RD
15424 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
15425 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
15426 PyObject * obj0 = 0 ;
15427 PyObject * obj1 = 0 ;
15428 char *kwnames[] = {
15429 (char *) "self",(char *) "handler", NULL
15430 };
15431
15432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetNextHandler",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
15434 if (SWIG_arg_fail(1)) SWIG_fail;
15435 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
15436 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
15437 {
15438 PyThreadState* __tstate = wxPyBeginAllowThreads();
15439 (arg1)->SetNextHandler(arg2);
15440
15441 wxPyEndAllowThreads(__tstate);
15442 if (PyErr_Occurred()) SWIG_fail;
15443 }
15444 Py_INCREF(Py_None); resultobj = Py_None;
15445 return resultobj;
15446 fail:
15447 return NULL;
15448}
15449
15450
c32bde28 15451static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15452 PyObject *resultobj = NULL;
d14a1e28
RD
15453 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
15454 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
15455 PyObject * obj0 = 0 ;
15456 PyObject * obj1 = 0 ;
15457 char *kwnames[] = {
15458 (char *) "self",(char *) "handler", NULL
15459 };
15460
15461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
15463 if (SWIG_arg_fail(1)) SWIG_fail;
15464 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
15465 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
15466 {
15467 PyThreadState* __tstate = wxPyBeginAllowThreads();
15468 (arg1)->SetPreviousHandler(arg2);
15469
15470 wxPyEndAllowThreads(__tstate);
15471 if (PyErr_Occurred()) SWIG_fail;
15472 }
15473 Py_INCREF(Py_None); resultobj = Py_None;
15474 return resultobj;
15475 fail:
15476 return NULL;
15477}
15478
15479
c32bde28 15480static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15481 PyObject *resultobj = NULL;
d14a1e28
RD
15482 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
15483 bool result;
15484 PyObject * obj0 = 0 ;
15485 char *kwnames[] = {
15486 (char *) "self", NULL
15487 };
15488
15489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames,&obj0)) goto fail;
093d3ff1
RD
15490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
15491 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15492 {
15493 PyThreadState* __tstate = wxPyBeginAllowThreads();
15494 result = (bool)(arg1)->GetEvtHandlerEnabled();
15495
15496 wxPyEndAllowThreads(__tstate);
15497 if (PyErr_Occurred()) SWIG_fail;
15498 }
4f89f6a3
RD
15499 {
15500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15501 }
d14a1e28
RD
15502 return resultobj;
15503 fail:
15504 return NULL;
15505}
15506
15507
c32bde28 15508static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15509 PyObject *resultobj = NULL;
d14a1e28
RD
15510 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
15511 bool arg2 ;
15512 PyObject * obj0 = 0 ;
15513 PyObject * obj1 = 0 ;
15514 char *kwnames[] = {
15515 (char *) "self",(char *) "enabled", NULL
15516 };
15517
15518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
15520 if (SWIG_arg_fail(1)) SWIG_fail;
15521 {
32fe5131 15522 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
15523 if (SWIG_arg_fail(2)) SWIG_fail;
15524 }
d14a1e28
RD
15525 {
15526 PyThreadState* __tstate = wxPyBeginAllowThreads();
15527 (arg1)->SetEvtHandlerEnabled(arg2);
15528
15529 wxPyEndAllowThreads(__tstate);
15530 if (PyErr_Occurred()) SWIG_fail;
15531 }
15532 Py_INCREF(Py_None); resultobj = Py_None;
15533 return resultobj;
15534 fail:
15535 return NULL;
15536}
15537
15538
c32bde28 15539static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15540 PyObject *resultobj = NULL;
d14a1e28
RD
15541 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
15542 wxEvent *arg2 = 0 ;
15543 bool result;
15544 PyObject * obj0 = 0 ;
15545 PyObject * obj1 = 0 ;
15546 char *kwnames[] = {
15547 (char *) "self",(char *) "event", NULL
15548 };
15549
15550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_ProcessEvent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
15552 if (SWIG_arg_fail(1)) SWIG_fail;
15553 {
15554 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15555 if (SWIG_arg_fail(2)) SWIG_fail;
15556 if (arg2 == NULL) {
15557 SWIG_null_ref("wxEvent");
15558 }
15559 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
15560 }
15561 {
15562 PyThreadState* __tstate = wxPyBeginAllowThreads();
15563 result = (bool)(arg1)->ProcessEvent(*arg2);
15564
15565 wxPyEndAllowThreads(__tstate);
15566 if (PyErr_Occurred()) SWIG_fail;
15567 }
4f89f6a3
RD
15568 {
15569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15570 }
d14a1e28
RD
15571 return resultobj;
15572 fail:
15573 return NULL;
15574}
15575
15576
c32bde28 15577static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15578 PyObject *resultobj = NULL;
d14a1e28
RD
15579 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
15580 wxEvent *arg2 = 0 ;
15581 PyObject * obj0 = 0 ;
15582 PyObject * obj1 = 0 ;
15583 char *kwnames[] = {
15584 (char *) "self",(char *) "event", NULL
15585 };
15586
15587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_AddPendingEvent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
15589 if (SWIG_arg_fail(1)) SWIG_fail;
15590 {
15591 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15592 if (SWIG_arg_fail(2)) SWIG_fail;
15593 if (arg2 == NULL) {
15594 SWIG_null_ref("wxEvent");
15595 }
15596 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
15597 }
15598 {
15599 PyThreadState* __tstate = wxPyBeginAllowThreads();
15600 (arg1)->AddPendingEvent(*arg2);
15601
15602 wxPyEndAllowThreads(__tstate);
15603 if (PyErr_Occurred()) SWIG_fail;
15604 }
15605 Py_INCREF(Py_None); resultobj = Py_None;
15606 return resultobj;
15607 fail:
15608 return NULL;
15609}
15610
15611
c32bde28 15612static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15613 PyObject *resultobj = NULL;
d14a1e28
RD
15614 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
15615 PyObject * obj0 = 0 ;
15616 char *kwnames[] = {
15617 (char *) "self", NULL
15618 };
15619
15620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames,&obj0)) goto fail;
093d3ff1
RD
15621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
15622 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15623 {
15624 PyThreadState* __tstate = wxPyBeginAllowThreads();
15625 (arg1)->ProcessPendingEvents();
15626
15627 wxPyEndAllowThreads(__tstate);
15628 if (PyErr_Occurred()) SWIG_fail;
15629 }
15630 Py_INCREF(Py_None); resultobj = Py_None;
15631 return resultobj;
15632 fail:
15633 return NULL;
15634}
15635
15636
c32bde28 15637static PyObject *_wrap_EvtHandler_Connect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15638 PyObject *resultobj = NULL;
d14a1e28
RD
15639 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
15640 int arg2 ;
15641 int arg3 ;
15642 int arg4 ;
15643 PyObject *arg5 = (PyObject *) 0 ;
15644 PyObject * obj0 = 0 ;
994141e6
RD
15645 PyObject * obj1 = 0 ;
15646 PyObject * obj2 = 0 ;
15647 PyObject * obj3 = 0 ;
d14a1e28
RD
15648 PyObject * obj4 = 0 ;
15649 char *kwnames[] = {
15650 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
15651 };
15652
994141e6 15653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:EvtHandler_Connect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
15654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
15655 if (SWIG_arg_fail(1)) SWIG_fail;
15656 {
32fe5131 15657 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15658 if (SWIG_arg_fail(2)) SWIG_fail;
15659 }
15660 {
32fe5131 15661 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
15662 if (SWIG_arg_fail(3)) SWIG_fail;
15663 }
15664 {
32fe5131 15665 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
15666 if (SWIG_arg_fail(4)) SWIG_fail;
15667 }
d14a1e28
RD
15668 arg5 = obj4;
15669 {
15670 PyThreadState* __tstate = wxPyBeginAllowThreads();
15671 wxEvtHandler_Connect(arg1,arg2,arg3,arg4,arg5);
15672
15673 wxPyEndAllowThreads(__tstate);
15674 if (PyErr_Occurred()) SWIG_fail;
15675 }
15676 Py_INCREF(Py_None); resultobj = Py_None;
15677 return resultobj;
15678 fail:
15679 return NULL;
15680}
15681
15682
c32bde28 15683static PyObject *_wrap_EvtHandler_Disconnect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15684 PyObject *resultobj = NULL;
d14a1e28
RD
15685 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
15686 int arg2 ;
15687 int arg3 = (int) -1 ;
15688 wxEventType arg4 = (wxEventType) wxEVT_NULL ;
15689 bool result;
15690 PyObject * obj0 = 0 ;
994141e6
RD
15691 PyObject * obj1 = 0 ;
15692 PyObject * obj2 = 0 ;
15693 PyObject * obj3 = 0 ;
d14a1e28
RD
15694 char *kwnames[] = {
15695 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
15696 };
15697
994141e6 15698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:EvtHandler_Disconnect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
15699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
15700 if (SWIG_arg_fail(1)) SWIG_fail;
15701 {
32fe5131 15702 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15703 if (SWIG_arg_fail(2)) SWIG_fail;
15704 }
994141e6 15705 if (obj2) {
093d3ff1 15706 {
32fe5131 15707 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
15708 if (SWIG_arg_fail(3)) SWIG_fail;
15709 }
994141e6
RD
15710 }
15711 if (obj3) {
093d3ff1 15712 {
32fe5131 15713 arg4 = static_cast<wxEventType >(SWIG_As_int(obj3));
093d3ff1
RD
15714 if (SWIG_arg_fail(4)) SWIG_fail;
15715 }
994141e6 15716 }
d14a1e28
RD
15717 {
15718 PyThreadState* __tstate = wxPyBeginAllowThreads();
15719 result = (bool)wxEvtHandler_Disconnect(arg1,arg2,arg3,arg4);
15720
15721 wxPyEndAllowThreads(__tstate);
15722 if (PyErr_Occurred()) SWIG_fail;
15723 }
4f89f6a3
RD
15724 {
15725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15726 }
d14a1e28
RD
15727 return resultobj;
15728 fail:
15729 return NULL;
15730}
15731
15732
c32bde28 15733static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15734 PyObject *resultobj = NULL;
d14a1e28
RD
15735 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
15736 PyObject *arg2 = (PyObject *) 0 ;
689b42ee 15737 bool arg3 = (bool) true ;
d14a1e28
RD
15738 PyObject * obj0 = 0 ;
15739 PyObject * obj1 = 0 ;
689b42ee 15740 PyObject * obj2 = 0 ;
d14a1e28 15741 char *kwnames[] = {
689b42ee 15742 (char *) "self",(char *) "_self",(char *) "incref", NULL
d14a1e28
RD
15743 };
15744
689b42ee 15745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:EvtHandler__setOORInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
15747 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 15748 arg2 = obj1;
689b42ee 15749 if (obj2) {
093d3ff1 15750 {
32fe5131 15751 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
15752 if (SWIG_arg_fail(3)) SWIG_fail;
15753 }
689b42ee 15754 }
d14a1e28
RD
15755 {
15756 PyThreadState* __tstate = wxPyBeginAllowThreads();
689b42ee 15757 wxEvtHandler__setOORInfo(arg1,arg2,arg3);
d14a1e28
RD
15758
15759 wxPyEndAllowThreads(__tstate);
15760 if (PyErr_Occurred()) SWIG_fail;
15761 }
15762 Py_INCREF(Py_None); resultobj = Py_None;
15763 return resultobj;
15764 fail:
15765 return NULL;
15766}
15767
15768
c32bde28 15769static PyObject * EvtHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15770 PyObject *obj;
15771 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15772 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler, obj);
15773 Py_INCREF(obj);
15774 return Py_BuildValue((char *)"");
15775}
c32bde28 15776static PyObject *_wrap_NewEventType(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15777 PyObject *resultobj = NULL;
d14a1e28
RD
15778 wxEventType result;
15779 char *kwnames[] = {
15780 NULL
15781 };
15782
15783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewEventType",kwnames)) goto fail;
15784 {
15785 PyThreadState* __tstate = wxPyBeginAllowThreads();
15786 result = (wxEventType)wxNewEventType();
15787
15788 wxPyEndAllowThreads(__tstate);
15789 if (PyErr_Occurred()) SWIG_fail;
15790 }
093d3ff1 15791 {
32fe5131 15792 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15793 }
d14a1e28
RD
15794 return resultobj;
15795 fail:
15796 return NULL;
15797}
15798
15799
c32bde28 15800static PyObject *_wrap_delete_Event(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15801 PyObject *resultobj = NULL;
d14a1e28
RD
15802 wxEvent *arg1 = (wxEvent *) 0 ;
15803 PyObject * obj0 = 0 ;
15804 char *kwnames[] = {
15805 (char *) "self", NULL
15806 };
15807
15808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Event",kwnames,&obj0)) goto fail;
093d3ff1
RD
15809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15810 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15811 {
15812 PyThreadState* __tstate = wxPyBeginAllowThreads();
15813 delete arg1;
15814
15815 wxPyEndAllowThreads(__tstate);
15816 if (PyErr_Occurred()) SWIG_fail;
15817 }
15818 Py_INCREF(Py_None); resultobj = Py_None;
15819 return resultobj;
15820 fail:
15821 return NULL;
15822}
15823
15824
c32bde28 15825static PyObject *_wrap_Event_SetEventType(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15826 PyObject *resultobj = NULL;
d14a1e28
RD
15827 wxEvent *arg1 = (wxEvent *) 0 ;
15828 wxEventType arg2 ;
15829 PyObject * obj0 = 0 ;
994141e6 15830 PyObject * obj1 = 0 ;
d14a1e28
RD
15831 char *kwnames[] = {
15832 (char *) "self",(char *) "typ", NULL
15833 };
15834
994141e6 15835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventType",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15837 if (SWIG_arg_fail(1)) SWIG_fail;
15838 {
32fe5131 15839 arg2 = static_cast<wxEventType >(SWIG_As_int(obj1));
093d3ff1
RD
15840 if (SWIG_arg_fail(2)) SWIG_fail;
15841 }
d14a1e28
RD
15842 {
15843 PyThreadState* __tstate = wxPyBeginAllowThreads();
15844 (arg1)->SetEventType(arg2);
15845
15846 wxPyEndAllowThreads(__tstate);
15847 if (PyErr_Occurred()) SWIG_fail;
15848 }
15849 Py_INCREF(Py_None); resultobj = Py_None;
15850 return resultobj;
15851 fail:
15852 return NULL;
15853}
15854
15855
c32bde28 15856static PyObject *_wrap_Event_GetEventType(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15857 PyObject *resultobj = NULL;
d14a1e28
RD
15858 wxEvent *arg1 = (wxEvent *) 0 ;
15859 wxEventType result;
15860 PyObject * obj0 = 0 ;
15861 char *kwnames[] = {
15862 (char *) "self", NULL
15863 };
15864
15865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventType",kwnames,&obj0)) goto fail;
093d3ff1
RD
15866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15867 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15868 {
15869 PyThreadState* __tstate = wxPyBeginAllowThreads();
15870 result = (wxEventType)((wxEvent const *)arg1)->GetEventType();
15871
15872 wxPyEndAllowThreads(__tstate);
15873 if (PyErr_Occurred()) SWIG_fail;
15874 }
093d3ff1 15875 {
32fe5131 15876 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15877 }
d14a1e28
RD
15878 return resultobj;
15879 fail:
15880 return NULL;
15881}
15882
15883
c32bde28 15884static PyObject *_wrap_Event_GetEventObject(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15885 PyObject *resultobj = NULL;
d14a1e28
RD
15886 wxEvent *arg1 = (wxEvent *) 0 ;
15887 wxObject *result;
15888 PyObject * obj0 = 0 ;
15889 char *kwnames[] = {
15890 (char *) "self", NULL
15891 };
15892
15893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventObject",kwnames,&obj0)) goto fail;
093d3ff1
RD
15894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15895 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15896 {
15897 PyThreadState* __tstate = wxPyBeginAllowThreads();
15898 result = (wxObject *)((wxEvent const *)arg1)->GetEventObject();
15899
15900 wxPyEndAllowThreads(__tstate);
15901 if (PyErr_Occurred()) SWIG_fail;
15902 }
15903 {
7e08d4ef 15904 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
15905 }
15906 return resultobj;
15907 fail:
15908 return NULL;
15909}
15910
15911
c32bde28 15912static PyObject *_wrap_Event_SetEventObject(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15913 PyObject *resultobj = NULL;
d14a1e28
RD
15914 wxEvent *arg1 = (wxEvent *) 0 ;
15915 wxObject *arg2 = (wxObject *) 0 ;
15916 PyObject * obj0 = 0 ;
15917 PyObject * obj1 = 0 ;
15918 char *kwnames[] = {
15919 (char *) "self",(char *) "obj", NULL
15920 };
15921
15922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventObject",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15924 if (SWIG_arg_fail(1)) SWIG_fail;
15925 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0);
15926 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
15927 {
15928 PyThreadState* __tstate = wxPyBeginAllowThreads();
15929 (arg1)->SetEventObject(arg2);
15930
15931 wxPyEndAllowThreads(__tstate);
15932 if (PyErr_Occurred()) SWIG_fail;
15933 }
15934 Py_INCREF(Py_None); resultobj = Py_None;
15935 return resultobj;
15936 fail:
15937 return NULL;
15938}
15939
15940
c32bde28 15941static PyObject *_wrap_Event_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15942 PyObject *resultobj = NULL;
d14a1e28
RD
15943 wxEvent *arg1 = (wxEvent *) 0 ;
15944 long result;
15945 PyObject * obj0 = 0 ;
15946 char *kwnames[] = {
15947 (char *) "self", NULL
15948 };
15949
15950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetTimestamp",kwnames,&obj0)) goto fail;
093d3ff1
RD
15951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15952 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15953 {
15954 PyThreadState* __tstate = wxPyBeginAllowThreads();
15955 result = (long)((wxEvent const *)arg1)->GetTimestamp();
15956
15957 wxPyEndAllowThreads(__tstate);
15958 if (PyErr_Occurred()) SWIG_fail;
15959 }
093d3ff1 15960 {
32fe5131 15961 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 15962 }
d14a1e28
RD
15963 return resultobj;
15964 fail:
15965 return NULL;
15966}
15967
15968
c32bde28 15969static PyObject *_wrap_Event_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15970 PyObject *resultobj = NULL;
d14a1e28
RD
15971 wxEvent *arg1 = (wxEvent *) 0 ;
15972 long arg2 = (long) 0 ;
15973 PyObject * obj0 = 0 ;
994141e6 15974 PyObject * obj1 = 0 ;
d14a1e28
RD
15975 char *kwnames[] = {
15976 (char *) "self",(char *) "ts", NULL
15977 };
15978
994141e6 15979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_SetTimestamp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
15981 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 15982 if (obj1) {
093d3ff1 15983 {
32fe5131 15984 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
15985 if (SWIG_arg_fail(2)) SWIG_fail;
15986 }
994141e6 15987 }
d14a1e28
RD
15988 {
15989 PyThreadState* __tstate = wxPyBeginAllowThreads();
15990 (arg1)->SetTimestamp(arg2);
15991
15992 wxPyEndAllowThreads(__tstate);
15993 if (PyErr_Occurred()) SWIG_fail;
15994 }
15995 Py_INCREF(Py_None); resultobj = Py_None;
15996 return resultobj;
15997 fail:
15998 return NULL;
15999}
16000
16001
c32bde28 16002static PyObject *_wrap_Event_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16003 PyObject *resultobj = NULL;
d14a1e28
RD
16004 wxEvent *arg1 = (wxEvent *) 0 ;
16005 int result;
16006 PyObject * obj0 = 0 ;
16007 char *kwnames[] = {
16008 (char *) "self", NULL
16009 };
16010
16011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
16012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
16013 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16014 {
16015 PyThreadState* __tstate = wxPyBeginAllowThreads();
16016 result = (int)((wxEvent const *)arg1)->GetId();
16017
16018 wxPyEndAllowThreads(__tstate);
16019 if (PyErr_Occurred()) SWIG_fail;
16020 }
093d3ff1 16021 {
32fe5131 16022 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 16023 }
d14a1e28
RD
16024 return resultobj;
16025 fail:
16026 return NULL;
16027}
16028
16029
c32bde28 16030static PyObject *_wrap_Event_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16031 PyObject *resultobj = NULL;
d14a1e28
RD
16032 wxEvent *arg1 = (wxEvent *) 0 ;
16033 int arg2 ;
16034 PyObject * obj0 = 0 ;
994141e6 16035 PyObject * obj1 = 0 ;
d14a1e28
RD
16036 char *kwnames[] = {
16037 (char *) "self",(char *) "Id", NULL
16038 };
16039
994141e6 16040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
16042 if (SWIG_arg_fail(1)) SWIG_fail;
16043 {
32fe5131 16044 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
16045 if (SWIG_arg_fail(2)) SWIG_fail;
16046 }
d14a1e28
RD
16047 {
16048 PyThreadState* __tstate = wxPyBeginAllowThreads();
16049 (arg1)->SetId(arg2);
16050
16051 wxPyEndAllowThreads(__tstate);
16052 if (PyErr_Occurred()) SWIG_fail;
16053 }
16054 Py_INCREF(Py_None); resultobj = Py_None;
16055 return resultobj;
16056 fail:
16057 return NULL;
16058}
16059
16060
c32bde28 16061static PyObject *_wrap_Event_IsCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16062 PyObject *resultobj = NULL;
d14a1e28
RD
16063 wxEvent *arg1 = (wxEvent *) 0 ;
16064 bool result;
16065 PyObject * obj0 = 0 ;
16066 char *kwnames[] = {
16067 (char *) "self", NULL
16068 };
16069
16070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_IsCommandEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
16071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
16072 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16073 {
16074 PyThreadState* __tstate = wxPyBeginAllowThreads();
16075 result = (bool)((wxEvent const *)arg1)->IsCommandEvent();
16076
16077 wxPyEndAllowThreads(__tstate);
16078 if (PyErr_Occurred()) SWIG_fail;
16079 }
4f89f6a3
RD
16080 {
16081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16082 }
d14a1e28
RD
16083 return resultobj;
16084 fail:
16085 return NULL;
16086}
16087
16088
c32bde28 16089static PyObject *_wrap_Event_Skip(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16090 PyObject *resultobj = NULL;
d14a1e28 16091 wxEvent *arg1 = (wxEvent *) 0 ;
ae8162c8 16092 bool arg2 = (bool) true ;
d14a1e28
RD
16093 PyObject * obj0 = 0 ;
16094 PyObject * obj1 = 0 ;
16095 char *kwnames[] = {
16096 (char *) "self",(char *) "skip", NULL
16097 };
16098
16099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_Skip",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
16101 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 16102 if (obj1) {
093d3ff1 16103 {
32fe5131 16104 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
16105 if (SWIG_arg_fail(2)) SWIG_fail;
16106 }
d14a1e28
RD
16107 }
16108 {
16109 PyThreadState* __tstate = wxPyBeginAllowThreads();
16110 (arg1)->Skip(arg2);
16111
16112 wxPyEndAllowThreads(__tstate);
16113 if (PyErr_Occurred()) SWIG_fail;
16114 }
16115 Py_INCREF(Py_None); resultobj = Py_None;
16116 return resultobj;
16117 fail:
16118 return NULL;
16119}
16120
16121
c32bde28 16122static PyObject *_wrap_Event_GetSkipped(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16123 PyObject *resultobj = NULL;
d14a1e28
RD
16124 wxEvent *arg1 = (wxEvent *) 0 ;
16125 bool result;
16126 PyObject * obj0 = 0 ;
16127 char *kwnames[] = {
16128 (char *) "self", NULL
16129 };
16130
16131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetSkipped",kwnames,&obj0)) goto fail;
093d3ff1
RD
16132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
16133 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16134 {
16135 PyThreadState* __tstate = wxPyBeginAllowThreads();
16136 result = (bool)((wxEvent const *)arg1)->GetSkipped();
16137
16138 wxPyEndAllowThreads(__tstate);
16139 if (PyErr_Occurred()) SWIG_fail;
16140 }
4f89f6a3
RD
16141 {
16142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16143 }
d14a1e28
RD
16144 return resultobj;
16145 fail:
16146 return NULL;
16147}
16148
16149
c32bde28 16150static PyObject *_wrap_Event_ShouldPropagate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16151 PyObject *resultobj = NULL;
d14a1e28
RD
16152 wxEvent *arg1 = (wxEvent *) 0 ;
16153 bool result;
16154 PyObject * obj0 = 0 ;
16155 char *kwnames[] = {
16156 (char *) "self", NULL
16157 };
16158
16159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_ShouldPropagate",kwnames,&obj0)) goto fail;
093d3ff1
RD
16160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
16161 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16162 {
16163 PyThreadState* __tstate = wxPyBeginAllowThreads();
16164 result = (bool)((wxEvent const *)arg1)->ShouldPropagate();
16165
16166 wxPyEndAllowThreads(__tstate);
16167 if (PyErr_Occurred()) SWIG_fail;
16168 }
4f89f6a3
RD
16169 {
16170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16171 }
d14a1e28
RD
16172 return resultobj;
16173 fail:
16174 return NULL;
16175}
16176
16177
c32bde28 16178static PyObject *_wrap_Event_StopPropagation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16179 PyObject *resultobj = NULL;
d14a1e28
RD
16180 wxEvent *arg1 = (wxEvent *) 0 ;
16181 int result;
16182 PyObject * obj0 = 0 ;
16183 char *kwnames[] = {
16184 (char *) "self", NULL
16185 };
16186
16187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_StopPropagation",kwnames,&obj0)) goto fail;
093d3ff1
RD
16188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
16189 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16190 {
16191 PyThreadState* __tstate = wxPyBeginAllowThreads();
16192 result = (int)(arg1)->StopPropagation();
16193
16194 wxPyEndAllowThreads(__tstate);
16195 if (PyErr_Occurred()) SWIG_fail;
16196 }
093d3ff1 16197 {
32fe5131 16198 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 16199 }
d14a1e28
RD
16200 return resultobj;
16201 fail:
16202 return NULL;
16203}
16204
16205
c32bde28 16206static PyObject *_wrap_Event_ResumePropagation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16207 PyObject *resultobj = NULL;
d14a1e28
RD
16208 wxEvent *arg1 = (wxEvent *) 0 ;
16209 int arg2 ;
16210 PyObject * obj0 = 0 ;
994141e6 16211 PyObject * obj1 = 0 ;
d14a1e28
RD
16212 char *kwnames[] = {
16213 (char *) "self",(char *) "propagationLevel", NULL
16214 };
16215
994141e6 16216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_ResumePropagation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
16218 if (SWIG_arg_fail(1)) SWIG_fail;
16219 {
32fe5131 16220 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
16221 if (SWIG_arg_fail(2)) SWIG_fail;
16222 }
d14a1e28
RD
16223 {
16224 PyThreadState* __tstate = wxPyBeginAllowThreads();
16225 (arg1)->ResumePropagation(arg2);
16226
16227 wxPyEndAllowThreads(__tstate);
16228 if (PyErr_Occurred()) SWIG_fail;
16229 }
16230 Py_INCREF(Py_None); resultobj = Py_None;
16231 return resultobj;
16232 fail:
16233 return NULL;
16234}
16235
16236
c32bde28 16237static PyObject *_wrap_Event_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16238 PyObject *resultobj = NULL;
d14a1e28
RD
16239 wxEvent *arg1 = (wxEvent *) 0 ;
16240 wxEvent *result;
16241 PyObject * obj0 = 0 ;
16242 char *kwnames[] = {
16243 (char *) "self", NULL
16244 };
16245
16246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_Clone",kwnames,&obj0)) goto fail;
093d3ff1
RD
16247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
16248 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16249 {
16250 PyThreadState* __tstate = wxPyBeginAllowThreads();
16251 result = (wxEvent *)(arg1)->Clone();
16252
16253 wxPyEndAllowThreads(__tstate);
16254 if (PyErr_Occurred()) SWIG_fail;
16255 }
15afbcd0 16256 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
d14a1e28
RD
16257 return resultobj;
16258 fail:
16259 return NULL;
16260}
16261
16262
c32bde28 16263static PyObject * Event_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16264 PyObject *obj;
16265 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16266 SWIG_TypeClientData(SWIGTYPE_p_wxEvent, obj);
16267 Py_INCREF(obj);
16268 return Py_BuildValue((char *)"");
16269}
c32bde28 16270static PyObject *_wrap_new_PropagationDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16271 PyObject *resultobj = NULL;
d14a1e28
RD
16272 wxEvent *arg1 = 0 ;
16273 wxPropagationDisabler *result;
16274 PyObject * obj0 = 0 ;
16275 char *kwnames[] = {
16276 (char *) "event", NULL
16277 };
16278
16279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagationDisabler",kwnames,&obj0)) goto fail;
093d3ff1
RD
16280 {
16281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
16282 if (SWIG_arg_fail(1)) SWIG_fail;
16283 if (arg1 == NULL) {
16284 SWIG_null_ref("wxEvent");
16285 }
16286 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16287 }
16288 {
16289 PyThreadState* __tstate = wxPyBeginAllowThreads();
16290 result = (wxPropagationDisabler *)new wxPropagationDisabler(*arg1);
16291
16292 wxPyEndAllowThreads(__tstate);
16293 if (PyErr_Occurred()) SWIG_fail;
16294 }
15afbcd0 16295 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagationDisabler, 1);
d14a1e28
RD
16296 return resultobj;
16297 fail:
16298 return NULL;
16299}
16300
16301
c32bde28 16302static PyObject *_wrap_delete_PropagationDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16303 PyObject *resultobj = NULL;
d14a1e28
RD
16304 wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ;
16305 PyObject * obj0 = 0 ;
16306 char *kwnames[] = {
16307 (char *) "self", NULL
16308 };
16309
16310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagationDisabler",kwnames,&obj0)) goto fail;
093d3ff1
RD
16311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPropagationDisabler, SWIG_POINTER_EXCEPTION | 0);
16312 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16313 {
16314 PyThreadState* __tstate = wxPyBeginAllowThreads();
16315 delete arg1;
16316
16317 wxPyEndAllowThreads(__tstate);
16318 if (PyErr_Occurred()) SWIG_fail;
16319 }
16320 Py_INCREF(Py_None); resultobj = Py_None;
16321 return resultobj;
16322 fail:
16323 return NULL;
16324}
16325
16326
c32bde28 16327static PyObject * PropagationDisabler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16328 PyObject *obj;
16329 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16330 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler, obj);
16331 Py_INCREF(obj);
16332 return Py_BuildValue((char *)"");
16333}
c32bde28 16334static PyObject *_wrap_new_PropagateOnce(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16335 PyObject *resultobj = NULL;
d14a1e28
RD
16336 wxEvent *arg1 = 0 ;
16337 wxPropagateOnce *result;
16338 PyObject * obj0 = 0 ;
16339 char *kwnames[] = {
16340 (char *) "event", NULL
16341 };
16342
16343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagateOnce",kwnames,&obj0)) goto fail;
093d3ff1
RD
16344 {
16345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
16346 if (SWIG_arg_fail(1)) SWIG_fail;
16347 if (arg1 == NULL) {
16348 SWIG_null_ref("wxEvent");
16349 }
16350 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16351 }
16352 {
16353 PyThreadState* __tstate = wxPyBeginAllowThreads();
16354 result = (wxPropagateOnce *)new wxPropagateOnce(*arg1);
16355
16356 wxPyEndAllowThreads(__tstate);
16357 if (PyErr_Occurred()) SWIG_fail;
16358 }
15afbcd0 16359 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagateOnce, 1);
d14a1e28
RD
16360 return resultobj;
16361 fail:
16362 return NULL;
16363}
16364
16365
c32bde28 16366static PyObject *_wrap_delete_PropagateOnce(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16367 PyObject *resultobj = NULL;
d14a1e28
RD
16368 wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ;
16369 PyObject * obj0 = 0 ;
16370 char *kwnames[] = {
16371 (char *) "self", NULL
16372 };
16373
16374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagateOnce",kwnames,&obj0)) goto fail;
093d3ff1
RD
16375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPropagateOnce, SWIG_POINTER_EXCEPTION | 0);
16376 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16377 {
16378 PyThreadState* __tstate = wxPyBeginAllowThreads();
16379 delete arg1;
16380
16381 wxPyEndAllowThreads(__tstate);
16382 if (PyErr_Occurred()) SWIG_fail;
16383 }
16384 Py_INCREF(Py_None); resultobj = Py_None;
16385 return resultobj;
16386 fail:
16387 return NULL;
16388}
16389
16390
c32bde28 16391static PyObject * PropagateOnce_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16392 PyObject *obj;
16393 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16394 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce, obj);
16395 Py_INCREF(obj);
16396 return Py_BuildValue((char *)"");
16397}
c32bde28 16398static PyObject *_wrap_new_CommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16399 PyObject *resultobj = NULL;
d14a1e28
RD
16400 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16401 int arg2 = (int) 0 ;
16402 wxCommandEvent *result;
994141e6
RD
16403 PyObject * obj0 = 0 ;
16404 PyObject * obj1 = 0 ;
d14a1e28
RD
16405 char *kwnames[] = {
16406 (char *) "commandType",(char *) "winid", NULL
16407 };
16408
994141e6
RD
16409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CommandEvent",kwnames,&obj0,&obj1)) goto fail;
16410 if (obj0) {
093d3ff1 16411 {
32fe5131 16412 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
16413 if (SWIG_arg_fail(1)) SWIG_fail;
16414 }
994141e6
RD
16415 }
16416 if (obj1) {
093d3ff1 16417 {
32fe5131 16418 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
16419 if (SWIG_arg_fail(2)) SWIG_fail;
16420 }
994141e6 16421 }
d14a1e28
RD
16422 {
16423 PyThreadState* __tstate = wxPyBeginAllowThreads();
16424 result = (wxCommandEvent *)new wxCommandEvent(arg1,arg2);
16425
16426 wxPyEndAllowThreads(__tstate);
16427 if (PyErr_Occurred()) SWIG_fail;
16428 }
15afbcd0 16429 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCommandEvent, 1);
d14a1e28
RD
16430 return resultobj;
16431 fail:
16432 return NULL;
16433}
16434
16435
c32bde28 16436static PyObject *_wrap_CommandEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16437 PyObject *resultobj = NULL;
d14a1e28
RD
16438 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
16439 int result;
16440 PyObject * obj0 = 0 ;
16441 char *kwnames[] = {
16442 (char *) "self", NULL
16443 };
16444
16445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
16446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
16447 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16448 {
16449 PyThreadState* __tstate = wxPyBeginAllowThreads();
16450 result = (int)((wxCommandEvent const *)arg1)->GetSelection();
16451
16452 wxPyEndAllowThreads(__tstate);
16453 if (PyErr_Occurred()) SWIG_fail;
16454 }
093d3ff1 16455 {
32fe5131 16456 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 16457 }
d14a1e28
RD
16458 return resultobj;
16459 fail:
16460 return NULL;
16461}
16462
16463
c32bde28 16464static PyObject *_wrap_CommandEvent_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16465 PyObject *resultobj = NULL;
d14a1e28
RD
16466 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
16467 wxString *arg2 = 0 ;
ae8162c8 16468 bool temp2 = false ;
d14a1e28
RD
16469 PyObject * obj0 = 0 ;
16470 PyObject * obj1 = 0 ;
16471 char *kwnames[] = {
16472 (char *) "self",(char *) "s", NULL
16473 };
16474
16475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
16477 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16478 {
16479 arg2 = wxString_in_helper(obj1);
16480 if (arg2 == NULL) SWIG_fail;
ae8162c8 16481 temp2 = true;
d14a1e28
RD
16482 }
16483 {
16484 PyThreadState* __tstate = wxPyBeginAllowThreads();
16485 (arg1)->SetString((wxString const &)*arg2);
16486
16487 wxPyEndAllowThreads(__tstate);
16488 if (PyErr_Occurred()) SWIG_fail;
16489 }
16490 Py_INCREF(Py_None); resultobj = Py_None;
16491 {
16492 if (temp2)
16493 delete arg2;
16494 }
16495 return resultobj;
16496 fail:
16497 {
16498 if (temp2)
16499 delete arg2;
16500 }
16501 return NULL;
16502}
16503
16504
c32bde28 16505static PyObject *_wrap_CommandEvent_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16506 PyObject *resultobj = NULL;
d14a1e28
RD
16507 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
16508 wxString result;
16509 PyObject * obj0 = 0 ;
16510 char *kwnames[] = {
16511 (char *) "self", NULL
16512 };
16513
16514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
16516 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16517 {
16518 PyThreadState* __tstate = wxPyBeginAllowThreads();
16519 result = ((wxCommandEvent const *)arg1)->GetString();
16520
16521 wxPyEndAllowThreads(__tstate);
16522 if (PyErr_Occurred()) SWIG_fail;
16523 }
16524 {
16525#if wxUSE_UNICODE
16526 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16527#else
16528 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16529#endif
16530 }
16531 return resultobj;
16532 fail:
16533 return NULL;
16534}
16535
16536
c32bde28 16537static PyObject *_wrap_CommandEvent_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16538 PyObject *resultobj = NULL;
d14a1e28
RD
16539 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
16540 bool result;
16541 PyObject * obj0 = 0 ;
16542 char *kwnames[] = {
16543 (char *) "self", NULL
16544 };
16545
16546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsChecked",kwnames,&obj0)) goto fail;
093d3ff1
RD
16547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
16548 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16549 {
16550 PyThreadState* __tstate = wxPyBeginAllowThreads();
16551 result = (bool)((wxCommandEvent const *)arg1)->IsChecked();
16552
16553 wxPyEndAllowThreads(__tstate);
16554 if (PyErr_Occurred()) SWIG_fail;
16555 }
4f89f6a3
RD
16556 {
16557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16558 }
d14a1e28
RD
16559 return resultobj;
16560 fail:
16561 return NULL;
16562}
16563
16564
c32bde28 16565static PyObject *_wrap_CommandEvent_IsSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16566 PyObject *resultobj = NULL;
d14a1e28
RD
16567 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
16568 bool result;
16569 PyObject * obj0 = 0 ;
16570 char *kwnames[] = {
16571 (char *) "self", NULL
16572 };
16573
16574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
16575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
16576 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16577 {
16578 PyThreadState* __tstate = wxPyBeginAllowThreads();
16579 result = (bool)((wxCommandEvent const *)arg1)->IsSelection();
16580
16581 wxPyEndAllowThreads(__tstate);
16582 if (PyErr_Occurred()) SWIG_fail;
16583 }
4f89f6a3
RD
16584 {
16585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16586 }
d14a1e28
RD
16587 return resultobj;
16588 fail:
16589 return NULL;
16590}
16591
16592
c32bde28 16593static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16594 PyObject *resultobj = NULL;
d14a1e28
RD
16595 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
16596 long arg2 ;
16597 PyObject * obj0 = 0 ;
994141e6 16598 PyObject * obj1 = 0 ;
d14a1e28
RD
16599 char *kwnames[] = {
16600 (char *) "self",(char *) "extraLong", NULL
16601 };
16602
994141e6 16603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetExtraLong",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
16605 if (SWIG_arg_fail(1)) SWIG_fail;
16606 {
32fe5131 16607 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
16608 if (SWIG_arg_fail(2)) SWIG_fail;
16609 }
d14a1e28
RD
16610 {
16611 PyThreadState* __tstate = wxPyBeginAllowThreads();
16612 (arg1)->SetExtraLong(arg2);
16613
16614 wxPyEndAllowThreads(__tstate);
16615 if (PyErr_Occurred()) SWIG_fail;
16616 }
16617 Py_INCREF(Py_None); resultobj = Py_None;
16618 return resultobj;
16619 fail:
16620 return NULL;
16621}
16622
16623
c32bde28 16624static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16625 PyObject *resultobj = NULL;
d14a1e28
RD
16626 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
16627 long result;
16628 PyObject * obj0 = 0 ;
16629 char *kwnames[] = {
16630 (char *) "self", NULL
16631 };
16632
16633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetExtraLong",kwnames,&obj0)) goto fail;
093d3ff1
RD
16634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
16635 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16636 {
16637 PyThreadState* __tstate = wxPyBeginAllowThreads();
16638 result = (long)((wxCommandEvent const *)arg1)->GetExtraLong();
16639
16640 wxPyEndAllowThreads(__tstate);
16641 if (PyErr_Occurred()) SWIG_fail;
16642 }
093d3ff1 16643 {
32fe5131 16644 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 16645 }
d14a1e28
RD
16646 return resultobj;
16647 fail:
16648 return NULL;
16649}
16650
16651
c32bde28 16652static PyObject *_wrap_CommandEvent_SetInt(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16653 PyObject *resultobj = NULL;
d14a1e28
RD
16654 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
16655 int arg2 ;
16656 PyObject * obj0 = 0 ;
994141e6 16657 PyObject * obj1 = 0 ;
d14a1e28
RD
16658 char *kwnames[] = {
16659 (char *) "self",(char *) "i", NULL
16660 };
16661
994141e6 16662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetInt",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
16664 if (SWIG_arg_fail(1)) SWIG_fail;
16665 {
32fe5131 16666 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
16667 if (SWIG_arg_fail(2)) SWIG_fail;
16668 }
d14a1e28
RD
16669 {
16670 PyThreadState* __tstate = wxPyBeginAllowThreads();
16671 (arg1)->SetInt(arg2);
16672
16673 wxPyEndAllowThreads(__tstate);
16674 if (PyErr_Occurred()) SWIG_fail;
16675 }
16676 Py_INCREF(Py_None); resultobj = Py_None;
16677 return resultobj;
16678 fail:
16679 return NULL;
16680}
16681
16682
c32bde28 16683static PyObject *_wrap_CommandEvent_GetInt(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16684 PyObject *resultobj = NULL;
d14a1e28
RD
16685 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
16686 long result;
16687 PyObject * obj0 = 0 ;
16688 char *kwnames[] = {
16689 (char *) "self", NULL
16690 };
16691
16692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetInt",kwnames,&obj0)) goto fail;
093d3ff1
RD
16693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
16694 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16695 {
16696 PyThreadState* __tstate = wxPyBeginAllowThreads();
16697 result = (long)((wxCommandEvent const *)arg1)->GetInt();
16698
16699 wxPyEndAllowThreads(__tstate);
16700 if (PyErr_Occurred()) SWIG_fail;
16701 }
093d3ff1 16702 {
32fe5131 16703 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 16704 }
d14a1e28
RD
16705 return resultobj;
16706 fail:
16707 return NULL;
16708}
16709
16710
c32bde28 16711static PyObject *_wrap_CommandEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16712 PyObject *resultobj = NULL;
d14a1e28
RD
16713 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
16714 wxEvent *result;
16715 PyObject * obj0 = 0 ;
16716 char *kwnames[] = {
16717 (char *) "self", NULL
16718 };
16719
16720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_Clone",kwnames,&obj0)) goto fail;
093d3ff1
RD
16721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
16722 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16723 {
16724 PyThreadState* __tstate = wxPyBeginAllowThreads();
16725 result = (wxEvent *)((wxCommandEvent const *)arg1)->Clone();
16726
16727 wxPyEndAllowThreads(__tstate);
16728 if (PyErr_Occurred()) SWIG_fail;
16729 }
15afbcd0 16730 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
d14a1e28
RD
16731 return resultobj;
16732 fail:
16733 return NULL;
16734}
16735
16736
c32bde28 16737static PyObject * CommandEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16738 PyObject *obj;
16739 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16740 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent, obj);
16741 Py_INCREF(obj);
16742 return Py_BuildValue((char *)"");
16743}
c32bde28 16744static PyObject *_wrap_new_NotifyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16745 PyObject *resultobj = NULL;
d14a1e28
RD
16746 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16747 int arg2 = (int) 0 ;
16748 wxNotifyEvent *result;
994141e6
RD
16749 PyObject * obj0 = 0 ;
16750 PyObject * obj1 = 0 ;
d14a1e28
RD
16751 char *kwnames[] = {
16752 (char *) "commandType",(char *) "winid", NULL
16753 };
16754
994141e6
RD
16755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_NotifyEvent",kwnames,&obj0,&obj1)) goto fail;
16756 if (obj0) {
093d3ff1 16757 {
32fe5131 16758 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
16759 if (SWIG_arg_fail(1)) SWIG_fail;
16760 }
994141e6
RD
16761 }
16762 if (obj1) {
093d3ff1 16763 {
32fe5131 16764 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
16765 if (SWIG_arg_fail(2)) SWIG_fail;
16766 }
994141e6 16767 }
d14a1e28
RD
16768 {
16769 PyThreadState* __tstate = wxPyBeginAllowThreads();
16770 result = (wxNotifyEvent *)new wxNotifyEvent(arg1,arg2);
16771
16772 wxPyEndAllowThreads(__tstate);
16773 if (PyErr_Occurred()) SWIG_fail;
16774 }
15afbcd0 16775 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotifyEvent, 1);
d14a1e28
RD
16776 return resultobj;
16777 fail:
16778 return NULL;
16779}
16780
16781
c32bde28 16782static PyObject *_wrap_NotifyEvent_Veto(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16783 PyObject *resultobj = NULL;
d14a1e28
RD
16784 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
16785 PyObject * obj0 = 0 ;
16786 char *kwnames[] = {
16787 (char *) "self", NULL
16788 };
16789
16790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Veto",kwnames,&obj0)) goto fail;
093d3ff1
RD
16791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotifyEvent, SWIG_POINTER_EXCEPTION | 0);
16792 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16793 {
16794 PyThreadState* __tstate = wxPyBeginAllowThreads();
16795 (arg1)->Veto();
16796
16797 wxPyEndAllowThreads(__tstate);
16798 if (PyErr_Occurred()) SWIG_fail;
16799 }
16800 Py_INCREF(Py_None); resultobj = Py_None;
16801 return resultobj;
16802 fail:
16803 return NULL;
16804}
16805
16806
c32bde28 16807static PyObject *_wrap_NotifyEvent_Allow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16808 PyObject *resultobj = NULL;
d14a1e28
RD
16809 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
16810 PyObject * obj0 = 0 ;
16811 char *kwnames[] = {
16812 (char *) "self", NULL
16813 };
16814
16815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Allow",kwnames,&obj0)) goto fail;
093d3ff1
RD
16816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotifyEvent, SWIG_POINTER_EXCEPTION | 0);
16817 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16818 {
16819 PyThreadState* __tstate = wxPyBeginAllowThreads();
16820 (arg1)->Allow();
16821
16822 wxPyEndAllowThreads(__tstate);
16823 if (PyErr_Occurred()) SWIG_fail;
16824 }
16825 Py_INCREF(Py_None); resultobj = Py_None;
16826 return resultobj;
16827 fail:
16828 return NULL;
16829}
16830
16831
c32bde28 16832static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16833 PyObject *resultobj = NULL;
d14a1e28
RD
16834 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
16835 bool result;
16836 PyObject * obj0 = 0 ;
16837 char *kwnames[] = {
16838 (char *) "self", NULL
16839 };
16840
16841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_IsAllowed",kwnames,&obj0)) goto fail;
093d3ff1
RD
16842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotifyEvent, SWIG_POINTER_EXCEPTION | 0);
16843 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16844 {
16845 PyThreadState* __tstate = wxPyBeginAllowThreads();
16846 result = (bool)(arg1)->IsAllowed();
16847
16848 wxPyEndAllowThreads(__tstate);
16849 if (PyErr_Occurred()) SWIG_fail;
16850 }
4f89f6a3
RD
16851 {
16852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16853 }
d14a1e28
RD
16854 return resultobj;
16855 fail:
16856 return NULL;
16857}
16858
16859
c32bde28 16860static PyObject * NotifyEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16861 PyObject *obj;
16862 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16863 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent, obj);
16864 Py_INCREF(obj);
16865 return Py_BuildValue((char *)"");
16866}
c32bde28 16867static PyObject *_wrap_new_ScrollEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16868 PyObject *resultobj = NULL;
d14a1e28
RD
16869 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16870 int arg2 = (int) 0 ;
16871 int arg3 = (int) 0 ;
16872 int arg4 = (int) 0 ;
16873 wxScrollEvent *result;
994141e6
RD
16874 PyObject * obj0 = 0 ;
16875 PyObject * obj1 = 0 ;
16876 PyObject * obj2 = 0 ;
16877 PyObject * obj3 = 0 ;
d14a1e28
RD
16878 char *kwnames[] = {
16879 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
16880 };
16881
994141e6
RD
16882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ScrollEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16883 if (obj0) {
093d3ff1 16884 {
32fe5131 16885 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
16886 if (SWIG_arg_fail(1)) SWIG_fail;
16887 }
994141e6
RD
16888 }
16889 if (obj1) {
093d3ff1 16890 {
32fe5131 16891 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
16892 if (SWIG_arg_fail(2)) SWIG_fail;
16893 }
994141e6
RD
16894 }
16895 if (obj2) {
093d3ff1 16896 {
32fe5131 16897 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
16898 if (SWIG_arg_fail(3)) SWIG_fail;
16899 }
994141e6
RD
16900 }
16901 if (obj3) {
093d3ff1 16902 {
32fe5131 16903 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
16904 if (SWIG_arg_fail(4)) SWIG_fail;
16905 }
994141e6 16906 }
d14a1e28
RD
16907 {
16908 PyThreadState* __tstate = wxPyBeginAllowThreads();
16909 result = (wxScrollEvent *)new wxScrollEvent(arg1,arg2,arg3,arg4);
16910
16911 wxPyEndAllowThreads(__tstate);
16912 if (PyErr_Occurred()) SWIG_fail;
16913 }
15afbcd0 16914 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollEvent, 1);
d14a1e28
RD
16915 return resultobj;
16916 fail:
16917 return NULL;
16918}
16919
16920
c32bde28 16921static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16922 PyObject *resultobj = NULL;
d14a1e28
RD
16923 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
16924 int result;
16925 PyObject * obj0 = 0 ;
16926 char *kwnames[] = {
16927 (char *) "self", NULL
16928 };
16929
16930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
16931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollEvent, SWIG_POINTER_EXCEPTION | 0);
16932 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16933 {
16934 PyThreadState* __tstate = wxPyBeginAllowThreads();
16935 result = (int)((wxScrollEvent const *)arg1)->GetOrientation();
16936
16937 wxPyEndAllowThreads(__tstate);
16938 if (PyErr_Occurred()) SWIG_fail;
16939 }
093d3ff1 16940 {
32fe5131 16941 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 16942 }
d14a1e28
RD
16943 return resultobj;
16944 fail:
16945 return NULL;
16946}
16947
16948
c32bde28 16949static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16950 PyObject *resultobj = NULL;
d14a1e28
RD
16951 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
16952 int result;
16953 PyObject * obj0 = 0 ;
16954 char *kwnames[] = {
16955 (char *) "self", NULL
16956 };
16957
16958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
16959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollEvent, SWIG_POINTER_EXCEPTION | 0);
16960 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16961 {
16962 PyThreadState* __tstate = wxPyBeginAllowThreads();
16963 result = (int)((wxScrollEvent const *)arg1)->GetPosition();
16964
16965 wxPyEndAllowThreads(__tstate);
16966 if (PyErr_Occurred()) SWIG_fail;
16967 }
093d3ff1 16968 {
32fe5131 16969 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 16970 }
d14a1e28
RD
16971 return resultobj;
16972 fail:
16973 return NULL;
16974}
16975
16976
c32bde28 16977static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16978 PyObject *resultobj = NULL;
d14a1e28
RD
16979 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
16980 int arg2 ;
16981 PyObject * obj0 = 0 ;
994141e6 16982 PyObject * obj1 = 0 ;
d14a1e28
RD
16983 char *kwnames[] = {
16984 (char *) "self",(char *) "orient", NULL
16985 };
16986
994141e6 16987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollEvent, SWIG_POINTER_EXCEPTION | 0);
16989 if (SWIG_arg_fail(1)) SWIG_fail;
16990 {
32fe5131 16991 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
16992 if (SWIG_arg_fail(2)) SWIG_fail;
16993 }
d14a1e28
RD
16994 {
16995 PyThreadState* __tstate = wxPyBeginAllowThreads();
16996 (arg1)->SetOrientation(arg2);
16997
16998 wxPyEndAllowThreads(__tstate);
16999 if (PyErr_Occurred()) SWIG_fail;
17000 }
17001 Py_INCREF(Py_None); resultobj = Py_None;
17002 return resultobj;
17003 fail:
17004 return NULL;
17005}
17006
17007
c32bde28 17008static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17009 PyObject *resultobj = NULL;
d14a1e28
RD
17010 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
17011 int arg2 ;
17012 PyObject * obj0 = 0 ;
994141e6 17013 PyObject * obj1 = 0 ;
d14a1e28
RD
17014 char *kwnames[] = {
17015 (char *) "self",(char *) "pos", NULL
17016 };
17017
994141e6 17018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollEvent, SWIG_POINTER_EXCEPTION | 0);
17020 if (SWIG_arg_fail(1)) SWIG_fail;
17021 {
32fe5131 17022 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
17023 if (SWIG_arg_fail(2)) SWIG_fail;
17024 }
d14a1e28
RD
17025 {
17026 PyThreadState* __tstate = wxPyBeginAllowThreads();
17027 (arg1)->SetPosition(arg2);
17028
17029 wxPyEndAllowThreads(__tstate);
17030 if (PyErr_Occurred()) SWIG_fail;
17031 }
17032 Py_INCREF(Py_None); resultobj = Py_None;
17033 return resultobj;
17034 fail:
17035 return NULL;
17036}
17037
17038
c32bde28 17039static PyObject * ScrollEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17040 PyObject *obj;
17041 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17042 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent, obj);
17043 Py_INCREF(obj);
17044 return Py_BuildValue((char *)"");
17045}
c32bde28 17046static PyObject *_wrap_new_ScrollWinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17047 PyObject *resultobj = NULL;
d14a1e28
RD
17048 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17049 int arg2 = (int) 0 ;
17050 int arg3 = (int) 0 ;
17051 wxScrollWinEvent *result;
994141e6
RD
17052 PyObject * obj0 = 0 ;
17053 PyObject * obj1 = 0 ;
17054 PyObject * obj2 = 0 ;
d14a1e28
RD
17055 char *kwnames[] = {
17056 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
17057 };
17058
994141e6
RD
17059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ScrollWinEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
17060 if (obj0) {
093d3ff1 17061 {
32fe5131 17062 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
17063 if (SWIG_arg_fail(1)) SWIG_fail;
17064 }
994141e6
RD
17065 }
17066 if (obj1) {
093d3ff1 17067 {
32fe5131 17068 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
17069 if (SWIG_arg_fail(2)) SWIG_fail;
17070 }
994141e6
RD
17071 }
17072 if (obj2) {
093d3ff1 17073 {
32fe5131 17074 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
17075 if (SWIG_arg_fail(3)) SWIG_fail;
17076 }
994141e6 17077 }
d14a1e28
RD
17078 {
17079 PyThreadState* __tstate = wxPyBeginAllowThreads();
17080 result = (wxScrollWinEvent *)new wxScrollWinEvent(arg1,arg2,arg3);
17081
17082 wxPyEndAllowThreads(__tstate);
17083 if (PyErr_Occurred()) SWIG_fail;
17084 }
15afbcd0 17085 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollWinEvent, 1);
d14a1e28
RD
17086 return resultobj;
17087 fail:
17088 return NULL;
17089}
17090
17091
c32bde28 17092static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17093 PyObject *resultobj = NULL;
d14a1e28
RD
17094 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
17095 int result;
17096 PyObject * obj0 = 0 ;
17097 char *kwnames[] = {
17098 (char *) "self", NULL
17099 };
17100
17101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
17102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
17103 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17104 {
17105 PyThreadState* __tstate = wxPyBeginAllowThreads();
17106 result = (int)((wxScrollWinEvent const *)arg1)->GetOrientation();
17107
17108 wxPyEndAllowThreads(__tstate);
17109 if (PyErr_Occurred()) SWIG_fail;
17110 }
093d3ff1 17111 {
32fe5131 17112 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 17113 }
d14a1e28
RD
17114 return resultobj;
17115 fail:
17116 return NULL;
17117}
17118
17119
c32bde28 17120static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17121 PyObject *resultobj = NULL;
d14a1e28
RD
17122 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
17123 int result;
17124 PyObject * obj0 = 0 ;
17125 char *kwnames[] = {
17126 (char *) "self", NULL
17127 };
17128
17129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
17130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
17131 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17132 {
17133 PyThreadState* __tstate = wxPyBeginAllowThreads();
17134 result = (int)((wxScrollWinEvent const *)arg1)->GetPosition();
17135
17136 wxPyEndAllowThreads(__tstate);
17137 if (PyErr_Occurred()) SWIG_fail;
17138 }
093d3ff1 17139 {
32fe5131 17140 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 17141 }
d14a1e28
RD
17142 return resultobj;
17143 fail:
17144 return NULL;
17145}
17146
17147
c32bde28 17148static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17149 PyObject *resultobj = NULL;
d14a1e28
RD
17150 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
17151 int arg2 ;
17152 PyObject * obj0 = 0 ;
994141e6 17153 PyObject * obj1 = 0 ;
d14a1e28
RD
17154 char *kwnames[] = {
17155 (char *) "self",(char *) "orient", NULL
17156 };
17157
994141e6 17158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
17160 if (SWIG_arg_fail(1)) SWIG_fail;
17161 {
32fe5131 17162 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
17163 if (SWIG_arg_fail(2)) SWIG_fail;
17164 }
d14a1e28
RD
17165 {
17166 PyThreadState* __tstate = wxPyBeginAllowThreads();
17167 (arg1)->SetOrientation(arg2);
17168
17169 wxPyEndAllowThreads(__tstate);
17170 if (PyErr_Occurred()) SWIG_fail;
17171 }
17172 Py_INCREF(Py_None); resultobj = Py_None;
17173 return resultobj;
17174 fail:
17175 return NULL;
17176}
17177
17178
c32bde28 17179static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17180 PyObject *resultobj = NULL;
d14a1e28
RD
17181 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
17182 int arg2 ;
17183 PyObject * obj0 = 0 ;
994141e6 17184 PyObject * obj1 = 0 ;
d14a1e28
RD
17185 char *kwnames[] = {
17186 (char *) "self",(char *) "pos", NULL
17187 };
17188
994141e6 17189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
17191 if (SWIG_arg_fail(1)) SWIG_fail;
17192 {
32fe5131 17193 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
17194 if (SWIG_arg_fail(2)) SWIG_fail;
17195 }
d14a1e28
RD
17196 {
17197 PyThreadState* __tstate = wxPyBeginAllowThreads();
17198 (arg1)->SetPosition(arg2);
17199
17200 wxPyEndAllowThreads(__tstate);
17201 if (PyErr_Occurred()) SWIG_fail;
17202 }
17203 Py_INCREF(Py_None); resultobj = Py_None;
17204 return resultobj;
17205 fail:
17206 return NULL;
17207}
17208
17209
c32bde28 17210static PyObject * ScrollWinEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17211 PyObject *obj;
17212 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17213 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent, obj);
17214 Py_INCREF(obj);
17215 return Py_BuildValue((char *)"");
17216}
c32bde28 17217static PyObject *_wrap_new_MouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17218 PyObject *resultobj = NULL;
d14a1e28
RD
17219 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17220 wxMouseEvent *result;
994141e6 17221 PyObject * obj0 = 0 ;
d14a1e28
RD
17222 char *kwnames[] = {
17223 (char *) "mouseType", NULL
17224 };
17225
994141e6
RD
17226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MouseEvent",kwnames,&obj0)) goto fail;
17227 if (obj0) {
093d3ff1 17228 {
32fe5131 17229 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
17230 if (SWIG_arg_fail(1)) SWIG_fail;
17231 }
994141e6 17232 }
d14a1e28
RD
17233 {
17234 PyThreadState* __tstate = wxPyBeginAllowThreads();
17235 result = (wxMouseEvent *)new wxMouseEvent(arg1);
17236
17237 wxPyEndAllowThreads(__tstate);
17238 if (PyErr_Occurred()) SWIG_fail;
17239 }
17240 {
7e08d4ef 17241 resultobj = wxPyMake_wxObject(result, (bool)1);
d14a1e28
RD
17242 }
17243 return resultobj;
17244 fail:
17245 return NULL;
17246}
17247
17248
c32bde28 17249static PyObject *_wrap_MouseEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17250 PyObject *resultobj = NULL;
d14a1e28
RD
17251 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17252 bool result;
17253 PyObject * obj0 = 0 ;
17254 char *kwnames[] = {
17255 (char *) "self", NULL
17256 };
17257
17258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsButton",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;
d14a1e28
RD
17261 {
17262 PyThreadState* __tstate = wxPyBeginAllowThreads();
17263 result = (bool)((wxMouseEvent const *)arg1)->IsButton();
17264
17265 wxPyEndAllowThreads(__tstate);
17266 if (PyErr_Occurred()) SWIG_fail;
17267 }
4f89f6a3
RD
17268 {
17269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17270 }
d14a1e28
RD
17271 return resultobj;
17272 fail:
17273 return NULL;
17274}
17275
17276
c32bde28 17277static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17278 PyObject *resultobj = NULL;
d14a1e28
RD
17279 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17280 int arg2 = (int) wxMOUSE_BTN_ANY ;
17281 bool result;
17282 PyObject * obj0 = 0 ;
994141e6 17283 PyObject * obj1 = 0 ;
d14a1e28
RD
17284 char *kwnames[] = {
17285 (char *) "self",(char *) "but", NULL
17286 };
17287
994141e6 17288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17290 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 17291 if (obj1) {
093d3ff1 17292 {
32fe5131 17293 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
17294 if (SWIG_arg_fail(2)) SWIG_fail;
17295 }
994141e6 17296 }
d14a1e28
RD
17297 {
17298 PyThreadState* __tstate = wxPyBeginAllowThreads();
17299 result = (bool)((wxMouseEvent const *)arg1)->ButtonDown(arg2);
17300
17301 wxPyEndAllowThreads(__tstate);
17302 if (PyErr_Occurred()) SWIG_fail;
17303 }
4f89f6a3
RD
17304 {
17305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17306 }
d14a1e28
RD
17307 return resultobj;
17308 fail:
17309 return NULL;
17310}
17311
17312
c32bde28 17313static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17314 PyObject *resultobj = NULL;
d14a1e28
RD
17315 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17316 int arg2 = (int) wxMOUSE_BTN_ANY ;
17317 bool result;
17318 PyObject * obj0 = 0 ;
994141e6 17319 PyObject * obj1 = 0 ;
d14a1e28
RD
17320 char *kwnames[] = {
17321 (char *) "self",(char *) "but", NULL
17322 };
17323
994141e6 17324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDClick",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17326 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 17327 if (obj1) {
093d3ff1 17328 {
32fe5131 17329 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
17330 if (SWIG_arg_fail(2)) SWIG_fail;
17331 }
994141e6 17332 }
d14a1e28
RD
17333 {
17334 PyThreadState* __tstate = wxPyBeginAllowThreads();
17335 result = (bool)((wxMouseEvent const *)arg1)->ButtonDClick(arg2);
17336
17337 wxPyEndAllowThreads(__tstate);
17338 if (PyErr_Occurred()) SWIG_fail;
17339 }
4f89f6a3
RD
17340 {
17341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17342 }
d14a1e28
RD
17343 return resultobj;
17344 fail:
17345 return NULL;
17346}
17347
17348
c32bde28 17349static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17350 PyObject *resultobj = NULL;
d14a1e28
RD
17351 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17352 int arg2 = (int) wxMOUSE_BTN_ANY ;
17353 bool result;
17354 PyObject * obj0 = 0 ;
994141e6 17355 PyObject * obj1 = 0 ;
d14a1e28
RD
17356 char *kwnames[] = {
17357 (char *) "self",(char *) "but", NULL
17358 };
17359
994141e6 17360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17362 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 17363 if (obj1) {
093d3ff1 17364 {
32fe5131 17365 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
17366 if (SWIG_arg_fail(2)) SWIG_fail;
17367 }
994141e6 17368 }
d14a1e28
RD
17369 {
17370 PyThreadState* __tstate = wxPyBeginAllowThreads();
17371 result = (bool)((wxMouseEvent const *)arg1)->ButtonUp(arg2);
17372
17373 wxPyEndAllowThreads(__tstate);
17374 if (PyErr_Occurred()) SWIG_fail;
17375 }
4f89f6a3
RD
17376 {
17377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17378 }
d14a1e28
RD
17379 return resultobj;
17380 fail:
17381 return NULL;
17382}
17383
17384
c32bde28 17385static PyObject *_wrap_MouseEvent_Button(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17386 PyObject *resultobj = NULL;
d14a1e28
RD
17387 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17388 int arg2 ;
17389 bool result;
17390 PyObject * obj0 = 0 ;
994141e6 17391 PyObject * obj1 = 0 ;
d14a1e28 17392 char *kwnames[] = {
27fb7603 17393 (char *) "self",(char *) "button", NULL
d14a1e28
RD
17394 };
17395
994141e6 17396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_Button",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17398 if (SWIG_arg_fail(1)) SWIG_fail;
17399 {
32fe5131 17400 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
17401 if (SWIG_arg_fail(2)) SWIG_fail;
17402 }
d14a1e28
RD
17403 {
17404 PyThreadState* __tstate = wxPyBeginAllowThreads();
17405 result = (bool)((wxMouseEvent const *)arg1)->Button(arg2);
17406
17407 wxPyEndAllowThreads(__tstate);
17408 if (PyErr_Occurred()) SWIG_fail;
17409 }
4f89f6a3
RD
17410 {
17411 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17412 }
d14a1e28
RD
17413 return resultobj;
17414 fail:
17415 return NULL;
17416}
17417
17418
c32bde28 17419static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17420 PyObject *resultobj = NULL;
d14a1e28
RD
17421 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17422 int arg2 ;
17423 bool result;
17424 PyObject * obj0 = 0 ;
994141e6 17425 PyObject * obj1 = 0 ;
d14a1e28
RD
17426 char *kwnames[] = {
17427 (char *) "self",(char *) "but", NULL
17428 };
17429
994141e6 17430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17432 if (SWIG_arg_fail(1)) SWIG_fail;
17433 {
32fe5131 17434 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
17435 if (SWIG_arg_fail(2)) SWIG_fail;
17436 }
d14a1e28
RD
17437 {
17438 PyThreadState* __tstate = wxPyBeginAllowThreads();
17439 result = (bool)((wxMouseEvent const *)arg1)->ButtonIsDown(arg2);
17440
17441 wxPyEndAllowThreads(__tstate);
17442 if (PyErr_Occurred()) SWIG_fail;
17443 }
4f89f6a3
RD
17444 {
17445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17446 }
d14a1e28
RD
17447 return resultobj;
17448 fail:
17449 return NULL;
17450}
17451
17452
c32bde28 17453static PyObject *_wrap_MouseEvent_GetButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17454 PyObject *resultobj = NULL;
d14a1e28
RD
17455 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17456 int result;
17457 PyObject * obj0 = 0 ;
17458 char *kwnames[] = {
17459 (char *) "self", NULL
17460 };
17461
17462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetButton",kwnames,&obj0)) goto fail;
093d3ff1
RD
17463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17464 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17465 {
17466 PyThreadState* __tstate = wxPyBeginAllowThreads();
17467 result = (int)((wxMouseEvent const *)arg1)->GetButton();
17468
17469 wxPyEndAllowThreads(__tstate);
17470 if (PyErr_Occurred()) SWIG_fail;
17471 }
093d3ff1 17472 {
32fe5131 17473 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 17474 }
d14a1e28
RD
17475 return resultobj;
17476 fail:
17477 return NULL;
17478}
17479
17480
c32bde28 17481static PyObject *_wrap_MouseEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17482 PyObject *resultobj = NULL;
d14a1e28
RD
17483 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17484 bool result;
17485 PyObject * obj0 = 0 ;
17486 char *kwnames[] = {
17487 (char *) "self", NULL
17488 };
17489
17490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ControlDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
17491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17492 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17493 {
17494 PyThreadState* __tstate = wxPyBeginAllowThreads();
17495 result = (bool)((wxMouseEvent const *)arg1)->ControlDown();
17496
17497 wxPyEndAllowThreads(__tstate);
17498 if (PyErr_Occurred()) SWIG_fail;
17499 }
4f89f6a3
RD
17500 {
17501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17502 }
d14a1e28
RD
17503 return resultobj;
17504 fail:
17505 return NULL;
17506}
17507
17508
c32bde28 17509static PyObject *_wrap_MouseEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17510 PyObject *resultobj = NULL;
d14a1e28
RD
17511 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17512 bool result;
17513 PyObject * obj0 = 0 ;
17514 char *kwnames[] = {
17515 (char *) "self", NULL
17516 };
17517
17518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MetaDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
17519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17520 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17521 {
17522 PyThreadState* __tstate = wxPyBeginAllowThreads();
17523 result = (bool)((wxMouseEvent const *)arg1)->MetaDown();
17524
17525 wxPyEndAllowThreads(__tstate);
17526 if (PyErr_Occurred()) SWIG_fail;
17527 }
4f89f6a3
RD
17528 {
17529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17530 }
d14a1e28
RD
17531 return resultobj;
17532 fail:
17533 return NULL;
17534}
17535
17536
c32bde28 17537static PyObject *_wrap_MouseEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17538 PyObject *resultobj = NULL;
d14a1e28
RD
17539 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17540 bool result;
17541 PyObject * obj0 = 0 ;
17542 char *kwnames[] = {
17543 (char *) "self", NULL
17544 };
17545
17546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_AltDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
17547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17548 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17549 {
17550 PyThreadState* __tstate = wxPyBeginAllowThreads();
17551 result = (bool)((wxMouseEvent const *)arg1)->AltDown();
17552
17553 wxPyEndAllowThreads(__tstate);
17554 if (PyErr_Occurred()) SWIG_fail;
17555 }
4f89f6a3
RD
17556 {
17557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17558 }
d14a1e28
RD
17559 return resultobj;
17560 fail:
17561 return NULL;
17562}
17563
17564
c32bde28 17565static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17566 PyObject *resultobj = NULL;
d14a1e28
RD
17567 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17568 bool result;
17569 PyObject * obj0 = 0 ;
17570 char *kwnames[] = {
17571 (char *) "self", NULL
17572 };
17573
17574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ShiftDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
17575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17576 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17577 {
17578 PyThreadState* __tstate = wxPyBeginAllowThreads();
17579 result = (bool)((wxMouseEvent const *)arg1)->ShiftDown();
17580
17581 wxPyEndAllowThreads(__tstate);
17582 if (PyErr_Occurred()) SWIG_fail;
17583 }
4f89f6a3
RD
17584 {
17585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17586 }
d14a1e28
RD
17587 return resultobj;
17588 fail:
17589 return NULL;
17590}
17591
17592
c32bde28 17593static PyObject *_wrap_MouseEvent_CmdDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17594 PyObject *resultobj = NULL;
412d302d
RD
17595 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17596 bool result;
17597 PyObject * obj0 = 0 ;
17598 char *kwnames[] = {
17599 (char *) "self", NULL
17600 };
17601
17602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_CmdDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
17603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17604 if (SWIG_arg_fail(1)) SWIG_fail;
412d302d
RD
17605 {
17606 PyThreadState* __tstate = wxPyBeginAllowThreads();
17607 result = (bool)((wxMouseEvent const *)arg1)->CmdDown();
17608
17609 wxPyEndAllowThreads(__tstate);
17610 if (PyErr_Occurred()) SWIG_fail;
17611 }
17612 {
17613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17614 }
17615 return resultobj;
17616 fail:
17617 return NULL;
17618}
17619
17620
c32bde28 17621static PyObject *_wrap_MouseEvent_LeftDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17622 PyObject *resultobj = NULL;
d14a1e28
RD
17623 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17624 bool result;
17625 PyObject * obj0 = 0 ;
17626 char *kwnames[] = {
17627 (char *) "self", NULL
17628 };
17629
17630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
17631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17632 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17633 {
17634 PyThreadState* __tstate = wxPyBeginAllowThreads();
17635 result = (bool)((wxMouseEvent const *)arg1)->LeftDown();
17636
17637 wxPyEndAllowThreads(__tstate);
17638 if (PyErr_Occurred()) SWIG_fail;
17639 }
4f89f6a3
RD
17640 {
17641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17642 }
d14a1e28
RD
17643 return resultobj;
17644 fail:
17645 return NULL;
17646}
17647
17648
c32bde28 17649static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17650 PyObject *resultobj = NULL;
d14a1e28
RD
17651 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17652 bool result;
17653 PyObject * obj0 = 0 ;
17654 char *kwnames[] = {
17655 (char *) "self", NULL
17656 };
17657
17658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
17659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17660 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17661 {
17662 PyThreadState* __tstate = wxPyBeginAllowThreads();
17663 result = (bool)((wxMouseEvent const *)arg1)->MiddleDown();
17664
17665 wxPyEndAllowThreads(__tstate);
17666 if (PyErr_Occurred()) SWIG_fail;
17667 }
4f89f6a3
RD
17668 {
17669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17670 }
d14a1e28
RD
17671 return resultobj;
17672 fail:
17673 return NULL;
17674}
17675
17676
c32bde28 17677static PyObject *_wrap_MouseEvent_RightDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17678 PyObject *resultobj = NULL;
d14a1e28
RD
17679 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17680 bool result;
17681 PyObject * obj0 = 0 ;
17682 char *kwnames[] = {
17683 (char *) "self", NULL
17684 };
17685
17686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
17687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17688 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17689 {
17690 PyThreadState* __tstate = wxPyBeginAllowThreads();
17691 result = (bool)((wxMouseEvent const *)arg1)->RightDown();
17692
17693 wxPyEndAllowThreads(__tstate);
17694 if (PyErr_Occurred()) SWIG_fail;
17695 }
4f89f6a3
RD
17696 {
17697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17698 }
d14a1e28
RD
17699 return resultobj;
17700 fail:
17701 return NULL;
17702}
17703
17704
c32bde28 17705static PyObject *_wrap_MouseEvent_LeftUp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17706 PyObject *resultobj = NULL;
d14a1e28
RD
17707 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17708 bool result;
17709 PyObject * obj0 = 0 ;
17710 char *kwnames[] = {
17711 (char *) "self", NULL
17712 };
17713
17714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftUp",kwnames,&obj0)) goto fail;
093d3ff1
RD
17715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17716 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17717 {
17718 PyThreadState* __tstate = wxPyBeginAllowThreads();
17719 result = (bool)((wxMouseEvent const *)arg1)->LeftUp();
17720
17721 wxPyEndAllowThreads(__tstate);
17722 if (PyErr_Occurred()) SWIG_fail;
17723 }
4f89f6a3
RD
17724 {
17725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17726 }
d14a1e28
RD
17727 return resultobj;
17728 fail:
17729 return NULL;
17730}
17731
17732
c32bde28 17733static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17734 PyObject *resultobj = NULL;
d14a1e28
RD
17735 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17736 bool result;
17737 PyObject * obj0 = 0 ;
17738 char *kwnames[] = {
17739 (char *) "self", NULL
17740 };
17741
17742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleUp",kwnames,&obj0)) goto fail;
093d3ff1
RD
17743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17744 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17745 {
17746 PyThreadState* __tstate = wxPyBeginAllowThreads();
17747 result = (bool)((wxMouseEvent const *)arg1)->MiddleUp();
17748
17749 wxPyEndAllowThreads(__tstate);
17750 if (PyErr_Occurred()) SWIG_fail;
17751 }
4f89f6a3
RD
17752 {
17753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17754 }
d14a1e28
RD
17755 return resultobj;
17756 fail:
17757 return NULL;
17758}
17759
17760
c32bde28 17761static PyObject *_wrap_MouseEvent_RightUp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17762 PyObject *resultobj = NULL;
d14a1e28
RD
17763 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17764 bool result;
17765 PyObject * obj0 = 0 ;
17766 char *kwnames[] = {
17767 (char *) "self", NULL
17768 };
17769
17770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightUp",kwnames,&obj0)) goto fail;
093d3ff1
RD
17771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17772 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17773 {
17774 PyThreadState* __tstate = wxPyBeginAllowThreads();
17775 result = (bool)((wxMouseEvent const *)arg1)->RightUp();
17776
17777 wxPyEndAllowThreads(__tstate);
17778 if (PyErr_Occurred()) SWIG_fail;
17779 }
4f89f6a3
RD
17780 {
17781 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17782 }
d14a1e28
RD
17783 return resultobj;
17784 fail:
17785 return NULL;
17786}
17787
17788
c32bde28 17789static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17790 PyObject *resultobj = NULL;
d14a1e28
RD
17791 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17792 bool result;
17793 PyObject * obj0 = 0 ;
17794 char *kwnames[] = {
17795 (char *) "self", NULL
17796 };
17797
17798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDClick",kwnames,&obj0)) goto fail;
093d3ff1
RD
17799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17800 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17801 {
17802 PyThreadState* __tstate = wxPyBeginAllowThreads();
17803 result = (bool)((wxMouseEvent const *)arg1)->LeftDClick();
17804
17805 wxPyEndAllowThreads(__tstate);
17806 if (PyErr_Occurred()) SWIG_fail;
17807 }
4f89f6a3
RD
17808 {
17809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17810 }
d14a1e28
RD
17811 return resultobj;
17812 fail:
17813 return NULL;
17814}
17815
17816
c32bde28 17817static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17818 PyObject *resultobj = NULL;
d14a1e28
RD
17819 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17820 bool result;
17821 PyObject * obj0 = 0 ;
17822 char *kwnames[] = {
17823 (char *) "self", NULL
17824 };
17825
17826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDClick",kwnames,&obj0)) goto fail;
093d3ff1
RD
17827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17828 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17829 {
17830 PyThreadState* __tstate = wxPyBeginAllowThreads();
17831 result = (bool)((wxMouseEvent const *)arg1)->MiddleDClick();
17832
17833 wxPyEndAllowThreads(__tstate);
17834 if (PyErr_Occurred()) SWIG_fail;
17835 }
4f89f6a3
RD
17836 {
17837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17838 }
d14a1e28
RD
17839 return resultobj;
17840 fail:
17841 return NULL;
17842}
17843
17844
c32bde28 17845static PyObject *_wrap_MouseEvent_RightDClick(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17846 PyObject *resultobj = NULL;
d14a1e28
RD
17847 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17848 bool result;
17849 PyObject * obj0 = 0 ;
17850 char *kwnames[] = {
17851 (char *) "self", NULL
17852 };
17853
17854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDClick",kwnames,&obj0)) goto fail;
093d3ff1
RD
17855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17856 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17857 {
17858 PyThreadState* __tstate = wxPyBeginAllowThreads();
17859 result = (bool)((wxMouseEvent const *)arg1)->RightDClick();
17860
17861 wxPyEndAllowThreads(__tstate);
17862 if (PyErr_Occurred()) SWIG_fail;
17863 }
4f89f6a3
RD
17864 {
17865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17866 }
d14a1e28
RD
17867 return resultobj;
17868 fail:
17869 return NULL;
17870}
17871
17872
c32bde28 17873static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17874 PyObject *resultobj = NULL;
d14a1e28
RD
17875 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17876 bool result;
17877 PyObject * obj0 = 0 ;
17878 char *kwnames[] = {
17879 (char *) "self", NULL
17880 };
17881
17882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftIsDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
17883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17884 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17885 {
17886 PyThreadState* __tstate = wxPyBeginAllowThreads();
17887 result = (bool)(arg1)->LeftIsDown();
17888
17889 wxPyEndAllowThreads(__tstate);
17890 if (PyErr_Occurred()) SWIG_fail;
17891 }
4f89f6a3
RD
17892 {
17893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17894 }
d14a1e28
RD
17895 return resultobj;
17896 fail:
17897 return NULL;
17898}
17899
17900
c32bde28 17901static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17902 PyObject *resultobj = NULL;
d14a1e28
RD
17903 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17904 bool result;
17905 PyObject * obj0 = 0 ;
17906 char *kwnames[] = {
17907 (char *) "self", NULL
17908 };
17909
17910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleIsDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
17911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17912 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17913 {
17914 PyThreadState* __tstate = wxPyBeginAllowThreads();
17915 result = (bool)(arg1)->MiddleIsDown();
17916
17917 wxPyEndAllowThreads(__tstate);
17918 if (PyErr_Occurred()) SWIG_fail;
17919 }
4f89f6a3
RD
17920 {
17921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17922 }
d14a1e28
RD
17923 return resultobj;
17924 fail:
17925 return NULL;
17926}
17927
17928
c32bde28 17929static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17930 PyObject *resultobj = NULL;
d14a1e28
RD
17931 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17932 bool result;
17933 PyObject * obj0 = 0 ;
17934 char *kwnames[] = {
17935 (char *) "self", NULL
17936 };
17937
17938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightIsDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
17939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17940 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17941 {
17942 PyThreadState* __tstate = wxPyBeginAllowThreads();
17943 result = (bool)(arg1)->RightIsDown();
17944
17945 wxPyEndAllowThreads(__tstate);
17946 if (PyErr_Occurred()) SWIG_fail;
17947 }
4f89f6a3
RD
17948 {
17949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17950 }
d14a1e28
RD
17951 return resultobj;
17952 fail:
17953 return NULL;
17954}
17955
17956
c32bde28 17957static PyObject *_wrap_MouseEvent_Dragging(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17958 PyObject *resultobj = NULL;
d14a1e28
RD
17959 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17960 bool result;
17961 PyObject * obj0 = 0 ;
17962 char *kwnames[] = {
17963 (char *) "self", NULL
17964 };
17965
17966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Dragging",kwnames,&obj0)) goto fail;
093d3ff1
RD
17967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17968 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17969 {
17970 PyThreadState* __tstate = wxPyBeginAllowThreads();
17971 result = (bool)((wxMouseEvent const *)arg1)->Dragging();
17972
17973 wxPyEndAllowThreads(__tstate);
17974 if (PyErr_Occurred()) SWIG_fail;
17975 }
4f89f6a3
RD
17976 {
17977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17978 }
d14a1e28
RD
17979 return resultobj;
17980 fail:
17981 return NULL;
17982}
17983
17984
c32bde28 17985static PyObject *_wrap_MouseEvent_Moving(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17986 PyObject *resultobj = NULL;
d14a1e28
RD
17987 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
17988 bool result;
17989 PyObject * obj0 = 0 ;
17990 char *kwnames[] = {
17991 (char *) "self", NULL
17992 };
17993
17994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Moving",kwnames,&obj0)) goto fail;
093d3ff1
RD
17995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
17996 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17997 {
17998 PyThreadState* __tstate = wxPyBeginAllowThreads();
17999 result = (bool)((wxMouseEvent const *)arg1)->Moving();
18000
18001 wxPyEndAllowThreads(__tstate);
18002 if (PyErr_Occurred()) SWIG_fail;
18003 }
4f89f6a3
RD
18004 {
18005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18006 }
d14a1e28
RD
18007 return resultobj;
18008 fail:
18009 return NULL;
18010}
18011
18012
c32bde28 18013static PyObject *_wrap_MouseEvent_Entering(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18014 PyObject *resultobj = NULL;
d14a1e28
RD
18015 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18016 bool result;
18017 PyObject * obj0 = 0 ;
18018 char *kwnames[] = {
18019 (char *) "self", NULL
18020 };
18021
18022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Entering",kwnames,&obj0)) goto fail;
093d3ff1
RD
18023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18024 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18025 {
18026 PyThreadState* __tstate = wxPyBeginAllowThreads();
18027 result = (bool)((wxMouseEvent const *)arg1)->Entering();
18028
18029 wxPyEndAllowThreads(__tstate);
18030 if (PyErr_Occurred()) SWIG_fail;
18031 }
4f89f6a3
RD
18032 {
18033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18034 }
d14a1e28
RD
18035 return resultobj;
18036 fail:
18037 return NULL;
18038}
18039
18040
c32bde28 18041static PyObject *_wrap_MouseEvent_Leaving(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18042 PyObject *resultobj = NULL;
d14a1e28
RD
18043 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18044 bool result;
18045 PyObject * obj0 = 0 ;
18046 char *kwnames[] = {
18047 (char *) "self", NULL
18048 };
18049
18050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Leaving",kwnames,&obj0)) goto fail;
093d3ff1
RD
18051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18052 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18053 {
18054 PyThreadState* __tstate = wxPyBeginAllowThreads();
18055 result = (bool)((wxMouseEvent const *)arg1)->Leaving();
18056
18057 wxPyEndAllowThreads(__tstate);
18058 if (PyErr_Occurred()) SWIG_fail;
18059 }
4f89f6a3
RD
18060 {
18061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18062 }
d14a1e28
RD
18063 return resultobj;
18064 fail:
18065 return NULL;
18066}
18067
18068
c32bde28 18069static PyObject *_wrap_MouseEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18070 PyObject *resultobj = NULL;
d14a1e28
RD
18071 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18072 wxPoint result;
18073 PyObject * obj0 = 0 ;
18074 char *kwnames[] = {
18075 (char *) "self", NULL
18076 };
18077
18078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
18079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18080 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18081 {
18082 PyThreadState* __tstate = wxPyBeginAllowThreads();
18083 result = (arg1)->GetPosition();
18084
18085 wxPyEndAllowThreads(__tstate);
18086 if (PyErr_Occurred()) SWIG_fail;
18087 }
18088 {
18089 wxPoint * resultptr;
32fe5131 18090 resultptr = new wxPoint(static_cast<wxPoint & >(result));
15afbcd0 18091 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
18092 }
18093 return resultobj;
18094 fail:
18095 return NULL;
18096}
18097
18098
c32bde28 18099static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18100 PyObject *resultobj = NULL;
d14a1e28
RD
18101 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18102 long *arg2 = (long *) 0 ;
18103 long *arg3 = (long *) 0 ;
18104 long temp2 ;
c32bde28 18105 int res2 = 0 ;
d14a1e28 18106 long temp3 ;
c32bde28 18107 int res3 = 0 ;
d14a1e28
RD
18108 PyObject * obj0 = 0 ;
18109 char *kwnames[] = {
18110 (char *) "self", NULL
18111 };
18112
c32bde28
RD
18113 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18114 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 18115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
093d3ff1
RD
18116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18117 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18118 {
18119 PyThreadState* __tstate = wxPyBeginAllowThreads();
18120 (arg1)->GetPosition(arg2,arg3);
18121
18122 wxPyEndAllowThreads(__tstate);
18123 if (PyErr_Occurred()) SWIG_fail;
18124 }
18125 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18126 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18127 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
18128 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18129 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d14a1e28
RD
18130 return resultobj;
18131 fail:
18132 return NULL;
18133}
18134
18135
c32bde28 18136static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18137 PyObject *resultobj = NULL;
d14a1e28
RD
18138 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18139 wxDC *arg2 = 0 ;
18140 wxPoint result;
18141 PyObject * obj0 = 0 ;
18142 PyObject * obj1 = 0 ;
18143 char *kwnames[] = {
18144 (char *) "self",(char *) "dc", NULL
18145 };
18146
18147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18149 if (SWIG_arg_fail(1)) SWIG_fail;
18150 {
18151 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18152 if (SWIG_arg_fail(2)) SWIG_fail;
18153 if (arg2 == NULL) {
18154 SWIG_null_ref("wxDC");
18155 }
18156 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
18157 }
18158 {
18159 PyThreadState* __tstate = wxPyBeginAllowThreads();
18160 result = ((wxMouseEvent const *)arg1)->GetLogicalPosition((wxDC const &)*arg2);
18161
18162 wxPyEndAllowThreads(__tstate);
18163 if (PyErr_Occurred()) SWIG_fail;
18164 }
18165 {
18166 wxPoint * resultptr;
32fe5131 18167 resultptr = new wxPoint(static_cast<wxPoint & >(result));
15afbcd0 18168 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
18169 }
18170 return resultobj;
18171 fail:
18172 return NULL;
18173}
18174
18175
c32bde28 18176static PyObject *_wrap_MouseEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18177 PyObject *resultobj = NULL;
d14a1e28 18178 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 18179 int result;
d14a1e28
RD
18180 PyObject * obj0 = 0 ;
18181 char *kwnames[] = {
18182 (char *) "self", NULL
18183 };
18184
18185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetX",kwnames,&obj0)) goto fail;
093d3ff1
RD
18186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18187 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18188 {
18189 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 18190 result = (int)((wxMouseEvent const *)arg1)->GetX();
d14a1e28
RD
18191
18192 wxPyEndAllowThreads(__tstate);
18193 if (PyErr_Occurred()) SWIG_fail;
18194 }
093d3ff1 18195 {
32fe5131 18196 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 18197 }
d14a1e28
RD
18198 return resultobj;
18199 fail:
18200 return NULL;
18201}
18202
18203
c32bde28 18204static PyObject *_wrap_MouseEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18205 PyObject *resultobj = NULL;
d14a1e28 18206 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 18207 int result;
d14a1e28
RD
18208 PyObject * obj0 = 0 ;
18209 char *kwnames[] = {
18210 (char *) "self", NULL
18211 };
18212
18213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetY",kwnames,&obj0)) goto fail;
093d3ff1
RD
18214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18215 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18216 {
18217 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 18218 result = (int)((wxMouseEvent const *)arg1)->GetY();
d14a1e28
RD
18219
18220 wxPyEndAllowThreads(__tstate);
18221 if (PyErr_Occurred()) SWIG_fail;
18222 }
093d3ff1 18223 {
32fe5131 18224 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 18225 }
d14a1e28
RD
18226 return resultobj;
18227 fail:
18228 return NULL;
18229}
18230
18231
c32bde28 18232static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18233 PyObject *resultobj = NULL;
d14a1e28
RD
18234 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18235 int result;
18236 PyObject * obj0 = 0 ;
18237 char *kwnames[] = {
18238 (char *) "self", NULL
18239 };
18240
18241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelRotation",kwnames,&obj0)) goto fail;
093d3ff1
RD
18242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18243 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18244 {
18245 PyThreadState* __tstate = wxPyBeginAllowThreads();
18246 result = (int)((wxMouseEvent const *)arg1)->GetWheelRotation();
18247
18248 wxPyEndAllowThreads(__tstate);
18249 if (PyErr_Occurred()) SWIG_fail;
18250 }
093d3ff1 18251 {
32fe5131 18252 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 18253 }
d14a1e28
RD
18254 return resultobj;
18255 fail:
18256 return NULL;
18257}
18258
18259
c32bde28 18260static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18261 PyObject *resultobj = NULL;
d14a1e28
RD
18262 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18263 int result;
18264 PyObject * obj0 = 0 ;
18265 char *kwnames[] = {
18266 (char *) "self", NULL
18267 };
18268
18269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelDelta",kwnames,&obj0)) goto fail;
093d3ff1
RD
18270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18271 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18272 {
18273 PyThreadState* __tstate = wxPyBeginAllowThreads();
18274 result = (int)((wxMouseEvent const *)arg1)->GetWheelDelta();
18275
18276 wxPyEndAllowThreads(__tstate);
18277 if (PyErr_Occurred()) SWIG_fail;
18278 }
093d3ff1 18279 {
32fe5131 18280 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 18281 }
d14a1e28
RD
18282 return resultobj;
18283 fail:
18284 return NULL;
18285}
18286
18287
c32bde28 18288static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18289 PyObject *resultobj = NULL;
d14a1e28
RD
18290 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18291 int result;
18292 PyObject * obj0 = 0 ;
18293 char *kwnames[] = {
18294 (char *) "self", NULL
18295 };
18296
18297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetLinesPerAction",kwnames,&obj0)) goto fail;
093d3ff1
RD
18298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18299 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18300 {
18301 PyThreadState* __tstate = wxPyBeginAllowThreads();
18302 result = (int)((wxMouseEvent const *)arg1)->GetLinesPerAction();
18303
18304 wxPyEndAllowThreads(__tstate);
18305 if (PyErr_Occurred()) SWIG_fail;
18306 }
093d3ff1 18307 {
32fe5131 18308 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 18309 }
d14a1e28
RD
18310 return resultobj;
18311 fail:
18312 return NULL;
18313}
18314
18315
c32bde28 18316static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18317 PyObject *resultobj = NULL;
d14a1e28
RD
18318 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18319 bool result;
18320 PyObject * obj0 = 0 ;
18321 char *kwnames[] = {
18322 (char *) "self", NULL
18323 };
18324
18325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsPageScroll",kwnames,&obj0)) goto fail;
093d3ff1
RD
18326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18327 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18328 {
18329 PyThreadState* __tstate = wxPyBeginAllowThreads();
18330 result = (bool)((wxMouseEvent const *)arg1)->IsPageScroll();
18331
18332 wxPyEndAllowThreads(__tstate);
18333 if (PyErr_Occurred()) SWIG_fail;
18334 }
4f89f6a3
RD
18335 {
18336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18337 }
d14a1e28
RD
18338 return resultobj;
18339 fail:
18340 return NULL;
18341}
18342
18343
c32bde28 18344static PyObject *_wrap_MouseEvent_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18345 PyObject *resultobj = NULL;
d14a1e28 18346 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 18347 int arg2 ;
d14a1e28 18348 PyObject * obj0 = 0 ;
994141e6 18349 PyObject * obj1 = 0 ;
d14a1e28
RD
18350 char *kwnames[] = {
18351 (char *) "self",(char *) "m_x", NULL
18352 };
18353
994141e6 18354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18356 if (SWIG_arg_fail(1)) SWIG_fail;
18357 {
32fe5131 18358 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
18359 if (SWIG_arg_fail(2)) SWIG_fail;
18360 }
d14a1e28
RD
18361 if (arg1) (arg1)->m_x = arg2;
18362
18363 Py_INCREF(Py_None); resultobj = Py_None;
18364 return resultobj;
18365 fail:
18366 return NULL;
18367}
18368
18369
c32bde28 18370static PyObject *_wrap_MouseEvent_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18371 PyObject *resultobj = NULL;
d14a1e28 18372 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 18373 int result;
d14a1e28
RD
18374 PyObject * obj0 = 0 ;
18375 char *kwnames[] = {
18376 (char *) "self", NULL
18377 };
18378
18379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_x_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
18380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18381 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce 18382 result = (int) ((arg1)->m_x);
d14a1e28 18383
093d3ff1 18384 {
32fe5131 18385 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 18386 }
d14a1e28
RD
18387 return resultobj;
18388 fail:
18389 return NULL;
18390}
18391
18392
c32bde28 18393static PyObject *_wrap_MouseEvent_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18394 PyObject *resultobj = NULL;
d14a1e28 18395 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 18396 int arg2 ;
d14a1e28 18397 PyObject * obj0 = 0 ;
994141e6 18398 PyObject * obj1 = 0 ;
d14a1e28
RD
18399 char *kwnames[] = {
18400 (char *) "self",(char *) "m_y", NULL
18401 };
18402
994141e6 18403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18405 if (SWIG_arg_fail(1)) SWIG_fail;
18406 {
32fe5131 18407 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
18408 if (SWIG_arg_fail(2)) SWIG_fail;
18409 }
d14a1e28
RD
18410 if (arg1) (arg1)->m_y = arg2;
18411
18412 Py_INCREF(Py_None); resultobj = Py_None;
18413 return resultobj;
18414 fail:
18415 return NULL;
18416}
18417
18418
c32bde28 18419static PyObject *_wrap_MouseEvent_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18420 PyObject *resultobj = NULL;
d14a1e28 18421 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 18422 int result;
d14a1e28
RD
18423 PyObject * obj0 = 0 ;
18424 char *kwnames[] = {
18425 (char *) "self", NULL
18426 };
18427
18428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_y_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
18429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18430 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce 18431 result = (int) ((arg1)->m_y);
d14a1e28 18432
093d3ff1 18433 {
32fe5131 18434 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 18435 }
d14a1e28
RD
18436 return resultobj;
18437 fail:
18438 return NULL;
18439}
18440
18441
c32bde28 18442static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18443 PyObject *resultobj = NULL;
d14a1e28
RD
18444 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18445 bool arg2 ;
18446 PyObject * obj0 = 0 ;
18447 PyObject * obj1 = 0 ;
18448 char *kwnames[] = {
18449 (char *) "self",(char *) "m_leftDown", NULL
18450 };
18451
18452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_leftDown_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18454 if (SWIG_arg_fail(1)) SWIG_fail;
18455 {
32fe5131 18456 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
18457 if (SWIG_arg_fail(2)) SWIG_fail;
18458 }
d14a1e28
RD
18459 if (arg1) (arg1)->m_leftDown = arg2;
18460
18461 Py_INCREF(Py_None); resultobj = Py_None;
18462 return resultobj;
18463 fail:
18464 return NULL;
18465}
18466
18467
c32bde28 18468static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18469 PyObject *resultobj = NULL;
d14a1e28
RD
18470 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18471 bool result;
18472 PyObject * obj0 = 0 ;
18473 char *kwnames[] = {
18474 (char *) "self", NULL
18475 };
18476
18477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_leftDown_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
18478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18479 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18480 result = (bool) ((arg1)->m_leftDown);
18481
4f89f6a3
RD
18482 {
18483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18484 }
d14a1e28
RD
18485 return resultobj;
18486 fail:
18487 return NULL;
18488}
18489
18490
c32bde28 18491static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18492 PyObject *resultobj = NULL;
d14a1e28
RD
18493 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18494 bool arg2 ;
18495 PyObject * obj0 = 0 ;
18496 PyObject * obj1 = 0 ;
18497 char *kwnames[] = {
18498 (char *) "self",(char *) "m_middleDown", NULL
18499 };
18500
18501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_middleDown_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18503 if (SWIG_arg_fail(1)) SWIG_fail;
18504 {
32fe5131 18505 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
18506 if (SWIG_arg_fail(2)) SWIG_fail;
18507 }
d14a1e28
RD
18508 if (arg1) (arg1)->m_middleDown = arg2;
18509
18510 Py_INCREF(Py_None); resultobj = Py_None;
18511 return resultobj;
18512 fail:
18513 return NULL;
18514}
18515
18516
c32bde28 18517static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18518 PyObject *resultobj = NULL;
d14a1e28
RD
18519 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18520 bool result;
18521 PyObject * obj0 = 0 ;
18522 char *kwnames[] = {
18523 (char *) "self", NULL
18524 };
18525
18526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_middleDown_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
18527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18528 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18529 result = (bool) ((arg1)->m_middleDown);
18530
4f89f6a3
RD
18531 {
18532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18533 }
d14a1e28
RD
18534 return resultobj;
18535 fail:
18536 return NULL;
18537}
18538
18539
c32bde28 18540static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18541 PyObject *resultobj = NULL;
d14a1e28
RD
18542 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18543 bool arg2 ;
18544 PyObject * obj0 = 0 ;
18545 PyObject * obj1 = 0 ;
18546 char *kwnames[] = {
18547 (char *) "self",(char *) "m_rightDown", NULL
18548 };
18549
18550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_rightDown_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18552 if (SWIG_arg_fail(1)) SWIG_fail;
18553 {
32fe5131 18554 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
18555 if (SWIG_arg_fail(2)) SWIG_fail;
18556 }
d14a1e28
RD
18557 if (arg1) (arg1)->m_rightDown = arg2;
18558
18559 Py_INCREF(Py_None); resultobj = Py_None;
18560 return resultobj;
18561 fail:
18562 return NULL;
18563}
18564
18565
c32bde28 18566static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18567 PyObject *resultobj = NULL;
d14a1e28
RD
18568 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18569 bool result;
18570 PyObject * obj0 = 0 ;
18571 char *kwnames[] = {
18572 (char *) "self", NULL
18573 };
18574
18575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_rightDown_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
18576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18577 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18578 result = (bool) ((arg1)->m_rightDown);
18579
4f89f6a3
RD
18580 {
18581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18582 }
d14a1e28
RD
18583 return resultobj;
18584 fail:
18585 return NULL;
18586}
18587
18588
c32bde28 18589static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18590 PyObject *resultobj = NULL;
d14a1e28
RD
18591 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18592 bool arg2 ;
18593 PyObject * obj0 = 0 ;
18594 PyObject * obj1 = 0 ;
18595 char *kwnames[] = {
18596 (char *) "self",(char *) "m_controlDown", NULL
18597 };
18598
18599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18601 if (SWIG_arg_fail(1)) SWIG_fail;
18602 {
32fe5131 18603 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
18604 if (SWIG_arg_fail(2)) SWIG_fail;
18605 }
d14a1e28
RD
18606 if (arg1) (arg1)->m_controlDown = arg2;
18607
18608 Py_INCREF(Py_None); resultobj = Py_None;
18609 return resultobj;
18610 fail:
18611 return NULL;
18612}
18613
18614
c32bde28 18615static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18616 PyObject *resultobj = NULL;
d14a1e28
RD
18617 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18618 bool result;
18619 PyObject * obj0 = 0 ;
18620 char *kwnames[] = {
18621 (char *) "self", NULL
18622 };
18623
18624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
18625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18626 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18627 result = (bool) ((arg1)->m_controlDown);
18628
4f89f6a3
RD
18629 {
18630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18631 }
d14a1e28
RD
18632 return resultobj;
18633 fail:
18634 return NULL;
18635}
18636
18637
c32bde28 18638static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18639 PyObject *resultobj = NULL;
d14a1e28
RD
18640 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18641 bool arg2 ;
18642 PyObject * obj0 = 0 ;
18643 PyObject * obj1 = 0 ;
18644 char *kwnames[] = {
18645 (char *) "self",(char *) "m_shiftDown", NULL
18646 };
18647
18648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18650 if (SWIG_arg_fail(1)) SWIG_fail;
18651 {
32fe5131 18652 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
18653 if (SWIG_arg_fail(2)) SWIG_fail;
18654 }
d14a1e28
RD
18655 if (arg1) (arg1)->m_shiftDown = arg2;
18656
18657 Py_INCREF(Py_None); resultobj = Py_None;
18658 return resultobj;
18659 fail:
18660 return NULL;
18661}
18662
18663
c32bde28 18664static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18665 PyObject *resultobj = NULL;
d14a1e28
RD
18666 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18667 bool result;
18668 PyObject * obj0 = 0 ;
18669 char *kwnames[] = {
18670 (char *) "self", NULL
18671 };
18672
18673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
18674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18675 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18676 result = (bool) ((arg1)->m_shiftDown);
18677
4f89f6a3
RD
18678 {
18679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18680 }
d14a1e28
RD
18681 return resultobj;
18682 fail:
18683 return NULL;
18684}
18685
18686
c32bde28 18687static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18688 PyObject *resultobj = NULL;
d14a1e28
RD
18689 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18690 bool arg2 ;
18691 PyObject * obj0 = 0 ;
18692 PyObject * obj1 = 0 ;
18693 char *kwnames[] = {
18694 (char *) "self",(char *) "m_altDown", NULL
18695 };
18696
18697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18699 if (SWIG_arg_fail(1)) SWIG_fail;
18700 {
32fe5131 18701 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
18702 if (SWIG_arg_fail(2)) SWIG_fail;
18703 }
d14a1e28
RD
18704 if (arg1) (arg1)->m_altDown = arg2;
18705
18706 Py_INCREF(Py_None); resultobj = Py_None;
18707 return resultobj;
18708 fail:
18709 return NULL;
18710}
18711
18712
c32bde28 18713static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18714 PyObject *resultobj = NULL;
d14a1e28
RD
18715 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18716 bool result;
18717 PyObject * obj0 = 0 ;
18718 char *kwnames[] = {
18719 (char *) "self", NULL
18720 };
18721
18722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_altDown_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
18723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18724 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18725 result = (bool) ((arg1)->m_altDown);
18726
4f89f6a3
RD
18727 {
18728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18729 }
d14a1e28
RD
18730 return resultobj;
18731 fail:
18732 return NULL;
18733}
18734
18735
c32bde28 18736static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18737 PyObject *resultobj = NULL;
d14a1e28
RD
18738 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18739 bool arg2 ;
18740 PyObject * obj0 = 0 ;
18741 PyObject * obj1 = 0 ;
18742 char *kwnames[] = {
18743 (char *) "self",(char *) "m_metaDown", NULL
18744 };
18745
18746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18748 if (SWIG_arg_fail(1)) SWIG_fail;
18749 {
32fe5131 18750 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
18751 if (SWIG_arg_fail(2)) SWIG_fail;
18752 }
d14a1e28
RD
18753 if (arg1) (arg1)->m_metaDown = arg2;
18754
18755 Py_INCREF(Py_None); resultobj = Py_None;
18756 return resultobj;
18757 fail:
18758 return NULL;
18759}
18760
18761
c32bde28 18762static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18763 PyObject *resultobj = NULL;
d14a1e28
RD
18764 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18765 bool result;
18766 PyObject * obj0 = 0 ;
18767 char *kwnames[] = {
18768 (char *) "self", NULL
18769 };
18770
18771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
18772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18773 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18774 result = (bool) ((arg1)->m_metaDown);
18775
4f89f6a3
RD
18776 {
18777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18778 }
d14a1e28
RD
18779 return resultobj;
18780 fail:
18781 return NULL;
18782}
18783
18784
c32bde28 18785static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18786 PyObject *resultobj = NULL;
d14a1e28
RD
18787 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18788 int arg2 ;
18789 PyObject * obj0 = 0 ;
994141e6 18790 PyObject * obj1 = 0 ;
d14a1e28
RD
18791 char *kwnames[] = {
18792 (char *) "self",(char *) "m_wheelRotation", NULL
18793 };
18794
994141e6 18795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18797 if (SWIG_arg_fail(1)) SWIG_fail;
18798 {
32fe5131 18799 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
18800 if (SWIG_arg_fail(2)) SWIG_fail;
18801 }
d14a1e28
RD
18802 if (arg1) (arg1)->m_wheelRotation = arg2;
18803
18804 Py_INCREF(Py_None); resultobj = Py_None;
18805 return resultobj;
18806 fail:
18807 return NULL;
18808}
18809
18810
c32bde28 18811static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18812 PyObject *resultobj = NULL;
d14a1e28
RD
18813 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18814 int result;
18815 PyObject * obj0 = 0 ;
18816 char *kwnames[] = {
18817 (char *) "self", NULL
18818 };
18819
18820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
18821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18822 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18823 result = (int) ((arg1)->m_wheelRotation);
18824
093d3ff1 18825 {
32fe5131 18826 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 18827 }
d14a1e28
RD
18828 return resultobj;
18829 fail:
18830 return NULL;
18831}
18832
18833
c32bde28 18834static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18835 PyObject *resultobj = NULL;
d14a1e28
RD
18836 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18837 int arg2 ;
18838 PyObject * obj0 = 0 ;
994141e6 18839 PyObject * obj1 = 0 ;
d14a1e28
RD
18840 char *kwnames[] = {
18841 (char *) "self",(char *) "m_wheelDelta", NULL
18842 };
18843
994141e6 18844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18846 if (SWIG_arg_fail(1)) SWIG_fail;
18847 {
32fe5131 18848 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
18849 if (SWIG_arg_fail(2)) SWIG_fail;
18850 }
d14a1e28
RD
18851 if (arg1) (arg1)->m_wheelDelta = arg2;
18852
18853 Py_INCREF(Py_None); resultobj = Py_None;
18854 return resultobj;
18855 fail:
18856 return NULL;
18857}
18858
18859
c32bde28 18860static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18861 PyObject *resultobj = NULL;
d14a1e28
RD
18862 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18863 int result;
18864 PyObject * obj0 = 0 ;
18865 char *kwnames[] = {
18866 (char *) "self", NULL
18867 };
18868
18869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
18870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18871 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18872 result = (int) ((arg1)->m_wheelDelta);
18873
093d3ff1 18874 {
32fe5131 18875 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 18876 }
d14a1e28
RD
18877 return resultobj;
18878 fail:
18879 return NULL;
18880}
18881
18882
c32bde28 18883static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18884 PyObject *resultobj = NULL;
d14a1e28
RD
18885 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18886 int arg2 ;
18887 PyObject * obj0 = 0 ;
994141e6 18888 PyObject * obj1 = 0 ;
d14a1e28
RD
18889 char *kwnames[] = {
18890 (char *) "self",(char *) "m_linesPerAction", NULL
18891 };
18892
994141e6 18893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18895 if (SWIG_arg_fail(1)) SWIG_fail;
18896 {
32fe5131 18897 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
18898 if (SWIG_arg_fail(2)) SWIG_fail;
18899 }
d14a1e28
RD
18900 if (arg1) (arg1)->m_linesPerAction = arg2;
18901
18902 Py_INCREF(Py_None); resultobj = Py_None;
18903 return resultobj;
18904 fail:
18905 return NULL;
18906}
18907
18908
c32bde28 18909static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18910 PyObject *resultobj = NULL;
d14a1e28
RD
18911 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
18912 int result;
18913 PyObject * obj0 = 0 ;
18914 char *kwnames[] = {
18915 (char *) "self", NULL
18916 };
18917
18918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
18919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
18920 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18921 result = (int) ((arg1)->m_linesPerAction);
18922
093d3ff1 18923 {
32fe5131 18924 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 18925 }
d14a1e28
RD
18926 return resultobj;
18927 fail:
18928 return NULL;
18929}
18930
18931
c32bde28 18932static PyObject * MouseEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18933 PyObject *obj;
18934 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18935 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent, obj);
18936 Py_INCREF(obj);
18937 return Py_BuildValue((char *)"");
18938}
c32bde28 18939static PyObject *_wrap_new_SetCursorEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18940 PyObject *resultobj = NULL;
e811c8ce
RD
18941 int arg1 = (int) 0 ;
18942 int arg2 = (int) 0 ;
d14a1e28 18943 wxSetCursorEvent *result;
994141e6
RD
18944 PyObject * obj0 = 0 ;
18945 PyObject * obj1 = 0 ;
d14a1e28
RD
18946 char *kwnames[] = {
18947 (char *) "x",(char *) "y", NULL
18948 };
18949
994141e6
RD
18950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SetCursorEvent",kwnames,&obj0,&obj1)) goto fail;
18951 if (obj0) {
093d3ff1 18952 {
32fe5131 18953 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
18954 if (SWIG_arg_fail(1)) SWIG_fail;
18955 }
994141e6
RD
18956 }
18957 if (obj1) {
093d3ff1 18958 {
32fe5131 18959 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
18960 if (SWIG_arg_fail(2)) SWIG_fail;
18961 }
994141e6 18962 }
d14a1e28
RD
18963 {
18964 PyThreadState* __tstate = wxPyBeginAllowThreads();
18965 result = (wxSetCursorEvent *)new wxSetCursorEvent(arg1,arg2);
18966
18967 wxPyEndAllowThreads(__tstate);
18968 if (PyErr_Occurred()) SWIG_fail;
18969 }
15afbcd0 18970 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSetCursorEvent, 1);
d14a1e28
RD
18971 return resultobj;
18972 fail:
18973 return NULL;
18974}
18975
18976
c32bde28 18977static PyObject *_wrap_SetCursorEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18978 PyObject *resultobj = NULL;
d14a1e28 18979 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
e811c8ce 18980 int result;
d14a1e28
RD
18981 PyObject * obj0 = 0 ;
18982 char *kwnames[] = {
18983 (char *) "self", NULL
18984 };
18985
18986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetX",kwnames,&obj0)) goto fail;
093d3ff1
RD
18987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSetCursorEvent, SWIG_POINTER_EXCEPTION | 0);
18988 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18989 {
18990 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 18991 result = (int)((wxSetCursorEvent const *)arg1)->GetX();
d14a1e28
RD
18992
18993 wxPyEndAllowThreads(__tstate);
18994 if (PyErr_Occurred()) SWIG_fail;
18995 }
093d3ff1 18996 {
32fe5131 18997 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 18998 }
d14a1e28
RD
18999 return resultobj;
19000 fail:
19001 return NULL;
19002}
19003
19004
c32bde28 19005static PyObject *_wrap_SetCursorEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19006 PyObject *resultobj = NULL;
d14a1e28 19007 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
e811c8ce 19008 int result;
d14a1e28
RD
19009 PyObject * obj0 = 0 ;
19010 char *kwnames[] = {
19011 (char *) "self", NULL
19012 };
19013
19014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetY",kwnames,&obj0)) goto fail;
093d3ff1
RD
19015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSetCursorEvent, SWIG_POINTER_EXCEPTION | 0);
19016 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19017 {
19018 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 19019 result = (int)((wxSetCursorEvent const *)arg1)->GetY();
d14a1e28
RD
19020
19021 wxPyEndAllowThreads(__tstate);
19022 if (PyErr_Occurred()) SWIG_fail;
19023 }
093d3ff1 19024 {
32fe5131 19025 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 19026 }
d14a1e28
RD
19027 return resultobj;
19028 fail:
19029 return NULL;
19030}
19031
19032
c32bde28 19033static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19034 PyObject *resultobj = NULL;
d14a1e28
RD
19035 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
19036 wxCursor *arg2 = 0 ;
19037 PyObject * obj0 = 0 ;
19038 PyObject * obj1 = 0 ;
19039 char *kwnames[] = {
19040 (char *) "self",(char *) "cursor", NULL
19041 };
19042
19043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SetCursorEvent_SetCursor",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSetCursorEvent, SWIG_POINTER_EXCEPTION | 0);
19045 if (SWIG_arg_fail(1)) SWIG_fail;
19046 {
19047 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
19048 if (SWIG_arg_fail(2)) SWIG_fail;
19049 if (arg2 == NULL) {
19050 SWIG_null_ref("wxCursor");
19051 }
19052 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
19053 }
19054 {
19055 PyThreadState* __tstate = wxPyBeginAllowThreads();
19056 (arg1)->SetCursor((wxCursor const &)*arg2);
19057
19058 wxPyEndAllowThreads(__tstate);
19059 if (PyErr_Occurred()) SWIG_fail;
19060 }
19061 Py_INCREF(Py_None); resultobj = Py_None;
19062 return resultobj;
19063 fail:
19064 return NULL;
19065}
19066
19067
c32bde28 19068static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19069 PyObject *resultobj = NULL;
d14a1e28
RD
19070 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
19071 wxCursor *result;
19072 PyObject * obj0 = 0 ;
19073 char *kwnames[] = {
19074 (char *) "self", NULL
19075 };
19076
19077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetCursor",kwnames,&obj0)) goto fail;
093d3ff1
RD
19078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSetCursorEvent, SWIG_POINTER_EXCEPTION | 0);
19079 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19080 {
19081 PyThreadState* __tstate = wxPyBeginAllowThreads();
19082 {
19083 wxCursor const &_result_ref = ((wxSetCursorEvent const *)arg1)->GetCursor();
19084 result = (wxCursor *) &_result_ref;
19085 }
19086
19087 wxPyEndAllowThreads(__tstate);
19088 if (PyErr_Occurred()) SWIG_fail;
19089 }
4276dc52
RD
19090 {
19091 wxCursor* resultptr = new wxCursor(*result);
19092 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
19093 }
d14a1e28
RD
19094 return resultobj;
19095 fail:
19096 return NULL;
19097}
19098
19099
c32bde28 19100static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19101 PyObject *resultobj = NULL;
d14a1e28
RD
19102 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
19103 bool result;
19104 PyObject * obj0 = 0 ;
19105 char *kwnames[] = {
19106 (char *) "self", NULL
19107 };
19108
19109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_HasCursor",kwnames,&obj0)) goto fail;
093d3ff1
RD
19110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSetCursorEvent, SWIG_POINTER_EXCEPTION | 0);
19111 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19112 {
19113 PyThreadState* __tstate = wxPyBeginAllowThreads();
19114 result = (bool)((wxSetCursorEvent const *)arg1)->HasCursor();
19115
19116 wxPyEndAllowThreads(__tstate);
19117 if (PyErr_Occurred()) SWIG_fail;
19118 }
4f89f6a3
RD
19119 {
19120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19121 }
d14a1e28
RD
19122 return resultobj;
19123 fail:
19124 return NULL;
19125}
19126
19127
c32bde28 19128static PyObject * SetCursorEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
19129 PyObject *obj;
19130 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19131 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent, obj);
19132 Py_INCREF(obj);
19133 return Py_BuildValue((char *)"");
19134}
c32bde28 19135static PyObject *_wrap_new_KeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19136 PyObject *resultobj = NULL;
d14a1e28
RD
19137 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19138 wxKeyEvent *result;
994141e6 19139 PyObject * obj0 = 0 ;
d14a1e28 19140 char *kwnames[] = {
5ba5649b 19141 (char *) "eventType", NULL
d14a1e28
RD
19142 };
19143
994141e6
RD
19144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_KeyEvent",kwnames,&obj0)) goto fail;
19145 if (obj0) {
093d3ff1 19146 {
32fe5131 19147 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
19148 if (SWIG_arg_fail(1)) SWIG_fail;
19149 }
994141e6 19150 }
d14a1e28
RD
19151 {
19152 PyThreadState* __tstate = wxPyBeginAllowThreads();
19153 result = (wxKeyEvent *)new wxKeyEvent(arg1);
19154
19155 wxPyEndAllowThreads(__tstate);
19156 if (PyErr_Occurred()) SWIG_fail;
19157 }
15afbcd0 19158 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 1);
d14a1e28
RD
19159 return resultobj;
19160 fail:
19161 return NULL;
19162}
19163
19164
b1fcee84
RD
19165static PyObject *_wrap_KeyEvent_GetModifiers(PyObject *, PyObject *args, PyObject *kwargs) {
19166 PyObject *resultobj = NULL;
19167 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19168 int result;
19169 PyObject * obj0 = 0 ;
19170 char *kwnames[] = {
19171 (char *) "self", NULL
19172 };
19173
19174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetModifiers",kwnames,&obj0)) goto fail;
19175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19176 if (SWIG_arg_fail(1)) SWIG_fail;
19177 {
19178 PyThreadState* __tstate = wxPyBeginAllowThreads();
19179 result = (int)((wxKeyEvent const *)arg1)->GetModifiers();
19180
19181 wxPyEndAllowThreads(__tstate);
19182 if (PyErr_Occurred()) SWIG_fail;
19183 }
19184 {
19185 resultobj = SWIG_From_int(static_cast<int >(result));
19186 }
19187 return resultobj;
19188 fail:
19189 return NULL;
19190}
19191
19192
c32bde28 19193static PyObject *_wrap_KeyEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19194 PyObject *resultobj = NULL;
d14a1e28
RD
19195 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19196 bool result;
19197 PyObject * obj0 = 0 ;
19198 char *kwnames[] = {
19199 (char *) "self", NULL
19200 };
19201
19202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ControlDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
19203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19204 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19205 {
19206 PyThreadState* __tstate = wxPyBeginAllowThreads();
19207 result = (bool)((wxKeyEvent const *)arg1)->ControlDown();
19208
19209 wxPyEndAllowThreads(__tstate);
19210 if (PyErr_Occurred()) SWIG_fail;
19211 }
4f89f6a3
RD
19212 {
19213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19214 }
d14a1e28
RD
19215 return resultobj;
19216 fail:
19217 return NULL;
19218}
19219
19220
c32bde28 19221static PyObject *_wrap_KeyEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19222 PyObject *resultobj = NULL;
d14a1e28
RD
19223 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19224 bool result;
19225 PyObject * obj0 = 0 ;
19226 char *kwnames[] = {
19227 (char *) "self", NULL
19228 };
19229
19230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_MetaDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
19231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19232 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19233 {
19234 PyThreadState* __tstate = wxPyBeginAllowThreads();
19235 result = (bool)((wxKeyEvent const *)arg1)->MetaDown();
19236
19237 wxPyEndAllowThreads(__tstate);
19238 if (PyErr_Occurred()) SWIG_fail;
19239 }
4f89f6a3
RD
19240 {
19241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19242 }
d14a1e28
RD
19243 return resultobj;
19244 fail:
19245 return NULL;
19246}
19247
19248
c32bde28 19249static PyObject *_wrap_KeyEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19250 PyObject *resultobj = NULL;
d14a1e28
RD
19251 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19252 bool result;
19253 PyObject * obj0 = 0 ;
19254 char *kwnames[] = {
19255 (char *) "self", NULL
19256 };
19257
19258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_AltDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
19259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19260 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19261 {
19262 PyThreadState* __tstate = wxPyBeginAllowThreads();
19263 result = (bool)((wxKeyEvent const *)arg1)->AltDown();
19264
19265 wxPyEndAllowThreads(__tstate);
19266 if (PyErr_Occurred()) SWIG_fail;
19267 }
4f89f6a3
RD
19268 {
19269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19270 }
d14a1e28
RD
19271 return resultobj;
19272 fail:
19273 return NULL;
19274}
19275
19276
c32bde28 19277static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19278 PyObject *resultobj = NULL;
d14a1e28
RD
19279 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19280 bool result;
19281 PyObject * obj0 = 0 ;
19282 char *kwnames[] = {
19283 (char *) "self", NULL
19284 };
19285
19286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ShiftDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
19287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19288 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19289 {
19290 PyThreadState* __tstate = wxPyBeginAllowThreads();
19291 result = (bool)((wxKeyEvent const *)arg1)->ShiftDown();
19292
19293 wxPyEndAllowThreads(__tstate);
19294 if (PyErr_Occurred()) SWIG_fail;
19295 }
4f89f6a3
RD
19296 {
19297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19298 }
d14a1e28
RD
19299 return resultobj;
19300 fail:
19301 return NULL;
19302}
19303
19304
c32bde28 19305static PyObject *_wrap_KeyEvent_CmdDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19306 PyObject *resultobj = NULL;
412d302d
RD
19307 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19308 bool result;
19309 PyObject * obj0 = 0 ;
19310 char *kwnames[] = {
19311 (char *) "self", NULL
19312 };
19313
19314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_CmdDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
19315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19316 if (SWIG_arg_fail(1)) SWIG_fail;
412d302d
RD
19317 {
19318 PyThreadState* __tstate = wxPyBeginAllowThreads();
19319 result = (bool)((wxKeyEvent const *)arg1)->CmdDown();
19320
19321 wxPyEndAllowThreads(__tstate);
19322 if (PyErr_Occurred()) SWIG_fail;
19323 }
19324 {
19325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19326 }
19327 return resultobj;
19328 fail:
19329 return NULL;
19330}
19331
19332
c32bde28 19333static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19334 PyObject *resultobj = NULL;
d14a1e28
RD
19335 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19336 bool result;
19337 PyObject * obj0 = 0 ;
19338 char *kwnames[] = {
19339 (char *) "self", NULL
19340 };
19341
19342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_HasModifiers",kwnames,&obj0)) goto fail;
093d3ff1
RD
19343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19344 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19345 {
19346 PyThreadState* __tstate = wxPyBeginAllowThreads();
19347 result = (bool)((wxKeyEvent const *)arg1)->HasModifiers();
19348
19349 wxPyEndAllowThreads(__tstate);
19350 if (PyErr_Occurred()) SWIG_fail;
19351 }
4f89f6a3
RD
19352 {
19353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19354 }
d14a1e28
RD
19355 return resultobj;
19356 fail:
19357 return NULL;
19358}
19359
19360
c32bde28 19361static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19362 PyObject *resultobj = NULL;
d14a1e28
RD
19363 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19364 int result;
19365 PyObject * obj0 = 0 ;
19366 char *kwnames[] = {
19367 (char *) "self", NULL
19368 };
19369
19370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetKeyCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
19371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19372 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19373 {
19374 PyThreadState* __tstate = wxPyBeginAllowThreads();
19375 result = (int)((wxKeyEvent const *)arg1)->GetKeyCode();
19376
19377 wxPyEndAllowThreads(__tstate);
19378 if (PyErr_Occurred()) SWIG_fail;
19379 }
093d3ff1 19380 {
32fe5131 19381 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 19382 }
d14a1e28
RD
19383 return resultobj;
19384 fail:
19385 return NULL;
19386}
19387
19388
c32bde28 19389static PyObject *_wrap_KeyEvent_GetUnicodeKey(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19390 PyObject *resultobj = NULL;
d14a1e28
RD
19391 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19392 int result;
19393 PyObject * obj0 = 0 ;
19394 char *kwnames[] = {
19395 (char *) "self", NULL
19396 };
19397
19272049 19398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUnicodeKey",kwnames,&obj0)) goto fail;
093d3ff1
RD
19399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19400 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19401 {
19402 PyThreadState* __tstate = wxPyBeginAllowThreads();
19272049 19403 result = (int)wxKeyEvent_GetUnicodeKey(arg1);
d14a1e28
RD
19404
19405 wxPyEndAllowThreads(__tstate);
19406 if (PyErr_Occurred()) SWIG_fail;
19407 }
093d3ff1 19408 {
32fe5131 19409 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 19410 }
d14a1e28
RD
19411 return resultobj;
19412 fail:
19413 return NULL;
19414}
19415
19416
c32bde28 19417static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19418 PyObject *resultobj = NULL;
d14a1e28 19419 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 19420 unsigned int result;
d14a1e28
RD
19421 PyObject * obj0 = 0 ;
19422 char *kwnames[] = {
19423 (char *) "self", NULL
19424 };
19425
19426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
19427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19428 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19429 {
19430 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 19431 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyCode();
d14a1e28
RD
19432
19433 wxPyEndAllowThreads(__tstate);
19434 if (PyErr_Occurred()) SWIG_fail;
19435 }
093d3ff1 19436 {
32fe5131 19437 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
093d3ff1 19438 }
d14a1e28
RD
19439 return resultobj;
19440 fail:
19441 return NULL;
19442}
19443
19444
c32bde28 19445static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19446 PyObject *resultobj = NULL;
d14a1e28 19447 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 19448 unsigned int result;
d14a1e28
RD
19449 PyObject * obj0 = 0 ;
19450 char *kwnames[] = {
19451 (char *) "self", NULL
19452 };
19453
19454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
19455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19456 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19457 {
19458 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 19459 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyFlags();
d14a1e28
RD
19460
19461 wxPyEndAllowThreads(__tstate);
19462 if (PyErr_Occurred()) SWIG_fail;
19463 }
093d3ff1 19464 {
32fe5131 19465 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
093d3ff1 19466 }
d14a1e28
RD
19467 return resultobj;
19468 fail:
19469 return NULL;
19470}
19471
19472
c32bde28 19473static PyObject *_wrap_KeyEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19474 PyObject *resultobj = NULL;
d14a1e28
RD
19475 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19476 wxPoint result;
19477 PyObject * obj0 = 0 ;
19478 char *kwnames[] = {
19479 (char *) "self", NULL
19480 };
19481
19482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
19483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19484 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19485 {
19486 PyThreadState* __tstate = wxPyBeginAllowThreads();
19487 result = (arg1)->GetPosition();
19488
19489 wxPyEndAllowThreads(__tstate);
19490 if (PyErr_Occurred()) SWIG_fail;
19491 }
19492 {
19493 wxPoint * resultptr;
32fe5131 19494 resultptr = new wxPoint(static_cast<wxPoint & >(result));
15afbcd0 19495 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
19496 }
19497 return resultobj;
19498 fail:
19499 return NULL;
19500}
19501
19502
c32bde28 19503static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19504 PyObject *resultobj = NULL;
d14a1e28
RD
19505 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19506 long *arg2 = (long *) 0 ;
19507 long *arg3 = (long *) 0 ;
19508 long temp2 ;
c32bde28 19509 int res2 = 0 ;
d14a1e28 19510 long temp3 ;
c32bde28 19511 int res3 = 0 ;
d14a1e28
RD
19512 PyObject * obj0 = 0 ;
19513 char *kwnames[] = {
19514 (char *) "self", NULL
19515 };
19516
c32bde28
RD
19517 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19518 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 19519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
093d3ff1
RD
19520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19521 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19522 {
19523 PyThreadState* __tstate = wxPyBeginAllowThreads();
19524 (arg1)->GetPosition(arg2,arg3);
19525
19526 wxPyEndAllowThreads(__tstate);
19527 if (PyErr_Occurred()) SWIG_fail;
19528 }
19529 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
19530 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19531 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
19532 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19533 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d14a1e28
RD
19534 return resultobj;
19535 fail:
19536 return NULL;
19537}
19538
19539
c32bde28 19540static PyObject *_wrap_KeyEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19541 PyObject *resultobj = NULL;
d14a1e28 19542 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 19543 int result;
d14a1e28
RD
19544 PyObject * obj0 = 0 ;
19545 char *kwnames[] = {
19546 (char *) "self", NULL
19547 };
19548
19549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetX",kwnames,&obj0)) goto fail;
093d3ff1
RD
19550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19551 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19552 {
19553 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 19554 result = (int)((wxKeyEvent const *)arg1)->GetX();
d14a1e28
RD
19555
19556 wxPyEndAllowThreads(__tstate);
19557 if (PyErr_Occurred()) SWIG_fail;
19558 }
093d3ff1 19559 {
32fe5131 19560 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 19561 }
d14a1e28
RD
19562 return resultobj;
19563 fail:
19564 return NULL;
19565}
19566
19567
c32bde28 19568static PyObject *_wrap_KeyEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19569 PyObject *resultobj = NULL;
d14a1e28 19570 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 19571 int result;
d14a1e28
RD
19572 PyObject * obj0 = 0 ;
19573 char *kwnames[] = {
19574 (char *) "self", NULL
19575 };
19576
19577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetY",kwnames,&obj0)) goto fail;
093d3ff1
RD
19578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19579 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19580 {
19581 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 19582 result = (int)((wxKeyEvent const *)arg1)->GetY();
d14a1e28
RD
19583
19584 wxPyEndAllowThreads(__tstate);
19585 if (PyErr_Occurred()) SWIG_fail;
19586 }
093d3ff1 19587 {
32fe5131 19588 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 19589 }
d14a1e28
RD
19590 return resultobj;
19591 fail:
19592 return NULL;
19593}
19594
19595
c32bde28 19596static PyObject *_wrap_KeyEvent_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19597 PyObject *resultobj = NULL;
d14a1e28 19598 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 19599 int arg2 ;
d14a1e28 19600 PyObject * obj0 = 0 ;
994141e6 19601 PyObject * obj1 = 0 ;
d14a1e28
RD
19602 char *kwnames[] = {
19603 (char *) "self",(char *) "m_x", NULL
19604 };
19605
994141e6 19606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19608 if (SWIG_arg_fail(1)) SWIG_fail;
19609 {
32fe5131 19610 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
19611 if (SWIG_arg_fail(2)) SWIG_fail;
19612 }
d14a1e28
RD
19613 if (arg1) (arg1)->m_x = arg2;
19614
19615 Py_INCREF(Py_None); resultobj = Py_None;
19616 return resultobj;
19617 fail:
19618 return NULL;
19619}
19620
19621
c32bde28 19622static PyObject *_wrap_KeyEvent_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19623 PyObject *resultobj = NULL;
d14a1e28 19624 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 19625 int result;
d14a1e28
RD
19626 PyObject * obj0 = 0 ;
19627 char *kwnames[] = {
19628 (char *) "self", NULL
19629 };
19630
19631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_x_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
19632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19633 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce 19634 result = (int) ((arg1)->m_x);
d14a1e28 19635
093d3ff1 19636 {
32fe5131 19637 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 19638 }
d14a1e28
RD
19639 return resultobj;
19640 fail:
19641 return NULL;
19642}
19643
19644
c32bde28 19645static PyObject *_wrap_KeyEvent_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19646 PyObject *resultobj = NULL;
d14a1e28 19647 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 19648 int arg2 ;
d14a1e28 19649 PyObject * obj0 = 0 ;
994141e6 19650 PyObject * obj1 = 0 ;
d14a1e28
RD
19651 char *kwnames[] = {
19652 (char *) "self",(char *) "m_y", NULL
19653 };
19654
994141e6 19655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19657 if (SWIG_arg_fail(1)) SWIG_fail;
19658 {
32fe5131 19659 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
19660 if (SWIG_arg_fail(2)) SWIG_fail;
19661 }
d14a1e28
RD
19662 if (arg1) (arg1)->m_y = arg2;
19663
19664 Py_INCREF(Py_None); resultobj = Py_None;
19665 return resultobj;
19666 fail:
19667 return NULL;
19668}
19669
19670
c32bde28 19671static PyObject *_wrap_KeyEvent_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19672 PyObject *resultobj = NULL;
d14a1e28 19673 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 19674 int result;
d14a1e28
RD
19675 PyObject * obj0 = 0 ;
19676 char *kwnames[] = {
19677 (char *) "self", NULL
19678 };
19679
19680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_y_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
19681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19682 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce 19683 result = (int) ((arg1)->m_y);
d14a1e28 19684
093d3ff1 19685 {
32fe5131 19686 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 19687 }
d14a1e28
RD
19688 return resultobj;
19689 fail:
19690 return NULL;
19691}
19692
19693
c32bde28 19694static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19695 PyObject *resultobj = NULL;
d14a1e28
RD
19696 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19697 long arg2 ;
19698 PyObject * obj0 = 0 ;
994141e6 19699 PyObject * obj1 = 0 ;
d14a1e28
RD
19700 char *kwnames[] = {
19701 (char *) "self",(char *) "m_keyCode", NULL
19702 };
19703
994141e6 19704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_keyCode_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19706 if (SWIG_arg_fail(1)) SWIG_fail;
19707 {
32fe5131 19708 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
19709 if (SWIG_arg_fail(2)) SWIG_fail;
19710 }
d14a1e28
RD
19711 if (arg1) (arg1)->m_keyCode = arg2;
19712
19713 Py_INCREF(Py_None); resultobj = Py_None;
19714 return resultobj;
19715 fail:
19716 return NULL;
19717}
19718
19719
c32bde28 19720static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19721 PyObject *resultobj = NULL;
d14a1e28
RD
19722 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19723 long result;
19724 PyObject * obj0 = 0 ;
19725 char *kwnames[] = {
19726 (char *) "self", NULL
19727 };
19728
19729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_keyCode_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
19730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19731 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19732 result = (long) ((arg1)->m_keyCode);
19733
093d3ff1 19734 {
32fe5131 19735 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 19736 }
d14a1e28
RD
19737 return resultobj;
19738 fail:
19739 return NULL;
19740}
19741
19742
c32bde28 19743static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19744 PyObject *resultobj = NULL;
d14a1e28
RD
19745 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19746 bool arg2 ;
19747 PyObject * obj0 = 0 ;
19748 PyObject * obj1 = 0 ;
19749 char *kwnames[] = {
19750 (char *) "self",(char *) "m_controlDown", NULL
19751 };
19752
19753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19755 if (SWIG_arg_fail(1)) SWIG_fail;
19756 {
32fe5131 19757 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
19758 if (SWIG_arg_fail(2)) SWIG_fail;
19759 }
d14a1e28
RD
19760 if (arg1) (arg1)->m_controlDown = arg2;
19761
19762 Py_INCREF(Py_None); resultobj = Py_None;
19763 return resultobj;
19764 fail:
19765 return NULL;
19766}
19767
19768
c32bde28 19769static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19770 PyObject *resultobj = NULL;
d14a1e28
RD
19771 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19772 bool result;
19773 PyObject * obj0 = 0 ;
19774 char *kwnames[] = {
19775 (char *) "self", NULL
19776 };
19777
19778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
19779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19780 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19781 result = (bool) ((arg1)->m_controlDown);
19782
4f89f6a3
RD
19783 {
19784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19785 }
d14a1e28
RD
19786 return resultobj;
19787 fail:
19788 return NULL;
19789}
19790
19791
c32bde28 19792static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19793 PyObject *resultobj = NULL;
d14a1e28
RD
19794 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19795 bool arg2 ;
19796 PyObject * obj0 = 0 ;
19797 PyObject * obj1 = 0 ;
19798 char *kwnames[] = {
19799 (char *) "self",(char *) "m_shiftDown", NULL
19800 };
19801
19802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19804 if (SWIG_arg_fail(1)) SWIG_fail;
19805 {
32fe5131 19806 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
19807 if (SWIG_arg_fail(2)) SWIG_fail;
19808 }
d14a1e28
RD
19809 if (arg1) (arg1)->m_shiftDown = arg2;
19810
19811 Py_INCREF(Py_None); resultobj = Py_None;
19812 return resultobj;
19813 fail:
19814 return NULL;
19815}
19816
19817
c32bde28 19818static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19819 PyObject *resultobj = NULL;
d14a1e28
RD
19820 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19821 bool result;
19822 PyObject * obj0 = 0 ;
19823 char *kwnames[] = {
19824 (char *) "self", NULL
19825 };
19826
19827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
19828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19829 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19830 result = (bool) ((arg1)->m_shiftDown);
19831
4f89f6a3
RD
19832 {
19833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19834 }
d14a1e28
RD
19835 return resultobj;
19836 fail:
19837 return NULL;
19838}
19839
19840
c32bde28 19841static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19842 PyObject *resultobj = NULL;
d14a1e28
RD
19843 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19844 bool arg2 ;
19845 PyObject * obj0 = 0 ;
19846 PyObject * obj1 = 0 ;
19847 char *kwnames[] = {
19848 (char *) "self",(char *) "m_altDown", NULL
19849 };
19850
19851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19853 if (SWIG_arg_fail(1)) SWIG_fail;
19854 {
32fe5131 19855 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
19856 if (SWIG_arg_fail(2)) SWIG_fail;
19857 }
d14a1e28
RD
19858 if (arg1) (arg1)->m_altDown = arg2;
19859
19860 Py_INCREF(Py_None); resultobj = Py_None;
19861 return resultobj;
19862 fail:
19863 return NULL;
19864}
19865
19866
c32bde28 19867static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19868 PyObject *resultobj = NULL;
d14a1e28
RD
19869 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19870 bool result;
19871 PyObject * obj0 = 0 ;
19872 char *kwnames[] = {
19873 (char *) "self", NULL
19874 };
19875
19876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_altDown_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
19877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19878 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19879 result = (bool) ((arg1)->m_altDown);
19880
4f89f6a3
RD
19881 {
19882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19883 }
d14a1e28
RD
19884 return resultobj;
19885 fail:
19886 return NULL;
19887}
19888
19889
c32bde28 19890static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19891 PyObject *resultobj = NULL;
d14a1e28
RD
19892 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19893 bool arg2 ;
19894 PyObject * obj0 = 0 ;
19895 PyObject * obj1 = 0 ;
19896 char *kwnames[] = {
19897 (char *) "self",(char *) "m_metaDown", NULL
19898 };
19899
19900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19902 if (SWIG_arg_fail(1)) SWIG_fail;
19903 {
32fe5131 19904 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
19905 if (SWIG_arg_fail(2)) SWIG_fail;
19906 }
d14a1e28
RD
19907 if (arg1) (arg1)->m_metaDown = arg2;
19908
19909 Py_INCREF(Py_None); resultobj = Py_None;
19910 return resultobj;
19911 fail:
19912 return NULL;
19913}
19914
19915
c32bde28 19916static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19917 PyObject *resultobj = NULL;
d14a1e28
RD
19918 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19919 bool result;
19920 PyObject * obj0 = 0 ;
19921 char *kwnames[] = {
19922 (char *) "self", NULL
19923 };
19924
19925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
19926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19927 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19928 result = (bool) ((arg1)->m_metaDown);
19929
4f89f6a3
RD
19930 {
19931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19932 }
d14a1e28
RD
19933 return resultobj;
19934 fail:
19935 return NULL;
19936}
19937
19938
c32bde28 19939static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19940 PyObject *resultobj = NULL;
d14a1e28
RD
19941 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19942 bool arg2 ;
19943 PyObject * obj0 = 0 ;
19944 PyObject * obj1 = 0 ;
19945 char *kwnames[] = {
19946 (char *) "self",(char *) "m_scanCode", NULL
19947 };
19948
19949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_scanCode_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19951 if (SWIG_arg_fail(1)) SWIG_fail;
19952 {
32fe5131 19953 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
19954 if (SWIG_arg_fail(2)) SWIG_fail;
19955 }
d14a1e28
RD
19956 if (arg1) (arg1)->m_scanCode = arg2;
19957
19958 Py_INCREF(Py_None); resultobj = Py_None;
19959 return resultobj;
19960 fail:
19961 return NULL;
19962}
19963
19964
c32bde28 19965static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19966 PyObject *resultobj = NULL;
d14a1e28
RD
19967 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
19968 bool result;
19969 PyObject * obj0 = 0 ;
19970 char *kwnames[] = {
19971 (char *) "self", NULL
19972 };
19973
19974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_scanCode_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
19975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
19976 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19977 result = (bool) ((arg1)->m_scanCode);
19978
4f89f6a3
RD
19979 {
19980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19981 }
d14a1e28
RD
19982 return resultobj;
19983 fail:
19984 return NULL;
19985}
19986
19987
c32bde28 19988static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19989 PyObject *resultobj = NULL;
d14a1e28 19990 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 19991 unsigned int arg2 ;
d14a1e28
RD
19992 PyObject * obj0 = 0 ;
19993 PyObject * obj1 = 0 ;
19994 char *kwnames[] = {
19995 (char *) "self",(char *) "m_rawCode", NULL
19996 };
19997
19998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
20000 if (SWIG_arg_fail(1)) SWIG_fail;
20001 {
32fe5131 20002 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
093d3ff1
RD
20003 if (SWIG_arg_fail(2)) SWIG_fail;
20004 }
d14a1e28
RD
20005 if (arg1) (arg1)->m_rawCode = arg2;
20006
20007 Py_INCREF(Py_None); resultobj = Py_None;
20008 return resultobj;
20009 fail:
20010 return NULL;
20011}
20012
20013
c32bde28 20014static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20015 PyObject *resultobj = NULL;
d14a1e28 20016 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 20017 unsigned int result;
d14a1e28
RD
20018 PyObject * obj0 = 0 ;
20019 char *kwnames[] = {
20020 (char *) "self", NULL
20021 };
20022
20023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
20024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
20025 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce 20026 result = (unsigned int) ((arg1)->m_rawCode);
d14a1e28 20027
093d3ff1 20028 {
32fe5131 20029 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
093d3ff1 20030 }
d14a1e28
RD
20031 return resultobj;
20032 fail:
20033 return NULL;
20034}
20035
20036
c32bde28 20037static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20038 PyObject *resultobj = NULL;
d14a1e28 20039 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 20040 unsigned int arg2 ;
d14a1e28
RD
20041 PyObject * obj0 = 0 ;
20042 PyObject * obj1 = 0 ;
20043 char *kwnames[] = {
20044 (char *) "self",(char *) "m_rawFlags", NULL
20045 };
20046
20047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
20049 if (SWIG_arg_fail(1)) SWIG_fail;
20050 {
32fe5131 20051 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
093d3ff1
RD
20052 if (SWIG_arg_fail(2)) SWIG_fail;
20053 }
d14a1e28
RD
20054 if (arg1) (arg1)->m_rawFlags = arg2;
20055
20056 Py_INCREF(Py_None); resultobj = Py_None;
20057 return resultobj;
20058 fail:
20059 return NULL;
20060}
20061
20062
c32bde28 20063static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20064 PyObject *resultobj = NULL;
d14a1e28 20065 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 20066 unsigned int result;
d14a1e28
RD
20067 PyObject * obj0 = 0 ;
20068 char *kwnames[] = {
20069 (char *) "self", NULL
20070 };
20071
20072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
20073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
20074 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce 20075 result = (unsigned int) ((arg1)->m_rawFlags);
d14a1e28 20076
093d3ff1 20077 {
32fe5131 20078 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
093d3ff1 20079 }
d14a1e28
RD
20080 return resultobj;
20081 fail:
20082 return NULL;
20083}
20084
20085
c32bde28 20086static PyObject * KeyEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
20087 PyObject *obj;
20088 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20089 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent, obj);
20090 Py_INCREF(obj);
20091 return Py_BuildValue((char *)"");
20092}
c32bde28 20093static PyObject *_wrap_new_SizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20094 PyObject *resultobj = NULL;
d14a1e28
RD
20095 wxSize const &arg1_defvalue = wxDefaultSize ;
20096 wxSize *arg1 = (wxSize *) &arg1_defvalue ;
20097 int arg2 = (int) 0 ;
20098 wxSizeEvent *result;
20099 wxSize temp1 ;
20100 PyObject * obj0 = 0 ;
994141e6 20101 PyObject * obj1 = 0 ;
d14a1e28
RD
20102 char *kwnames[] = {
20103 (char *) "sz",(char *) "winid", NULL
20104 };
20105
994141e6 20106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SizeEvent",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
20107 if (obj0) {
20108 {
20109 arg1 = &temp1;
20110 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
20111 }
20112 }
994141e6 20113 if (obj1) {
093d3ff1 20114 {
32fe5131 20115 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
20116 if (SWIG_arg_fail(2)) SWIG_fail;
20117 }
994141e6 20118 }
d14a1e28
RD
20119 {
20120 PyThreadState* __tstate = wxPyBeginAllowThreads();
20121 result = (wxSizeEvent *)new wxSizeEvent((wxSize const &)*arg1,arg2);
20122
20123 wxPyEndAllowThreads(__tstate);
20124 if (PyErr_Occurred()) SWIG_fail;
20125 }
15afbcd0 20126 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizeEvent, 1);
d14a1e28
RD
20127 return resultobj;
20128 fail:
20129 return NULL;
20130}
20131
20132
c32bde28 20133static PyObject *_wrap_SizeEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20134 PyObject *resultobj = NULL;
d14a1e28
RD
20135 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
20136 wxSize result;
20137 PyObject * obj0 = 0 ;
20138 char *kwnames[] = {
20139 (char *) "self", NULL
20140 };
20141
20142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0);
20144 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20145 {
20146 PyThreadState* __tstate = wxPyBeginAllowThreads();
20147 result = ((wxSizeEvent const *)arg1)->GetSize();
20148
20149 wxPyEndAllowThreads(__tstate);
20150 if (PyErr_Occurred()) SWIG_fail;
20151 }
20152 {
20153 wxSize * resultptr;
32fe5131 20154 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 20155 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
20156 }
20157 return resultobj;
20158 fail:
20159 return NULL;
20160}
20161
20162
c32bde28 20163static PyObject *_wrap_SizeEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20164 PyObject *resultobj = NULL;
d14a1e28
RD
20165 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
20166 wxRect result;
20167 PyObject * obj0 = 0 ;
20168 char *kwnames[] = {
20169 (char *) "self", NULL
20170 };
20171
20172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
20173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0);
20174 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20175 {
20176 PyThreadState* __tstate = wxPyBeginAllowThreads();
20177 result = ((wxSizeEvent const *)arg1)->GetRect();
20178
20179 wxPyEndAllowThreads(__tstate);
20180 if (PyErr_Occurred()) SWIG_fail;
20181 }
20182 {
20183 wxRect * resultptr;
32fe5131 20184 resultptr = new wxRect(static_cast<wxRect & >(result));
15afbcd0 20185 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
20186 }
20187 return resultobj;
20188 fail:
20189 return NULL;
20190}
20191
20192
c32bde28 20193static PyObject *_wrap_SizeEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20194 PyObject *resultobj = NULL;
d14a1e28
RD
20195 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
20196 wxRect arg2 ;
d14a1e28
RD
20197 PyObject * obj0 = 0 ;
20198 PyObject * obj1 = 0 ;
20199 char *kwnames[] = {
20200 (char *) "self",(char *) "rect", NULL
20201 };
20202
20203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0);
20205 if (SWIG_arg_fail(1)) SWIG_fail;
20206 {
20207 wxRect * argp;
20208 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION);
20209 if (SWIG_arg_fail(2)) SWIG_fail;
20210 if (argp == NULL) {
20211 SWIG_null_ref("wxRect");
20212 }
20213 if (SWIG_arg_fail(2)) SWIG_fail;
20214 arg2 = *argp;
20215 }
d14a1e28
RD
20216 {
20217 PyThreadState* __tstate = wxPyBeginAllowThreads();
20218 (arg1)->SetRect(arg2);
20219
20220 wxPyEndAllowThreads(__tstate);
20221 if (PyErr_Occurred()) SWIG_fail;
20222 }
20223 Py_INCREF(Py_None); resultobj = Py_None;
20224 return resultobj;
20225 fail:
20226 return NULL;
20227}
20228
20229
c32bde28 20230static PyObject *_wrap_SizeEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20231 PyObject *resultobj = NULL;
d14a1e28
RD
20232 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
20233 wxSize arg2 ;
d14a1e28
RD
20234 PyObject * obj0 = 0 ;
20235 PyObject * obj1 = 0 ;
20236 char *kwnames[] = {
20237 (char *) "self",(char *) "size", NULL
20238 };
20239
20240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0);
20242 if (SWIG_arg_fail(1)) SWIG_fail;
20243 {
20244 wxSize * argp;
20245 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION);
20246 if (SWIG_arg_fail(2)) SWIG_fail;
20247 if (argp == NULL) {
20248 SWIG_null_ref("wxSize");
20249 }
20250 if (SWIG_arg_fail(2)) SWIG_fail;
20251 arg2 = *argp;
20252 }
d14a1e28
RD
20253 {
20254 PyThreadState* __tstate = wxPyBeginAllowThreads();
20255 wxSizeEvent_SetSize(arg1,arg2);
20256
20257 wxPyEndAllowThreads(__tstate);
20258 if (PyErr_Occurred()) SWIG_fail;
20259 }
20260 Py_INCREF(Py_None); resultobj = Py_None;
20261 return resultobj;
20262 fail:
20263 return NULL;
20264}
20265
20266
c32bde28 20267static PyObject *_wrap_SizeEvent_m_size_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20268 PyObject *resultobj = NULL;
d14a1e28
RD
20269 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
20270 wxSize *arg2 = (wxSize *) 0 ;
20271 PyObject * obj0 = 0 ;
20272 PyObject * obj1 = 0 ;
20273 char *kwnames[] = {
20274 (char *) "self",(char *) "m_size", NULL
20275 };
20276
20277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_size_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0);
20279 if (SWIG_arg_fail(1)) SWIG_fail;
20280 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0);
20281 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
20282 if (arg1) (arg1)->m_size = *arg2;
20283
20284 Py_INCREF(Py_None); resultobj = Py_None;
20285 return resultobj;
20286 fail:
20287 return NULL;
20288}
20289
20290
c32bde28 20291static PyObject *_wrap_SizeEvent_m_size_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20292 PyObject *resultobj = NULL;
d14a1e28
RD
20293 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
20294 wxSize *result;
20295 PyObject * obj0 = 0 ;
20296 char *kwnames[] = {
20297 (char *) "self", NULL
20298 };
20299
20300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_size_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
20301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0);
20302 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20303 result = (wxSize *)& ((arg1)->m_size);
20304
15afbcd0 20305 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
20306 return resultobj;
20307 fail:
20308 return NULL;
20309}
20310
20311
c32bde28 20312static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20313 PyObject *resultobj = NULL;
d14a1e28
RD
20314 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
20315 wxRect *arg2 = (wxRect *) 0 ;
20316 PyObject * obj0 = 0 ;
20317 PyObject * obj1 = 0 ;
20318 char *kwnames[] = {
20319 (char *) "self",(char *) "m_rect", NULL
20320 };
20321
20322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0);
20324 if (SWIG_arg_fail(1)) SWIG_fail;
20325 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
20326 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
20327 if (arg1) (arg1)->m_rect = *arg2;
20328
20329 Py_INCREF(Py_None); resultobj = Py_None;
20330 return resultobj;
20331 fail:
20332 return NULL;
20333}
20334
20335
c32bde28 20336static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20337 PyObject *resultobj = NULL;
d14a1e28
RD
20338 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
20339 wxRect *result;
20340 PyObject * obj0 = 0 ;
20341 char *kwnames[] = {
20342 (char *) "self", NULL
20343 };
20344
20345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_rect_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
20346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0);
20347 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20348 result = (wxRect *)& ((arg1)->m_rect);
20349
15afbcd0 20350 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
20351 return resultobj;
20352 fail:
20353 return NULL;
20354}
20355
20356
c32bde28 20357static PyObject * SizeEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
20358 PyObject *obj;
20359 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20360 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent, obj);
20361 Py_INCREF(obj);
20362 return Py_BuildValue((char *)"");
20363}
c32bde28 20364static PyObject *_wrap_new_MoveEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20365 PyObject *resultobj = NULL;
d14a1e28
RD
20366 wxPoint const &arg1_defvalue = wxDefaultPosition ;
20367 wxPoint *arg1 = (wxPoint *) &arg1_defvalue ;
20368 int arg2 = (int) 0 ;
20369 wxMoveEvent *result;
20370 wxPoint temp1 ;
20371 PyObject * obj0 = 0 ;
994141e6 20372 PyObject * obj1 = 0 ;
d14a1e28
RD
20373 char *kwnames[] = {
20374 (char *) "pos",(char *) "winid", NULL
20375 };
20376
994141e6 20377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MoveEvent",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
20378 if (obj0) {
20379 {
20380 arg1 = &temp1;
20381 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
20382 }
20383 }
994141e6 20384 if (obj1) {
093d3ff1 20385 {
32fe5131 20386 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
20387 if (SWIG_arg_fail(2)) SWIG_fail;
20388 }
994141e6 20389 }
d14a1e28
RD
20390 {
20391 PyThreadState* __tstate = wxPyBeginAllowThreads();
20392 result = (wxMoveEvent *)new wxMoveEvent((wxPoint const &)*arg1,arg2);
20393
20394 wxPyEndAllowThreads(__tstate);
20395 if (PyErr_Occurred()) SWIG_fail;
20396 }
15afbcd0 20397 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMoveEvent, 1);
d14a1e28
RD
20398 return resultobj;
20399 fail:
20400 return NULL;
20401}
20402
20403
c32bde28 20404static PyObject *_wrap_MoveEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20405 PyObject *resultobj = NULL;
d14a1e28
RD
20406 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
20407 wxPoint result;
20408 PyObject * obj0 = 0 ;
20409 char *kwnames[] = {
20410 (char *) "self", NULL
20411 };
20412
20413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
20414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMoveEvent, SWIG_POINTER_EXCEPTION | 0);
20415 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20416 {
20417 PyThreadState* __tstate = wxPyBeginAllowThreads();
20418 result = ((wxMoveEvent const *)arg1)->GetPosition();
20419
20420 wxPyEndAllowThreads(__tstate);
20421 if (PyErr_Occurred()) SWIG_fail;
20422 }
20423 {
20424 wxPoint * resultptr;
32fe5131 20425 resultptr = new wxPoint(static_cast<wxPoint & >(result));
15afbcd0 20426 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
20427 }
20428 return resultobj;
20429 fail:
20430 return NULL;
20431}
20432
20433
c32bde28 20434static PyObject *_wrap_MoveEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20435 PyObject *resultobj = NULL;
d14a1e28
RD
20436 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
20437 wxRect result;
20438 PyObject * obj0 = 0 ;
20439 char *kwnames[] = {
20440 (char *) "self", NULL
20441 };
20442
20443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
20444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMoveEvent, SWIG_POINTER_EXCEPTION | 0);
20445 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20446 {
20447 PyThreadState* __tstate = wxPyBeginAllowThreads();
20448 result = ((wxMoveEvent const *)arg1)->GetRect();
20449
20450 wxPyEndAllowThreads(__tstate);
20451 if (PyErr_Occurred()) SWIG_fail;
20452 }
20453 {
20454 wxRect * resultptr;
32fe5131 20455 resultptr = new wxRect(static_cast<wxRect & >(result));
15afbcd0 20456 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
20457 }
20458 return resultobj;
20459 fail:
20460 return NULL;
20461}
20462
20463
c32bde28 20464static PyObject *_wrap_MoveEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20465 PyObject *resultobj = NULL;
d14a1e28 20466 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
7557b9b5
RD
20467 wxRect *arg2 = 0 ;
20468 wxRect temp2 ;
d14a1e28
RD
20469 PyObject * obj0 = 0 ;
20470 PyObject * obj1 = 0 ;
20471 char *kwnames[] = {
20472 (char *) "self",(char *) "rect", NULL
20473 };
20474
20475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMoveEvent, SWIG_POINTER_EXCEPTION | 0);
20477 if (SWIG_arg_fail(1)) SWIG_fail;
20478 {
7557b9b5
RD
20479 arg2 = &temp2;
20480 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
093d3ff1 20481 }
d14a1e28
RD
20482 {
20483 PyThreadState* __tstate = wxPyBeginAllowThreads();
7557b9b5 20484 (arg1)->SetRect((wxRect const &)*arg2);
d14a1e28
RD
20485
20486 wxPyEndAllowThreads(__tstate);
20487 if (PyErr_Occurred()) SWIG_fail;
20488 }
20489 Py_INCREF(Py_None); resultobj = Py_None;
20490 return resultobj;
20491 fail:
20492 return NULL;
20493}
20494
20495
c32bde28 20496static PyObject *_wrap_MoveEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20497 PyObject *resultobj = NULL;
d14a1e28 20498 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
7557b9b5
RD
20499 wxPoint *arg2 = 0 ;
20500 wxPoint temp2 ;
d14a1e28
RD
20501 PyObject * obj0 = 0 ;
20502 PyObject * obj1 = 0 ;
20503 char *kwnames[] = {
20504 (char *) "self",(char *) "pos", NULL
20505 };
20506
20507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMoveEvent, SWIG_POINTER_EXCEPTION | 0);
20509 if (SWIG_arg_fail(1)) SWIG_fail;
20510 {
7557b9b5
RD
20511 arg2 = &temp2;
20512 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
093d3ff1 20513 }
d14a1e28
RD
20514 {
20515 PyThreadState* __tstate = wxPyBeginAllowThreads();
7557b9b5 20516 (arg1)->SetPosition((wxPoint const &)*arg2);
d14a1e28
RD
20517
20518 wxPyEndAllowThreads(__tstate);
20519 if (PyErr_Occurred()) SWIG_fail;
20520 }
20521 Py_INCREF(Py_None); resultobj = Py_None;
20522 return resultobj;
20523 fail:
20524 return NULL;
20525}
20526
20527
c32bde28 20528static PyObject * MoveEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
20529 PyObject *obj;
20530 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20531 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent, obj);
20532 Py_INCREF(obj);
20533 return Py_BuildValue((char *)"");
20534}
c32bde28 20535static PyObject *_wrap_new_PaintEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20536 PyObject *resultobj = NULL;
d14a1e28
RD
20537 int arg1 = (int) 0 ;
20538 wxPaintEvent *result;
994141e6 20539 PyObject * obj0 = 0 ;
d14a1e28
RD
20540 char *kwnames[] = {
20541 (char *) "Id", NULL
20542 };
20543
994141e6
RD
20544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaintEvent",kwnames,&obj0)) goto fail;
20545 if (obj0) {
093d3ff1 20546 {
32fe5131 20547 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
20548 if (SWIG_arg_fail(1)) SWIG_fail;
20549 }
994141e6 20550 }
d14a1e28
RD
20551 {
20552 PyThreadState* __tstate = wxPyBeginAllowThreads();
20553 result = (wxPaintEvent *)new wxPaintEvent(arg1);
20554
20555 wxPyEndAllowThreads(__tstate);
20556 if (PyErr_Occurred()) SWIG_fail;
20557 }
15afbcd0 20558 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaintEvent, 1);
d14a1e28
RD
20559 return resultobj;
20560 fail:
20561 return NULL;
20562}
20563
20564
c32bde28 20565static PyObject * PaintEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
20566 PyObject *obj;
20567 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20568 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent, obj);
20569 Py_INCREF(obj);
20570 return Py_BuildValue((char *)"");
20571}
c32bde28 20572static PyObject *_wrap_new_NcPaintEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20573 PyObject *resultobj = NULL;
d14a1e28
RD
20574 int arg1 = (int) 0 ;
20575 wxNcPaintEvent *result;
994141e6 20576 PyObject * obj0 = 0 ;
d14a1e28
RD
20577 char *kwnames[] = {
20578 (char *) "winid", NULL
20579 };
20580
994141e6
RD
20581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_NcPaintEvent",kwnames,&obj0)) goto fail;
20582 if (obj0) {
093d3ff1 20583 {
32fe5131 20584 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
20585 if (SWIG_arg_fail(1)) SWIG_fail;
20586 }
994141e6 20587 }
d14a1e28
RD
20588 {
20589 PyThreadState* __tstate = wxPyBeginAllowThreads();
20590 result = (wxNcPaintEvent *)new wxNcPaintEvent(arg1);
20591
20592 wxPyEndAllowThreads(__tstate);
20593 if (PyErr_Occurred()) SWIG_fail;
20594 }
15afbcd0 20595 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNcPaintEvent, 1);
d14a1e28
RD
20596 return resultobj;
20597 fail:
20598 return NULL;
20599}
20600
20601
c32bde28 20602static PyObject * NcPaintEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
20603 PyObject *obj;
20604 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20605 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent, obj);
20606 Py_INCREF(obj);
20607 return Py_BuildValue((char *)"");
20608}
c32bde28 20609static PyObject *_wrap_new_EraseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20610 PyObject *resultobj = NULL;
d14a1e28 20611 int arg1 = (int) 0 ;
5ba5649b 20612 wxDC *arg2 = (wxDC *) NULL ;
d14a1e28 20613 wxEraseEvent *result;
994141e6 20614 PyObject * obj0 = 0 ;
d14a1e28
RD
20615 PyObject * obj1 = 0 ;
20616 char *kwnames[] = {
20617 (char *) "Id",(char *) "dc", NULL
20618 };
20619
994141e6
RD
20620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_EraseEvent",kwnames,&obj0,&obj1)) goto fail;
20621 if (obj0) {
093d3ff1 20622 {
32fe5131 20623 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
20624 if (SWIG_arg_fail(1)) SWIG_fail;
20625 }
994141e6 20626 }
d14a1e28 20627 if (obj1) {
093d3ff1
RD
20628 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
20629 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
20630 }
20631 {
20632 PyThreadState* __tstate = wxPyBeginAllowThreads();
20633 result = (wxEraseEvent *)new wxEraseEvent(arg1,arg2);
20634
20635 wxPyEndAllowThreads(__tstate);
20636 if (PyErr_Occurred()) SWIG_fail;
20637 }
15afbcd0 20638 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEraseEvent, 1);
d14a1e28
RD
20639 return resultobj;
20640 fail:
20641 return NULL;
20642}
20643
20644
c32bde28 20645static PyObject *_wrap_EraseEvent_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20646 PyObject *resultobj = NULL;
d14a1e28
RD
20647 wxEraseEvent *arg1 = (wxEraseEvent *) 0 ;
20648 wxDC *result;
20649 PyObject * obj0 = 0 ;
20650 char *kwnames[] = {
20651 (char *) "self", NULL
20652 };
20653
20654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EraseEvent_GetDC",kwnames,&obj0)) goto fail;
093d3ff1
RD
20655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEraseEvent, SWIG_POINTER_EXCEPTION | 0);
20656 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20657 {
20658 PyThreadState* __tstate = wxPyBeginAllowThreads();
20659 result = (wxDC *)((wxEraseEvent const *)arg1)->GetDC();
20660
20661 wxPyEndAllowThreads(__tstate);
20662 if (PyErr_Occurred()) SWIG_fail;
20663 }
20664 {
7e08d4ef 20665 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
20666 }
20667 return resultobj;
20668 fail:
20669 return NULL;
20670}
20671
20672
c32bde28 20673static PyObject * EraseEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
20674 PyObject *obj;
20675 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20676 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent, obj);
20677 Py_INCREF(obj);
20678 return Py_BuildValue((char *)"");
20679}
c32bde28 20680static PyObject *_wrap_new_FocusEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20681 PyObject *resultobj = NULL;
d14a1e28
RD
20682 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20683 int arg2 = (int) 0 ;
20684 wxFocusEvent *result;
994141e6
RD
20685 PyObject * obj0 = 0 ;
20686 PyObject * obj1 = 0 ;
d14a1e28
RD
20687 char *kwnames[] = {
20688 (char *) "type",(char *) "winid", NULL
20689 };
20690
994141e6
RD
20691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FocusEvent",kwnames,&obj0,&obj1)) goto fail;
20692 if (obj0) {
093d3ff1 20693 {
32fe5131 20694 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
20695 if (SWIG_arg_fail(1)) SWIG_fail;
20696 }
994141e6
RD
20697 }
20698 if (obj1) {
093d3ff1 20699 {
32fe5131 20700 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
20701 if (SWIG_arg_fail(2)) SWIG_fail;
20702 }
994141e6 20703 }
d14a1e28
RD
20704 {
20705 PyThreadState* __tstate = wxPyBeginAllowThreads();
20706 result = (wxFocusEvent *)new wxFocusEvent(arg1,arg2);
20707
20708 wxPyEndAllowThreads(__tstate);
20709 if (PyErr_Occurred()) SWIG_fail;
20710 }
15afbcd0 20711 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFocusEvent, 1);
d14a1e28
RD
20712 return resultobj;
20713 fail:
20714 return NULL;
20715}
20716
20717
c32bde28 20718static PyObject *_wrap_FocusEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20719 PyObject *resultobj = NULL;
d14a1e28
RD
20720 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
20721 wxWindow *result;
20722 PyObject * obj0 = 0 ;
20723 char *kwnames[] = {
20724 (char *) "self", NULL
20725 };
20726
20727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FocusEvent_GetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
20728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFocusEvent, SWIG_POINTER_EXCEPTION | 0);
20729 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20730 {
20731 PyThreadState* __tstate = wxPyBeginAllowThreads();
20732 result = (wxWindow *)((wxFocusEvent const *)arg1)->GetWindow();
20733
20734 wxPyEndAllowThreads(__tstate);
20735 if (PyErr_Occurred()) SWIG_fail;
20736 }
20737 {
7e08d4ef 20738 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
20739 }
20740 return resultobj;
20741 fail:
20742 return NULL;
20743}
20744
20745
c32bde28 20746static PyObject *_wrap_FocusEvent_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20747 PyObject *resultobj = NULL;
d14a1e28
RD
20748 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
20749 wxWindow *arg2 = (wxWindow *) 0 ;
20750 PyObject * obj0 = 0 ;
20751 PyObject * obj1 = 0 ;
20752 char *kwnames[] = {
20753 (char *) "self",(char *) "win", NULL
20754 };
20755
20756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FocusEvent_SetWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFocusEvent, SWIG_POINTER_EXCEPTION | 0);
20758 if (SWIG_arg_fail(1)) SWIG_fail;
20759 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20760 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
20761 {
20762 PyThreadState* __tstate = wxPyBeginAllowThreads();
20763 (arg1)->SetWindow(arg2);
20764
20765 wxPyEndAllowThreads(__tstate);
20766 if (PyErr_Occurred()) SWIG_fail;
20767 }
20768 Py_INCREF(Py_None); resultobj = Py_None;
20769 return resultobj;
20770 fail:
20771 return NULL;
20772}
20773
20774
c32bde28 20775static PyObject * FocusEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
20776 PyObject *obj;
20777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20778 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent, obj);
20779 Py_INCREF(obj);
20780 return Py_BuildValue((char *)"");
20781}
c32bde28 20782static PyObject *_wrap_new_ChildFocusEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20783 PyObject *resultobj = NULL;
d14a1e28
RD
20784 wxWindow *arg1 = (wxWindow *) NULL ;
20785 wxChildFocusEvent *result;
20786 PyObject * obj0 = 0 ;
20787 char *kwnames[] = {
20788 (char *) "win", NULL
20789 };
20790
20791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ChildFocusEvent",kwnames,&obj0)) goto fail;
20792 if (obj0) {
093d3ff1
RD
20793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20794 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20795 }
20796 {
20797 PyThreadState* __tstate = wxPyBeginAllowThreads();
20798 result = (wxChildFocusEvent *)new wxChildFocusEvent(arg1);
20799
20800 wxPyEndAllowThreads(__tstate);
20801 if (PyErr_Occurred()) SWIG_fail;
20802 }
15afbcd0 20803 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChildFocusEvent, 1);
d14a1e28
RD
20804 return resultobj;
20805 fail:
20806 return NULL;
20807}
20808
20809
c32bde28 20810static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20811 PyObject *resultobj = NULL;
d14a1e28
RD
20812 wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ;
20813 wxWindow *result;
20814 PyObject * obj0 = 0 ;
20815 char *kwnames[] = {
20816 (char *) "self", NULL
20817 };
20818
20819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ChildFocusEvent_GetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
20820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChildFocusEvent, SWIG_POINTER_EXCEPTION | 0);
20821 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20822 {
20823 PyThreadState* __tstate = wxPyBeginAllowThreads();
20824 result = (wxWindow *)((wxChildFocusEvent const *)arg1)->GetWindow();
20825
20826 wxPyEndAllowThreads(__tstate);
20827 if (PyErr_Occurred()) SWIG_fail;
20828 }
20829 {
7e08d4ef 20830 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
20831 }
20832 return resultobj;
20833 fail:
20834 return NULL;
20835}
20836
20837
c32bde28 20838static PyObject * ChildFocusEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
20839 PyObject *obj;
20840 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20841 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent, obj);
20842 Py_INCREF(obj);
20843 return Py_BuildValue((char *)"");
20844}
c32bde28 20845static PyObject *_wrap_new_ActivateEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20846 PyObject *resultobj = NULL;
d14a1e28 20847 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
ae8162c8 20848 bool arg2 = (bool) true ;
d14a1e28
RD
20849 int arg3 = (int) 0 ;
20850 wxActivateEvent *result;
994141e6 20851 PyObject * obj0 = 0 ;
d14a1e28 20852 PyObject * obj1 = 0 ;
994141e6 20853 PyObject * obj2 = 0 ;
d14a1e28
RD
20854 char *kwnames[] = {
20855 (char *) "type",(char *) "active",(char *) "Id", NULL
20856 };
20857
994141e6
RD
20858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ActivateEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
20859 if (obj0) {
093d3ff1 20860 {
32fe5131 20861 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
20862 if (SWIG_arg_fail(1)) SWIG_fail;
20863 }
994141e6 20864 }
d14a1e28 20865 if (obj1) {
093d3ff1 20866 {
32fe5131 20867 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
20868 if (SWIG_arg_fail(2)) SWIG_fail;
20869 }
994141e6
RD
20870 }
20871 if (obj2) {
093d3ff1 20872 {
32fe5131 20873 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
20874 if (SWIG_arg_fail(3)) SWIG_fail;
20875 }
d14a1e28
RD
20876 }
20877 {
20878 PyThreadState* __tstate = wxPyBeginAllowThreads();
20879 result = (wxActivateEvent *)new wxActivateEvent(arg1,arg2,arg3);
20880
20881 wxPyEndAllowThreads(__tstate);
20882 if (PyErr_Occurred()) SWIG_fail;
20883 }
15afbcd0 20884 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxActivateEvent, 1);
d14a1e28
RD
20885 return resultobj;
20886 fail:
20887 return NULL;
20888}
20889
20890
c32bde28 20891static PyObject *_wrap_ActivateEvent_GetActive(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20892 PyObject *resultobj = NULL;
d14a1e28
RD
20893 wxActivateEvent *arg1 = (wxActivateEvent *) 0 ;
20894 bool result;
20895 PyObject * obj0 = 0 ;
20896 char *kwnames[] = {
20897 (char *) "self", NULL
20898 };
20899
20900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ActivateEvent_GetActive",kwnames,&obj0)) goto fail;
093d3ff1
RD
20901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxActivateEvent, SWIG_POINTER_EXCEPTION | 0);
20902 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20903 {
20904 PyThreadState* __tstate = wxPyBeginAllowThreads();
20905 result = (bool)((wxActivateEvent const *)arg1)->GetActive();
20906
20907 wxPyEndAllowThreads(__tstate);
20908 if (PyErr_Occurred()) SWIG_fail;
20909 }
4f89f6a3
RD
20910 {
20911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20912 }
d14a1e28
RD
20913 return resultobj;
20914 fail:
20915 return NULL;
20916}
20917
20918
c32bde28 20919static PyObject * ActivateEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
20920 PyObject *obj;
20921 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20922 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent, obj);
20923 Py_INCREF(obj);
20924 return Py_BuildValue((char *)"");
20925}
c32bde28 20926static PyObject *_wrap_new_InitDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20927 PyObject *resultobj = NULL;
d14a1e28
RD
20928 int arg1 = (int) 0 ;
20929 wxInitDialogEvent *result;
994141e6 20930 PyObject * obj0 = 0 ;
d14a1e28
RD
20931 char *kwnames[] = {
20932 (char *) "Id", NULL
20933 };
20934
994141e6
RD
20935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_InitDialogEvent",kwnames,&obj0)) goto fail;
20936 if (obj0) {
093d3ff1 20937 {
32fe5131 20938 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
20939 if (SWIG_arg_fail(1)) SWIG_fail;
20940 }
994141e6 20941 }
d14a1e28
RD
20942 {
20943 PyThreadState* __tstate = wxPyBeginAllowThreads();
20944 result = (wxInitDialogEvent *)new wxInitDialogEvent(arg1);
20945
20946 wxPyEndAllowThreads(__tstate);
20947 if (PyErr_Occurred()) SWIG_fail;
20948 }
15afbcd0 20949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInitDialogEvent, 1);
d14a1e28
RD
20950 return resultobj;
20951 fail:
20952 return NULL;
20953}
20954
20955
c32bde28 20956static PyObject * InitDialogEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
20957 PyObject *obj;
20958 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20959 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent, obj);
20960 Py_INCREF(obj);
20961 return Py_BuildValue((char *)"");
20962}
c32bde28 20963static PyObject *_wrap_new_MenuEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20964 PyObject *resultobj = NULL;
d14a1e28
RD
20965 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20966 int arg2 = (int) 0 ;
20967 wxMenu *arg3 = (wxMenu *) NULL ;
20968 wxMenuEvent *result;
994141e6
RD
20969 PyObject * obj0 = 0 ;
20970 PyObject * obj1 = 0 ;
d14a1e28
RD
20971 PyObject * obj2 = 0 ;
20972 char *kwnames[] = {
20973 (char *) "type",(char *) "winid",(char *) "menu", NULL
20974 };
20975
994141e6
RD
20976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_MenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
20977 if (obj0) {
093d3ff1 20978 {
32fe5131 20979 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
20980 if (SWIG_arg_fail(1)) SWIG_fail;
20981 }
994141e6
RD
20982 }
20983 if (obj1) {
093d3ff1 20984 {
32fe5131 20985 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
20986 if (SWIG_arg_fail(2)) SWIG_fail;
20987 }
994141e6 20988 }
d14a1e28 20989 if (obj2) {
093d3ff1
RD
20990 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
20991 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
20992 }
20993 {
20994 PyThreadState* __tstate = wxPyBeginAllowThreads();
20995 result = (wxMenuEvent *)new wxMenuEvent(arg1,arg2,arg3);
20996
20997 wxPyEndAllowThreads(__tstate);
20998 if (PyErr_Occurred()) SWIG_fail;
20999 }
15afbcd0 21000 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenuEvent, 1);
d14a1e28
RD
21001 return resultobj;
21002 fail:
21003 return NULL;
21004}
21005
21006
c32bde28 21007static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21008 PyObject *resultobj = NULL;
d14a1e28
RD
21009 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
21010 int result;
21011 PyObject * obj0 = 0 ;
21012 char *kwnames[] = {
21013 (char *) "self", NULL
21014 };
21015
21016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenuId",kwnames,&obj0)) goto fail;
093d3ff1
RD
21017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuEvent, SWIG_POINTER_EXCEPTION | 0);
21018 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21019 {
21020 PyThreadState* __tstate = wxPyBeginAllowThreads();
21021 result = (int)((wxMenuEvent const *)arg1)->GetMenuId();
21022
21023 wxPyEndAllowThreads(__tstate);
21024 if (PyErr_Occurred()) SWIG_fail;
21025 }
093d3ff1 21026 {
32fe5131 21027 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 21028 }
d14a1e28
RD
21029 return resultobj;
21030 fail:
21031 return NULL;
21032}
21033
21034
c32bde28 21035static PyObject *_wrap_MenuEvent_IsPopup(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21036 PyObject *resultobj = NULL;
d14a1e28
RD
21037 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
21038 bool result;
21039 PyObject * obj0 = 0 ;
21040 char *kwnames[] = {
21041 (char *) "self", NULL
21042 };
21043
21044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_IsPopup",kwnames,&obj0)) goto fail;
093d3ff1
RD
21045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuEvent, SWIG_POINTER_EXCEPTION | 0);
21046 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21047 {
21048 PyThreadState* __tstate = wxPyBeginAllowThreads();
21049 result = (bool)((wxMenuEvent const *)arg1)->IsPopup();
21050
21051 wxPyEndAllowThreads(__tstate);
21052 if (PyErr_Occurred()) SWIG_fail;
21053 }
4f89f6a3
RD
21054 {
21055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21056 }
d14a1e28
RD
21057 return resultobj;
21058 fail:
21059 return NULL;
21060}
21061
21062
c32bde28 21063static PyObject *_wrap_MenuEvent_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21064 PyObject *resultobj = NULL;
d14a1e28
RD
21065 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
21066 wxMenu *result;
21067 PyObject * obj0 = 0 ;
21068 char *kwnames[] = {
21069 (char *) "self", NULL
21070 };
21071
21072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenu",kwnames,&obj0)) goto fail;
093d3ff1
RD
21073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuEvent, SWIG_POINTER_EXCEPTION | 0);
21074 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21075 {
21076 PyThreadState* __tstate = wxPyBeginAllowThreads();
21077 result = (wxMenu *)((wxMenuEvent const *)arg1)->GetMenu();
21078
21079 wxPyEndAllowThreads(__tstate);
21080 if (PyErr_Occurred()) SWIG_fail;
21081 }
21082 {
7e08d4ef 21083 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
21084 }
21085 return resultobj;
21086 fail:
21087 return NULL;
21088}
21089
21090
c32bde28 21091static PyObject * MenuEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
21092 PyObject *obj;
21093 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21094 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent, obj);
21095 Py_INCREF(obj);
21096 return Py_BuildValue((char *)"");
21097}
c32bde28 21098static PyObject *_wrap_new_CloseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21099 PyObject *resultobj = NULL;
d14a1e28
RD
21100 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21101 int arg2 = (int) 0 ;
21102 wxCloseEvent *result;
994141e6
RD
21103 PyObject * obj0 = 0 ;
21104 PyObject * obj1 = 0 ;
d14a1e28
RD
21105 char *kwnames[] = {
21106 (char *) "type",(char *) "winid", NULL
21107 };
21108
994141e6
RD
21109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CloseEvent",kwnames,&obj0,&obj1)) goto fail;
21110 if (obj0) {
093d3ff1 21111 {
32fe5131 21112 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
21113 if (SWIG_arg_fail(1)) SWIG_fail;
21114 }
994141e6
RD
21115 }
21116 if (obj1) {
093d3ff1 21117 {
32fe5131 21118 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21119 if (SWIG_arg_fail(2)) SWIG_fail;
21120 }
994141e6 21121 }
d14a1e28
RD
21122 {
21123 PyThreadState* __tstate = wxPyBeginAllowThreads();
21124 result = (wxCloseEvent *)new wxCloseEvent(arg1,arg2);
21125
21126 wxPyEndAllowThreads(__tstate);
21127 if (PyErr_Occurred()) SWIG_fail;
21128 }
15afbcd0 21129 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCloseEvent, 1);
d14a1e28
RD
21130 return resultobj;
21131 fail:
21132 return NULL;
21133}
21134
21135
c32bde28 21136static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21137 PyObject *resultobj = NULL;
d14a1e28
RD
21138 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
21139 bool arg2 ;
21140 PyObject * obj0 = 0 ;
21141 PyObject * obj1 = 0 ;
21142 char *kwnames[] = {
21143 (char *) "self",(char *) "logOff", NULL
21144 };
21145
21146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetLoggingOff",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0);
21148 if (SWIG_arg_fail(1)) SWIG_fail;
21149 {
32fe5131 21150 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
21151 if (SWIG_arg_fail(2)) SWIG_fail;
21152 }
d14a1e28
RD
21153 {
21154 PyThreadState* __tstate = wxPyBeginAllowThreads();
21155 (arg1)->SetLoggingOff(arg2);
21156
21157 wxPyEndAllowThreads(__tstate);
21158 if (PyErr_Occurred()) SWIG_fail;
21159 }
21160 Py_INCREF(Py_None); resultobj = Py_None;
21161 return resultobj;
21162 fail:
21163 return NULL;
21164}
21165
21166
c32bde28 21167static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21168 PyObject *resultobj = NULL;
d14a1e28
RD
21169 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
21170 bool result;
21171 PyObject * obj0 = 0 ;
21172 char *kwnames[] = {
21173 (char *) "self", NULL
21174 };
21175
21176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetLoggingOff",kwnames,&obj0)) goto fail;
093d3ff1
RD
21177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0);
21178 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21179 {
21180 PyThreadState* __tstate = wxPyBeginAllowThreads();
21181 result = (bool)((wxCloseEvent const *)arg1)->GetLoggingOff();
21182
21183 wxPyEndAllowThreads(__tstate);
21184 if (PyErr_Occurred()) SWIG_fail;
21185 }
4f89f6a3
RD
21186 {
21187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21188 }
d14a1e28
RD
21189 return resultobj;
21190 fail:
21191 return NULL;
21192}
21193
21194
c32bde28 21195static PyObject *_wrap_CloseEvent_Veto(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21196 PyObject *resultobj = NULL;
d14a1e28 21197 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
ae8162c8 21198 bool arg2 = (bool) true ;
d14a1e28
RD
21199 PyObject * obj0 = 0 ;
21200 PyObject * obj1 = 0 ;
21201 char *kwnames[] = {
21202 (char *) "self",(char *) "veto", NULL
21203 };
21204
21205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CloseEvent_Veto",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0);
21207 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 21208 if (obj1) {
093d3ff1 21209 {
32fe5131 21210 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
21211 if (SWIG_arg_fail(2)) SWIG_fail;
21212 }
d14a1e28
RD
21213 }
21214 {
21215 PyThreadState* __tstate = wxPyBeginAllowThreads();
21216 (arg1)->Veto(arg2);
21217
21218 wxPyEndAllowThreads(__tstate);
21219 if (PyErr_Occurred()) SWIG_fail;
21220 }
21221 Py_INCREF(Py_None); resultobj = Py_None;
21222 return resultobj;
21223 fail:
21224 return NULL;
21225}
21226
21227
5ba5649b 21228static PyObject *_wrap_CloseEvent_GetVeto(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21229 PyObject *resultobj = NULL;
d14a1e28 21230 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
5ba5649b 21231 bool result;
d14a1e28 21232 PyObject * obj0 = 0 ;
d14a1e28 21233 char *kwnames[] = {
5ba5649b 21234 (char *) "self", NULL
d14a1e28
RD
21235 };
21236
5ba5649b 21237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
093d3ff1
RD
21238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0);
21239 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21240 {
21241 PyThreadState* __tstate = wxPyBeginAllowThreads();
5ba5649b 21242 result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
d14a1e28
RD
21243
21244 wxPyEndAllowThreads(__tstate);
21245 if (PyErr_Occurred()) SWIG_fail;
21246 }
5ba5649b
RD
21247 {
21248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21249 }
d14a1e28
RD
21250 return resultobj;
21251 fail:
21252 return NULL;
21253}
21254
21255
5ba5649b 21256static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21257 PyObject *resultobj = NULL;
d14a1e28 21258 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
5ba5649b 21259 bool arg2 ;
d14a1e28 21260 PyObject * obj0 = 0 ;
5ba5649b 21261 PyObject * obj1 = 0 ;
d14a1e28 21262 char *kwnames[] = {
5ba5649b 21263 (char *) "self",(char *) "canVeto", NULL
d14a1e28
RD
21264 };
21265
5ba5649b 21266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0);
21268 if (SWIG_arg_fail(1)) SWIG_fail;
5ba5649b 21269 {
32fe5131 21270 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
5ba5649b
RD
21271 if (SWIG_arg_fail(2)) SWIG_fail;
21272 }
d14a1e28
RD
21273 {
21274 PyThreadState* __tstate = wxPyBeginAllowThreads();
5ba5649b 21275 (arg1)->SetCanVeto(arg2);
d14a1e28
RD
21276
21277 wxPyEndAllowThreads(__tstate);
21278 if (PyErr_Occurred()) SWIG_fail;
21279 }
5ba5649b 21280 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
21281 return resultobj;
21282 fail:
21283 return NULL;
21284}
21285
21286
5ba5649b 21287static PyObject *_wrap_CloseEvent_CanVeto(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21288 PyObject *resultobj = NULL;
d14a1e28
RD
21289 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
21290 bool result;
21291 PyObject * obj0 = 0 ;
21292 char *kwnames[] = {
21293 (char *) "self", NULL
21294 };
21295
5ba5649b 21296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_CanVeto",kwnames,&obj0)) goto fail;
093d3ff1
RD
21297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0);
21298 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21299 {
21300 PyThreadState* __tstate = wxPyBeginAllowThreads();
5ba5649b 21301 result = (bool)((wxCloseEvent const *)arg1)->CanVeto();
d14a1e28
RD
21302
21303 wxPyEndAllowThreads(__tstate);
21304 if (PyErr_Occurred()) SWIG_fail;
21305 }
4f89f6a3
RD
21306 {
21307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21308 }
d14a1e28
RD
21309 return resultobj;
21310 fail:
21311 return NULL;
21312}
21313
21314
c32bde28 21315static PyObject * CloseEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
21316 PyObject *obj;
21317 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21318 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent, obj);
21319 Py_INCREF(obj);
21320 return Py_BuildValue((char *)"");
21321}
c32bde28 21322static PyObject *_wrap_new_ShowEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21323 PyObject *resultobj = NULL;
d14a1e28 21324 int arg1 = (int) 0 ;
ae8162c8 21325 bool arg2 = (bool) false ;
d14a1e28 21326 wxShowEvent *result;
994141e6 21327 PyObject * obj0 = 0 ;
d14a1e28
RD
21328 PyObject * obj1 = 0 ;
21329 char *kwnames[] = {
21330 (char *) "winid",(char *) "show", NULL
21331 };
21332
994141e6
RD
21333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ShowEvent",kwnames,&obj0,&obj1)) goto fail;
21334 if (obj0) {
093d3ff1 21335 {
32fe5131 21336 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
21337 if (SWIG_arg_fail(1)) SWIG_fail;
21338 }
994141e6 21339 }
d14a1e28 21340 if (obj1) {
093d3ff1 21341 {
32fe5131 21342 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
21343 if (SWIG_arg_fail(2)) SWIG_fail;
21344 }
d14a1e28
RD
21345 }
21346 {
21347 PyThreadState* __tstate = wxPyBeginAllowThreads();
21348 result = (wxShowEvent *)new wxShowEvent(arg1,arg2);
21349
21350 wxPyEndAllowThreads(__tstate);
21351 if (PyErr_Occurred()) SWIG_fail;
21352 }
15afbcd0 21353 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxShowEvent, 1);
d14a1e28
RD
21354 return resultobj;
21355 fail:
21356 return NULL;
21357}
21358
21359
c32bde28 21360static PyObject *_wrap_ShowEvent_SetShow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21361 PyObject *resultobj = NULL;
d14a1e28
RD
21362 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
21363 bool arg2 ;
21364 PyObject * obj0 = 0 ;
21365 PyObject * obj1 = 0 ;
21366 char *kwnames[] = {
21367 (char *) "self",(char *) "show", NULL
21368 };
21369
21370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShowEvent_SetShow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShowEvent, SWIG_POINTER_EXCEPTION | 0);
21372 if (SWIG_arg_fail(1)) SWIG_fail;
21373 {
32fe5131 21374 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
21375 if (SWIG_arg_fail(2)) SWIG_fail;
21376 }
d14a1e28
RD
21377 {
21378 PyThreadState* __tstate = wxPyBeginAllowThreads();
21379 (arg1)->SetShow(arg2);
21380
21381 wxPyEndAllowThreads(__tstate);
21382 if (PyErr_Occurred()) SWIG_fail;
21383 }
21384 Py_INCREF(Py_None); resultobj = Py_None;
21385 return resultobj;
21386 fail:
21387 return NULL;
21388}
21389
21390
c32bde28 21391static PyObject *_wrap_ShowEvent_GetShow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21392 PyObject *resultobj = NULL;
d14a1e28
RD
21393 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
21394 bool result;
21395 PyObject * obj0 = 0 ;
21396 char *kwnames[] = {
21397 (char *) "self", NULL
21398 };
21399
21400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShowEvent_GetShow",kwnames,&obj0)) goto fail;
093d3ff1
RD
21401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShowEvent, SWIG_POINTER_EXCEPTION | 0);
21402 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21403 {
21404 PyThreadState* __tstate = wxPyBeginAllowThreads();
21405 result = (bool)((wxShowEvent const *)arg1)->GetShow();
21406
21407 wxPyEndAllowThreads(__tstate);
21408 if (PyErr_Occurred()) SWIG_fail;
21409 }
4f89f6a3
RD
21410 {
21411 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21412 }
d14a1e28
RD
21413 return resultobj;
21414 fail:
21415 return NULL;
21416}
21417
21418
c32bde28 21419static PyObject * ShowEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
21420 PyObject *obj;
21421 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21422 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent, obj);
21423 Py_INCREF(obj);
21424 return Py_BuildValue((char *)"");
21425}
c32bde28 21426static PyObject *_wrap_new_IconizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21427 PyObject *resultobj = NULL;
d14a1e28 21428 int arg1 = (int) 0 ;
ae8162c8 21429 bool arg2 = (bool) true ;
d14a1e28 21430 wxIconizeEvent *result;
994141e6 21431 PyObject * obj0 = 0 ;
d14a1e28
RD
21432 PyObject * obj1 = 0 ;
21433 char *kwnames[] = {
21434 (char *) "id",(char *) "iconized", NULL
21435 };
21436
994141e6
RD
21437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconizeEvent",kwnames,&obj0,&obj1)) goto fail;
21438 if (obj0) {
093d3ff1 21439 {
32fe5131 21440 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
21441 if (SWIG_arg_fail(1)) SWIG_fail;
21442 }
994141e6 21443 }
d14a1e28 21444 if (obj1) {
093d3ff1 21445 {
32fe5131 21446 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
21447 if (SWIG_arg_fail(2)) SWIG_fail;
21448 }
d14a1e28
RD
21449 }
21450 {
21451 PyThreadState* __tstate = wxPyBeginAllowThreads();
21452 result = (wxIconizeEvent *)new wxIconizeEvent(arg1,arg2);
21453
21454 wxPyEndAllowThreads(__tstate);
21455 if (PyErr_Occurred()) SWIG_fail;
21456 }
15afbcd0 21457 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconizeEvent, 1);
d14a1e28
RD
21458 return resultobj;
21459 fail:
21460 return NULL;
21461}
21462
21463
c32bde28 21464static PyObject *_wrap_IconizeEvent_Iconized(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21465 PyObject *resultobj = NULL;
d14a1e28
RD
21466 wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ;
21467 bool result;
21468 PyObject * obj0 = 0 ;
21469 char *kwnames[] = {
21470 (char *) "self", NULL
21471 };
21472
21473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconizeEvent_Iconized",kwnames,&obj0)) goto fail;
093d3ff1
RD
21474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIconizeEvent, SWIG_POINTER_EXCEPTION | 0);
21475 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21476 {
21477 PyThreadState* __tstate = wxPyBeginAllowThreads();
21478 result = (bool)(arg1)->Iconized();
21479
21480 wxPyEndAllowThreads(__tstate);
21481 if (PyErr_Occurred()) SWIG_fail;
21482 }
4f89f6a3
RD
21483 {
21484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21485 }
d14a1e28
RD
21486 return resultobj;
21487 fail:
21488 return NULL;
21489}
21490
21491
c32bde28 21492static PyObject * IconizeEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
21493 PyObject *obj;
21494 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21495 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent, obj);
21496 Py_INCREF(obj);
21497 return Py_BuildValue((char *)"");
21498}
c32bde28 21499static PyObject *_wrap_new_MaximizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21500 PyObject *resultobj = NULL;
d14a1e28
RD
21501 int arg1 = (int) 0 ;
21502 wxMaximizeEvent *result;
994141e6 21503 PyObject * obj0 = 0 ;
d14a1e28
RD
21504 char *kwnames[] = {
21505 (char *) "id", NULL
21506 };
21507
994141e6
RD
21508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MaximizeEvent",kwnames,&obj0)) goto fail;
21509 if (obj0) {
093d3ff1 21510 {
32fe5131 21511 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
21512 if (SWIG_arg_fail(1)) SWIG_fail;
21513 }
994141e6 21514 }
d14a1e28
RD
21515 {
21516 PyThreadState* __tstate = wxPyBeginAllowThreads();
21517 result = (wxMaximizeEvent *)new wxMaximizeEvent(arg1);
21518
21519 wxPyEndAllowThreads(__tstate);
21520 if (PyErr_Occurred()) SWIG_fail;
21521 }
15afbcd0 21522 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMaximizeEvent, 1);
d14a1e28
RD
21523 return resultobj;
21524 fail:
21525 return NULL;
21526}
21527
21528
c32bde28 21529static PyObject * MaximizeEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
21530 PyObject *obj;
21531 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21532 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent, obj);
21533 Py_INCREF(obj);
21534 return Py_BuildValue((char *)"");
21535}
c32bde28 21536static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21537 PyObject *resultobj = NULL;
d14a1e28
RD
21538 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
21539 wxPoint result;
21540 PyObject * obj0 = 0 ;
21541 char *kwnames[] = {
21542 (char *) "self", NULL
21543 };
21544
21545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
21546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDropFilesEvent, SWIG_POINTER_EXCEPTION | 0);
21547 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21548 {
21549 PyThreadState* __tstate = wxPyBeginAllowThreads();
21550 result = (arg1)->GetPosition();
21551
21552 wxPyEndAllowThreads(__tstate);
21553 if (PyErr_Occurred()) SWIG_fail;
21554 }
21555 {
21556 wxPoint * resultptr;
32fe5131 21557 resultptr = new wxPoint(static_cast<wxPoint & >(result));
15afbcd0 21558 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
21559 }
21560 return resultobj;
21561 fail:
21562 return NULL;
21563}
21564
21565
c32bde28 21566static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21567 PyObject *resultobj = NULL;
d14a1e28
RD
21568 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
21569 int result;
21570 PyObject * obj0 = 0 ;
21571 char *kwnames[] = {
21572 (char *) "self", NULL
21573 };
21574
21575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames,&obj0)) goto fail;
093d3ff1
RD
21576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDropFilesEvent, SWIG_POINTER_EXCEPTION | 0);
21577 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21578 {
21579 PyThreadState* __tstate = wxPyBeginAllowThreads();
21580 result = (int)(arg1)->GetNumberOfFiles();
21581
21582 wxPyEndAllowThreads(__tstate);
21583 if (PyErr_Occurred()) SWIG_fail;
21584 }
093d3ff1 21585 {
32fe5131 21586 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 21587 }
d14a1e28
RD
21588 return resultobj;
21589 fail:
21590 return NULL;
21591}
21592
21593
c32bde28 21594static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21595 PyObject *resultobj = NULL;
d14a1e28
RD
21596 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
21597 PyObject *result;
21598 PyObject * obj0 = 0 ;
21599 char *kwnames[] = {
21600 (char *) "self", NULL
21601 };
21602
21603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetFiles",kwnames,&obj0)) goto fail;
093d3ff1
RD
21604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDropFilesEvent, SWIG_POINTER_EXCEPTION | 0);
21605 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21606 {
21607 PyThreadState* __tstate = wxPyBeginAllowThreads();
21608 result = (PyObject *)wxDropFilesEvent_GetFiles(arg1);
21609
21610 wxPyEndAllowThreads(__tstate);
21611 if (PyErr_Occurred()) SWIG_fail;
21612 }
21613 resultobj = result;
21614 return resultobj;
21615 fail:
21616 return NULL;
21617}
21618
21619
c32bde28 21620static PyObject * DropFilesEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
21621 PyObject *obj;
21622 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21623 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent, obj);
21624 Py_INCREF(obj);
21625 return Py_BuildValue((char *)"");
21626}
c32bde28 21627static PyObject *_wrap_new_UpdateUIEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21628 PyObject *resultobj = NULL;
e811c8ce 21629 int arg1 = (int) 0 ;
d14a1e28 21630 wxUpdateUIEvent *result;
994141e6 21631 PyObject * obj0 = 0 ;
d14a1e28
RD
21632 char *kwnames[] = {
21633 (char *) "commandId", NULL
21634 };
21635
994141e6
RD
21636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_UpdateUIEvent",kwnames,&obj0)) goto fail;
21637 if (obj0) {
093d3ff1 21638 {
32fe5131 21639 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
21640 if (SWIG_arg_fail(1)) SWIG_fail;
21641 }
994141e6 21642 }
d14a1e28
RD
21643 {
21644 PyThreadState* __tstate = wxPyBeginAllowThreads();
21645 result = (wxUpdateUIEvent *)new wxUpdateUIEvent(arg1);
21646
21647 wxPyEndAllowThreads(__tstate);
21648 if (PyErr_Occurred()) SWIG_fail;
21649 }
15afbcd0 21650 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxUpdateUIEvent, 1);
d14a1e28
RD
21651 return resultobj;
21652 fail:
21653 return NULL;
21654}
21655
21656
c32bde28 21657static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21658 PyObject *resultobj = NULL;
d14a1e28
RD
21659 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
21660 bool result;
21661 PyObject * obj0 = 0 ;
21662 char *kwnames[] = {
21663 (char *) "self", NULL
21664 };
21665
21666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetChecked",kwnames,&obj0)) goto fail;
093d3ff1
RD
21667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
21668 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21669 {
21670 PyThreadState* __tstate = wxPyBeginAllowThreads();
21671 result = (bool)((wxUpdateUIEvent const *)arg1)->GetChecked();
21672
21673 wxPyEndAllowThreads(__tstate);
21674 if (PyErr_Occurred()) SWIG_fail;
21675 }
4f89f6a3
RD
21676 {
21677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21678 }
d14a1e28
RD
21679 return resultobj;
21680 fail:
21681 return NULL;
21682}
21683
21684
c32bde28 21685static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21686 PyObject *resultobj = NULL;
d14a1e28
RD
21687 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
21688 bool result;
21689 PyObject * obj0 = 0 ;
21690 char *kwnames[] = {
21691 (char *) "self", NULL
21692 };
21693
21694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetEnabled",kwnames,&obj0)) goto fail;
093d3ff1
RD
21695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
21696 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21697 {
21698 PyThreadState* __tstate = wxPyBeginAllowThreads();
21699 result = (bool)((wxUpdateUIEvent const *)arg1)->GetEnabled();
21700
21701 wxPyEndAllowThreads(__tstate);
21702 if (PyErr_Occurred()) SWIG_fail;
21703 }
4f89f6a3
RD
21704 {
21705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21706 }
d14a1e28
RD
21707 return resultobj;
21708 fail:
21709 return NULL;
21710}
21711
21712
b1fcee84
RD
21713static PyObject *_wrap_UpdateUIEvent_GetShown(PyObject *, PyObject *args, PyObject *kwargs) {
21714 PyObject *resultobj = NULL;
21715 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
21716 bool result;
21717 PyObject * obj0 = 0 ;
21718 char *kwnames[] = {
21719 (char *) "self", NULL
21720 };
21721
21722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetShown",kwnames,&obj0)) goto fail;
21723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
21724 if (SWIG_arg_fail(1)) SWIG_fail;
21725 {
21726 PyThreadState* __tstate = wxPyBeginAllowThreads();
21727 result = (bool)((wxUpdateUIEvent const *)arg1)->GetShown();
21728
21729 wxPyEndAllowThreads(__tstate);
21730 if (PyErr_Occurred()) SWIG_fail;
21731 }
21732 {
21733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21734 }
21735 return resultobj;
21736 fail:
21737 return NULL;
21738}
21739
21740
c32bde28 21741static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21742 PyObject *resultobj = NULL;
d14a1e28
RD
21743 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
21744 wxString result;
21745 PyObject * obj0 = 0 ;
21746 char *kwnames[] = {
21747 (char *) "self", NULL
21748 };
21749
21750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetText",kwnames,&obj0)) goto fail;
093d3ff1
RD
21751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
21752 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21753 {
21754 PyThreadState* __tstate = wxPyBeginAllowThreads();
21755 result = ((wxUpdateUIEvent const *)arg1)->GetText();
21756
21757 wxPyEndAllowThreads(__tstate);
21758 if (PyErr_Occurred()) SWIG_fail;
21759 }
21760 {
21761#if wxUSE_UNICODE
21762 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21763#else
21764 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21765#endif
21766 }
21767 return resultobj;
21768 fail:
21769 return NULL;
21770}
21771
21772
c32bde28 21773static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21774 PyObject *resultobj = NULL;
d14a1e28
RD
21775 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
21776 bool result;
21777 PyObject * obj0 = 0 ;
21778 char *kwnames[] = {
21779 (char *) "self", NULL
21780 };
21781
21782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetText",kwnames,&obj0)) goto fail;
093d3ff1
RD
21783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
21784 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21785 {
21786 PyThreadState* __tstate = wxPyBeginAllowThreads();
21787 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetText();
21788
21789 wxPyEndAllowThreads(__tstate);
21790 if (PyErr_Occurred()) SWIG_fail;
21791 }
4f89f6a3
RD
21792 {
21793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21794 }
d14a1e28
RD
21795 return resultobj;
21796 fail:
21797 return NULL;
21798}
21799
21800
c32bde28 21801static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21802 PyObject *resultobj = NULL;
d14a1e28
RD
21803 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
21804 bool result;
21805 PyObject * obj0 = 0 ;
21806 char *kwnames[] = {
21807 (char *) "self", NULL
21808 };
21809
21810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames,&obj0)) goto fail;
093d3ff1
RD
21811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
21812 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21813 {
21814 PyThreadState* __tstate = wxPyBeginAllowThreads();
21815 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetChecked();
21816
21817 wxPyEndAllowThreads(__tstate);
21818 if (PyErr_Occurred()) SWIG_fail;
21819 }
4f89f6a3
RD
21820 {
21821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21822 }
d14a1e28
RD
21823 return resultobj;
21824 fail:
21825 return NULL;
21826}
21827
21828
c32bde28 21829static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21830 PyObject *resultobj = NULL;
d14a1e28
RD
21831 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
21832 bool result;
21833 PyObject * obj0 = 0 ;
21834 char *kwnames[] = {
21835 (char *) "self", NULL
21836 };
21837
21838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames,&obj0)) goto fail;
093d3ff1
RD
21839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
21840 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21841 {
21842 PyThreadState* __tstate = wxPyBeginAllowThreads();
21843 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetEnabled();
21844
21845 wxPyEndAllowThreads(__tstate);
21846 if (PyErr_Occurred()) SWIG_fail;
21847 }
4f89f6a3
RD
21848 {
21849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21850 }
d14a1e28
RD
21851 return resultobj;
21852 fail:
21853 return NULL;
21854}
21855
21856
b1fcee84
RD
21857static PyObject *_wrap_UpdateUIEvent_GetSetShown(PyObject *, PyObject *args, PyObject *kwargs) {
21858 PyObject *resultobj = NULL;
21859 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
21860 bool result;
21861 PyObject * obj0 = 0 ;
21862 char *kwnames[] = {
21863 (char *) "self", NULL
21864 };
21865
21866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetShown",kwnames,&obj0)) goto fail;
21867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
21868 if (SWIG_arg_fail(1)) SWIG_fail;
21869 {
21870 PyThreadState* __tstate = wxPyBeginAllowThreads();
21871 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetShown();
21872
21873 wxPyEndAllowThreads(__tstate);
21874 if (PyErr_Occurred()) SWIG_fail;
21875 }
21876 {
21877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21878 }
21879 return resultobj;
21880 fail:
21881 return NULL;
21882}
21883
21884
c32bde28 21885static PyObject *_wrap_UpdateUIEvent_Check(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21886 PyObject *resultobj = NULL;
d14a1e28
RD
21887 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
21888 bool arg2 ;
21889 PyObject * obj0 = 0 ;
21890 PyObject * obj1 = 0 ;
21891 char *kwnames[] = {
21892 (char *) "self",(char *) "check", NULL
21893 };
21894
21895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Check",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
21897 if (SWIG_arg_fail(1)) SWIG_fail;
21898 {
32fe5131 21899 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
21900 if (SWIG_arg_fail(2)) SWIG_fail;
21901 }
d14a1e28
RD
21902 {
21903 PyThreadState* __tstate = wxPyBeginAllowThreads();
21904 (arg1)->Check(arg2);
21905
21906 wxPyEndAllowThreads(__tstate);
21907 if (PyErr_Occurred()) SWIG_fail;
21908 }
21909 Py_INCREF(Py_None); resultobj = Py_None;
21910 return resultobj;
21911 fail:
21912 return NULL;
21913}
21914
21915
c32bde28 21916static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21917 PyObject *resultobj = NULL;
d14a1e28
RD
21918 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
21919 bool arg2 ;
21920 PyObject * obj0 = 0 ;
21921 PyObject * obj1 = 0 ;
21922 char *kwnames[] = {
21923 (char *) "self",(char *) "enable", NULL
21924 };
21925
21926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Enable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
21928 if (SWIG_arg_fail(1)) SWIG_fail;
21929 {
32fe5131 21930 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
21931 if (SWIG_arg_fail(2)) SWIG_fail;
21932 }
d14a1e28
RD
21933 {
21934 PyThreadState* __tstate = wxPyBeginAllowThreads();
21935 (arg1)->Enable(arg2);
21936
21937 wxPyEndAllowThreads(__tstate);
21938 if (PyErr_Occurred()) SWIG_fail;
21939 }
21940 Py_INCREF(Py_None); resultobj = Py_None;
21941 return resultobj;
21942 fail:
21943 return NULL;
21944}
21945
21946
b1fcee84
RD
21947static PyObject *_wrap_UpdateUIEvent_Show(PyObject *, PyObject *args, PyObject *kwargs) {
21948 PyObject *resultobj = NULL;
21949 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
21950 bool arg2 ;
21951 PyObject * obj0 = 0 ;
21952 PyObject * obj1 = 0 ;
21953 char *kwnames[] = {
21954 (char *) "self",(char *) "show", NULL
21955 };
21956
21957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Show",kwnames,&obj0,&obj1)) goto fail;
21958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
21959 if (SWIG_arg_fail(1)) SWIG_fail;
21960 {
21961 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
21962 if (SWIG_arg_fail(2)) SWIG_fail;
21963 }
21964 {
21965 PyThreadState* __tstate = wxPyBeginAllowThreads();
21966 (arg1)->Show(arg2);
21967
21968 wxPyEndAllowThreads(__tstate);
21969 if (PyErr_Occurred()) SWIG_fail;
21970 }
21971 Py_INCREF(Py_None); resultobj = Py_None;
21972 return resultobj;
21973 fail:
21974 return NULL;
21975}
21976
21977
c32bde28 21978static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21979 PyObject *resultobj = NULL;
d14a1e28
RD
21980 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
21981 wxString *arg2 = 0 ;
ae8162c8 21982 bool temp2 = false ;
d14a1e28
RD
21983 PyObject * obj0 = 0 ;
21984 PyObject * obj1 = 0 ;
21985 char *kwnames[] = {
21986 (char *) "self",(char *) "text", NULL
21987 };
21988
21989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0);
21991 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21992 {
21993 arg2 = wxString_in_helper(obj1);
21994 if (arg2 == NULL) SWIG_fail;
ae8162c8 21995 temp2 = true;
d14a1e28
RD
21996 }
21997 {
21998 PyThreadState* __tstate = wxPyBeginAllowThreads();
21999 (arg1)->SetText((wxString const &)*arg2);
22000
22001 wxPyEndAllowThreads(__tstate);
22002 if (PyErr_Occurred()) SWIG_fail;
22003 }
22004 Py_INCREF(Py_None); resultobj = Py_None;
22005 {
22006 if (temp2)
22007 delete arg2;
22008 }
22009 return resultobj;
22010 fail:
22011 {
22012 if (temp2)
22013 delete arg2;
22014 }
22015 return NULL;
22016}
22017
22018
c32bde28 22019static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22020 PyObject *resultobj = NULL;
d14a1e28 22021 long arg1 ;
994141e6 22022 PyObject * obj0 = 0 ;
d14a1e28
RD
22023 char *kwnames[] = {
22024 (char *) "updateInterval", NULL
22025 };
22026
994141e6 22027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames,&obj0)) goto fail;
093d3ff1 22028 {
32fe5131 22029 arg1 = static_cast<long >(SWIG_As_long(obj0));
093d3ff1
RD
22030 if (SWIG_arg_fail(1)) SWIG_fail;
22031 }
d14a1e28
RD
22032 {
22033 PyThreadState* __tstate = wxPyBeginAllowThreads();
22034 wxUpdateUIEvent::SetUpdateInterval(arg1);
22035
22036 wxPyEndAllowThreads(__tstate);
22037 if (PyErr_Occurred()) SWIG_fail;
22038 }
22039 Py_INCREF(Py_None); resultobj = Py_None;
22040 return resultobj;
22041 fail:
22042 return NULL;
22043}
22044
22045
c32bde28 22046static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22047 PyObject *resultobj = NULL;
d14a1e28
RD
22048 long result;
22049 char *kwnames[] = {
22050 NULL
22051 };
22052
22053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames)) goto fail;
22054 {
22055 PyThreadState* __tstate = wxPyBeginAllowThreads();
22056 result = (long)wxUpdateUIEvent::GetUpdateInterval();
22057
22058 wxPyEndAllowThreads(__tstate);
22059 if (PyErr_Occurred()) SWIG_fail;
22060 }
093d3ff1 22061 {
32fe5131 22062 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 22063 }
d14a1e28
RD
22064 return resultobj;
22065 fail:
22066 return NULL;
22067}
22068
22069
c32bde28 22070static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22071 PyObject *resultobj = NULL;
d14a1e28
RD
22072 wxWindow *arg1 = (wxWindow *) 0 ;
22073 bool result;
22074 PyObject * obj0 = 0 ;
22075 char *kwnames[] = {
22076 (char *) "win", NULL
22077 };
22078
22079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_CanUpdate",kwnames,&obj0)) goto fail;
093d3ff1
RD
22080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22081 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22082 {
22083 PyThreadState* __tstate = wxPyBeginAllowThreads();
22084 result = (bool)wxUpdateUIEvent::CanUpdate(arg1);
22085
22086 wxPyEndAllowThreads(__tstate);
22087 if (PyErr_Occurred()) SWIG_fail;
22088 }
4f89f6a3
RD
22089 {
22090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22091 }
d14a1e28
RD
22092 return resultobj;
22093 fail:
22094 return NULL;
22095}
22096
22097
c32bde28 22098static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22099 PyObject *resultobj = NULL;
d14a1e28
RD
22100 char *kwnames[] = {
22101 NULL
22102 };
22103
22104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames)) goto fail;
22105 {
22106 PyThreadState* __tstate = wxPyBeginAllowThreads();
22107 wxUpdateUIEvent::ResetUpdateTime();
22108
22109 wxPyEndAllowThreads(__tstate);
22110 if (PyErr_Occurred()) SWIG_fail;
22111 }
22112 Py_INCREF(Py_None); resultobj = Py_None;
22113 return resultobj;
22114 fail:
22115 return NULL;
22116}
22117
22118
c32bde28 22119static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22120 PyObject *resultobj = NULL;
093d3ff1 22121 wxUpdateUIMode arg1 ;
994141e6 22122 PyObject * obj0 = 0 ;
d14a1e28
RD
22123 char *kwnames[] = {
22124 (char *) "mode", NULL
22125 };
22126
994141e6 22127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetMode",kwnames,&obj0)) goto fail;
093d3ff1 22128 {
32fe5131 22129 arg1 = static_cast<wxUpdateUIMode >(SWIG_As_int(obj0));
093d3ff1
RD
22130 if (SWIG_arg_fail(1)) SWIG_fail;
22131 }
d14a1e28
RD
22132 {
22133 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 22134 wxUpdateUIEvent::SetMode(arg1);
d14a1e28
RD
22135
22136 wxPyEndAllowThreads(__tstate);
22137 if (PyErr_Occurred()) SWIG_fail;
22138 }
22139 Py_INCREF(Py_None); resultobj = Py_None;
22140 return resultobj;
22141 fail:
22142 return NULL;
22143}
22144
22145
c32bde28 22146static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22147 PyObject *resultobj = NULL;
093d3ff1 22148 wxUpdateUIMode result;
d14a1e28
RD
22149 char *kwnames[] = {
22150 NULL
22151 };
22152
22153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetMode",kwnames)) goto fail;
22154 {
22155 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 22156 result = (wxUpdateUIMode)wxUpdateUIEvent::GetMode();
d14a1e28
RD
22157
22158 wxPyEndAllowThreads(__tstate);
22159 if (PyErr_Occurred()) SWIG_fail;
22160 }
093d3ff1 22161 resultobj = SWIG_From_int((result));
d14a1e28
RD
22162 return resultobj;
22163 fail:
22164 return NULL;
22165}
22166
22167
c32bde28 22168static PyObject * UpdateUIEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
22169 PyObject *obj;
22170 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22171 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent, obj);
22172 Py_INCREF(obj);
22173 return Py_BuildValue((char *)"");
22174}
c32bde28 22175static PyObject *_wrap_new_SysColourChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22176 PyObject *resultobj = NULL;
d14a1e28
RD
22177 wxSysColourChangedEvent *result;
22178 char *kwnames[] = {
22179 NULL
22180 };
22181
22182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SysColourChangedEvent",kwnames)) goto fail;
22183 {
22184 PyThreadState* __tstate = wxPyBeginAllowThreads();
22185 result = (wxSysColourChangedEvent *)new wxSysColourChangedEvent();
22186
22187 wxPyEndAllowThreads(__tstate);
22188 if (PyErr_Occurred()) SWIG_fail;
22189 }
15afbcd0 22190 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSysColourChangedEvent, 1);
d14a1e28
RD
22191 return resultobj;
22192 fail:
22193 return NULL;
22194}
22195
22196
c32bde28 22197static PyObject * SysColourChangedEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
22198 PyObject *obj;
22199 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22200 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent, obj);
22201 Py_INCREF(obj);
22202 return Py_BuildValue((char *)"");
22203}
c32bde28 22204static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22205 PyObject *resultobj = NULL;
e811c8ce 22206 int arg1 = (int) 0 ;
d14a1e28
RD
22207 wxWindow *arg2 = (wxWindow *) NULL ;
22208 wxMouseCaptureChangedEvent *result;
994141e6 22209 PyObject * obj0 = 0 ;
d14a1e28
RD
22210 PyObject * obj1 = 0 ;
22211 char *kwnames[] = {
22212 (char *) "winid",(char *) "gainedCapture", NULL
22213 };
22214
994141e6
RD
22215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames,&obj0,&obj1)) goto fail;
22216 if (obj0) {
093d3ff1 22217 {
32fe5131 22218 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
22219 if (SWIG_arg_fail(1)) SWIG_fail;
22220 }
994141e6 22221 }
d14a1e28 22222 if (obj1) {
093d3ff1
RD
22223 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22224 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
22225 }
22226 {
22227 PyThreadState* __tstate = wxPyBeginAllowThreads();
22228 result = (wxMouseCaptureChangedEvent *)new wxMouseCaptureChangedEvent(arg1,arg2);
22229
22230 wxPyEndAllowThreads(__tstate);
22231 if (PyErr_Occurred()) SWIG_fail;
22232 }
15afbcd0 22233 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseCaptureChangedEvent, 1);
d14a1e28
RD
22234 return resultobj;
22235 fail:
22236 return NULL;
22237}
22238
22239
c32bde28 22240static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22241 PyObject *resultobj = NULL;
d14a1e28
RD
22242 wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ;
22243 wxWindow *result;
22244 PyObject * obj0 = 0 ;
22245 char *kwnames[] = {
22246 (char *) "self", NULL
22247 };
22248
22249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
22250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseCaptureChangedEvent, SWIG_POINTER_EXCEPTION | 0);
22251 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22252 {
22253 PyThreadState* __tstate = wxPyBeginAllowThreads();
22254 result = (wxWindow *)((wxMouseCaptureChangedEvent const *)arg1)->GetCapturedWindow();
22255
22256 wxPyEndAllowThreads(__tstate);
22257 if (PyErr_Occurred()) SWIG_fail;
22258 }
22259 {
7e08d4ef 22260 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
22261 }
22262 return resultobj;
22263 fail:
22264 return NULL;
22265}
22266
22267
c32bde28 22268static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
22269 PyObject *obj;
22270 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22271 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent, obj);
22272 Py_INCREF(obj);
22273 return Py_BuildValue((char *)"");
22274}
c32bde28 22275static PyObject *_wrap_new_DisplayChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22276 PyObject *resultobj = NULL;
d14a1e28
RD
22277 wxDisplayChangedEvent *result;
22278 char *kwnames[] = {
22279 NULL
22280 };
22281
22282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DisplayChangedEvent",kwnames)) goto fail;
22283 {
22284 PyThreadState* __tstate = wxPyBeginAllowThreads();
22285 result = (wxDisplayChangedEvent *)new wxDisplayChangedEvent();
22286
22287 wxPyEndAllowThreads(__tstate);
22288 if (PyErr_Occurred()) SWIG_fail;
22289 }
15afbcd0 22290 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplayChangedEvent, 1);
d14a1e28
RD
22291 return resultobj;
22292 fail:
22293 return NULL;
22294}
22295
22296
c32bde28 22297static PyObject * DisplayChangedEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
22298 PyObject *obj;
22299 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22300 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent, obj);
22301 Py_INCREF(obj);
22302 return Py_BuildValue((char *)"");
22303}
c32bde28 22304static PyObject *_wrap_new_PaletteChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22305 PyObject *resultobj = NULL;
e811c8ce 22306 int arg1 = (int) 0 ;
d14a1e28 22307 wxPaletteChangedEvent *result;
994141e6 22308 PyObject * obj0 = 0 ;
d14a1e28
RD
22309 char *kwnames[] = {
22310 (char *) "id", NULL
22311 };
22312
994141e6
RD
22313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaletteChangedEvent",kwnames,&obj0)) goto fail;
22314 if (obj0) {
093d3ff1 22315 {
32fe5131 22316 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
22317 if (SWIG_arg_fail(1)) SWIG_fail;
22318 }
994141e6 22319 }
d14a1e28
RD
22320 {
22321 PyThreadState* __tstate = wxPyBeginAllowThreads();
22322 result = (wxPaletteChangedEvent *)new wxPaletteChangedEvent(arg1);
22323
22324 wxPyEndAllowThreads(__tstate);
22325 if (PyErr_Occurred()) SWIG_fail;
22326 }
15afbcd0 22327 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaletteChangedEvent, 1);
d14a1e28
RD
22328 return resultobj;
22329 fail:
22330 return NULL;
22331}
22332
22333
c32bde28 22334static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22335 PyObject *resultobj = NULL;
d14a1e28
RD
22336 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
22337 wxWindow *arg2 = (wxWindow *) 0 ;
22338 PyObject * obj0 = 0 ;
22339 PyObject * obj1 = 0 ;
22340 char *kwnames[] = {
22341 (char *) "self",(char *) "win", NULL
22342 };
22343
22344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPaletteChangedEvent, SWIG_POINTER_EXCEPTION | 0);
22346 if (SWIG_arg_fail(1)) SWIG_fail;
22347 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22348 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
22349 {
22350 PyThreadState* __tstate = wxPyBeginAllowThreads();
22351 (arg1)->SetChangedWindow(arg2);
22352
22353 wxPyEndAllowThreads(__tstate);
22354 if (PyErr_Occurred()) SWIG_fail;
22355 }
22356 Py_INCREF(Py_None); resultobj = Py_None;
22357 return resultobj;
22358 fail:
22359 return NULL;
22360}
22361
22362
c32bde28 22363static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22364 PyObject *resultobj = NULL;
d14a1e28
RD
22365 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
22366 wxWindow *result;
22367 PyObject * obj0 = 0 ;
22368 char *kwnames[] = {
22369 (char *) "self", NULL
22370 };
22371
22372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
22373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPaletteChangedEvent, SWIG_POINTER_EXCEPTION | 0);
22374 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22375 {
22376 PyThreadState* __tstate = wxPyBeginAllowThreads();
22377 result = (wxWindow *)(arg1)->GetChangedWindow();
22378
22379 wxPyEndAllowThreads(__tstate);
22380 if (PyErr_Occurred()) SWIG_fail;
22381 }
22382 {
7e08d4ef 22383 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
22384 }
22385 return resultobj;
22386 fail:
22387 return NULL;
22388}
22389
22390
c32bde28 22391static PyObject * PaletteChangedEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
22392 PyObject *obj;
22393 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22394 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent, obj);
22395 Py_INCREF(obj);
22396 return Py_BuildValue((char *)"");
22397}
c32bde28 22398static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22399 PyObject *resultobj = NULL;
e811c8ce 22400 int arg1 = (int) 0 ;
d14a1e28 22401 wxQueryNewPaletteEvent *result;
994141e6 22402 PyObject * obj0 = 0 ;
d14a1e28
RD
22403 char *kwnames[] = {
22404 (char *) "winid", NULL
22405 };
22406
994141e6
RD
22407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryNewPaletteEvent",kwnames,&obj0)) goto fail;
22408 if (obj0) {
093d3ff1 22409 {
32fe5131 22410 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
22411 if (SWIG_arg_fail(1)) SWIG_fail;
22412 }
994141e6 22413 }
d14a1e28
RD
22414 {
22415 PyThreadState* __tstate = wxPyBeginAllowThreads();
22416 result = (wxQueryNewPaletteEvent *)new wxQueryNewPaletteEvent(arg1);
22417
22418 wxPyEndAllowThreads(__tstate);
22419 if (PyErr_Occurred()) SWIG_fail;
22420 }
15afbcd0 22421 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryNewPaletteEvent, 1);
d14a1e28
RD
22422 return resultobj;
22423 fail:
22424 return NULL;
22425}
22426
22427
c32bde28 22428static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22429 PyObject *resultobj = NULL;
d14a1e28
RD
22430 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
22431 bool arg2 ;
22432 PyObject * obj0 = 0 ;
22433 PyObject * obj1 = 0 ;
22434 char *kwnames[] = {
22435 (char *) "self",(char *) "realized", NULL
22436 };
22437
22438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryNewPaletteEvent, SWIG_POINTER_EXCEPTION | 0);
22440 if (SWIG_arg_fail(1)) SWIG_fail;
22441 {
32fe5131 22442 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
22443 if (SWIG_arg_fail(2)) SWIG_fail;
22444 }
d14a1e28
RD
22445 {
22446 PyThreadState* __tstate = wxPyBeginAllowThreads();
22447 (arg1)->SetPaletteRealized(arg2);
22448
22449 wxPyEndAllowThreads(__tstate);
22450 if (PyErr_Occurred()) SWIG_fail;
22451 }
22452 Py_INCREF(Py_None); resultobj = Py_None;
22453 return resultobj;
22454 fail:
22455 return NULL;
22456}
22457
22458
c32bde28 22459static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22460 PyObject *resultobj = NULL;
d14a1e28
RD
22461 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
22462 bool result;
22463 PyObject * obj0 = 0 ;
22464 char *kwnames[] = {
22465 (char *) "self", NULL
22466 };
22467
22468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames,&obj0)) goto fail;
093d3ff1
RD
22469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryNewPaletteEvent, SWIG_POINTER_EXCEPTION | 0);
22470 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22471 {
22472 PyThreadState* __tstate = wxPyBeginAllowThreads();
22473 result = (bool)((wxQueryNewPaletteEvent const *)arg1)->GetPaletteRealized();
22474
22475 wxPyEndAllowThreads(__tstate);
22476 if (PyErr_Occurred()) SWIG_fail;
22477 }
4f89f6a3
RD
22478 {
22479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22480 }
d14a1e28
RD
22481 return resultobj;
22482 fail:
22483 return NULL;
22484}
22485
22486
c32bde28 22487static PyObject * QueryNewPaletteEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
22488 PyObject *obj;
22489 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22490 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent, obj);
22491 Py_INCREF(obj);
22492 return Py_BuildValue((char *)"");
22493}
c32bde28 22494static PyObject *_wrap_new_NavigationKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22495 PyObject *resultobj = NULL;
d14a1e28
RD
22496 wxNavigationKeyEvent *result;
22497 char *kwnames[] = {
22498 NULL
22499 };
22500
22501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NavigationKeyEvent",kwnames)) goto fail;
22502 {
22503 PyThreadState* __tstate = wxPyBeginAllowThreads();
22504 result = (wxNavigationKeyEvent *)new wxNavigationKeyEvent();
22505
22506 wxPyEndAllowThreads(__tstate);
22507 if (PyErr_Occurred()) SWIG_fail;
22508 }
15afbcd0 22509 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNavigationKeyEvent, 1);
d14a1e28
RD
22510 return resultobj;
22511 fail:
22512 return NULL;
22513}
22514
22515
c32bde28 22516static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22517 PyObject *resultobj = NULL;
d14a1e28
RD
22518 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
22519 bool result;
22520 PyObject * obj0 = 0 ;
22521 char *kwnames[] = {
22522 (char *) "self", NULL
22523 };
22524
22525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetDirection",kwnames,&obj0)) goto fail;
093d3ff1
RD
22526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0);
22527 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22528 {
22529 PyThreadState* __tstate = wxPyBeginAllowThreads();
22530 result = (bool)((wxNavigationKeyEvent const *)arg1)->GetDirection();
22531
22532 wxPyEndAllowThreads(__tstate);
22533 if (PyErr_Occurred()) SWIG_fail;
22534 }
4f89f6a3
RD
22535 {
22536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22537 }
d14a1e28
RD
22538 return resultobj;
22539 fail:
22540 return NULL;
22541}
22542
22543
c32bde28 22544static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22545 PyObject *resultobj = NULL;
d14a1e28
RD
22546 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
22547 bool arg2 ;
22548 PyObject * obj0 = 0 ;
22549 PyObject * obj1 = 0 ;
22550 char *kwnames[] = {
908b74cd 22551 (char *) "self",(char *) "forward", NULL
d14a1e28
RD
22552 };
22553
22554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0);
22556 if (SWIG_arg_fail(1)) SWIG_fail;
22557 {
32fe5131 22558 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
22559 if (SWIG_arg_fail(2)) SWIG_fail;
22560 }
d14a1e28
RD
22561 {
22562 PyThreadState* __tstate = wxPyBeginAllowThreads();
22563 (arg1)->SetDirection(arg2);
22564
22565 wxPyEndAllowThreads(__tstate);
22566 if (PyErr_Occurred()) SWIG_fail;
22567 }
22568 Py_INCREF(Py_None); resultobj = Py_None;
22569 return resultobj;
22570 fail:
22571 return NULL;
22572}
22573
22574
c32bde28 22575static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22576 PyObject *resultobj = NULL;
d14a1e28
RD
22577 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
22578 bool result;
22579 PyObject * obj0 = 0 ;
22580 char *kwnames[] = {
22581 (char *) "self", NULL
22582 };
22583
22584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames,&obj0)) goto fail;
093d3ff1
RD
22585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0);
22586 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22587 {
22588 PyThreadState* __tstate = wxPyBeginAllowThreads();
22589 result = (bool)((wxNavigationKeyEvent const *)arg1)->IsWindowChange();
22590
22591 wxPyEndAllowThreads(__tstate);
22592 if (PyErr_Occurred()) SWIG_fail;
22593 }
4f89f6a3
RD
22594 {
22595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22596 }
d14a1e28
RD
22597 return resultobj;
22598 fail:
22599 return NULL;
22600}
22601
22602
c32bde28 22603static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22604 PyObject *resultobj = NULL;
d14a1e28
RD
22605 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
22606 bool arg2 ;
22607 PyObject * obj0 = 0 ;
22608 PyObject * obj1 = 0 ;
22609 char *kwnames[] = {
908b74cd 22610 (char *) "self",(char *) "ischange", NULL
d14a1e28
RD
22611 };
22612
22613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0);
22615 if (SWIG_arg_fail(1)) SWIG_fail;
22616 {
32fe5131 22617 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
22618 if (SWIG_arg_fail(2)) SWIG_fail;
22619 }
d14a1e28
RD
22620 {
22621 PyThreadState* __tstate = wxPyBeginAllowThreads();
22622 (arg1)->SetWindowChange(arg2);
22623
22624 wxPyEndAllowThreads(__tstate);
22625 if (PyErr_Occurred()) SWIG_fail;
22626 }
22627 Py_INCREF(Py_None); resultobj = Py_None;
22628 return resultobj;
22629 fail:
22630 return NULL;
22631}
22632
22633
68350608 22634static PyObject *_wrap_NavigationKeyEvent_IsFromTab(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22635 PyObject *resultobj = NULL;
68350608
RD
22636 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
22637 bool result;
22638 PyObject * obj0 = 0 ;
22639 char *kwnames[] = {
22640 (char *) "self", NULL
22641 };
22642
22643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames,&obj0)) goto fail;
22644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0);
22645 if (SWIG_arg_fail(1)) SWIG_fail;
22646 {
22647 PyThreadState* __tstate = wxPyBeginAllowThreads();
22648 result = (bool)((wxNavigationKeyEvent const *)arg1)->IsFromTab();
22649
22650 wxPyEndAllowThreads(__tstate);
22651 if (PyErr_Occurred()) SWIG_fail;
22652 }
22653 {
22654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22655 }
22656 return resultobj;
22657 fail:
22658 return NULL;
22659}
22660
22661
22662static PyObject *_wrap_NavigationKeyEvent_SetFromTab(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22663 PyObject *resultobj = NULL;
68350608
RD
22664 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
22665 bool arg2 ;
22666 PyObject * obj0 = 0 ;
22667 PyObject * obj1 = 0 ;
22668 char *kwnames[] = {
22669 (char *) "self",(char *) "bIs", NULL
22670 };
22671
22672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames,&obj0,&obj1)) goto fail;
22673 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0);
22674 if (SWIG_arg_fail(1)) SWIG_fail;
22675 {
32fe5131 22676 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
68350608
RD
22677 if (SWIG_arg_fail(2)) SWIG_fail;
22678 }
22679 {
22680 PyThreadState* __tstate = wxPyBeginAllowThreads();
22681 (arg1)->SetFromTab(arg2);
22682
22683 wxPyEndAllowThreads(__tstate);
22684 if (PyErr_Occurred()) SWIG_fail;
22685 }
22686 Py_INCREF(Py_None); resultobj = Py_None;
22687 return resultobj;
22688 fail:
22689 return NULL;
22690}
22691
22692
c32bde28 22693static PyObject *_wrap_NavigationKeyEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22694 PyObject *resultobj = NULL;
908b74cd
RD
22695 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
22696 long arg2 ;
22697 PyObject * obj0 = 0 ;
22698 PyObject * obj1 = 0 ;
22699 char *kwnames[] = {
22700 (char *) "self",(char *) "flags", NULL
22701 };
22702
22703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0);
22705 if (SWIG_arg_fail(1)) SWIG_fail;
22706 {
32fe5131 22707 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
22708 if (SWIG_arg_fail(2)) SWIG_fail;
22709 }
908b74cd
RD
22710 {
22711 PyThreadState* __tstate = wxPyBeginAllowThreads();
22712 (arg1)->SetFlags(arg2);
22713
22714 wxPyEndAllowThreads(__tstate);
22715 if (PyErr_Occurred()) SWIG_fail;
22716 }
22717 Py_INCREF(Py_None); resultobj = Py_None;
22718 return resultobj;
22719 fail:
22720 return NULL;
22721}
22722
22723
c32bde28 22724static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22725 PyObject *resultobj = NULL;
d14a1e28
RD
22726 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
22727 wxWindow *result;
22728 PyObject * obj0 = 0 ;
22729 char *kwnames[] = {
22730 (char *) "self", NULL
22731 };
22732
22733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
22734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0);
22735 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22736 {
22737 PyThreadState* __tstate = wxPyBeginAllowThreads();
22738 result = (wxWindow *)((wxNavigationKeyEvent const *)arg1)->GetCurrentFocus();
22739
22740 wxPyEndAllowThreads(__tstate);
22741 if (PyErr_Occurred()) SWIG_fail;
22742 }
22743 {
7e08d4ef 22744 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
22745 }
22746 return resultobj;
22747 fail:
22748 return NULL;
22749}
22750
22751
c32bde28 22752static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22753 PyObject *resultobj = NULL;
d14a1e28
RD
22754 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
22755 wxWindow *arg2 = (wxWindow *) 0 ;
22756 PyObject * obj0 = 0 ;
22757 PyObject * obj1 = 0 ;
22758 char *kwnames[] = {
22759 (char *) "self",(char *) "win", NULL
22760 };
22761
22762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0);
22764 if (SWIG_arg_fail(1)) SWIG_fail;
22765 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22766 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
22767 {
22768 PyThreadState* __tstate = wxPyBeginAllowThreads();
22769 (arg1)->SetCurrentFocus(arg2);
22770
22771 wxPyEndAllowThreads(__tstate);
22772 if (PyErr_Occurred()) SWIG_fail;
22773 }
22774 Py_INCREF(Py_None); resultobj = Py_None;
22775 return resultobj;
22776 fail:
22777 return NULL;
22778}
22779
22780
c32bde28 22781static PyObject * NavigationKeyEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
22782 PyObject *obj;
22783 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22784 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent, obj);
22785 Py_INCREF(obj);
22786 return Py_BuildValue((char *)"");
22787}
c32bde28 22788static PyObject *_wrap_new_WindowCreateEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22789 PyObject *resultobj = NULL;
d14a1e28
RD
22790 wxWindow *arg1 = (wxWindow *) NULL ;
22791 wxWindowCreateEvent *result;
22792 PyObject * obj0 = 0 ;
22793 char *kwnames[] = {
22794 (char *) "win", NULL
22795 };
22796
22797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowCreateEvent",kwnames,&obj0)) goto fail;
22798 if (obj0) {
093d3ff1
RD
22799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22800 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22801 }
22802 {
22803 PyThreadState* __tstate = wxPyBeginAllowThreads();
22804 result = (wxWindowCreateEvent *)new wxWindowCreateEvent(arg1);
22805
22806 wxPyEndAllowThreads(__tstate);
22807 if (PyErr_Occurred()) SWIG_fail;
22808 }
15afbcd0 22809 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowCreateEvent, 1);
d14a1e28
RD
22810 return resultobj;
22811 fail:
22812 return NULL;
22813}
22814
22815
c32bde28 22816static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22817 PyObject *resultobj = NULL;
d14a1e28
RD
22818 wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ;
22819 wxWindow *result;
22820 PyObject * obj0 = 0 ;
22821 char *kwnames[] = {
22822 (char *) "self", NULL
22823 };
22824
22825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowCreateEvent_GetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
22826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindowCreateEvent, SWIG_POINTER_EXCEPTION | 0);
22827 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22828 {
22829 PyThreadState* __tstate = wxPyBeginAllowThreads();
22830 result = (wxWindow *)((wxWindowCreateEvent const *)arg1)->GetWindow();
22831
22832 wxPyEndAllowThreads(__tstate);
22833 if (PyErr_Occurred()) SWIG_fail;
22834 }
22835 {
7e08d4ef 22836 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
22837 }
22838 return resultobj;
22839 fail:
22840 return NULL;
22841}
22842
22843
c32bde28 22844static PyObject * WindowCreateEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
22845 PyObject *obj;
22846 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22847 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent, obj);
22848 Py_INCREF(obj);
22849 return Py_BuildValue((char *)"");
22850}
c32bde28 22851static PyObject *_wrap_new_WindowDestroyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22852 PyObject *resultobj = NULL;
d14a1e28
RD
22853 wxWindow *arg1 = (wxWindow *) NULL ;
22854 wxWindowDestroyEvent *result;
22855 PyObject * obj0 = 0 ;
22856 char *kwnames[] = {
22857 (char *) "win", NULL
22858 };
22859
22860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDestroyEvent",kwnames,&obj0)) goto fail;
22861 if (obj0) {
093d3ff1
RD
22862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22863 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22864 }
22865 {
22866 PyThreadState* __tstate = wxPyBeginAllowThreads();
22867 result = (wxWindowDestroyEvent *)new wxWindowDestroyEvent(arg1);
22868
22869 wxPyEndAllowThreads(__tstate);
22870 if (PyErr_Occurred()) SWIG_fail;
22871 }
15afbcd0 22872 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDestroyEvent, 1);
d14a1e28
RD
22873 return resultobj;
22874 fail:
22875 return NULL;
22876}
22877
22878
c32bde28 22879static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22880 PyObject *resultobj = NULL;
d14a1e28
RD
22881 wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ;
22882 wxWindow *result;
22883 PyObject * obj0 = 0 ;
22884 char *kwnames[] = {
22885 (char *) "self", NULL
22886 };
22887
22888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowDestroyEvent_GetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
22889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindowDestroyEvent, SWIG_POINTER_EXCEPTION | 0);
22890 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22891 {
22892 PyThreadState* __tstate = wxPyBeginAllowThreads();
22893 result = (wxWindow *)((wxWindowDestroyEvent const *)arg1)->GetWindow();
22894
22895 wxPyEndAllowThreads(__tstate);
22896 if (PyErr_Occurred()) SWIG_fail;
22897 }
22898 {
7e08d4ef 22899 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
22900 }
22901 return resultobj;
22902 fail:
22903 return NULL;
22904}
22905
22906
c32bde28 22907static PyObject * WindowDestroyEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
22908 PyObject *obj;
22909 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22910 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent, obj);
22911 Py_INCREF(obj);
22912 return Py_BuildValue((char *)"");
22913}
c32bde28 22914static PyObject *_wrap_new_ContextMenuEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22915 PyObject *resultobj = NULL;
d14a1e28 22916 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
e811c8ce 22917 int arg2 = (int) 0 ;
d14a1e28
RD
22918 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22919 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22920 wxContextMenuEvent *result;
22921 wxPoint temp3 ;
994141e6
RD
22922 PyObject * obj0 = 0 ;
22923 PyObject * obj1 = 0 ;
d14a1e28
RD
22924 PyObject * obj2 = 0 ;
22925 char *kwnames[] = {
22926 (char *) "type",(char *) "winid",(char *) "pt", NULL
22927 };
22928
994141e6
RD
22929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ContextMenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
22930 if (obj0) {
093d3ff1 22931 {
32fe5131 22932 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
22933 if (SWIG_arg_fail(1)) SWIG_fail;
22934 }
994141e6
RD
22935 }
22936 if (obj1) {
093d3ff1 22937 {
32fe5131 22938 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
22939 if (SWIG_arg_fail(2)) SWIG_fail;
22940 }
994141e6 22941 }
d14a1e28
RD
22942 if (obj2) {
22943 {
22944 arg3 = &temp3;
22945 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22946 }
22947 }
22948 {
22949 PyThreadState* __tstate = wxPyBeginAllowThreads();
22950 result = (wxContextMenuEvent *)new wxContextMenuEvent(arg1,arg2,(wxPoint const &)*arg3);
22951
22952 wxPyEndAllowThreads(__tstate);
22953 if (PyErr_Occurred()) SWIG_fail;
22954 }
15afbcd0 22955 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextMenuEvent, 1);
d14a1e28
RD
22956 return resultobj;
22957 fail:
22958 return NULL;
22959}
22960
22961
c32bde28 22962static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22963 PyObject *resultobj = NULL;
d14a1e28
RD
22964 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
22965 wxPoint *result;
22966 PyObject * obj0 = 0 ;
22967 char *kwnames[] = {
22968 (char *) "self", NULL
22969 };
22970
22971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextMenuEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
22972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextMenuEvent, SWIG_POINTER_EXCEPTION | 0);
22973 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22974 {
22975 PyThreadState* __tstate = wxPyBeginAllowThreads();
22976 {
22977 wxPoint const &_result_ref = ((wxContextMenuEvent const *)arg1)->GetPosition();
22978 result = (wxPoint *) &_result_ref;
22979 }
22980
22981 wxPyEndAllowThreads(__tstate);
22982 if (PyErr_Occurred()) SWIG_fail;
22983 }
15afbcd0 22984 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
22985 return resultobj;
22986 fail:
22987 return NULL;
22988}
22989
22990
c32bde28 22991static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22992 PyObject *resultobj = NULL;
d14a1e28
RD
22993 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
22994 wxPoint *arg2 = 0 ;
22995 wxPoint temp2 ;
22996 PyObject * obj0 = 0 ;
22997 PyObject * obj1 = 0 ;
22998 char *kwnames[] = {
22999 (char *) "self",(char *) "pos", NULL
23000 };
23001
23002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ContextMenuEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextMenuEvent, SWIG_POINTER_EXCEPTION | 0);
23004 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23005 {
23006 arg2 = &temp2;
23007 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23008 }
23009 {
23010 PyThreadState* __tstate = wxPyBeginAllowThreads();
23011 (arg1)->SetPosition((wxPoint const &)*arg2);
23012
23013 wxPyEndAllowThreads(__tstate);
23014 if (PyErr_Occurred()) SWIG_fail;
23015 }
23016 Py_INCREF(Py_None); resultobj = Py_None;
23017 return resultobj;
23018 fail:
23019 return NULL;
23020}
23021
23022
c32bde28 23023static PyObject * ContextMenuEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
23024 PyObject *obj;
23025 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23026 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent, obj);
23027 Py_INCREF(obj);
23028 return Py_BuildValue((char *)"");
23029}
c32bde28 23030static PyObject *_wrap_new_IdleEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23031 PyObject *resultobj = NULL;
d14a1e28
RD
23032 wxIdleEvent *result;
23033 char *kwnames[] = {
23034 NULL
23035 };
23036
23037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IdleEvent",kwnames)) goto fail;
23038 {
23039 PyThreadState* __tstate = wxPyBeginAllowThreads();
23040 result = (wxIdleEvent *)new wxIdleEvent();
23041
23042 wxPyEndAllowThreads(__tstate);
23043 if (PyErr_Occurred()) SWIG_fail;
23044 }
15afbcd0 23045 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIdleEvent, 1);
d14a1e28
RD
23046 return resultobj;
23047 fail:
23048 return NULL;
23049}
23050
23051
c32bde28 23052static PyObject *_wrap_IdleEvent_RequestMore(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23053 PyObject *resultobj = NULL;
d14a1e28 23054 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
ae8162c8 23055 bool arg2 = (bool) true ;
d14a1e28
RD
23056 PyObject * obj0 = 0 ;
23057 PyObject * obj1 = 0 ;
23058 char *kwnames[] = {
23059 (char *) "self",(char *) "needMore", NULL
23060 };
23061
23062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:IdleEvent_RequestMore",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIdleEvent, SWIG_POINTER_EXCEPTION | 0);
23064 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 23065 if (obj1) {
093d3ff1 23066 {
32fe5131 23067 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
23068 if (SWIG_arg_fail(2)) SWIG_fail;
23069 }
d14a1e28
RD
23070 }
23071 {
23072 PyThreadState* __tstate = wxPyBeginAllowThreads();
23073 (arg1)->RequestMore(arg2);
23074
23075 wxPyEndAllowThreads(__tstate);
23076 if (PyErr_Occurred()) SWIG_fail;
23077 }
23078 Py_INCREF(Py_None); resultobj = Py_None;
23079 return resultobj;
23080 fail:
23081 return NULL;
23082}
23083
23084
c32bde28 23085static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23086 PyObject *resultobj = NULL;
d14a1e28
RD
23087 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
23088 bool result;
23089 PyObject * obj0 = 0 ;
23090 char *kwnames[] = {
23091 (char *) "self", NULL
23092 };
23093
23094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_MoreRequested",kwnames,&obj0)) goto fail;
093d3ff1
RD
23095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIdleEvent, SWIG_POINTER_EXCEPTION | 0);
23096 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23097 {
23098 PyThreadState* __tstate = wxPyBeginAllowThreads();
23099 result = (bool)((wxIdleEvent const *)arg1)->MoreRequested();
23100
23101 wxPyEndAllowThreads(__tstate);
23102 if (PyErr_Occurred()) SWIG_fail;
23103 }
4f89f6a3
RD
23104 {
23105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23106 }
d14a1e28
RD
23107 return resultobj;
23108 fail:
23109 return NULL;
23110}
23111
23112
c32bde28 23113static PyObject *_wrap_IdleEvent_SetMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23114 PyObject *resultobj = NULL;
093d3ff1 23115 wxIdleMode arg1 ;
994141e6 23116 PyObject * obj0 = 0 ;
d14a1e28
RD
23117 char *kwnames[] = {
23118 (char *) "mode", NULL
23119 };
23120
994141e6 23121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_SetMode",kwnames,&obj0)) goto fail;
093d3ff1 23122 {
32fe5131 23123 arg1 = static_cast<wxIdleMode >(SWIG_As_int(obj0));
093d3ff1
RD
23124 if (SWIG_arg_fail(1)) SWIG_fail;
23125 }
d14a1e28
RD
23126 {
23127 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 23128 wxIdleEvent::SetMode(arg1);
d14a1e28
RD
23129
23130 wxPyEndAllowThreads(__tstate);
23131 if (PyErr_Occurred()) SWIG_fail;
23132 }
23133 Py_INCREF(Py_None); resultobj = Py_None;
23134 return resultobj;
23135 fail:
23136 return NULL;
23137}
23138
23139
c32bde28 23140static PyObject *_wrap_IdleEvent_GetMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23141 PyObject *resultobj = NULL;
093d3ff1 23142 wxIdleMode result;
d14a1e28
RD
23143 char *kwnames[] = {
23144 NULL
23145 };
23146
23147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IdleEvent_GetMode",kwnames)) goto fail;
23148 {
23149 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 23150 result = (wxIdleMode)wxIdleEvent::GetMode();
d14a1e28
RD
23151
23152 wxPyEndAllowThreads(__tstate);
23153 if (PyErr_Occurred()) SWIG_fail;
23154 }
093d3ff1 23155 resultobj = SWIG_From_int((result));
d14a1e28
RD
23156 return resultobj;
23157 fail:
23158 return NULL;
23159}
23160
23161
c32bde28 23162static PyObject *_wrap_IdleEvent_CanSend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23163 PyObject *resultobj = NULL;
d14a1e28
RD
23164 wxWindow *arg1 = (wxWindow *) 0 ;
23165 bool result;
23166 PyObject * obj0 = 0 ;
23167 char *kwnames[] = {
23168 (char *) "win", NULL
23169 };
23170
23171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_CanSend",kwnames,&obj0)) goto fail;
093d3ff1
RD
23172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23173 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23174 {
23175 PyThreadState* __tstate = wxPyBeginAllowThreads();
23176 result = (bool)wxIdleEvent::CanSend(arg1);
23177
23178 wxPyEndAllowThreads(__tstate);
23179 if (PyErr_Occurred()) SWIG_fail;
23180 }
4f89f6a3
RD
23181 {
23182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23183 }
d14a1e28
RD
23184 return resultobj;
23185 fail:
23186 return NULL;
23187}
23188
23189
c32bde28 23190static PyObject * IdleEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
23191 PyObject *obj;
23192 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23193 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent, obj);
23194 Py_INCREF(obj);
23195 return Py_BuildValue((char *)"");
23196}
c32bde28 23197static PyObject *_wrap_new_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23198 PyObject *resultobj = NULL;
d14a1e28
RD
23199 int arg1 = (int) 0 ;
23200 wxEventType arg2 = (wxEventType) wxEVT_NULL ;
23201 wxPyEvent *result;
994141e6
RD
23202 PyObject * obj0 = 0 ;
23203 PyObject * obj1 = 0 ;
d14a1e28 23204 char *kwnames[] = {
5ba5649b 23205 (char *) "winid",(char *) "eventType", NULL
d14a1e28
RD
23206 };
23207
994141e6
RD
23208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEvent",kwnames,&obj0,&obj1)) goto fail;
23209 if (obj0) {
093d3ff1 23210 {
32fe5131 23211 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
23212 if (SWIG_arg_fail(1)) SWIG_fail;
23213 }
994141e6
RD
23214 }
23215 if (obj1) {
093d3ff1 23216 {
32fe5131 23217 arg2 = static_cast<wxEventType >(SWIG_As_int(obj1));
093d3ff1
RD
23218 if (SWIG_arg_fail(2)) SWIG_fail;
23219 }
994141e6 23220 }
d14a1e28
RD
23221 {
23222 PyThreadState* __tstate = wxPyBeginAllowThreads();
23223 result = (wxPyEvent *)new wxPyEvent(arg1,arg2);
23224
23225 wxPyEndAllowThreads(__tstate);
23226 if (PyErr_Occurred()) SWIG_fail;
23227 }
15afbcd0 23228 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyEvent, 1);
d14a1e28
RD
23229 return resultobj;
23230 fail:
23231 return NULL;
23232}
23233
23234
c32bde28 23235static PyObject *_wrap_delete_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23236 PyObject *resultobj = NULL;
d14a1e28
RD
23237 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
23238 PyObject * obj0 = 0 ;
23239 char *kwnames[] = {
23240 (char *) "self", NULL
23241 };
23242
23243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
23244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEvent, SWIG_POINTER_EXCEPTION | 0);
23245 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23246 {
23247 PyThreadState* __tstate = wxPyBeginAllowThreads();
23248 delete arg1;
23249
23250 wxPyEndAllowThreads(__tstate);
23251 if (PyErr_Occurred()) SWIG_fail;
23252 }
23253 Py_INCREF(Py_None); resultobj = Py_None;
23254 return resultobj;
23255 fail:
23256 return NULL;
23257}
23258
23259
5ba5649b 23260static PyObject *_wrap_PyEvent__SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23261 PyObject *resultobj = NULL;
d14a1e28
RD
23262 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
23263 PyObject *arg2 = (PyObject *) 0 ;
23264 PyObject * obj0 = 0 ;
23265 PyObject * obj1 = 0 ;
23266 char *kwnames[] = {
23267 (char *) "self",(char *) "self", NULL
23268 };
23269
5ba5649b 23270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent__SetSelf",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEvent, SWIG_POINTER_EXCEPTION | 0);
23272 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23273 arg2 = obj1;
23274 {
23275 PyThreadState* __tstate = wxPyBeginAllowThreads();
23276 (arg1)->SetSelf(arg2);
23277
23278 wxPyEndAllowThreads(__tstate);
23279 if (PyErr_Occurred()) SWIG_fail;
23280 }
23281 Py_INCREF(Py_None); resultobj = Py_None;
23282 return resultobj;
23283 fail:
23284 return NULL;
23285}
23286
23287
5ba5649b 23288static PyObject *_wrap_PyEvent__GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23289 PyObject *resultobj = NULL;
d14a1e28
RD
23290 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
23291 PyObject *result;
23292 PyObject * obj0 = 0 ;
23293 char *kwnames[] = {
23294 (char *) "self", NULL
23295 };
23296
5ba5649b 23297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent__GetSelf",kwnames,&obj0)) goto fail;
093d3ff1
RD
23298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEvent, SWIG_POINTER_EXCEPTION | 0);
23299 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23300 {
23301 PyThreadState* __tstate = wxPyBeginAllowThreads();
23302 result = (PyObject *)(arg1)->GetSelf();
23303
23304 wxPyEndAllowThreads(__tstate);
23305 if (PyErr_Occurred()) SWIG_fail;
23306 }
23307 resultobj = result;
23308 return resultobj;
23309 fail:
23310 return NULL;
23311}
23312
23313
c32bde28 23314static PyObject * PyEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
23315 PyObject *obj;
23316 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23317 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent, obj);
23318 Py_INCREF(obj);
23319 return Py_BuildValue((char *)"");
23320}
c32bde28 23321static PyObject *_wrap_new_PyCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23322 PyObject *resultobj = NULL;
d14a1e28
RD
23323 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23324 int arg2 = (int) 0 ;
23325 wxPyCommandEvent *result;
994141e6
RD
23326 PyObject * obj0 = 0 ;
23327 PyObject * obj1 = 0 ;
d14a1e28 23328 char *kwnames[] = {
5ba5649b 23329 (char *) "eventType",(char *) "id", NULL
d14a1e28
RD
23330 };
23331
994141e6
RD
23332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyCommandEvent",kwnames,&obj0,&obj1)) goto fail;
23333 if (obj0) {
093d3ff1 23334 {
32fe5131 23335 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
23336 if (SWIG_arg_fail(1)) SWIG_fail;
23337 }
994141e6
RD
23338 }
23339 if (obj1) {
093d3ff1 23340 {
32fe5131 23341 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
23342 if (SWIG_arg_fail(2)) SWIG_fail;
23343 }
994141e6 23344 }
d14a1e28
RD
23345 {
23346 PyThreadState* __tstate = wxPyBeginAllowThreads();
23347 result = (wxPyCommandEvent *)new wxPyCommandEvent(arg1,arg2);
23348
23349 wxPyEndAllowThreads(__tstate);
23350 if (PyErr_Occurred()) SWIG_fail;
23351 }
15afbcd0 23352 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCommandEvent, 1);
d14a1e28
RD
23353 return resultobj;
23354 fail:
23355 return NULL;
23356}
23357
23358
c32bde28 23359static PyObject *_wrap_delete_PyCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23360 PyObject *resultobj = NULL;
d14a1e28
RD
23361 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
23362 PyObject * obj0 = 0 ;
23363 char *kwnames[] = {
23364 (char *) "self", NULL
23365 };
23366
23367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyCommandEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
23368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCommandEvent, SWIG_POINTER_EXCEPTION | 0);
23369 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23370 {
23371 PyThreadState* __tstate = wxPyBeginAllowThreads();
23372 delete arg1;
23373
23374 wxPyEndAllowThreads(__tstate);
23375 if (PyErr_Occurred()) SWIG_fail;
23376 }
23377 Py_INCREF(Py_None); resultobj = Py_None;
23378 return resultobj;
23379 fail:
23380 return NULL;
23381}
23382
23383
5ba5649b 23384static PyObject *_wrap_PyCommandEvent__SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23385 PyObject *resultobj = NULL;
d14a1e28
RD
23386 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
23387 PyObject *arg2 = (PyObject *) 0 ;
23388 PyObject * obj0 = 0 ;
23389 PyObject * obj1 = 0 ;
23390 char *kwnames[] = {
23391 (char *) "self",(char *) "self", NULL
23392 };
23393
5ba5649b 23394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent__SetSelf",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCommandEvent, SWIG_POINTER_EXCEPTION | 0);
23396 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23397 arg2 = obj1;
23398 {
23399 PyThreadState* __tstate = wxPyBeginAllowThreads();
23400 (arg1)->SetSelf(arg2);
23401
23402 wxPyEndAllowThreads(__tstate);
23403 if (PyErr_Occurred()) SWIG_fail;
23404 }
23405 Py_INCREF(Py_None); resultobj = Py_None;
23406 return resultobj;
23407 fail:
23408 return NULL;
23409}
23410
23411
5ba5649b 23412static PyObject *_wrap_PyCommandEvent__GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23413 PyObject *resultobj = NULL;
d14a1e28
RD
23414 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
23415 PyObject *result;
23416 PyObject * obj0 = 0 ;
23417 char *kwnames[] = {
23418 (char *) "self", NULL
23419 };
23420
5ba5649b 23421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent__GetSelf",kwnames,&obj0)) goto fail;
093d3ff1
RD
23422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCommandEvent, SWIG_POINTER_EXCEPTION | 0);
23423 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23424 {
23425 PyThreadState* __tstate = wxPyBeginAllowThreads();
23426 result = (PyObject *)(arg1)->GetSelf();
23427
23428 wxPyEndAllowThreads(__tstate);
23429 if (PyErr_Occurred()) SWIG_fail;
23430 }
23431 resultobj = result;
23432 return resultobj;
23433 fail:
23434 return NULL;
23435}
23436
23437
c32bde28 23438static PyObject * PyCommandEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
23439 PyObject *obj;
23440 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23441 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent, obj);
23442 Py_INCREF(obj);
23443 return Py_BuildValue((char *)"");
23444}
53aa7709 23445static PyObject *_wrap_new_DateEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23446 PyObject *resultobj = NULL;
53aa7709
RD
23447 wxWindow *arg1 = (wxWindow *) 0 ;
23448 wxDateTime *arg2 = 0 ;
23449 wxEventType arg3 ;
23450 wxDateEvent *result;
23451 PyObject * obj0 = 0 ;
23452 PyObject * obj1 = 0 ;
23453 PyObject * obj2 = 0 ;
23454 char *kwnames[] = {
23455 (char *) "win",(char *) "dt",(char *) "type", NULL
23456 };
23457
23458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_DateEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
23459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23460 if (SWIG_arg_fail(1)) SWIG_fail;
23461 {
23462 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23463 if (SWIG_arg_fail(2)) SWIG_fail;
23464 if (arg2 == NULL) {
23465 SWIG_null_ref("wxDateTime");
23466 }
23467 if (SWIG_arg_fail(2)) SWIG_fail;
23468 }
23469 {
32fe5131 23470 arg3 = static_cast<wxEventType >(SWIG_As_int(obj2));
53aa7709
RD
23471 if (SWIG_arg_fail(3)) SWIG_fail;
23472 }
23473 {
23474 PyThreadState* __tstate = wxPyBeginAllowThreads();
23475 result = (wxDateEvent *)new wxDateEvent(arg1,(wxDateTime const &)*arg2,arg3);
23476
23477 wxPyEndAllowThreads(__tstate);
23478 if (PyErr_Occurred()) SWIG_fail;
23479 }
23480 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateEvent, 1);
23481 return resultobj;
23482 fail:
23483 return NULL;
23484}
23485
23486
23487static PyObject *_wrap_DateEvent_GetDate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23488 PyObject *resultobj = NULL;
53aa7709
RD
23489 wxDateEvent *arg1 = (wxDateEvent *) 0 ;
23490 wxDateTime *result;
23491 PyObject * obj0 = 0 ;
23492 char *kwnames[] = {
23493 (char *) "self", NULL
23494 };
23495
23496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateEvent_GetDate",kwnames,&obj0)) goto fail;
23497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateEvent, SWIG_POINTER_EXCEPTION | 0);
23498 if (SWIG_arg_fail(1)) SWIG_fail;
23499 {
23500 PyThreadState* __tstate = wxPyBeginAllowThreads();
23501 {
23502 wxDateTime const &_result_ref = ((wxDateEvent const *)arg1)->GetDate();
23503 result = (wxDateTime *) &_result_ref;
23504 }
23505
23506 wxPyEndAllowThreads(__tstate);
23507 if (PyErr_Occurred()) SWIG_fail;
23508 }
23509 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
23510 return resultobj;
23511 fail:
23512 return NULL;
23513}
23514
23515
23516static PyObject *_wrap_DateEvent_SetDate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23517 PyObject *resultobj = NULL;
53aa7709
RD
23518 wxDateEvent *arg1 = (wxDateEvent *) 0 ;
23519 wxDateTime *arg2 = 0 ;
23520 PyObject * obj0 = 0 ;
23521 PyObject * obj1 = 0 ;
23522 char *kwnames[] = {
23523 (char *) "self",(char *) "date", NULL
23524 };
23525
23526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateEvent_SetDate",kwnames,&obj0,&obj1)) goto fail;
23527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateEvent, SWIG_POINTER_EXCEPTION | 0);
23528 if (SWIG_arg_fail(1)) SWIG_fail;
23529 {
23530 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23531 if (SWIG_arg_fail(2)) SWIG_fail;
23532 if (arg2 == NULL) {
23533 SWIG_null_ref("wxDateTime");
23534 }
23535 if (SWIG_arg_fail(2)) SWIG_fail;
23536 }
23537 {
23538 PyThreadState* __tstate = wxPyBeginAllowThreads();
23539 (arg1)->SetDate((wxDateTime const &)*arg2);
23540
23541 wxPyEndAllowThreads(__tstate);
23542 if (PyErr_Occurred()) SWIG_fail;
23543 }
23544 Py_INCREF(Py_None); resultobj = Py_None;
23545 return resultobj;
23546 fail:
23547 return NULL;
23548}
23549
23550
23551static PyObject * DateEvent_swigregister(PyObject *, PyObject *args) {
23552 PyObject *obj;
23553 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23554 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent, obj);
23555 Py_INCREF(obj);
23556 return Py_BuildValue((char *)"");
23557}
c32bde28 23558static PyObject *_wrap_new_PyApp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23559 PyObject *resultobj = NULL;
d14a1e28
RD
23560 wxPyApp *result;
23561 char *kwnames[] = {
23562 NULL
23563 };
23564
23565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyApp",kwnames)) goto fail;
23566 {
23567 PyThreadState* __tstate = wxPyBeginAllowThreads();
23568 result = (wxPyApp *)new_wxPyApp();
23569
23570 wxPyEndAllowThreads(__tstate);
23571 if (PyErr_Occurred()) SWIG_fail;
23572 }
b0f7404b 23573 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyApp, 1);
d14a1e28
RD
23574 return resultobj;
23575 fail:
23576 return NULL;
23577}
23578
23579
c32bde28 23580static PyObject *_wrap_delete_PyApp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23581 PyObject *resultobj = NULL;
d14a1e28
RD
23582 wxPyApp *arg1 = (wxPyApp *) 0 ;
23583 PyObject * obj0 = 0 ;
23584 char *kwnames[] = {
23585 (char *) "self", NULL
23586 };
23587
23588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyApp",kwnames,&obj0)) goto fail;
093d3ff1
RD
23589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23590 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23591 {
23592 PyThreadState* __tstate = wxPyBeginAllowThreads();
23593 delete arg1;
23594
23595 wxPyEndAllowThreads(__tstate);
23596 if (PyErr_Occurred()) SWIG_fail;
23597 }
23598 Py_INCREF(Py_None); resultobj = Py_None;
23599 return resultobj;
23600 fail:
23601 return NULL;
23602}
23603
23604
c32bde28 23605static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23606 PyObject *resultobj = NULL;
d14a1e28
RD
23607 wxPyApp *arg1 = (wxPyApp *) 0 ;
23608 PyObject *arg2 = (PyObject *) 0 ;
23609 PyObject *arg3 = (PyObject *) 0 ;
70b7a5fe 23610 bool arg4 ;
d14a1e28
RD
23611 PyObject * obj0 = 0 ;
23612 PyObject * obj1 = 0 ;
23613 PyObject * obj2 = 0 ;
70b7a5fe 23614 PyObject * obj3 = 0 ;
d14a1e28 23615 char *kwnames[] = {
70b7a5fe 23616 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
d14a1e28
RD
23617 };
23618
70b7a5fe 23619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
23620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23621 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23622 arg2 = obj1;
23623 arg3 = obj2;
70b7a5fe 23624 {
32fe5131 23625 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
70b7a5fe
RD
23626 if (SWIG_arg_fail(4)) SWIG_fail;
23627 }
d14a1e28
RD
23628 {
23629 PyThreadState* __tstate = wxPyBeginAllowThreads();
70b7a5fe 23630 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
d14a1e28
RD
23631
23632 wxPyEndAllowThreads(__tstate);
23633 if (PyErr_Occurred()) SWIG_fail;
23634 }
23635 Py_INCREF(Py_None); resultobj = Py_None;
23636 return resultobj;
23637 fail:
23638 return NULL;
23639}
23640
23641
c32bde28 23642static PyObject *_wrap_PyApp_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23643 PyObject *resultobj = NULL;
d14a1e28
RD
23644 wxPyApp *arg1 = (wxPyApp *) 0 ;
23645 wxString result;
23646 PyObject * obj0 = 0 ;
23647 char *kwnames[] = {
23648 (char *) "self", NULL
23649 };
23650
23651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAppName",kwnames,&obj0)) goto fail;
093d3ff1
RD
23652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23653 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23654 {
23655 PyThreadState* __tstate = wxPyBeginAllowThreads();
23656 result = ((wxPyApp const *)arg1)->GetAppName();
23657
23658 wxPyEndAllowThreads(__tstate);
23659 if (PyErr_Occurred()) SWIG_fail;
23660 }
23661 {
23662#if wxUSE_UNICODE
23663 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23664#else
23665 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23666#endif
23667 }
23668 return resultobj;
23669 fail:
23670 return NULL;
23671}
23672
23673
c32bde28 23674static PyObject *_wrap_PyApp_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23675 PyObject *resultobj = NULL;
d14a1e28
RD
23676 wxPyApp *arg1 = (wxPyApp *) 0 ;
23677 wxString *arg2 = 0 ;
ae8162c8 23678 bool temp2 = false ;
d14a1e28
RD
23679 PyObject * obj0 = 0 ;
23680 PyObject * obj1 = 0 ;
23681 char *kwnames[] = {
23682 (char *) "self",(char *) "name", NULL
23683 };
23684
23685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAppName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23687 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23688 {
23689 arg2 = wxString_in_helper(obj1);
23690 if (arg2 == NULL) SWIG_fail;
ae8162c8 23691 temp2 = true;
d14a1e28
RD
23692 }
23693 {
23694 PyThreadState* __tstate = wxPyBeginAllowThreads();
23695 (arg1)->SetAppName((wxString const &)*arg2);
23696
23697 wxPyEndAllowThreads(__tstate);
23698 if (PyErr_Occurred()) SWIG_fail;
23699 }
23700 Py_INCREF(Py_None); resultobj = Py_None;
23701 {
23702 if (temp2)
23703 delete arg2;
23704 }
23705 return resultobj;
23706 fail:
23707 {
23708 if (temp2)
23709 delete arg2;
23710 }
23711 return NULL;
23712}
23713
23714
c32bde28 23715static PyObject *_wrap_PyApp_GetClassName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23716 PyObject *resultobj = NULL;
d14a1e28
RD
23717 wxPyApp *arg1 = (wxPyApp *) 0 ;
23718 wxString result;
23719 PyObject * obj0 = 0 ;
23720 char *kwnames[] = {
23721 (char *) "self", NULL
23722 };
23723
23724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetClassName",kwnames,&obj0)) goto fail;
093d3ff1
RD
23725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23726 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23727 {
23728 PyThreadState* __tstate = wxPyBeginAllowThreads();
23729 result = ((wxPyApp const *)arg1)->GetClassName();
23730
23731 wxPyEndAllowThreads(__tstate);
23732 if (PyErr_Occurred()) SWIG_fail;
23733 }
23734 {
23735#if wxUSE_UNICODE
23736 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23737#else
23738 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23739#endif
23740 }
23741 return resultobj;
23742 fail:
23743 return NULL;
23744}
23745
23746
c32bde28 23747static PyObject *_wrap_PyApp_SetClassName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23748 PyObject *resultobj = NULL;
d14a1e28
RD
23749 wxPyApp *arg1 = (wxPyApp *) 0 ;
23750 wxString *arg2 = 0 ;
ae8162c8 23751 bool temp2 = false ;
d14a1e28
RD
23752 PyObject * obj0 = 0 ;
23753 PyObject * obj1 = 0 ;
23754 char *kwnames[] = {
23755 (char *) "self",(char *) "name", NULL
23756 };
23757
23758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetClassName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23760 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23761 {
23762 arg2 = wxString_in_helper(obj1);
23763 if (arg2 == NULL) SWIG_fail;
ae8162c8 23764 temp2 = true;
d14a1e28
RD
23765 }
23766 {
23767 PyThreadState* __tstate = wxPyBeginAllowThreads();
23768 (arg1)->SetClassName((wxString const &)*arg2);
23769
23770 wxPyEndAllowThreads(__tstate);
23771 if (PyErr_Occurred()) SWIG_fail;
23772 }
23773 Py_INCREF(Py_None); resultobj = Py_None;
23774 {
23775 if (temp2)
23776 delete arg2;
23777 }
23778 return resultobj;
23779 fail:
23780 {
23781 if (temp2)
23782 delete arg2;
23783 }
23784 return NULL;
23785}
23786
23787
c32bde28 23788static PyObject *_wrap_PyApp_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23789 PyObject *resultobj = NULL;
d14a1e28
RD
23790 wxPyApp *arg1 = (wxPyApp *) 0 ;
23791 wxString *result;
23792 PyObject * obj0 = 0 ;
23793 char *kwnames[] = {
23794 (char *) "self", NULL
23795 };
23796
23797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetVendorName",kwnames,&obj0)) goto fail;
093d3ff1
RD
23798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23799 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23800 {
23801 PyThreadState* __tstate = wxPyBeginAllowThreads();
23802 {
23803 wxString const &_result_ref = ((wxPyApp const *)arg1)->GetVendorName();
23804 result = (wxString *) &_result_ref;
23805 }
23806
23807 wxPyEndAllowThreads(__tstate);
23808 if (PyErr_Occurred()) SWIG_fail;
23809 }
cc6dd355
RD
23810 {
23811#if wxUSE_UNICODE
23812 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23813#else
23814 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23815#endif
23816 }
d14a1e28
RD
23817 return resultobj;
23818 fail:
23819 return NULL;
23820}
23821
23822
c32bde28 23823static PyObject *_wrap_PyApp_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23824 PyObject *resultobj = NULL;
d14a1e28
RD
23825 wxPyApp *arg1 = (wxPyApp *) 0 ;
23826 wxString *arg2 = 0 ;
ae8162c8 23827 bool temp2 = false ;
d14a1e28
RD
23828 PyObject * obj0 = 0 ;
23829 PyObject * obj1 = 0 ;
23830 char *kwnames[] = {
23831 (char *) "self",(char *) "name", NULL
23832 };
23833
23834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23836 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23837 {
23838 arg2 = wxString_in_helper(obj1);
23839 if (arg2 == NULL) SWIG_fail;
ae8162c8 23840 temp2 = true;
d14a1e28
RD
23841 }
23842 {
23843 PyThreadState* __tstate = wxPyBeginAllowThreads();
23844 (arg1)->SetVendorName((wxString const &)*arg2);
23845
23846 wxPyEndAllowThreads(__tstate);
23847 if (PyErr_Occurred()) SWIG_fail;
23848 }
23849 Py_INCREF(Py_None); resultobj = Py_None;
23850 {
23851 if (temp2)
23852 delete arg2;
23853 }
23854 return resultobj;
23855 fail:
23856 {
23857 if (temp2)
23858 delete arg2;
23859 }
23860 return NULL;
23861}
23862
23863
c32bde28 23864static PyObject *_wrap_PyApp_GetTraits(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23865 PyObject *resultobj = NULL;
d14a1e28
RD
23866 wxPyApp *arg1 = (wxPyApp *) 0 ;
23867 wxAppTraits *result;
23868 PyObject * obj0 = 0 ;
23869 char *kwnames[] = {
23870 (char *) "self", NULL
23871 };
23872
23873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTraits",kwnames,&obj0)) goto fail;
093d3ff1
RD
23874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23875 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23876 {
23877 PyThreadState* __tstate = wxPyBeginAllowThreads();
23878 result = (wxAppTraits *)(arg1)->GetTraits();
23879
23880 wxPyEndAllowThreads(__tstate);
23881 if (PyErr_Occurred()) SWIG_fail;
23882 }
15afbcd0 23883 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAppTraits, 0);
d14a1e28
RD
23884 return resultobj;
23885 fail:
23886 return NULL;
23887}
23888
23889
c32bde28 23890static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23891 PyObject *resultobj = NULL;
d14a1e28
RD
23892 wxPyApp *arg1 = (wxPyApp *) 0 ;
23893 PyObject * obj0 = 0 ;
23894 char *kwnames[] = {
23895 (char *) "self", NULL
23896 };
23897
23898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessPendingEvents",kwnames,&obj0)) goto fail;
093d3ff1
RD
23899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23900 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23901 {
23902 PyThreadState* __tstate = wxPyBeginAllowThreads();
23903 (arg1)->ProcessPendingEvents();
23904
23905 wxPyEndAllowThreads(__tstate);
23906 if (PyErr_Occurred()) SWIG_fail;
23907 }
23908 Py_INCREF(Py_None); resultobj = Py_None;
23909 return resultobj;
23910 fail:
23911 return NULL;
23912}
23913
23914
c32bde28 23915static PyObject *_wrap_PyApp_Yield(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23916 PyObject *resultobj = NULL;
d14a1e28 23917 wxPyApp *arg1 = (wxPyApp *) 0 ;
ae8162c8 23918 bool arg2 = (bool) false ;
d14a1e28
RD
23919 bool result;
23920 PyObject * obj0 = 0 ;
23921 PyObject * obj1 = 0 ;
23922 char *kwnames[] = {
23923 (char *) "self",(char *) "onlyIfNeeded", NULL
23924 };
23925
23926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyApp_Yield",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23928 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 23929 if (obj1) {
093d3ff1 23930 {
32fe5131 23931 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
23932 if (SWIG_arg_fail(2)) SWIG_fail;
23933 }
d14a1e28
RD
23934 }
23935 {
23936 PyThreadState* __tstate = wxPyBeginAllowThreads();
23937 result = (bool)(arg1)->Yield(arg2);
23938
23939 wxPyEndAllowThreads(__tstate);
23940 if (PyErr_Occurred()) SWIG_fail;
23941 }
4f89f6a3
RD
23942 {
23943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23944 }
d14a1e28
RD
23945 return resultobj;
23946 fail:
23947 return NULL;
23948}
23949
23950
c32bde28 23951static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23952 PyObject *resultobj = NULL;
d14a1e28
RD
23953 wxPyApp *arg1 = (wxPyApp *) 0 ;
23954 PyObject * obj0 = 0 ;
23955 char *kwnames[] = {
23956 (char *) "self", NULL
23957 };
23958
23959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_WakeUpIdle",kwnames,&obj0)) goto fail;
093d3ff1
RD
23960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
23961 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23962 {
23963 PyThreadState* __tstate = wxPyBeginAllowThreads();
23964 (arg1)->WakeUpIdle();
23965
23966 wxPyEndAllowThreads(__tstate);
23967 if (PyErr_Occurred()) SWIG_fail;
23968 }
23969 Py_INCREF(Py_None); resultobj = Py_None;
23970 return resultobj;
23971 fail:
23972 return NULL;
23973}
23974
23975
1fc3b23a 23976static PyObject *_wrap_PyApp_IsMainLoopRunning(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23977 PyObject *resultobj = NULL;
1fc3b23a
RD
23978 bool result;
23979 char *kwnames[] = {
23980 NULL
23981 };
23982
23983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_IsMainLoopRunning",kwnames)) goto fail;
23984 {
23985 PyThreadState* __tstate = wxPyBeginAllowThreads();
23986 result = (bool)wxPyApp::IsMainLoopRunning();
23987
23988 wxPyEndAllowThreads(__tstate);
23989 if (PyErr_Occurred()) SWIG_fail;
23990 }
23991 {
23992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23993 }
23994 return resultobj;
23995 fail:
23996 return NULL;
23997}
23998
23999
c32bde28 24000static PyObject *_wrap_PyApp_MainLoop(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24001 PyObject *resultobj = NULL;
d14a1e28
RD
24002 wxPyApp *arg1 = (wxPyApp *) 0 ;
24003 int result;
24004 PyObject * obj0 = 0 ;
24005 char *kwnames[] = {
24006 (char *) "self", NULL
24007 };
24008
24009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_MainLoop",kwnames,&obj0)) goto fail;
093d3ff1
RD
24010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
24011 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24012 {
24013 PyThreadState* __tstate = wxPyBeginAllowThreads();
24014 result = (int)(arg1)->MainLoop();
24015
24016 wxPyEndAllowThreads(__tstate);
24017 if (PyErr_Occurred()) SWIG_fail;
24018 }
093d3ff1 24019 {
32fe5131 24020 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24021 }
d14a1e28
RD
24022 return resultobj;
24023 fail:
24024 return NULL;
24025}
24026
24027
c32bde28 24028static PyObject *_wrap_PyApp_Exit(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24029 PyObject *resultobj = NULL;
d14a1e28
RD
24030 wxPyApp *arg1 = (wxPyApp *) 0 ;
24031 PyObject * obj0 = 0 ;
24032 char *kwnames[] = {
24033 (char *) "self", NULL
24034 };
24035
24036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Exit",kwnames,&obj0)) goto fail;
093d3ff1
RD
24037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
24038 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24039 {
24040 PyThreadState* __tstate = wxPyBeginAllowThreads();
24041 (arg1)->Exit();
24042
24043 wxPyEndAllowThreads(__tstate);
24044 if (PyErr_Occurred()) SWIG_fail;
24045 }
24046 Py_INCREF(Py_None); resultobj = Py_None;
24047 return resultobj;
24048 fail:
24049 return NULL;
24050}
24051
24052
c32bde28 24053static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24054 PyObject *resultobj = NULL;
d14a1e28
RD
24055 wxPyApp *arg1 = (wxPyApp *) 0 ;
24056 PyObject * obj0 = 0 ;
24057 char *kwnames[] = {
24058 (char *) "self", NULL
24059 };
24060
24061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ExitMainLoop",kwnames,&obj0)) goto fail;
093d3ff1
RD
24062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
24063 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24064 {
24065 PyThreadState* __tstate = wxPyBeginAllowThreads();
24066 (arg1)->ExitMainLoop();
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_PyApp_Pending(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24079 PyObject *resultobj = NULL;
d14a1e28
RD
24080 wxPyApp *arg1 = (wxPyApp *) 0 ;
24081 bool result;
24082 PyObject * obj0 = 0 ;
24083 char *kwnames[] = {
24084 (char *) "self", NULL
24085 };
24086
24087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Pending",kwnames,&obj0)) goto fail;
093d3ff1
RD
24088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
24089 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24090 {
24091 PyThreadState* __tstate = wxPyBeginAllowThreads();
24092 result = (bool)(arg1)->Pending();
24093
24094 wxPyEndAllowThreads(__tstate);
24095 if (PyErr_Occurred()) SWIG_fail;
24096 }
4f89f6a3
RD
24097 {
24098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24099 }
d14a1e28
RD
24100 return resultobj;
24101 fail:
24102 return NULL;
24103}
24104
24105
c32bde28 24106static PyObject *_wrap_PyApp_Dispatch(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24107 PyObject *resultobj = NULL;
d14a1e28
RD
24108 wxPyApp *arg1 = (wxPyApp *) 0 ;
24109 bool result;
24110 PyObject * obj0 = 0 ;
24111 char *kwnames[] = {
24112 (char *) "self", NULL
24113 };
24114
24115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Dispatch",kwnames,&obj0)) goto fail;
093d3ff1
RD
24116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
24117 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24118 {
24119 PyThreadState* __tstate = wxPyBeginAllowThreads();
24120 result = (bool)(arg1)->Dispatch();
24121
24122 wxPyEndAllowThreads(__tstate);
24123 if (PyErr_Occurred()) SWIG_fail;
24124 }
4f89f6a3
RD
24125 {
24126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24127 }
d14a1e28
RD
24128 return resultobj;
24129 fail:
24130 return NULL;
24131}
24132
24133
c32bde28 24134static PyObject *_wrap_PyApp_ProcessIdle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24135 PyObject *resultobj = NULL;
d14a1e28
RD
24136 wxPyApp *arg1 = (wxPyApp *) 0 ;
24137 bool result;
24138 PyObject * obj0 = 0 ;
24139 char *kwnames[] = {
24140 (char *) "self", NULL
24141 };
24142
24143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessIdle",kwnames,&obj0)) goto fail;
093d3ff1
RD
24144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
24145 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24146 {
24147 PyThreadState* __tstate = wxPyBeginAllowThreads();
24148 result = (bool)(arg1)->ProcessIdle();
24149
24150 wxPyEndAllowThreads(__tstate);
24151 if (PyErr_Occurred()) SWIG_fail;
24152 }
4f89f6a3
RD
24153 {
24154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24155 }
d14a1e28
RD
24156 return resultobj;
24157 fail:
24158 return NULL;
24159}
24160
24161
c32bde28 24162static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24163 PyObject *resultobj = NULL;
d14a1e28
RD
24164 wxPyApp *arg1 = (wxPyApp *) 0 ;
24165 wxWindow *arg2 = (wxWindow *) 0 ;
24166 wxIdleEvent *arg3 = 0 ;
24167 bool result;
24168 PyObject * obj0 = 0 ;
24169 PyObject * obj1 = 0 ;
24170 PyObject * obj2 = 0 ;
24171 char *kwnames[] = {
24172 (char *) "self",(char *) "win",(char *) "event", NULL
24173 };
24174
24175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp_SendIdleEvents",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
24177 if (SWIG_arg_fail(1)) SWIG_fail;
24178 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24179 if (SWIG_arg_fail(2)) SWIG_fail;
24180 {
24181 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxIdleEvent, SWIG_POINTER_EXCEPTION | 0);
24182 if (SWIG_arg_fail(3)) SWIG_fail;
24183 if (arg3 == NULL) {
24184 SWIG_null_ref("wxIdleEvent");
24185 }
24186 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
24187 }
24188 {
24189 PyThreadState* __tstate = wxPyBeginAllowThreads();
24190 result = (bool)(arg1)->SendIdleEvents(arg2,*arg3);
24191
24192 wxPyEndAllowThreads(__tstate);
24193 if (PyErr_Occurred()) SWIG_fail;
24194 }
4f89f6a3
RD
24195 {
24196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24197 }
d14a1e28
RD
24198 return resultobj;
24199 fail:
24200 return NULL;
24201}
24202
24203
c32bde28 24204static PyObject *_wrap_PyApp_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24205 PyObject *resultobj = NULL;
d14a1e28
RD
24206 wxPyApp *arg1 = (wxPyApp *) 0 ;
24207 bool result;
24208 PyObject * obj0 = 0 ;
24209 char *kwnames[] = {
24210 (char *) "self", NULL
24211 };
24212
24213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_IsActive",kwnames,&obj0)) goto fail;
093d3ff1
RD
24214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
24215 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24216 {
24217 PyThreadState* __tstate = wxPyBeginAllowThreads();
24218 result = (bool)((wxPyApp const *)arg1)->IsActive();
24219
24220 wxPyEndAllowThreads(__tstate);
24221 if (PyErr_Occurred()) SWIG_fail;
24222 }
4f89f6a3
RD
24223 {
24224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24225 }
d14a1e28
RD
24226 return resultobj;
24227 fail:
24228 return NULL;
24229}
24230
24231
c32bde28 24232static PyObject *_wrap_PyApp_SetTopWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24233 PyObject *resultobj = NULL;
d14a1e28
RD
24234 wxPyApp *arg1 = (wxPyApp *) 0 ;
24235 wxWindow *arg2 = (wxWindow *) 0 ;
24236 PyObject * obj0 = 0 ;
24237 PyObject * obj1 = 0 ;
24238 char *kwnames[] = {
24239 (char *) "self",(char *) "win", NULL
24240 };
24241
24242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
24244 if (SWIG_arg_fail(1)) SWIG_fail;
24245 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24246 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24247 {
24248 PyThreadState* __tstate = wxPyBeginAllowThreads();
24249 (arg1)->SetTopWindow(arg2);
24250
24251 wxPyEndAllowThreads(__tstate);
24252 if (PyErr_Occurred()) SWIG_fail;
24253 }
24254 Py_INCREF(Py_None); resultobj = Py_None;
24255 return resultobj;
24256 fail:
24257 return NULL;
24258}
24259
24260
c32bde28 24261static PyObject *_wrap_PyApp_GetTopWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24262 PyObject *resultobj = NULL;
d14a1e28
RD
24263 wxPyApp *arg1 = (wxPyApp *) 0 ;
24264 wxWindow *result;
24265 PyObject * obj0 = 0 ;
24266 char *kwnames[] = {
24267 (char *) "self", NULL
24268 };
24269
24270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTopWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
24271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
24272 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24273 {
24274 PyThreadState* __tstate = wxPyBeginAllowThreads();
24275 result = (wxWindow *)((wxPyApp const *)arg1)->GetTopWindow();
24276
24277 wxPyEndAllowThreads(__tstate);
24278 if (PyErr_Occurred()) SWIG_fail;
24279 }
24280 {
7e08d4ef 24281 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
24282 }
24283 return resultobj;
24284 fail:
24285 return NULL;
24286}
24287
24288
c32bde28 24289static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24290 PyObject *resultobj = NULL;
d14a1e28
RD
24291 wxPyApp *arg1 = (wxPyApp *) 0 ;
24292 bool arg2 ;
24293 PyObject * obj0 = 0 ;
24294 PyObject * obj1 = 0 ;
24295 char *kwnames[] = {
24296 (char *) "self",(char *) "flag", NULL
24297 };
24298
24299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
24301 if (SWIG_arg_fail(1)) SWIG_fail;
24302 {
32fe5131 24303 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
24304 if (SWIG_arg_fail(2)) SWIG_fail;
24305 }
d14a1e28
RD
24306 {
24307 PyThreadState* __tstate = wxPyBeginAllowThreads();
24308 (arg1)->SetExitOnFrameDelete(arg2);
24309
24310 wxPyEndAllowThreads(__tstate);
24311 if (PyErr_Occurred()) SWIG_fail;
24312 }
24313 Py_INCREF(Py_None); resultobj = Py_None;
24314 return resultobj;
24315 fail:
24316 return NULL;
24317}
24318
24319
c32bde28 24320static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24321 PyObject *resultobj = NULL;
d14a1e28
RD
24322 wxPyApp *arg1 = (wxPyApp *) 0 ;
24323 bool result;
24324 PyObject * obj0 = 0 ;
24325 char *kwnames[] = {
24326 (char *) "self", NULL
24327 };
24328
24329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames,&obj0)) goto fail;
093d3ff1
RD
24330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
24331 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24332 {
24333 PyThreadState* __tstate = wxPyBeginAllowThreads();
24334 result = (bool)((wxPyApp const *)arg1)->GetExitOnFrameDelete();
24335
24336 wxPyEndAllowThreads(__tstate);
24337 if (PyErr_Occurred()) SWIG_fail;
24338 }
4f89f6a3
RD
24339 {
24340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24341 }
d14a1e28
RD
24342 return resultobj;
24343 fail:
24344 return NULL;
24345}
24346
24347
c32bde28 24348static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24349 PyObject *resultobj = NULL;
d14a1e28
RD
24350 wxPyApp *arg1 = (wxPyApp *) 0 ;
24351 bool arg2 ;
24352 PyObject * obj0 = 0 ;
24353 PyObject * obj1 = 0 ;
24354 char *kwnames[] = {
24355 (char *) "self",(char *) "flag", NULL
24356 };
24357
24358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
24360 if (SWIG_arg_fail(1)) SWIG_fail;
24361 {
32fe5131 24362 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
24363 if (SWIG_arg_fail(2)) SWIG_fail;
24364 }
d14a1e28
RD
24365 {
24366 PyThreadState* __tstate = wxPyBeginAllowThreads();
24367 (arg1)->SetUseBestVisual(arg2);
24368
24369 wxPyEndAllowThreads(__tstate);
24370 if (PyErr_Occurred()) SWIG_fail;
24371 }
24372 Py_INCREF(Py_None); resultobj = Py_None;
24373 return resultobj;
24374 fail:
24375 return NULL;
24376}
24377
24378
c32bde28 24379static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24380 PyObject *resultobj = NULL;
d14a1e28
RD
24381 wxPyApp *arg1 = (wxPyApp *) 0 ;
24382 bool result;
24383 PyObject * obj0 = 0 ;
24384 char *kwnames[] = {
24385 (char *) "self", NULL
24386 };
24387
24388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetUseBestVisual",kwnames,&obj0)) goto fail;
093d3ff1
RD
24389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
24390 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24391 {
24392 PyThreadState* __tstate = wxPyBeginAllowThreads();
24393 result = (bool)((wxPyApp const *)arg1)->GetUseBestVisual();
24394
24395 wxPyEndAllowThreads(__tstate);
24396 if (PyErr_Occurred()) SWIG_fail;
24397 }
4f89f6a3
RD
24398 {
24399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24400 }
d14a1e28
RD
24401 return resultobj;
24402 fail:
24403 return NULL;
24404}
24405
24406
c32bde28 24407static PyObject *_wrap_PyApp_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24408 PyObject *resultobj = NULL;
d14a1e28
RD
24409 wxPyApp *arg1 = (wxPyApp *) 0 ;
24410 int arg2 ;
24411 PyObject * obj0 = 0 ;
994141e6 24412 PyObject * obj1 = 0 ;
d14a1e28
RD
24413 char *kwnames[] = {
24414 (char *) "self",(char *) "mode", NULL
24415 };
24416
994141e6 24417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
24419 if (SWIG_arg_fail(1)) SWIG_fail;
24420 {
32fe5131 24421 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
24422 if (SWIG_arg_fail(2)) SWIG_fail;
24423 }
d14a1e28
RD
24424 {
24425 PyThreadState* __tstate = wxPyBeginAllowThreads();
24426 (arg1)->SetPrintMode(arg2);
24427
24428 wxPyEndAllowThreads(__tstate);
24429 if (PyErr_Occurred()) SWIG_fail;
24430 }
24431 Py_INCREF(Py_None); resultobj = Py_None;
24432 return resultobj;
24433 fail:
24434 return NULL;
24435}
24436
24437
c32bde28 24438static PyObject *_wrap_PyApp_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24439 PyObject *resultobj = NULL;
d14a1e28
RD
24440 wxPyApp *arg1 = (wxPyApp *) 0 ;
24441 int result;
24442 PyObject * obj0 = 0 ;
24443 char *kwnames[] = {
24444 (char *) "self", NULL
24445 };
24446
24447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetPrintMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
24448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
24449 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24450 {
24451 PyThreadState* __tstate = wxPyBeginAllowThreads();
24452 result = (int)((wxPyApp const *)arg1)->GetPrintMode();
24453
24454 wxPyEndAllowThreads(__tstate);
24455 if (PyErr_Occurred()) SWIG_fail;
24456 }
093d3ff1 24457 {
32fe5131 24458 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24459 }
d14a1e28
RD
24460 return resultobj;
24461 fail:
24462 return NULL;
24463}
24464
24465
c32bde28 24466static PyObject *_wrap_PyApp_SetAssertMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24467 PyObject *resultobj = NULL;
d14a1e28 24468 wxPyApp *arg1 = (wxPyApp *) 0 ;
6c3b4aae 24469 int arg2 ;
d14a1e28 24470 PyObject * obj0 = 0 ;
994141e6 24471 PyObject * obj1 = 0 ;
d14a1e28 24472 char *kwnames[] = {
6c3b4aae 24473 (char *) "self",(char *) "mode", NULL
d14a1e28
RD
24474 };
24475
994141e6 24476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAssertMode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
24478 if (SWIG_arg_fail(1)) SWIG_fail;
24479 {
32fe5131 24480 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
24481 if (SWIG_arg_fail(2)) SWIG_fail;
24482 }
d14a1e28
RD
24483 {
24484 PyThreadState* __tstate = wxPyBeginAllowThreads();
6c3b4aae 24485 (arg1)->SetAssertMode(arg2);
d14a1e28
RD
24486
24487 wxPyEndAllowThreads(__tstate);
24488 if (PyErr_Occurred()) SWIG_fail;
24489 }
6c3b4aae 24490 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
24491 return resultobj;
24492 fail:
24493 return NULL;
24494}
24495
24496
c32bde28 24497static PyObject *_wrap_PyApp_GetAssertMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24498 PyObject *resultobj = NULL;
d14a1e28 24499 wxPyApp *arg1 = (wxPyApp *) 0 ;
6c3b4aae 24500 int result;
d14a1e28
RD
24501 PyObject * obj0 = 0 ;
24502 char *kwnames[] = {
6c3b4aae 24503 (char *) "self", NULL
d14a1e28
RD
24504 };
24505
6c3b4aae 24506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAssertMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
24507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
24508 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24509 {
24510 PyThreadState* __tstate = wxPyBeginAllowThreads();
6c3b4aae 24511 result = (int)(arg1)->GetAssertMode();
d14a1e28
RD
24512
24513 wxPyEndAllowThreads(__tstate);
24514 if (PyErr_Occurred()) SWIG_fail;
24515 }
093d3ff1 24516 {
32fe5131 24517 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24518 }
d14a1e28
RD
24519 return resultobj;
24520 fail:
24521 return NULL;
24522}
24523
24524
c32bde28 24525static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24526 PyObject *resultobj = NULL;
d14a1e28
RD
24527 bool result;
24528 char *kwnames[] = {
24529 NULL
24530 };
24531
24532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail;
24533 {
24534 PyThreadState* __tstate = wxPyBeginAllowThreads();
24535 result = (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
24536
24537 wxPyEndAllowThreads(__tstate);
24538 if (PyErr_Occurred()) SWIG_fail;
24539 }
4f89f6a3
RD
24540 {
24541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24542 }
d14a1e28
RD
24543 return resultobj;
24544 fail:
24545 return NULL;
24546}
24547
24548
c32bde28 24549static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24550 PyObject *resultobj = NULL;
d14a1e28
RD
24551 long result;
24552 char *kwnames[] = {
24553 NULL
24554 };
24555
24556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacAboutMenuItemId",kwnames)) goto fail;
24557 {
24558 PyThreadState* __tstate = wxPyBeginAllowThreads();
24559 result = (long)wxPyApp::GetMacAboutMenuItemId();
24560
24561 wxPyEndAllowThreads(__tstate);
24562 if (PyErr_Occurred()) SWIG_fail;
24563 }
093d3ff1 24564 {
32fe5131 24565 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 24566 }
d14a1e28
RD
24567 return resultobj;
24568 fail:
24569 return NULL;
24570}
24571
24572
c32bde28 24573static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24574 PyObject *resultobj = NULL;
d14a1e28
RD
24575 long result;
24576 char *kwnames[] = {
24577 NULL
24578 };
24579
24580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail;
24581 {
24582 PyThreadState* __tstate = wxPyBeginAllowThreads();
24583 result = (long)wxPyApp::GetMacPreferencesMenuItemId();
24584
24585 wxPyEndAllowThreads(__tstate);
24586 if (PyErr_Occurred()) SWIG_fail;
24587 }
093d3ff1 24588 {
32fe5131 24589 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 24590 }
d14a1e28
RD
24591 return resultobj;
24592 fail:
24593 return NULL;
24594}
24595
24596
c32bde28 24597static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24598 PyObject *resultobj = NULL;
d14a1e28
RD
24599 long result;
24600 char *kwnames[] = {
24601 NULL
24602 };
24603
24604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacExitMenuItemId",kwnames)) goto fail;
24605 {
24606 PyThreadState* __tstate = wxPyBeginAllowThreads();
24607 result = (long)wxPyApp::GetMacExitMenuItemId();
24608
24609 wxPyEndAllowThreads(__tstate);
24610 if (PyErr_Occurred()) SWIG_fail;
24611 }
093d3ff1 24612 {
32fe5131 24613 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 24614 }
d14a1e28
RD
24615 return resultobj;
24616 fail:
24617 return NULL;
24618}
24619
24620
c32bde28 24621static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24622 PyObject *resultobj = NULL;
d14a1e28
RD
24623 wxString result;
24624 char *kwnames[] = {
24625 NULL
24626 };
24627
24628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames)) goto fail;
24629 {
24630 PyThreadState* __tstate = wxPyBeginAllowThreads();
24631 result = wxPyApp::GetMacHelpMenuTitleName();
24632
24633 wxPyEndAllowThreads(__tstate);
24634 if (PyErr_Occurred()) SWIG_fail;
24635 }
24636 {
24637#if wxUSE_UNICODE
24638 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24639#else
24640 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24641#endif
24642 }
24643 return resultobj;
24644 fail:
24645 return NULL;
24646}
24647
24648
c32bde28 24649static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24650 PyObject *resultobj = NULL;
d14a1e28
RD
24651 bool arg1 ;
24652 PyObject * obj0 = 0 ;
24653 char *kwnames[] = {
24654 (char *) "val", NULL
24655 };
24656
24657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail;
093d3ff1 24658 {
32fe5131 24659 arg1 = static_cast<bool >(SWIG_As_bool(obj0));
093d3ff1
RD
24660 if (SWIG_arg_fail(1)) SWIG_fail;
24661 }
d14a1e28
RD
24662 {
24663 PyThreadState* __tstate = wxPyBeginAllowThreads();
24664 wxPyApp::SetMacSupportPCMenuShortcuts(arg1);
24665
24666 wxPyEndAllowThreads(__tstate);
24667 if (PyErr_Occurred()) SWIG_fail;
24668 }
24669 Py_INCREF(Py_None); resultobj = Py_None;
24670 return resultobj;
24671 fail:
24672 return NULL;
24673}
24674
24675
c32bde28 24676static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24677 PyObject *resultobj = NULL;
d14a1e28 24678 long arg1 ;
994141e6 24679 PyObject * obj0 = 0 ;
d14a1e28
RD
24680 char *kwnames[] = {
24681 (char *) "val", NULL
24682 };
24683
994141e6 24684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames,&obj0)) goto fail;
093d3ff1 24685 {
32fe5131 24686 arg1 = static_cast<long >(SWIG_As_long(obj0));
093d3ff1
RD
24687 if (SWIG_arg_fail(1)) SWIG_fail;
24688 }
d14a1e28
RD
24689 {
24690 PyThreadState* __tstate = wxPyBeginAllowThreads();
24691 wxPyApp::SetMacAboutMenuItemId(arg1);
24692
24693 wxPyEndAllowThreads(__tstate);
24694 if (PyErr_Occurred()) SWIG_fail;
24695 }
24696 Py_INCREF(Py_None); resultobj = Py_None;
24697 return resultobj;
24698 fail:
24699 return NULL;
24700}
24701
24702
c32bde28 24703static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24704 PyObject *resultobj = NULL;
d14a1e28 24705 long arg1 ;
994141e6 24706 PyObject * obj0 = 0 ;
d14a1e28
RD
24707 char *kwnames[] = {
24708 (char *) "val", NULL
24709 };
24710
994141e6 24711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames,&obj0)) goto fail;
093d3ff1 24712 {
32fe5131 24713 arg1 = static_cast<long >(SWIG_As_long(obj0));
093d3ff1
RD
24714 if (SWIG_arg_fail(1)) SWIG_fail;
24715 }
d14a1e28
RD
24716 {
24717 PyThreadState* __tstate = wxPyBeginAllowThreads();
24718 wxPyApp::SetMacPreferencesMenuItemId(arg1);
24719
24720 wxPyEndAllowThreads(__tstate);
24721 if (PyErr_Occurred()) SWIG_fail;
24722 }
24723 Py_INCREF(Py_None); resultobj = Py_None;
24724 return resultobj;
24725 fail:
24726 return NULL;
24727}
24728
24729
c32bde28 24730static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24731 PyObject *resultobj = NULL;
d14a1e28 24732 long arg1 ;
994141e6 24733 PyObject * obj0 = 0 ;
d14a1e28
RD
24734 char *kwnames[] = {
24735 (char *) "val", NULL
24736 };
24737
994141e6 24738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames,&obj0)) goto fail;
093d3ff1 24739 {
32fe5131 24740 arg1 = static_cast<long >(SWIG_As_long(obj0));
093d3ff1
RD
24741 if (SWIG_arg_fail(1)) SWIG_fail;
24742 }
d14a1e28
RD
24743 {
24744 PyThreadState* __tstate = wxPyBeginAllowThreads();
24745 wxPyApp::SetMacExitMenuItemId(arg1);
24746
24747 wxPyEndAllowThreads(__tstate);
24748 if (PyErr_Occurred()) SWIG_fail;
24749 }
24750 Py_INCREF(Py_None); resultobj = Py_None;
24751 return resultobj;
24752 fail:
24753 return NULL;
24754}
24755
24756
c32bde28 24757static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24758 PyObject *resultobj = NULL;
d14a1e28 24759 wxString *arg1 = 0 ;
ae8162c8 24760 bool temp1 = false ;
d14a1e28
RD
24761 PyObject * obj0 = 0 ;
24762 char *kwnames[] = {
24763 (char *) "val", NULL
24764 };
24765
24766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail;
24767 {
24768 arg1 = wxString_in_helper(obj0);
24769 if (arg1 == NULL) SWIG_fail;
ae8162c8 24770 temp1 = true;
d14a1e28
RD
24771 }
24772 {
24773 PyThreadState* __tstate = wxPyBeginAllowThreads();
24774 wxPyApp::SetMacHelpMenuTitleName((wxString const &)*arg1);
24775
24776 wxPyEndAllowThreads(__tstate);
24777 if (PyErr_Occurred()) SWIG_fail;
24778 }
24779 Py_INCREF(Py_None); resultobj = Py_None;
24780 {
24781 if (temp1)
24782 delete arg1;
24783 }
24784 return resultobj;
24785 fail:
24786 {
24787 if (temp1)
24788 delete arg1;
24789 }
24790 return NULL;
24791}
24792
24793
c32bde28 24794static PyObject *_wrap_PyApp__BootstrapApp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24795 PyObject *resultobj = NULL;
d14a1e28
RD
24796 wxPyApp *arg1 = (wxPyApp *) 0 ;
24797 PyObject * obj0 = 0 ;
24798 char *kwnames[] = {
24799 (char *) "self", NULL
24800 };
24801
24802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp__BootstrapApp",kwnames,&obj0)) goto fail;
093d3ff1
RD
24803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0);
24804 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24805 {
24806 PyThreadState* __tstate = wxPyBeginAllowThreads();
24807 (arg1)->_BootstrapApp();
24808
24809 wxPyEndAllowThreads(__tstate);
24810 if (PyErr_Occurred()) SWIG_fail;
24811 }
24812 Py_INCREF(Py_None); resultobj = Py_None;
24813 return resultobj;
24814 fail:
24815 return NULL;
24816}
24817
24818
c32bde28 24819static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24820 PyObject *resultobj = NULL;
d14a1e28
RD
24821 int result;
24822 char *kwnames[] = {
24823 NULL
24824 };
24825
24826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail;
24827 {
24828 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 24829 result = (int)wxPyApp_GetComCtl32Version();
d14a1e28
RD
24830
24831 wxPyEndAllowThreads(__tstate);
24832 if (PyErr_Occurred()) SWIG_fail;
24833 }
093d3ff1 24834 {
32fe5131 24835 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24836 }
d14a1e28
RD
24837 return resultobj;
24838 fail:
24839 return NULL;
24840}
24841
24842
c32bde28 24843static PyObject * PyApp_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24844 PyObject *obj;
24845 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24846 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp, obj);
24847 Py_INCREF(obj);
24848 return Py_BuildValue((char *)"");
24849}
c32bde28 24850static PyObject *_wrap_Exit(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24851 PyObject *resultobj = NULL;
d14a1e28
RD
24852 char *kwnames[] = {
24853 NULL
24854 };
24855
24856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Exit",kwnames)) goto fail;
24857 {
24858 PyThreadState* __tstate = wxPyBeginAllowThreads();
24859 wxExit();
24860
24861 wxPyEndAllowThreads(__tstate);
24862 if (PyErr_Occurred()) SWIG_fail;
24863 }
24864 Py_INCREF(Py_None); resultobj = Py_None;
24865 return resultobj;
24866 fail:
24867 return NULL;
24868}
24869
24870
c32bde28 24871static PyObject *_wrap_Yield(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24872 PyObject *resultobj = NULL;
d14a1e28
RD
24873 bool result;
24874 char *kwnames[] = {
24875 NULL
24876 };
24877
24878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Yield",kwnames)) goto fail;
24879 {
24880 PyThreadState* __tstate = wxPyBeginAllowThreads();
24881 result = (bool)wxYield();
24882
24883 wxPyEndAllowThreads(__tstate);
24884 if (PyErr_Occurred()) SWIG_fail;
24885 }
4f89f6a3
RD
24886 {
24887 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24888 }
d14a1e28
RD
24889 return resultobj;
24890 fail:
24891 return NULL;
24892}
24893
24894
c32bde28 24895static PyObject *_wrap_YieldIfNeeded(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24896 PyObject *resultobj = NULL;
d14a1e28
RD
24897 bool result;
24898 char *kwnames[] = {
24899 NULL
24900 };
24901
24902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":YieldIfNeeded",kwnames)) goto fail;
24903 {
24904 PyThreadState* __tstate = wxPyBeginAllowThreads();
24905 result = (bool)wxYieldIfNeeded();
24906
24907 wxPyEndAllowThreads(__tstate);
24908 if (PyErr_Occurred()) SWIG_fail;
24909 }
4f89f6a3
RD
24910 {
24911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24912 }
d14a1e28
RD
24913 return resultobj;
24914 fail:
24915 return NULL;
24916}
24917
24918
c32bde28 24919static PyObject *_wrap_SafeYield(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24920 PyObject *resultobj = NULL;
d14a1e28 24921 wxWindow *arg1 = (wxWindow *) NULL ;
ae8162c8 24922 bool arg2 = (bool) false ;
d14a1e28
RD
24923 bool result;
24924 PyObject * obj0 = 0 ;
24925 PyObject * obj1 = 0 ;
24926 char *kwnames[] = {
24927 (char *) "win",(char *) "onlyIfNeeded", NULL
24928 };
24929
24930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:SafeYield",kwnames,&obj0,&obj1)) goto fail;
24931 if (obj0) {
093d3ff1
RD
24932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24933 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24934 }
24935 if (obj1) {
093d3ff1 24936 {
32fe5131 24937 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
24938 if (SWIG_arg_fail(2)) SWIG_fail;
24939 }
d14a1e28
RD
24940 }
24941 {
24942 PyThreadState* __tstate = wxPyBeginAllowThreads();
24943 result = (bool)wxSafeYield(arg1,arg2);
24944
24945 wxPyEndAllowThreads(__tstate);
24946 if (PyErr_Occurred()) SWIG_fail;
24947 }
4f89f6a3
RD
24948 {
24949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24950 }
d14a1e28
RD
24951 return resultobj;
24952 fail:
24953 return NULL;
24954}
24955
24956
c32bde28 24957static PyObject *_wrap_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24958 PyObject *resultobj = NULL;
d14a1e28
RD
24959 char *kwnames[] = {
24960 NULL
24961 };
24962
24963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpIdle",kwnames)) goto fail;
24964 {
24965 PyThreadState* __tstate = wxPyBeginAllowThreads();
24966 wxWakeUpIdle();
24967
24968 wxPyEndAllowThreads(__tstate);
24969 if (PyErr_Occurred()) SWIG_fail;
24970 }
24971 Py_INCREF(Py_None); resultobj = Py_None;
24972 return resultobj;
24973 fail:
24974 return NULL;
24975}
24976
24977
c32bde28 24978static PyObject *_wrap_PostEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24979 PyObject *resultobj = NULL;
d14a1e28
RD
24980 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
24981 wxEvent *arg2 = 0 ;
24982 PyObject * obj0 = 0 ;
24983 PyObject * obj1 = 0 ;
24984 char *kwnames[] = {
24985 (char *) "dest",(char *) "event", NULL
24986 };
24987
24988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostEvent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
24990 if (SWIG_arg_fail(1)) SWIG_fail;
24991 {
24992 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0);
24993 if (SWIG_arg_fail(2)) SWIG_fail;
24994 if (arg2 == NULL) {
24995 SWIG_null_ref("wxEvent");
24996 }
24997 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24998 }
24999 {
25000 PyThreadState* __tstate = wxPyBeginAllowThreads();
25001 wxPostEvent(arg1,*arg2);
25002
25003 wxPyEndAllowThreads(__tstate);
25004 if (PyErr_Occurred()) SWIG_fail;
25005 }
25006 Py_INCREF(Py_None); resultobj = Py_None;
25007 return resultobj;
25008 fail:
25009 return NULL;
25010}
25011
25012
c32bde28 25013static PyObject *_wrap_App_CleanUp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25014 PyObject *resultobj = NULL;
d14a1e28
RD
25015 char *kwnames[] = {
25016 NULL
25017 };
25018
25019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":App_CleanUp",kwnames)) goto fail;
25020 {
25021 PyThreadState* __tstate = wxPyBeginAllowThreads();
25022 wxApp_CleanUp();
25023
25024 wxPyEndAllowThreads(__tstate);
25025 if (PyErr_Occurred()) SWIG_fail;
25026 }
25027 Py_INCREF(Py_None); resultobj = Py_None;
25028 return resultobj;
25029 fail:
25030 return NULL;
25031}
25032
25033
c32bde28 25034static PyObject *_wrap_GetApp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25035 PyObject *resultobj = NULL;
d14a1e28
RD
25036 wxPyApp *result;
25037 char *kwnames[] = {
25038 NULL
25039 };
25040
25041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetApp",kwnames)) goto fail;
25042 {
25043 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 25044 result = (wxPyApp *)wxPyGetApp();
d14a1e28
RD
25045
25046 wxPyEndAllowThreads(__tstate);
25047 if (PyErr_Occurred()) SWIG_fail;
25048 }
25049 {
412d302d 25050 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
25051 }
25052 return resultobj;
25053 fail:
25054 return NULL;
25055}
25056
25057
5cbf236d 25058static PyObject *_wrap_SetDefaultPyEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25059 PyObject *resultobj = NULL;
093d3ff1 25060 char *arg1 = (char *) 0 ;
5cbf236d
RD
25061 PyObject * obj0 = 0 ;
25062 char *kwnames[] = {
25063 (char *) "encoding", NULL
25064 };
25065
25066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetDefaultPyEncoding",kwnames,&obj0)) goto fail;
093d3ff1
RD
25067 if (!SWIG_AsCharPtr(obj0, (char**)&arg1)) {
25068 SWIG_arg_fail(1);SWIG_fail;
25069 }
5cbf236d
RD
25070 {
25071 PyThreadState* __tstate = wxPyBeginAllowThreads();
25072 wxSetDefaultPyEncoding((char const *)arg1);
25073
25074 wxPyEndAllowThreads(__tstate);
25075 if (PyErr_Occurred()) SWIG_fail;
25076 }
25077 Py_INCREF(Py_None); resultobj = Py_None;
25078 return resultobj;
25079 fail:
25080 return NULL;
25081}
25082
25083
25084static PyObject *_wrap_GetDefaultPyEncoding(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25085 PyObject *resultobj = NULL;
5cbf236d
RD
25086 char *result;
25087 char *kwnames[] = {
25088 NULL
25089 };
25090
25091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDefaultPyEncoding",kwnames)) goto fail;
25092 {
25093 PyThreadState* __tstate = wxPyBeginAllowThreads();
25094 result = (char *)wxGetDefaultPyEncoding();
25095
25096 wxPyEndAllowThreads(__tstate);
25097 if (PyErr_Occurred()) SWIG_fail;
25098 }
25099 resultobj = SWIG_FromCharPtr(result);
25100 return resultobj;
25101 fail:
25102 return NULL;
25103}
25104
25105
2ef75293 25106static PyObject *_wrap_new_EventLoop(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25107 PyObject *resultobj = NULL;
2ef75293
RD
25108 wxEventLoop *result;
25109 char *kwnames[] = {
25110 NULL
25111 };
25112
25113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EventLoop",kwnames)) goto fail;
25114 {
25115 PyThreadState* __tstate = wxPyBeginAllowThreads();
25116 result = (wxEventLoop *)new wxEventLoop();
25117
25118 wxPyEndAllowThreads(__tstate);
25119 if (PyErr_Occurred()) SWIG_fail;
25120 }
25121 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEventLoop, 1);
25122 return resultobj;
25123 fail:
25124 return NULL;
25125}
25126
25127
25128static PyObject *_wrap_delete_EventLoop(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25129 PyObject *resultobj = NULL;
2ef75293
RD
25130 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
25131 PyObject * obj0 = 0 ;
25132 char *kwnames[] = {
25133 (char *) "self", NULL
25134 };
25135
25136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_EventLoop",kwnames,&obj0)) goto fail;
093d3ff1
RD
25137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0);
25138 if (SWIG_arg_fail(1)) SWIG_fail;
2ef75293
RD
25139 {
25140 PyThreadState* __tstate = wxPyBeginAllowThreads();
25141 delete arg1;
25142
25143 wxPyEndAllowThreads(__tstate);
25144 if (PyErr_Occurred()) SWIG_fail;
25145 }
25146 Py_INCREF(Py_None); resultobj = Py_None;
25147 return resultobj;
25148 fail:
25149 return NULL;
25150}
25151
25152
25153static PyObject *_wrap_EventLoop_Run(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25154 PyObject *resultobj = NULL;
2ef75293
RD
25155 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
25156 int result;
25157 PyObject * obj0 = 0 ;
25158 char *kwnames[] = {
25159 (char *) "self", NULL
25160 };
25161
25162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_Run",kwnames,&obj0)) goto fail;
093d3ff1
RD
25163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0);
25164 if (SWIG_arg_fail(1)) SWIG_fail;
2ef75293
RD
25165 {
25166 PyThreadState* __tstate = wxPyBeginAllowThreads();
25167 result = (int)(arg1)->Run();
25168
25169 wxPyEndAllowThreads(__tstate);
25170 if (PyErr_Occurred()) SWIG_fail;
25171 }
093d3ff1 25172 {
32fe5131 25173 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 25174 }
2ef75293
RD
25175 return resultobj;
25176 fail:
25177 return NULL;
25178}
25179
25180
25181static PyObject *_wrap_EventLoop_Exit(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25182 PyObject *resultobj = NULL;
2ef75293
RD
25183 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
25184 int arg2 = (int) 0 ;
25185 PyObject * obj0 = 0 ;
25186 PyObject * obj1 = 0 ;
25187 char *kwnames[] = {
25188 (char *) "self",(char *) "rc", NULL
25189 };
25190
25191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:EventLoop_Exit",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0);
25193 if (SWIG_arg_fail(1)) SWIG_fail;
2ef75293 25194 if (obj1) {
093d3ff1 25195 {
32fe5131 25196 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25197 if (SWIG_arg_fail(2)) SWIG_fail;
25198 }
2ef75293
RD
25199 }
25200 {
25201 PyThreadState* __tstate = wxPyBeginAllowThreads();
25202 (arg1)->Exit(arg2);
25203
25204 wxPyEndAllowThreads(__tstate);
25205 if (PyErr_Occurred()) SWIG_fail;
25206 }
25207 Py_INCREF(Py_None); resultobj = Py_None;
25208 return resultobj;
25209 fail:
25210 return NULL;
25211}
25212
25213
25214static PyObject *_wrap_EventLoop_Pending(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25215 PyObject *resultobj = NULL;
2ef75293
RD
25216 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
25217 bool result;
25218 PyObject * obj0 = 0 ;
25219 char *kwnames[] = {
25220 (char *) "self", NULL
25221 };
25222
25223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_Pending",kwnames,&obj0)) goto fail;
093d3ff1
RD
25224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0);
25225 if (SWIG_arg_fail(1)) SWIG_fail;
2ef75293
RD
25226 {
25227 PyThreadState* __tstate = wxPyBeginAllowThreads();
25228 result = (bool)((wxEventLoop const *)arg1)->Pending();
25229
25230 wxPyEndAllowThreads(__tstate);
25231 if (PyErr_Occurred()) SWIG_fail;
25232 }
25233 {
25234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25235 }
25236 return resultobj;
25237 fail:
25238 return NULL;
25239}
25240
25241
25242static PyObject *_wrap_EventLoop_Dispatch(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25243 PyObject *resultobj = NULL;
2ef75293
RD
25244 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
25245 bool result;
25246 PyObject * obj0 = 0 ;
25247 char *kwnames[] = {
25248 (char *) "self", NULL
25249 };
25250
25251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_Dispatch",kwnames,&obj0)) goto fail;
093d3ff1
RD
25252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0);
25253 if (SWIG_arg_fail(1)) SWIG_fail;
2ef75293
RD
25254 {
25255 PyThreadState* __tstate = wxPyBeginAllowThreads();
25256 result = (bool)(arg1)->Dispatch();
25257
25258 wxPyEndAllowThreads(__tstate);
25259 if (PyErr_Occurred()) SWIG_fail;
25260 }
25261 {
25262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25263 }
25264 return resultobj;
25265 fail:
25266 return NULL;
25267}
25268
25269
25270static PyObject *_wrap_EventLoop_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25271 PyObject *resultobj = NULL;
2ef75293
RD
25272 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
25273 bool result;
25274 PyObject * obj0 = 0 ;
25275 char *kwnames[] = {
25276 (char *) "self", NULL
25277 };
25278
25279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_IsRunning",kwnames,&obj0)) goto fail;
093d3ff1
RD
25280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0);
25281 if (SWIG_arg_fail(1)) SWIG_fail;
2ef75293
RD
25282 {
25283 PyThreadState* __tstate = wxPyBeginAllowThreads();
25284 result = (bool)((wxEventLoop const *)arg1)->IsRunning();
25285
25286 wxPyEndAllowThreads(__tstate);
25287 if (PyErr_Occurred()) SWIG_fail;
25288 }
25289 {
25290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25291 }
25292 return resultobj;
25293 fail:
25294 return NULL;
25295}
25296
25297
25298static PyObject *_wrap_EventLoop_GetActive(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25299 PyObject *resultobj = NULL;
2ef75293
RD
25300 wxEventLoop *result;
25301 char *kwnames[] = {
25302 NULL
25303 };
25304
25305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EventLoop_GetActive",kwnames)) goto fail;
25306 {
25307 PyThreadState* __tstate = wxPyBeginAllowThreads();
25308 result = (wxEventLoop *)wxEventLoop::GetActive();
25309
25310 wxPyEndAllowThreads(__tstate);
25311 if (PyErr_Occurred()) SWIG_fail;
25312 }
25313 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEventLoop, 0);
25314 return resultobj;
25315 fail:
25316 return NULL;
25317}
25318
25319
25320static PyObject *_wrap_EventLoop_SetActive(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25321 PyObject *resultobj = NULL;
2ef75293
RD
25322 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
25323 PyObject * obj0 = 0 ;
25324 char *kwnames[] = {
25325 (char *) "loop", NULL
25326 };
25327
25328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_SetActive",kwnames,&obj0)) goto fail;
093d3ff1
RD
25329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0);
25330 if (SWIG_arg_fail(1)) SWIG_fail;
2ef75293
RD
25331 {
25332 PyThreadState* __tstate = wxPyBeginAllowThreads();
25333 wxEventLoop::SetActive(arg1);
25334
25335 wxPyEndAllowThreads(__tstate);
25336 if (PyErr_Occurred()) SWIG_fail;
25337 }
25338 Py_INCREF(Py_None); resultobj = Py_None;
25339 return resultobj;
25340 fail:
25341 return NULL;
25342}
25343
25344
25345static PyObject * EventLoop_swigregister(PyObject *, PyObject *args) {
25346 PyObject *obj;
25347 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25348 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop, obj);
25349 Py_INCREF(obj);
25350 return Py_BuildValue((char *)"");
25351}
091f5bed 25352static PyObject *_wrap_new_EventLoopActivator(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25353 PyObject *resultobj = NULL;
091f5bed
RD
25354 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
25355 wxEventLoopActivator *result;
25356 PyObject * obj0 = 0 ;
25357 char *kwnames[] = {
25358 (char *) "evtLoop", NULL
25359 };
25360
25361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_EventLoopActivator",kwnames,&obj0)) goto fail;
25362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0);
25363 if (SWIG_arg_fail(1)) SWIG_fail;
25364 {
25365 PyThreadState* __tstate = wxPyBeginAllowThreads();
25366 result = (wxEventLoopActivator *)new wxEventLoopActivator(arg1);
25367
25368 wxPyEndAllowThreads(__tstate);
25369 if (PyErr_Occurred()) SWIG_fail;
25370 }
25371 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEventLoopActivator, 1);
25372 return resultobj;
25373 fail:
25374 return NULL;
25375}
25376
25377
25378static PyObject *_wrap_delete_EventLoopActivator(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25379 PyObject *resultobj = NULL;
091f5bed
RD
25380 wxEventLoopActivator *arg1 = (wxEventLoopActivator *) 0 ;
25381 PyObject * obj0 = 0 ;
25382 char *kwnames[] = {
25383 (char *) "self", NULL
25384 };
25385
25386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_EventLoopActivator",kwnames,&obj0)) goto fail;
25387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoopActivator, SWIG_POINTER_EXCEPTION | 0);
25388 if (SWIG_arg_fail(1)) SWIG_fail;
25389 {
25390 PyThreadState* __tstate = wxPyBeginAllowThreads();
25391 delete arg1;
25392
25393 wxPyEndAllowThreads(__tstate);
25394 if (PyErr_Occurred()) SWIG_fail;
25395 }
25396 Py_INCREF(Py_None); resultobj = Py_None;
25397 return resultobj;
25398 fail:
25399 return NULL;
25400}
25401
25402
25403static PyObject * EventLoopActivator_swigregister(PyObject *, PyObject *args) {
25404 PyObject *obj;
25405 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25406 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoopActivator, obj);
25407 Py_INCREF(obj);
25408 return Py_BuildValue((char *)"");
25409}
c32bde28 25410static PyObject *_wrap_new_AcceleratorEntry(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25411 PyObject *resultobj = NULL;
1e0c8722
RD
25412 int arg1 = (int) 0 ;
25413 int arg2 = (int) 0 ;
25414 int arg3 = (int) 0 ;
1e0c8722 25415 wxAcceleratorEntry *result;
994141e6
RD
25416 PyObject * obj0 = 0 ;
25417 PyObject * obj1 = 0 ;
25418 PyObject * obj2 = 0 ;
1e0c8722 25419 char *kwnames[] = {
66c033b4 25420 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
1e0c8722
RD
25421 };
25422
66c033b4 25423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_AcceleratorEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
994141e6 25424 if (obj0) {
093d3ff1 25425 {
32fe5131 25426 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
25427 if (SWIG_arg_fail(1)) SWIG_fail;
25428 }
994141e6
RD
25429 }
25430 if (obj1) {
093d3ff1 25431 {
32fe5131 25432 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25433 if (SWIG_arg_fail(2)) SWIG_fail;
25434 }
994141e6
RD
25435 }
25436 if (obj2) {
093d3ff1 25437 {
32fe5131 25438 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
25439 if (SWIG_arg_fail(3)) SWIG_fail;
25440 }
994141e6 25441 }
1e0c8722
RD
25442 {
25443 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 25444 result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3);
1e0c8722
RD
25445
25446 wxPyEndAllowThreads(__tstate);
25447 if (PyErr_Occurred()) SWIG_fail;
25448 }
15afbcd0 25449 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 1);
1e0c8722
RD
25450 return resultobj;
25451 fail:
25452 return NULL;
25453}
25454
25455
c32bde28 25456static PyObject *_wrap_delete_AcceleratorEntry(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25457 PyObject *resultobj = NULL;
1e0c8722
RD
25458 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
25459 PyObject * obj0 = 0 ;
25460 char *kwnames[] = {
25461 (char *) "self", NULL
25462 };
25463
25464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail;
093d3ff1
RD
25465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAcceleratorEntry, SWIG_POINTER_EXCEPTION | 0);
25466 if (SWIG_arg_fail(1)) SWIG_fail;
1e0c8722
RD
25467 {
25468 PyThreadState* __tstate = wxPyBeginAllowThreads();
25469 delete arg1;
25470
25471 wxPyEndAllowThreads(__tstate);
25472 if (PyErr_Occurred()) SWIG_fail;
25473 }
25474 Py_INCREF(Py_None); resultobj = Py_None;
25475 return resultobj;
25476 fail:
25477 return NULL;
25478}
25479
25480
c32bde28 25481static PyObject *_wrap_AcceleratorEntry_Set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25482 PyObject *resultobj = NULL;
1e0c8722
RD
25483 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
25484 int arg2 ;
25485 int arg3 ;
25486 int arg4 ;
1e0c8722 25487 PyObject * obj0 = 0 ;
994141e6
RD
25488 PyObject * obj1 = 0 ;
25489 PyObject * obj2 = 0 ;
25490 PyObject * obj3 = 0 ;
1e0c8722 25491 char *kwnames[] = {
66c033b4 25492 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
1e0c8722
RD
25493 };
25494
66c033b4 25495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AcceleratorEntry_Set",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
25496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAcceleratorEntry, SWIG_POINTER_EXCEPTION | 0);
25497 if (SWIG_arg_fail(1)) SWIG_fail;
25498 {
32fe5131 25499 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25500 if (SWIG_arg_fail(2)) SWIG_fail;
25501 }
25502 {
32fe5131 25503 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
25504 if (SWIG_arg_fail(3)) SWIG_fail;
25505 }
25506 {
32fe5131 25507 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
25508 if (SWIG_arg_fail(4)) SWIG_fail;
25509 }
1e0c8722
RD
25510 {
25511 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 25512 (arg1)->Set(arg2,arg3,arg4);
1e0c8722
RD
25513
25514 wxPyEndAllowThreads(__tstate);
25515 if (PyErr_Occurred()) SWIG_fail;
25516 }
25517 Py_INCREF(Py_None); resultobj = Py_None;
25518 return resultobj;
25519 fail:
25520 return NULL;
25521}
25522
25523
c32bde28 25524static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25525 PyObject *resultobj = NULL;
1e0c8722
RD
25526 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
25527 int result;
25528 PyObject * obj0 = 0 ;
25529 char *kwnames[] = {
25530 (char *) "self", NULL
25531 };
25532
25533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
25534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAcceleratorEntry, SWIG_POINTER_EXCEPTION | 0);
25535 if (SWIG_arg_fail(1)) SWIG_fail;
1e0c8722
RD
25536 {
25537 PyThreadState* __tstate = wxPyBeginAllowThreads();
25538 result = (int)(arg1)->GetFlags();
25539
25540 wxPyEndAllowThreads(__tstate);
25541 if (PyErr_Occurred()) SWIG_fail;
25542 }
093d3ff1 25543 {
32fe5131 25544 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 25545 }
1e0c8722
RD
25546 return resultobj;
25547 fail:
25548 return NULL;
25549}
25550
25551
c32bde28 25552static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25553 PyObject *resultobj = NULL;
1e0c8722
RD
25554 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
25555 int result;
25556 PyObject * obj0 = 0 ;
25557 char *kwnames[] = {
25558 (char *) "self", NULL
25559 };
25560
25561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
25562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAcceleratorEntry, SWIG_POINTER_EXCEPTION | 0);
25563 if (SWIG_arg_fail(1)) SWIG_fail;
1e0c8722
RD
25564 {
25565 PyThreadState* __tstate = wxPyBeginAllowThreads();
25566 result = (int)(arg1)->GetKeyCode();
25567
25568 wxPyEndAllowThreads(__tstate);
25569 if (PyErr_Occurred()) SWIG_fail;
25570 }
093d3ff1 25571 {
32fe5131 25572 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 25573 }
1e0c8722
RD
25574 return resultobj;
25575 fail:
25576 return NULL;
25577}
25578
25579
c32bde28 25580static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25581 PyObject *resultobj = NULL;
1e0c8722
RD
25582 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
25583 int result;
25584 PyObject * obj0 = 0 ;
25585 char *kwnames[] = {
25586 (char *) "self", NULL
25587 };
25588
25589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail;
093d3ff1
RD
25590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAcceleratorEntry, SWIG_POINTER_EXCEPTION | 0);
25591 if (SWIG_arg_fail(1)) SWIG_fail;
1e0c8722
RD
25592 {
25593 PyThreadState* __tstate = wxPyBeginAllowThreads();
25594 result = (int)(arg1)->GetCommand();
25595
25596 wxPyEndAllowThreads(__tstate);
25597 if (PyErr_Occurred()) SWIG_fail;
25598 }
093d3ff1 25599 {
32fe5131 25600 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 25601 }
1e0c8722
RD
25602 return resultobj;
25603 fail:
25604 return NULL;
25605}
25606
25607
c32bde28 25608static PyObject * AcceleratorEntry_swigregister(PyObject *, PyObject *args) {
1e0c8722
RD
25609 PyObject *obj;
25610 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25611 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj);
25612 Py_INCREF(obj);
25613 return Py_BuildValue((char *)"");
25614}
c32bde28 25615static PyObject *_wrap_new_AcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25616 PyObject *resultobj = NULL;
1e0c8722
RD
25617 int arg1 ;
25618 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
25619 wxAcceleratorTable *result;
25620 PyObject * obj0 = 0 ;
25621 char *kwnames[] = {
25622 (char *) "n", NULL
25623 };
25624
25625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail;
25626 {
25627 arg2 = wxAcceleratorEntry_LIST_helper(obj0);
25628 if (arg2) arg1 = PyList_Size(obj0);
25629 else arg1 = 0;
25630 }
25631 {
25632 PyThreadState* __tstate = wxPyBeginAllowThreads();
25633 result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2);
25634
25635 wxPyEndAllowThreads(__tstate);
25636 if (PyErr_Occurred()) SWIG_fail;
25637 }
15afbcd0 25638 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 1);
1e0c8722
RD
25639 {
25640 delete [] arg2;
25641 }
25642 return resultobj;
25643 fail:
25644 {
25645 delete [] arg2;
25646 }
25647 return NULL;
25648}
25649
25650
c32bde28 25651static PyObject *_wrap_delete_AcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25652 PyObject *resultobj = NULL;
1e0c8722
RD
25653 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
25654 PyObject * obj0 = 0 ;
25655 char *kwnames[] = {
25656 (char *) "self", NULL
25657 };
25658
25659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail;
093d3ff1
RD
25660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAcceleratorTable, SWIG_POINTER_EXCEPTION | 0);
25661 if (SWIG_arg_fail(1)) SWIG_fail;
1e0c8722
RD
25662 {
25663 PyThreadState* __tstate = wxPyBeginAllowThreads();
25664 delete arg1;
25665
25666 wxPyEndAllowThreads(__tstate);
25667 if (PyErr_Occurred()) SWIG_fail;
25668 }
25669 Py_INCREF(Py_None); resultobj = Py_None;
25670 return resultobj;
25671 fail:
25672 return NULL;
25673}
25674
25675
c32bde28 25676static PyObject *_wrap_AcceleratorTable_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25677 PyObject *resultobj = NULL;
1e0c8722
RD
25678 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
25679 bool result;
25680 PyObject * obj0 = 0 ;
25681 char *kwnames[] = {
25682 (char *) "self", NULL
25683 };
25684
25685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
25686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAcceleratorTable, SWIG_POINTER_EXCEPTION | 0);
25687 if (SWIG_arg_fail(1)) SWIG_fail;
1e0c8722
RD
25688 {
25689 PyThreadState* __tstate = wxPyBeginAllowThreads();
25690 result = (bool)((wxAcceleratorTable const *)arg1)->Ok();
25691
25692 wxPyEndAllowThreads(__tstate);
25693 if (PyErr_Occurred()) SWIG_fail;
25694 }
4f89f6a3
RD
25695 {
25696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25697 }
1e0c8722
RD
25698 return resultobj;
25699 fail:
25700 return NULL;
25701}
25702
25703
c32bde28 25704static PyObject * AcceleratorTable_swigregister(PyObject *, PyObject *args) {
1e0c8722
RD
25705 PyObject *obj;
25706 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25707 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj);
25708 Py_INCREF(obj);
25709 return Py_BuildValue((char *)"");
25710}
c32bde28 25711static int _wrap_NullAcceleratorTable_set(PyObject *) {
1e0c8722
RD
25712 PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only.");
25713 return 1;
25714}
25715
25716
093d3ff1 25717static PyObject *_wrap_NullAcceleratorTable_get(void) {
32fe5131 25718 PyObject *pyobj = NULL;
1e0c8722 25719
15afbcd0 25720 pyobj = SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable), SWIGTYPE_p_wxAcceleratorTable, 0);
1e0c8722
RD
25721 return pyobj;
25722}
25723
25724
c32bde28 25725static PyObject *_wrap_GetAccelFromString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25726 PyObject *resultobj = NULL;
1e0c8722
RD
25727 wxString *arg1 = 0 ;
25728 wxAcceleratorEntry *result;
ae8162c8 25729 bool temp1 = false ;
1e0c8722
RD
25730 PyObject * obj0 = 0 ;
25731 char *kwnames[] = {
25732 (char *) "label", NULL
25733 };
25734
25735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail;
25736 {
25737 arg1 = wxString_in_helper(obj0);
25738 if (arg1 == NULL) SWIG_fail;
ae8162c8 25739 temp1 = true;
1e0c8722
RD
25740 }
25741 {
25742 PyThreadState* __tstate = wxPyBeginAllowThreads();
25743 result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1);
25744
25745 wxPyEndAllowThreads(__tstate);
25746 if (PyErr_Occurred()) SWIG_fail;
25747 }
15afbcd0 25748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
1e0c8722
RD
25749 {
25750 if (temp1)
25751 delete arg1;
25752 }
25753 return resultobj;
25754 fail:
25755 {
25756 if (temp1)
25757 delete arg1;
25758 }
25759 return NULL;
25760}
25761
25762
c32bde28 25763static int _wrap_PanelNameStr_set(PyObject *) {
e811c8ce
RD
25764 PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only.");
25765 return 1;
25766}
25767
25768
093d3ff1 25769static PyObject *_wrap_PanelNameStr_get(void) {
32fe5131 25770 PyObject *pyobj = NULL;
e811c8ce
RD
25771
25772 {
25773#if wxUSE_UNICODE
25774 pyobj = PyUnicode_FromWideChar((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
25775#else
25776 pyobj = PyString_FromStringAndSize((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
25777#endif
25778 }
25779 return pyobj;
25780}
25781
25782
c32bde28 25783static PyObject *_wrap_new_VisualAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25784 PyObject *resultobj = NULL;
74a57fcd
RD
25785 wxVisualAttributes *result;
25786 char *kwnames[] = {
25787 NULL
25788 };
25789
25790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_VisualAttributes",kwnames)) goto fail;
25791 {
25792 PyThreadState* __tstate = wxPyBeginAllowThreads();
25793 result = (wxVisualAttributes *)new_wxVisualAttributes();
25794
25795 wxPyEndAllowThreads(__tstate);
25796 if (PyErr_Occurred()) SWIG_fail;
25797 }
25798 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVisualAttributes, 1);
25799 return resultobj;
25800 fail:
25801 return NULL;
25802}
25803
25804
c32bde28 25805static PyObject *_wrap_delete_VisualAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25806 PyObject *resultobj = NULL;
74a57fcd
RD
25807 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
25808 PyObject * obj0 = 0 ;
25809 char *kwnames[] = {
25810 (char *) "self", NULL
25811 };
25812
25813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VisualAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
25814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_EXCEPTION | 0);
25815 if (SWIG_arg_fail(1)) SWIG_fail;
74a57fcd
RD
25816 {
25817 PyThreadState* __tstate = wxPyBeginAllowThreads();
25818 delete_wxVisualAttributes(arg1);
25819
25820 wxPyEndAllowThreads(__tstate);
25821 if (PyErr_Occurred()) SWIG_fail;
25822 }
25823 Py_INCREF(Py_None); resultobj = Py_None;
25824 return resultobj;
25825 fail:
25826 return NULL;
25827}
25828
25829
c32bde28 25830static PyObject *_wrap_VisualAttributes_font_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25831 PyObject *resultobj = NULL;
74a57fcd
RD
25832 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
25833 wxFont *arg2 = (wxFont *) 0 ;
25834 PyObject * obj0 = 0 ;
25835 PyObject * obj1 = 0 ;
25836 char *kwnames[] = {
25837 (char *) "self",(char *) "font", NULL
25838 };
25839
25840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_font_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_EXCEPTION | 0);
25842 if (SWIG_arg_fail(1)) SWIG_fail;
25843 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
25844 if (SWIG_arg_fail(2)) SWIG_fail;
74a57fcd
RD
25845 if (arg1) (arg1)->font = *arg2;
25846
25847 Py_INCREF(Py_None); resultobj = Py_None;
25848 return resultobj;
25849 fail:
25850 return NULL;
25851}
25852
25853
c32bde28 25854static PyObject *_wrap_VisualAttributes_font_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25855 PyObject *resultobj = NULL;
74a57fcd
RD
25856 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
25857 wxFont *result;
25858 PyObject * obj0 = 0 ;
25859 char *kwnames[] = {
25860 (char *) "self", NULL
25861 };
25862
25863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_font_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
25864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_EXCEPTION | 0);
25865 if (SWIG_arg_fail(1)) SWIG_fail;
74a57fcd
RD
25866 result = (wxFont *)& ((arg1)->font);
25867
25868 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
25869 return resultobj;
25870 fail:
25871 return NULL;
25872}
25873
25874
c32bde28 25875static PyObject *_wrap_VisualAttributes_colFg_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25876 PyObject *resultobj = NULL;
74a57fcd
RD
25877 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
25878 wxColour *arg2 = (wxColour *) 0 ;
25879 PyObject * obj0 = 0 ;
25880 PyObject * obj1 = 0 ;
25881 char *kwnames[] = {
25882 (char *) "self",(char *) "colFg", NULL
25883 };
25884
25885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colFg_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_EXCEPTION | 0);
25887 if (SWIG_arg_fail(1)) SWIG_fail;
25888 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
25889 if (SWIG_arg_fail(2)) SWIG_fail;
74a57fcd
RD
25890 if (arg1) (arg1)->colFg = *arg2;
25891
25892 Py_INCREF(Py_None); resultobj = Py_None;
25893 return resultobj;
25894 fail:
25895 return NULL;
25896}
25897
25898
c32bde28 25899static PyObject *_wrap_VisualAttributes_colFg_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25900 PyObject *resultobj = NULL;
74a57fcd
RD
25901 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
25902 wxColour *result;
25903 PyObject * obj0 = 0 ;
25904 char *kwnames[] = {
25905 (char *) "self", NULL
25906 };
25907
25908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colFg_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
25909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_EXCEPTION | 0);
25910 if (SWIG_arg_fail(1)) SWIG_fail;
74a57fcd
RD
25911 result = (wxColour *)& ((arg1)->colFg);
25912
25913 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
25914 return resultobj;
25915 fail:
25916 return NULL;
25917}
25918
25919
c32bde28 25920static PyObject *_wrap_VisualAttributes_colBg_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25921 PyObject *resultobj = NULL;
74a57fcd
RD
25922 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
25923 wxColour *arg2 = (wxColour *) 0 ;
25924 PyObject * obj0 = 0 ;
25925 PyObject * obj1 = 0 ;
25926 char *kwnames[] = {
25927 (char *) "self",(char *) "colBg", NULL
25928 };
25929
25930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colBg_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_EXCEPTION | 0);
25932 if (SWIG_arg_fail(1)) SWIG_fail;
25933 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0);
25934 if (SWIG_arg_fail(2)) SWIG_fail;
74a57fcd
RD
25935 if (arg1) (arg1)->colBg = *arg2;
25936
25937 Py_INCREF(Py_None); resultobj = Py_None;
25938 return resultobj;
25939 fail:
25940 return NULL;
25941}
25942
25943
c32bde28 25944static PyObject *_wrap_VisualAttributes_colBg_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25945 PyObject *resultobj = NULL;
74a57fcd
RD
25946 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
25947 wxColour *result;
25948 PyObject * obj0 = 0 ;
25949 char *kwnames[] = {
25950 (char *) "self", NULL
25951 };
25952
25953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colBg_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
25954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_EXCEPTION | 0);
25955 if (SWIG_arg_fail(1)) SWIG_fail;
74a57fcd
RD
25956 result = (wxColour *)& ((arg1)->colBg);
25957
25958 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
25959 return resultobj;
25960 fail:
25961 return NULL;
25962}
25963
25964
c32bde28 25965static PyObject * VisualAttributes_swigregister(PyObject *, PyObject *args) {
74a57fcd
RD
25966 PyObject *obj;
25967 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25968 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes, obj);
25969 Py_INCREF(obj);
25970 return Py_BuildValue((char *)"");
25971}
c32bde28 25972static PyObject *_wrap_new_Window(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25973 PyObject *resultobj = NULL;
d14a1e28 25974 wxWindow *arg1 = (wxWindow *) 0 ;
74a57fcd 25975 int arg2 = (int) (int)-1 ;
d14a1e28
RD
25976 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25977 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25978 wxSize const &arg4_defvalue = wxDefaultSize ;
25979 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25980 long arg5 = (long) 0 ;
25981 wxString const &arg6_defvalue = wxPyPanelNameStr ;
25982 wxString *arg6 = (wxString *) &arg6_defvalue ;
25983 wxWindow *result;
25984 wxPoint temp3 ;
25985 wxSize temp4 ;
ae8162c8 25986 bool temp6 = false ;
d14a1e28 25987 PyObject * obj0 = 0 ;
994141e6 25988 PyObject * obj1 = 0 ;
d14a1e28
RD
25989 PyObject * obj2 = 0 ;
25990 PyObject * obj3 = 0 ;
994141e6 25991 PyObject * obj4 = 0 ;
d14a1e28
RD
25992 PyObject * obj5 = 0 ;
25993 char *kwnames[] = {
25994 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25995 };
25996
74a57fcd 25997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Window",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
25998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25999 if (SWIG_arg_fail(1)) SWIG_fail;
74a57fcd 26000 if (obj1) {
093d3ff1 26001 {
32fe5131 26002 arg2 = static_cast<int const >(SWIG_As_int(obj1));
093d3ff1
RD
26003 if (SWIG_arg_fail(2)) SWIG_fail;
26004 }
74a57fcd 26005 }
d14a1e28
RD
26006 if (obj2) {
26007 {
26008 arg3 = &temp3;
26009 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26010 }
26011 }
26012 if (obj3) {
26013 {
26014 arg4 = &temp4;
26015 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26016 }
26017 }
994141e6 26018 if (obj4) {
093d3ff1 26019 {
32fe5131 26020 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
26021 if (SWIG_arg_fail(5)) SWIG_fail;
26022 }
994141e6 26023 }
d14a1e28
RD
26024 if (obj5) {
26025 {
26026 arg6 = wxString_in_helper(obj5);
26027 if (arg6 == NULL) SWIG_fail;
ae8162c8 26028 temp6 = true;
d14a1e28
RD
26029 }
26030 }
26031 {
e3b71cb8 26032 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
26033 PyThreadState* __tstate = wxPyBeginAllowThreads();
26034 result = (wxWindow *)new wxWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
26035
26036 wxPyEndAllowThreads(__tstate);
110da5b0 26037 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 26038 }
b0f7404b 26039 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindow, 1);
d14a1e28
RD
26040 {
26041 if (temp6)
26042 delete arg6;
26043 }
26044 return resultobj;
26045 fail:
26046 {
26047 if (temp6)
26048 delete arg6;
26049 }
26050 return NULL;
26051}
26052
26053
c32bde28 26054static PyObject *_wrap_new_PreWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26055 PyObject *resultobj = NULL;
d14a1e28
RD
26056 wxWindow *result;
26057 char *kwnames[] = {
26058 NULL
26059 };
26060
26061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWindow",kwnames)) goto fail;
26062 {
e3b71cb8 26063 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
26064 PyThreadState* __tstate = wxPyBeginAllowThreads();
26065 result = (wxWindow *)new wxWindow();
26066
26067 wxPyEndAllowThreads(__tstate);
110da5b0 26068 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 26069 }
b0f7404b 26070 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindow, 1);
d14a1e28
RD
26071 return resultobj;
26072 fail:
26073 return NULL;
26074}
26075
26076
c32bde28 26077static PyObject *_wrap_Window_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26078 PyObject *resultobj = NULL;
d14a1e28
RD
26079 wxWindow *arg1 = (wxWindow *) 0 ;
26080 wxWindow *arg2 = (wxWindow *) 0 ;
74a57fcd 26081 int arg3 = (int) (int)-1 ;
d14a1e28
RD
26082 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26083 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26084 wxSize const &arg5_defvalue = wxDefaultSize ;
26085 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26086 long arg6 = (long) 0 ;
26087 wxString const &arg7_defvalue = wxPyPanelNameStr ;
26088 wxString *arg7 = (wxString *) &arg7_defvalue ;
26089 bool result;
26090 wxPoint temp4 ;
26091 wxSize temp5 ;
ae8162c8 26092 bool temp7 = false ;
d14a1e28
RD
26093 PyObject * obj0 = 0 ;
26094 PyObject * obj1 = 0 ;
994141e6 26095 PyObject * obj2 = 0 ;
d14a1e28
RD
26096 PyObject * obj3 = 0 ;
26097 PyObject * obj4 = 0 ;
994141e6 26098 PyObject * obj5 = 0 ;
d14a1e28
RD
26099 PyObject * obj6 = 0 ;
26100 char *kwnames[] = {
26101 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26102 };
26103
74a57fcd 26104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Window_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
26105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26106 if (SWIG_arg_fail(1)) SWIG_fail;
26107 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26108 if (SWIG_arg_fail(2)) SWIG_fail;
74a57fcd 26109 if (obj2) {
093d3ff1 26110 {
32fe5131 26111 arg3 = static_cast<int const >(SWIG_As_int(obj2));
093d3ff1
RD
26112 if (SWIG_arg_fail(3)) SWIG_fail;
26113 }
74a57fcd 26114 }
d14a1e28
RD
26115 if (obj3) {
26116 {
26117 arg4 = &temp4;
26118 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26119 }
26120 }
26121 if (obj4) {
26122 {
26123 arg5 = &temp5;
26124 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26125 }
26126 }
994141e6 26127 if (obj5) {
093d3ff1 26128 {
32fe5131 26129 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
26130 if (SWIG_arg_fail(6)) SWIG_fail;
26131 }
994141e6 26132 }
d14a1e28
RD
26133 if (obj6) {
26134 {
26135 arg7 = wxString_in_helper(obj6);
26136 if (arg7 == NULL) SWIG_fail;
ae8162c8 26137 temp7 = true;
d14a1e28
RD
26138 }
26139 }
26140 {
26141 PyThreadState* __tstate = wxPyBeginAllowThreads();
26142 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
26143
26144 wxPyEndAllowThreads(__tstate);
26145 if (PyErr_Occurred()) SWIG_fail;
26146 }
4f89f6a3
RD
26147 {
26148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26149 }
d14a1e28
RD
26150 {
26151 if (temp7)
26152 delete arg7;
26153 }
26154 return resultobj;
26155 fail:
26156 {
26157 if (temp7)
26158 delete arg7;
26159 }
26160 return NULL;
26161}
26162
26163
c32bde28 26164static PyObject *_wrap_Window_Close(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26165 PyObject *resultobj = NULL;
d14a1e28 26166 wxWindow *arg1 = (wxWindow *) 0 ;
ae8162c8 26167 bool arg2 = (bool) false ;
d14a1e28
RD
26168 bool result;
26169 PyObject * obj0 = 0 ;
26170 PyObject * obj1 = 0 ;
26171 char *kwnames[] = {
26172 (char *) "self",(char *) "force", NULL
26173 };
26174
26175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Close",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26177 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 26178 if (obj1) {
093d3ff1 26179 {
32fe5131 26180 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
26181 if (SWIG_arg_fail(2)) SWIG_fail;
26182 }
d14a1e28
RD
26183 }
26184 {
26185 PyThreadState* __tstate = wxPyBeginAllowThreads();
26186 result = (bool)(arg1)->Close(arg2);
26187
26188 wxPyEndAllowThreads(__tstate);
26189 if (PyErr_Occurred()) SWIG_fail;
26190 }
4f89f6a3
RD
26191 {
26192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26193 }
d14a1e28
RD
26194 return resultobj;
26195 fail:
26196 return NULL;
26197}
26198
26199
c32bde28 26200static PyObject *_wrap_Window_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26201 PyObject *resultobj = NULL;
d14a1e28
RD
26202 wxWindow *arg1 = (wxWindow *) 0 ;
26203 bool result;
26204 PyObject * obj0 = 0 ;
26205 char *kwnames[] = {
26206 (char *) "self", NULL
26207 };
26208
26209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
26210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26211 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26212 {
26213 PyThreadState* __tstate = wxPyBeginAllowThreads();
26214 result = (bool)(arg1)->Destroy();
26215
26216 wxPyEndAllowThreads(__tstate);
26217 if (PyErr_Occurred()) SWIG_fail;
26218 }
4f89f6a3
RD
26219 {
26220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26221 }
d14a1e28
RD
26222 return resultobj;
26223 fail:
26224 return NULL;
26225}
26226
26227
c32bde28 26228static PyObject *_wrap_Window_DestroyChildren(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26229 PyObject *resultobj = NULL;
d14a1e28
RD
26230 wxWindow *arg1 = (wxWindow *) 0 ;
26231 bool result;
26232 PyObject * obj0 = 0 ;
26233 char *kwnames[] = {
26234 (char *) "self", NULL
26235 };
26236
26237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DestroyChildren",kwnames,&obj0)) goto fail;
093d3ff1
RD
26238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26239 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26240 {
26241 PyThreadState* __tstate = wxPyBeginAllowThreads();
26242 result = (bool)(arg1)->DestroyChildren();
26243
26244 wxPyEndAllowThreads(__tstate);
26245 if (PyErr_Occurred()) SWIG_fail;
26246 }
4f89f6a3
RD
26247 {
26248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26249 }
d14a1e28
RD
26250 return resultobj;
26251 fail:
26252 return NULL;
26253}
26254
26255
c32bde28 26256static PyObject *_wrap_Window_IsBeingDeleted(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26257 PyObject *resultobj = NULL;
d14a1e28
RD
26258 wxWindow *arg1 = (wxWindow *) 0 ;
26259 bool result;
26260 PyObject * obj0 = 0 ;
26261 char *kwnames[] = {
26262 (char *) "self", NULL
26263 };
26264
26265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsBeingDeleted",kwnames,&obj0)) goto fail;
093d3ff1
RD
26266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26267 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26268 {
26269 PyThreadState* __tstate = wxPyBeginAllowThreads();
26270 result = (bool)((wxWindow const *)arg1)->IsBeingDeleted();
26271
26272 wxPyEndAllowThreads(__tstate);
26273 if (PyErr_Occurred()) SWIG_fail;
26274 }
4f89f6a3
RD
26275 {
26276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26277 }
d14a1e28
RD
26278 return resultobj;
26279 fail:
26280 return NULL;
26281}
26282
26283
c32bde28 26284static PyObject *_wrap_Window_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26285 PyObject *resultobj = NULL;
d14a1e28
RD
26286 wxWindow *arg1 = (wxWindow *) 0 ;
26287 wxString *arg2 = 0 ;
ae8162c8 26288 bool temp2 = false ;
d14a1e28
RD
26289 PyObject * obj0 = 0 ;
26290 PyObject * obj1 = 0 ;
26291 char *kwnames[] = {
26292 (char *) "self",(char *) "label", NULL
26293 };
26294
26295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26297 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26298 {
26299 arg2 = wxString_in_helper(obj1);
26300 if (arg2 == NULL) SWIG_fail;
ae8162c8 26301 temp2 = true;
d14a1e28
RD
26302 }
26303 {
26304 PyThreadState* __tstate = wxPyBeginAllowThreads();
26305 (arg1)->SetLabel((wxString const &)*arg2);
26306
26307 wxPyEndAllowThreads(__tstate);
26308 if (PyErr_Occurred()) SWIG_fail;
26309 }
26310 Py_INCREF(Py_None); resultobj = Py_None;
26311 {
26312 if (temp2)
26313 delete arg2;
26314 }
26315 return resultobj;
26316 fail:
26317 {
26318 if (temp2)
26319 delete arg2;
26320 }
26321 return NULL;
26322}
26323
26324
c32bde28 26325static PyObject *_wrap_Window_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26326 PyObject *resultobj = NULL;
d14a1e28
RD
26327 wxWindow *arg1 = (wxWindow *) 0 ;
26328 wxString result;
26329 PyObject * obj0 = 0 ;
26330 char *kwnames[] = {
26331 (char *) "self", NULL
26332 };
26333
26334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
26335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26336 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26337 {
26338 PyThreadState* __tstate = wxPyBeginAllowThreads();
26339 result = ((wxWindow const *)arg1)->GetLabel();
26340
26341 wxPyEndAllowThreads(__tstate);
26342 if (PyErr_Occurred()) SWIG_fail;
26343 }
26344 {
26345#if wxUSE_UNICODE
26346 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26347#else
26348 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26349#endif
26350 }
26351 return resultobj;
26352 fail:
26353 return NULL;
26354}
26355
26356
c32bde28 26357static PyObject *_wrap_Window_SetName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26358 PyObject *resultobj = NULL;
d14a1e28
RD
26359 wxWindow *arg1 = (wxWindow *) 0 ;
26360 wxString *arg2 = 0 ;
ae8162c8 26361 bool temp2 = false ;
d14a1e28
RD
26362 PyObject * obj0 = 0 ;
26363 PyObject * obj1 = 0 ;
26364 char *kwnames[] = {
26365 (char *) "self",(char *) "name", NULL
26366 };
26367
26368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26370 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26371 {
26372 arg2 = wxString_in_helper(obj1);
26373 if (arg2 == NULL) SWIG_fail;
ae8162c8 26374 temp2 = true;
d14a1e28
RD
26375 }
26376 {
26377 PyThreadState* __tstate = wxPyBeginAllowThreads();
26378 (arg1)->SetName((wxString const &)*arg2);
26379
26380 wxPyEndAllowThreads(__tstate);
26381 if (PyErr_Occurred()) SWIG_fail;
26382 }
26383 Py_INCREF(Py_None); resultobj = Py_None;
26384 {
26385 if (temp2)
26386 delete arg2;
26387 }
26388 return resultobj;
26389 fail:
26390 {
26391 if (temp2)
26392 delete arg2;
26393 }
26394 return NULL;
26395}
26396
26397
c32bde28 26398static PyObject *_wrap_Window_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26399 PyObject *resultobj = NULL;
d14a1e28
RD
26400 wxWindow *arg1 = (wxWindow *) 0 ;
26401 wxString result;
26402 PyObject * obj0 = 0 ;
26403 char *kwnames[] = {
26404 (char *) "self", NULL
26405 };
26406
26407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetName",kwnames,&obj0)) goto fail;
093d3ff1
RD
26408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26409 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26410 {
26411 PyThreadState* __tstate = wxPyBeginAllowThreads();
26412 result = ((wxWindow const *)arg1)->GetName();
26413
26414 wxPyEndAllowThreads(__tstate);
26415 if (PyErr_Occurred()) SWIG_fail;
26416 }
26417 {
26418#if wxUSE_UNICODE
26419 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26420#else
26421 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26422#endif
26423 }
26424 return resultobj;
26425 fail:
26426 return NULL;
26427}
26428
26429
c32bde28 26430static PyObject *_wrap_Window_SetWindowVariant(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26431 PyObject *resultobj = NULL;
4276dc52 26432 wxWindow *arg1 = (wxWindow *) 0 ;
093d3ff1 26433 wxWindowVariant arg2 ;
4276dc52
RD
26434 PyObject * obj0 = 0 ;
26435 PyObject * obj1 = 0 ;
26436 char *kwnames[] = {
26437 (char *) "self",(char *) "variant", NULL
26438 };
26439
26440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowVariant",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26442 if (SWIG_arg_fail(1)) SWIG_fail;
26443 {
32fe5131 26444 arg2 = static_cast<wxWindowVariant >(SWIG_As_int(obj1));
093d3ff1
RD
26445 if (SWIG_arg_fail(2)) SWIG_fail;
26446 }
4276dc52
RD
26447 {
26448 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 26449 (arg1)->SetWindowVariant(arg2);
4276dc52
RD
26450
26451 wxPyEndAllowThreads(__tstate);
26452 if (PyErr_Occurred()) SWIG_fail;
26453 }
26454 Py_INCREF(Py_None); resultobj = Py_None;
26455 return resultobj;
26456 fail:
26457 return NULL;
26458}
26459
26460
c32bde28 26461static PyObject *_wrap_Window_GetWindowVariant(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26462 PyObject *resultobj = NULL;
4276dc52 26463 wxWindow *arg1 = (wxWindow *) 0 ;
093d3ff1 26464 wxWindowVariant result;
4276dc52
RD
26465 PyObject * obj0 = 0 ;
26466 char *kwnames[] = {
26467 (char *) "self", NULL
26468 };
26469
26470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowVariant",kwnames,&obj0)) goto fail;
093d3ff1
RD
26471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26472 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
26473 {
26474 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 26475 result = (wxWindowVariant)((wxWindow const *)arg1)->GetWindowVariant();
4276dc52
RD
26476
26477 wxPyEndAllowThreads(__tstate);
26478 if (PyErr_Occurred()) SWIG_fail;
26479 }
093d3ff1 26480 resultobj = SWIG_From_int((result));
4276dc52
RD
26481 return resultobj;
26482 fail:
26483 return NULL;
26484}
26485
26486
c32bde28 26487static PyObject *_wrap_Window_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26488 PyObject *resultobj = NULL;
d14a1e28 26489 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 26490 int arg2 ;
d14a1e28 26491 PyObject * obj0 = 0 ;
994141e6 26492 PyObject * obj1 = 0 ;
d14a1e28
RD
26493 char *kwnames[] = {
26494 (char *) "self",(char *) "winid", NULL
26495 };
26496
994141e6 26497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26499 if (SWIG_arg_fail(1)) SWIG_fail;
26500 {
32fe5131 26501 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
26502 if (SWIG_arg_fail(2)) SWIG_fail;
26503 }
d14a1e28
RD
26504 {
26505 PyThreadState* __tstate = wxPyBeginAllowThreads();
26506 (arg1)->SetId(arg2);
26507
26508 wxPyEndAllowThreads(__tstate);
26509 if (PyErr_Occurred()) SWIG_fail;
26510 }
26511 Py_INCREF(Py_None); resultobj = Py_None;
26512 return resultobj;
26513 fail:
26514 return NULL;
26515}
26516
26517
c32bde28 26518static PyObject *_wrap_Window_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26519 PyObject *resultobj = NULL;
d14a1e28 26520 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 26521 int result;
d14a1e28
RD
26522 PyObject * obj0 = 0 ;
26523 char *kwnames[] = {
26524 (char *) "self", NULL
26525 };
26526
26527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
26528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26529 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26530 {
26531 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 26532 result = (int)((wxWindow const *)arg1)->GetId();
d14a1e28
RD
26533
26534 wxPyEndAllowThreads(__tstate);
26535 if (PyErr_Occurred()) SWIG_fail;
26536 }
093d3ff1 26537 {
32fe5131 26538 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 26539 }
d14a1e28
RD
26540 return resultobj;
26541 fail:
26542 return NULL;
26543}
26544
26545
c32bde28 26546static PyObject *_wrap_Window_NewControlId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26547 PyObject *resultobj = NULL;
d14a1e28
RD
26548 int result;
26549 char *kwnames[] = {
26550 NULL
26551 };
26552
26553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_NewControlId",kwnames)) goto fail;
26554 {
26555 PyThreadState* __tstate = wxPyBeginAllowThreads();
26556 result = (int)wxWindow::NewControlId();
26557
26558 wxPyEndAllowThreads(__tstate);
26559 if (PyErr_Occurred()) SWIG_fail;
26560 }
093d3ff1 26561 {
32fe5131 26562 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 26563 }
d14a1e28
RD
26564 return resultobj;
26565 fail:
26566 return NULL;
26567}
26568
26569
c32bde28 26570static PyObject *_wrap_Window_NextControlId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26571 PyObject *resultobj = NULL;
d14a1e28
RD
26572 int arg1 ;
26573 int result;
994141e6 26574 PyObject * obj0 = 0 ;
d14a1e28
RD
26575 char *kwnames[] = {
26576 (char *) "winid", NULL
26577 };
26578
994141e6 26579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_NextControlId",kwnames,&obj0)) goto fail;
093d3ff1 26580 {
32fe5131 26581 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
26582 if (SWIG_arg_fail(1)) SWIG_fail;
26583 }
d14a1e28
RD
26584 {
26585 PyThreadState* __tstate = wxPyBeginAllowThreads();
26586 result = (int)wxWindow::NextControlId(arg1);
26587
26588 wxPyEndAllowThreads(__tstate);
26589 if (PyErr_Occurred()) SWIG_fail;
26590 }
093d3ff1 26591 {
32fe5131 26592 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 26593 }
d14a1e28
RD
26594 return resultobj;
26595 fail:
26596 return NULL;
26597}
26598
26599
c32bde28 26600static PyObject *_wrap_Window_PrevControlId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26601 PyObject *resultobj = NULL;
d14a1e28
RD
26602 int arg1 ;
26603 int result;
994141e6 26604 PyObject * obj0 = 0 ;
d14a1e28
RD
26605 char *kwnames[] = {
26606 (char *) "winid", NULL
26607 };
26608
994141e6 26609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PrevControlId",kwnames,&obj0)) goto fail;
093d3ff1 26610 {
32fe5131 26611 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
26612 if (SWIG_arg_fail(1)) SWIG_fail;
26613 }
d14a1e28
RD
26614 {
26615 PyThreadState* __tstate = wxPyBeginAllowThreads();
26616 result = (int)wxWindow::PrevControlId(arg1);
26617
26618 wxPyEndAllowThreads(__tstate);
26619 if (PyErr_Occurred()) SWIG_fail;
26620 }
093d3ff1 26621 {
32fe5131 26622 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 26623 }
d14a1e28
RD
26624 return resultobj;
26625 fail:
26626 return NULL;
26627}
26628
26629
c32bde28 26630static PyObject *_wrap_Window_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26631 PyObject *resultobj = NULL;
d14a1e28
RD
26632 wxWindow *arg1 = (wxWindow *) 0 ;
26633 wxSize *arg2 = 0 ;
26634 wxSize temp2 ;
26635 PyObject * obj0 = 0 ;
26636 PyObject * obj1 = 0 ;
26637 char *kwnames[] = {
26638 (char *) "self",(char *) "size", NULL
26639 };
26640
26641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26643 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26644 {
26645 arg2 = &temp2;
26646 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
26647 }
26648 {
26649 PyThreadState* __tstate = wxPyBeginAllowThreads();
26650 (arg1)->SetSize((wxSize const &)*arg2);
26651
26652 wxPyEndAllowThreads(__tstate);
26653 if (PyErr_Occurred()) SWIG_fail;
26654 }
26655 Py_INCREF(Py_None); resultobj = Py_None;
26656 return resultobj;
26657 fail:
26658 return NULL;
26659}
26660
26661
c32bde28 26662static PyObject *_wrap_Window_SetDimensions(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26663 PyObject *resultobj = NULL;
d14a1e28
RD
26664 wxWindow *arg1 = (wxWindow *) 0 ;
26665 int arg2 ;
26666 int arg3 ;
26667 int arg4 ;
26668 int arg5 ;
26669 int arg6 = (int) wxSIZE_AUTO ;
26670 PyObject * obj0 = 0 ;
994141e6
RD
26671 PyObject * obj1 = 0 ;
26672 PyObject * obj2 = 0 ;
26673 PyObject * obj3 = 0 ;
26674 PyObject * obj4 = 0 ;
26675 PyObject * obj5 = 0 ;
d14a1e28
RD
26676 char *kwnames[] = {
26677 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
26678 };
26679
994141e6 26680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetDimensions",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
26681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26682 if (SWIG_arg_fail(1)) SWIG_fail;
26683 {
32fe5131 26684 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
26685 if (SWIG_arg_fail(2)) SWIG_fail;
26686 }
26687 {
32fe5131 26688 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
26689 if (SWIG_arg_fail(3)) SWIG_fail;
26690 }
26691 {
32fe5131 26692 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
26693 if (SWIG_arg_fail(4)) SWIG_fail;
26694 }
26695 {
32fe5131 26696 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
26697 if (SWIG_arg_fail(5)) SWIG_fail;
26698 }
994141e6 26699 if (obj5) {
093d3ff1 26700 {
32fe5131 26701 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
26702 if (SWIG_arg_fail(6)) SWIG_fail;
26703 }
994141e6 26704 }
d14a1e28
RD
26705 {
26706 PyThreadState* __tstate = wxPyBeginAllowThreads();
26707 (arg1)->SetSize(arg2,arg3,arg4,arg5,arg6);
26708
26709 wxPyEndAllowThreads(__tstate);
26710 if (PyErr_Occurred()) SWIG_fail;
26711 }
26712 Py_INCREF(Py_None); resultobj = Py_None;
26713 return resultobj;
26714 fail:
26715 return NULL;
26716}
26717
26718
c32bde28 26719static PyObject *_wrap_Window_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26720 PyObject *resultobj = NULL;
d14a1e28
RD
26721 wxWindow *arg1 = (wxWindow *) 0 ;
26722 wxRect *arg2 = 0 ;
26723 int arg3 = (int) wxSIZE_AUTO ;
26724 wxRect temp2 ;
26725 PyObject * obj0 = 0 ;
26726 PyObject * obj1 = 0 ;
994141e6 26727 PyObject * obj2 = 0 ;
d14a1e28
RD
26728 char *kwnames[] = {
26729 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
26730 };
26731
994141e6 26732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26734 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26735 {
26736 arg2 = &temp2;
26737 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
26738 }
994141e6 26739 if (obj2) {
093d3ff1 26740 {
32fe5131 26741 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
26742 if (SWIG_arg_fail(3)) SWIG_fail;
26743 }
994141e6 26744 }
d14a1e28
RD
26745 {
26746 PyThreadState* __tstate = wxPyBeginAllowThreads();
26747 (arg1)->SetSize((wxRect const &)*arg2,arg3);
26748
26749 wxPyEndAllowThreads(__tstate);
26750 if (PyErr_Occurred()) SWIG_fail;
26751 }
26752 Py_INCREF(Py_None); resultobj = Py_None;
26753 return resultobj;
26754 fail:
26755 return NULL;
26756}
26757
26758
c32bde28 26759static PyObject *_wrap_Window_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26760 PyObject *resultobj = NULL;
d14a1e28
RD
26761 wxWindow *arg1 = (wxWindow *) 0 ;
26762 int arg2 ;
26763 int arg3 ;
26764 PyObject * obj0 = 0 ;
994141e6
RD
26765 PyObject * obj1 = 0 ;
26766 PyObject * obj2 = 0 ;
d14a1e28
RD
26767 char *kwnames[] = {
26768 (char *) "self",(char *) "width",(char *) "height", NULL
26769 };
26770
994141e6 26771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26773 if (SWIG_arg_fail(1)) SWIG_fail;
26774 {
32fe5131 26775 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
26776 if (SWIG_arg_fail(2)) SWIG_fail;
26777 }
26778 {
32fe5131 26779 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
26780 if (SWIG_arg_fail(3)) SWIG_fail;
26781 }
d14a1e28
RD
26782 {
26783 PyThreadState* __tstate = wxPyBeginAllowThreads();
26784 (arg1)->SetSize(arg2,arg3);
26785
26786 wxPyEndAllowThreads(__tstate);
26787 if (PyErr_Occurred()) SWIG_fail;
26788 }
26789 Py_INCREF(Py_None); resultobj = Py_None;
26790 return resultobj;
26791 fail:
26792 return NULL;
26793}
26794
26795
c32bde28 26796static PyObject *_wrap_Window_Move(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26797 PyObject *resultobj = NULL;
d14a1e28
RD
26798 wxWindow *arg1 = (wxWindow *) 0 ;
26799 wxPoint *arg2 = 0 ;
26800 int arg3 = (int) wxSIZE_USE_EXISTING ;
26801 wxPoint temp2 ;
26802 PyObject * obj0 = 0 ;
26803 PyObject * obj1 = 0 ;
994141e6 26804 PyObject * obj2 = 0 ;
d14a1e28
RD
26805 char *kwnames[] = {
26806 (char *) "self",(char *) "pt",(char *) "flags", NULL
26807 };
26808
994141e6 26809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_Move",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26811 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26812 {
26813 arg2 = &temp2;
26814 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26815 }
994141e6 26816 if (obj2) {
093d3ff1 26817 {
32fe5131 26818 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
26819 if (SWIG_arg_fail(3)) SWIG_fail;
26820 }
994141e6 26821 }
d14a1e28
RD
26822 {
26823 PyThreadState* __tstate = wxPyBeginAllowThreads();
26824 (arg1)->Move((wxPoint const &)*arg2,arg3);
26825
26826 wxPyEndAllowThreads(__tstate);
26827 if (PyErr_Occurred()) SWIG_fail;
26828 }
26829 Py_INCREF(Py_None); resultobj = Py_None;
26830 return resultobj;
26831 fail:
26832 return NULL;
26833}
26834
26835
c32bde28 26836static PyObject *_wrap_Window_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26837 PyObject *resultobj = NULL;
d14a1e28
RD
26838 wxWindow *arg1 = (wxWindow *) 0 ;
26839 int arg2 ;
26840 int arg3 ;
26841 int arg4 = (int) wxSIZE_USE_EXISTING ;
26842 PyObject * obj0 = 0 ;
994141e6
RD
26843 PyObject * obj1 = 0 ;
26844 PyObject * obj2 = 0 ;
26845 PyObject * obj3 = 0 ;
d14a1e28
RD
26846 char *kwnames[] = {
26847 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
26848 };
26849
994141e6 26850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_MoveXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
26851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26852 if (SWIG_arg_fail(1)) SWIG_fail;
26853 {
32fe5131 26854 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
26855 if (SWIG_arg_fail(2)) SWIG_fail;
26856 }
26857 {
32fe5131 26858 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
26859 if (SWIG_arg_fail(3)) SWIG_fail;
26860 }
994141e6 26861 if (obj3) {
093d3ff1 26862 {
32fe5131 26863 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
26864 if (SWIG_arg_fail(4)) SWIG_fail;
26865 }
994141e6 26866 }
d14a1e28
RD
26867 {
26868 PyThreadState* __tstate = wxPyBeginAllowThreads();
26869 (arg1)->Move(arg2,arg3,arg4);
26870
26871 wxPyEndAllowThreads(__tstate);
26872 if (PyErr_Occurred()) SWIG_fail;
26873 }
26874 Py_INCREF(Py_None); resultobj = Py_None;
26875 return resultobj;
26876 fail:
26877 return NULL;
26878}
26879
26880
c32bde28 26881static PyObject *_wrap_Window_SetBestFittingSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26882 PyObject *resultobj = NULL;
f8167d6e
RD
26883 wxWindow *arg1 = (wxWindow *) 0 ;
26884 wxSize const &arg2_defvalue = wxDefaultSize ;
26885 wxSize *arg2 = (wxSize *) &arg2_defvalue ;
26886 wxSize temp2 ;
26887 PyObject * obj0 = 0 ;
26888 PyObject * obj1 = 0 ;
26889 char *kwnames[] = {
26890 (char *) "self",(char *) "size", NULL
26891 };
26892
26893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_SetBestFittingSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26895 if (SWIG_arg_fail(1)) SWIG_fail;
f8167d6e
RD
26896 if (obj1) {
26897 {
26898 arg2 = &temp2;
26899 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
26900 }
26901 }
26902 {
26903 PyThreadState* __tstate = wxPyBeginAllowThreads();
26904 (arg1)->SetBestFittingSize((wxSize const &)*arg2);
26905
26906 wxPyEndAllowThreads(__tstate);
26907 if (PyErr_Occurred()) SWIG_fail;
26908 }
26909 Py_INCREF(Py_None); resultobj = Py_None;
26910 return resultobj;
26911 fail:
26912 return NULL;
26913}
26914
26915
c32bde28 26916static PyObject *_wrap_Window_Raise(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26917 PyObject *resultobj = NULL;
d14a1e28
RD
26918 wxWindow *arg1 = (wxWindow *) 0 ;
26919 PyObject * obj0 = 0 ;
26920 char *kwnames[] = {
26921 (char *) "self", NULL
26922 };
26923
26924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Raise",kwnames,&obj0)) goto fail;
093d3ff1
RD
26925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26926 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26927 {
26928 PyThreadState* __tstate = wxPyBeginAllowThreads();
26929 (arg1)->Raise();
26930
26931 wxPyEndAllowThreads(__tstate);
26932 if (PyErr_Occurred()) SWIG_fail;
26933 }
26934 Py_INCREF(Py_None); resultobj = Py_None;
26935 return resultobj;
26936 fail:
26937 return NULL;
26938}
26939
26940
c32bde28 26941static PyObject *_wrap_Window_Lower(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26942 PyObject *resultobj = NULL;
d14a1e28
RD
26943 wxWindow *arg1 = (wxWindow *) 0 ;
26944 PyObject * obj0 = 0 ;
26945 char *kwnames[] = {
26946 (char *) "self", NULL
26947 };
26948
26949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Lower",kwnames,&obj0)) goto fail;
093d3ff1
RD
26950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26951 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26952 {
26953 PyThreadState* __tstate = wxPyBeginAllowThreads();
26954 (arg1)->Lower();
26955
26956 wxPyEndAllowThreads(__tstate);
26957 if (PyErr_Occurred()) SWIG_fail;
26958 }
26959 Py_INCREF(Py_None); resultobj = Py_None;
26960 return resultobj;
26961 fail:
26962 return NULL;
26963}
26964
26965
c32bde28 26966static PyObject *_wrap_Window_SetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26967 PyObject *resultobj = NULL;
d14a1e28
RD
26968 wxWindow *arg1 = (wxWindow *) 0 ;
26969 wxSize *arg2 = 0 ;
26970 wxSize temp2 ;
26971 PyObject * obj0 = 0 ;
26972 PyObject * obj1 = 0 ;
26973 char *kwnames[] = {
26974 (char *) "self",(char *) "size", NULL
26975 };
26976
26977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26979 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26980 {
26981 arg2 = &temp2;
26982 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
26983 }
26984 {
26985 PyThreadState* __tstate = wxPyBeginAllowThreads();
26986 (arg1)->SetClientSize((wxSize const &)*arg2);
26987
26988 wxPyEndAllowThreads(__tstate);
26989 if (PyErr_Occurred()) SWIG_fail;
26990 }
26991 Py_INCREF(Py_None); resultobj = Py_None;
26992 return resultobj;
26993 fail:
26994 return NULL;
26995}
26996
26997
c32bde28 26998static PyObject *_wrap_Window_SetClientSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26999 PyObject *resultobj = NULL;
d14a1e28
RD
27000 wxWindow *arg1 = (wxWindow *) 0 ;
27001 int arg2 ;
27002 int arg3 ;
27003 PyObject * obj0 = 0 ;
994141e6
RD
27004 PyObject * obj1 = 0 ;
27005 PyObject * obj2 = 0 ;
d14a1e28
RD
27006 char *kwnames[] = {
27007 (char *) "self",(char *) "width",(char *) "height", NULL
27008 };
27009
994141e6 27010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetClientSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27012 if (SWIG_arg_fail(1)) SWIG_fail;
27013 {
32fe5131 27014 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
27015 if (SWIG_arg_fail(2)) SWIG_fail;
27016 }
27017 {
32fe5131 27018 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
27019 if (SWIG_arg_fail(3)) SWIG_fail;
27020 }
d14a1e28
RD
27021 {
27022 PyThreadState* __tstate = wxPyBeginAllowThreads();
27023 (arg1)->SetClientSize(arg2,arg3);
27024
27025 wxPyEndAllowThreads(__tstate);
27026 if (PyErr_Occurred()) SWIG_fail;
27027 }
27028 Py_INCREF(Py_None); resultobj = Py_None;
27029 return resultobj;
27030 fail:
27031 return NULL;
27032}
27033
27034
c32bde28 27035static PyObject *_wrap_Window_SetClientRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27036 PyObject *resultobj = NULL;
d14a1e28
RD
27037 wxWindow *arg1 = (wxWindow *) 0 ;
27038 wxRect *arg2 = 0 ;
27039 wxRect temp2 ;
27040 PyObject * obj0 = 0 ;
27041 PyObject * obj1 = 0 ;
27042 char *kwnames[] = {
27043 (char *) "self",(char *) "rect", NULL
27044 };
27045
27046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27048 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27049 {
27050 arg2 = &temp2;
27051 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
27052 }
27053 {
27054 PyThreadState* __tstate = wxPyBeginAllowThreads();
27055 (arg1)->SetClientSize((wxRect const &)*arg2);
27056
27057 wxPyEndAllowThreads(__tstate);
27058 if (PyErr_Occurred()) SWIG_fail;
27059 }
27060 Py_INCREF(Py_None); resultobj = Py_None;
27061 return resultobj;
27062 fail:
27063 return NULL;
27064}
27065
27066
c32bde28 27067static PyObject *_wrap_Window_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27068 PyObject *resultobj = NULL;
d14a1e28
RD
27069 wxWindow *arg1 = (wxWindow *) 0 ;
27070 wxPoint result;
27071 PyObject * obj0 = 0 ;
27072 char *kwnames[] = {
27073 (char *) "self", NULL
27074 };
27075
27076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
27077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27078 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27079 {
27080 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 27081 result = (arg1)->GetPosition();
d14a1e28
RD
27082
27083 wxPyEndAllowThreads(__tstate);
27084 if (PyErr_Occurred()) SWIG_fail;
27085 }
27086 {
27087 wxPoint * resultptr;
32fe5131 27088 resultptr = new wxPoint(static_cast<wxPoint & >(result));
15afbcd0 27089 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
27090 }
27091 return resultobj;
27092 fail:
27093 return NULL;
27094}
27095
27096
c32bde28 27097static PyObject *_wrap_Window_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27098 PyObject *resultobj = NULL;
d14a1e28
RD
27099 wxWindow *arg1 = (wxWindow *) 0 ;
27100 int *arg2 = (int *) 0 ;
27101 int *arg3 = (int *) 0 ;
27102 int temp2 ;
c32bde28 27103 int res2 = 0 ;
d14a1e28 27104 int temp3 ;
c32bde28 27105 int res3 = 0 ;
d14a1e28
RD
27106 PyObject * obj0 = 0 ;
27107 char *kwnames[] = {
27108 (char *) "self", NULL
27109 };
27110
c32bde28
RD
27111 arg2 = &temp2; res2 = SWIG_NEWOBJ;
27112 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 27113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPositionTuple",kwnames,&obj0)) goto fail;
093d3ff1
RD
27114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27115 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27116 {
27117 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 27118 (arg1)->GetPosition(arg2,arg3);
d14a1e28
RD
27119
27120 wxPyEndAllowThreads(__tstate);
27121 if (PyErr_Occurred()) SWIG_fail;
27122 }
27123 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
27124 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
27125 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
27126 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
27127 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
27128 return resultobj;
27129 fail:
27130 return NULL;
27131}
27132
27133
c32bde28 27134static PyObject *_wrap_Window_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27135 PyObject *resultobj = NULL;
d14a1e28
RD
27136 wxWindow *arg1 = (wxWindow *) 0 ;
27137 wxSize result;
27138 PyObject * obj0 = 0 ;
27139 char *kwnames[] = {
27140 (char *) "self", NULL
27141 };
27142
27143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
27144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27145 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27146 {
27147 PyThreadState* __tstate = wxPyBeginAllowThreads();
27148 result = ((wxWindow const *)arg1)->GetSize();
27149
27150 wxPyEndAllowThreads(__tstate);
27151 if (PyErr_Occurred()) SWIG_fail;
27152 }
27153 {
27154 wxSize * resultptr;
32fe5131 27155 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 27156 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
27157 }
27158 return resultobj;
27159 fail:
27160 return NULL;
27161}
27162
27163
c32bde28 27164static PyObject *_wrap_Window_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27165 PyObject *resultobj = NULL;
d14a1e28
RD
27166 wxWindow *arg1 = (wxWindow *) 0 ;
27167 int *arg2 = (int *) 0 ;
27168 int *arg3 = (int *) 0 ;
27169 int temp2 ;
c32bde28 27170 int res2 = 0 ;
d14a1e28 27171 int temp3 ;
c32bde28 27172 int res3 = 0 ;
d14a1e28
RD
27173 PyObject * obj0 = 0 ;
27174 char *kwnames[] = {
27175 (char *) "self", NULL
27176 };
27177
c32bde28
RD
27178 arg2 = &temp2; res2 = SWIG_NEWOBJ;
27179 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 27180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizeTuple",kwnames,&obj0)) goto fail;
093d3ff1
RD
27181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27182 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27183 {
27184 PyThreadState* __tstate = wxPyBeginAllowThreads();
27185 ((wxWindow const *)arg1)->GetSize(arg2,arg3);
27186
27187 wxPyEndAllowThreads(__tstate);
27188 if (PyErr_Occurred()) SWIG_fail;
27189 }
27190 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
27191 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
27192 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
27193 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
27194 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
27195 return resultobj;
27196 fail:
27197 return NULL;
27198}
27199
27200
c32bde28 27201static PyObject *_wrap_Window_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27202 PyObject *resultobj = NULL;
d14a1e28
RD
27203 wxWindow *arg1 = (wxWindow *) 0 ;
27204 wxRect result;
27205 PyObject * obj0 = 0 ;
27206 char *kwnames[] = {
27207 (char *) "self", NULL
27208 };
27209
27210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
27211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27212 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27213 {
27214 PyThreadState* __tstate = wxPyBeginAllowThreads();
27215 result = ((wxWindow const *)arg1)->GetRect();
27216
27217 wxPyEndAllowThreads(__tstate);
27218 if (PyErr_Occurred()) SWIG_fail;
27219 }
27220 {
27221 wxRect * resultptr;
32fe5131 27222 resultptr = new wxRect(static_cast<wxRect & >(result));
15afbcd0 27223 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
27224 }
27225 return resultobj;
27226 fail:
27227 return NULL;
27228}
27229
27230
c32bde28 27231static PyObject *_wrap_Window_GetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27232 PyObject *resultobj = NULL;
d14a1e28
RD
27233 wxWindow *arg1 = (wxWindow *) 0 ;
27234 wxSize result;
27235 PyObject * obj0 = 0 ;
27236 char *kwnames[] = {
27237 (char *) "self", NULL
27238 };
27239
27240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
27241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27242 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27243 {
27244 PyThreadState* __tstate = wxPyBeginAllowThreads();
27245 result = ((wxWindow const *)arg1)->GetClientSize();
27246
27247 wxPyEndAllowThreads(__tstate);
27248 if (PyErr_Occurred()) SWIG_fail;
27249 }
27250 {
27251 wxSize * resultptr;
32fe5131 27252 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 27253 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
27254 }
27255 return resultobj;
27256 fail:
27257 return NULL;
27258}
27259
27260
c32bde28 27261static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27262 PyObject *resultobj = NULL;
d14a1e28
RD
27263 wxWindow *arg1 = (wxWindow *) 0 ;
27264 int *arg2 = (int *) 0 ;
27265 int *arg3 = (int *) 0 ;
27266 int temp2 ;
c32bde28 27267 int res2 = 0 ;
d14a1e28 27268 int temp3 ;
c32bde28 27269 int res3 = 0 ;
d14a1e28
RD
27270 PyObject * obj0 = 0 ;
27271 char *kwnames[] = {
27272 (char *) "self", NULL
27273 };
27274
c32bde28
RD
27275 arg2 = &temp2; res2 = SWIG_NEWOBJ;
27276 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 27277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSizeTuple",kwnames,&obj0)) goto fail;
093d3ff1
RD
27278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27279 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27280 {
27281 PyThreadState* __tstate = wxPyBeginAllowThreads();
27282 ((wxWindow const *)arg1)->GetClientSize(arg2,arg3);
27283
27284 wxPyEndAllowThreads(__tstate);
27285 if (PyErr_Occurred()) SWIG_fail;
27286 }
27287 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
27288 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
27289 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
27290 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
27291 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
27292 return resultobj;
27293 fail:
27294 return NULL;
27295}
27296
27297
c32bde28 27298static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27299 PyObject *resultobj = NULL;
d14a1e28
RD
27300 wxWindow *arg1 = (wxWindow *) 0 ;
27301 wxPoint result;
27302 PyObject * obj0 = 0 ;
27303 char *kwnames[] = {
27304 (char *) "self", NULL
27305 };
27306
27307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
093d3ff1
RD
27308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27309 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27310 {
27311 PyThreadState* __tstate = wxPyBeginAllowThreads();
27312 result = ((wxWindow const *)arg1)->GetClientAreaOrigin();
27313
27314 wxPyEndAllowThreads(__tstate);
27315 if (PyErr_Occurred()) SWIG_fail;
27316 }
27317 {
27318 wxPoint * resultptr;
32fe5131 27319 resultptr = new wxPoint(static_cast<wxPoint & >(result));
15afbcd0 27320 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
27321 }
27322 return resultobj;
27323 fail:
27324 return NULL;
27325}
27326
27327
c32bde28 27328static PyObject *_wrap_Window_GetClientRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27329 PyObject *resultobj = NULL;
d14a1e28
RD
27330 wxWindow *arg1 = (wxWindow *) 0 ;
27331 wxRect result;
27332 PyObject * obj0 = 0 ;
27333 char *kwnames[] = {
27334 (char *) "self", NULL
27335 };
27336
27337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
27338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27339 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27340 {
27341 PyThreadState* __tstate = wxPyBeginAllowThreads();
27342 result = ((wxWindow const *)arg1)->GetClientRect();
27343
27344 wxPyEndAllowThreads(__tstate);
27345 if (PyErr_Occurred()) SWIG_fail;
27346 }
27347 {
27348 wxRect * resultptr;
32fe5131 27349 resultptr = new wxRect(static_cast<wxRect & >(result));
15afbcd0 27350 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
27351 }
27352 return resultobj;
27353 fail:
27354 return NULL;
27355}
27356
27357
c32bde28 27358static PyObject *_wrap_Window_GetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27359 PyObject *resultobj = NULL;
d14a1e28
RD
27360 wxWindow *arg1 = (wxWindow *) 0 ;
27361 wxSize result;
27362 PyObject * obj0 = 0 ;
27363 char *kwnames[] = {
27364 (char *) "self", NULL
27365 };
27366
27367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
27368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27369 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27370 {
27371 PyThreadState* __tstate = wxPyBeginAllowThreads();
27372 result = ((wxWindow const *)arg1)->GetBestSize();
27373
27374 wxPyEndAllowThreads(__tstate);
27375 if (PyErr_Occurred()) SWIG_fail;
27376 }
27377 {
27378 wxSize * resultptr;
32fe5131 27379 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 27380 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
27381 }
27382 return resultobj;
27383 fail:
27384 return NULL;
27385}
27386
27387
c32bde28 27388static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27389 PyObject *resultobj = NULL;
d14a1e28
RD
27390 wxWindow *arg1 = (wxWindow *) 0 ;
27391 int *arg2 = (int *) 0 ;
27392 int *arg3 = (int *) 0 ;
27393 int temp2 ;
c32bde28 27394 int res2 = 0 ;
d14a1e28 27395 int temp3 ;
c32bde28 27396 int res3 = 0 ;
d14a1e28
RD
27397 PyObject * obj0 = 0 ;
27398 char *kwnames[] = {
27399 (char *) "self", NULL
27400 };
27401
c32bde28
RD
27402 arg2 = &temp2; res2 = SWIG_NEWOBJ;
27403 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 27404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSizeTuple",kwnames,&obj0)) goto fail;
093d3ff1
RD
27405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27406 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27407 {
27408 PyThreadState* __tstate = wxPyBeginAllowThreads();
27409 ((wxWindow const *)arg1)->GetBestSize(arg2,arg3);
27410
27411 wxPyEndAllowThreads(__tstate);
27412 if (PyErr_Occurred()) SWIG_fail;
27413 }
27414 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
27415 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
27416 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
27417 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
27418 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
27419 return resultobj;
27420 fail:
27421 return NULL;
27422}
27423
27424
c32bde28 27425static PyObject *_wrap_Window_InvalidateBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27426 PyObject *resultobj = NULL;
dfbb5885
RD
27427 wxWindow *arg1 = (wxWindow *) 0 ;
27428 PyObject * obj0 = 0 ;
27429 char *kwnames[] = {
27430 (char *) "self", NULL
27431 };
27432
27433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InvalidateBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
27434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27435 if (SWIG_arg_fail(1)) SWIG_fail;
dfbb5885
RD
27436 {
27437 PyThreadState* __tstate = wxPyBeginAllowThreads();
27438 (arg1)->InvalidateBestSize();
27439
27440 wxPyEndAllowThreads(__tstate);
27441 if (PyErr_Occurred()) SWIG_fail;
27442 }
27443 Py_INCREF(Py_None); resultobj = Py_None;
27444 return resultobj;
27445 fail:
27446 return NULL;
27447}
27448
27449
e2813725 27450static PyObject *_wrap_Window_CacheBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27451 PyObject *resultobj = NULL;
e2813725
RD
27452 wxWindow *arg1 = (wxWindow *) 0 ;
27453 wxSize *arg2 = 0 ;
27454 wxSize temp2 ;
27455 PyObject * obj0 = 0 ;
27456 PyObject * obj1 = 0 ;
27457 char *kwnames[] = {
27458 (char *) "self",(char *) "size", NULL
27459 };
27460
27461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_CacheBestSize",kwnames,&obj0,&obj1)) goto fail;
27462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27463 if (SWIG_arg_fail(1)) SWIG_fail;
27464 {
27465 arg2 = &temp2;
27466 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
27467 }
27468 {
27469 PyThreadState* __tstate = wxPyBeginAllowThreads();
27470 ((wxWindow const *)arg1)->CacheBestSize((wxSize const &)*arg2);
27471
27472 wxPyEndAllowThreads(__tstate);
27473 if (PyErr_Occurred()) SWIG_fail;
27474 }
27475 Py_INCREF(Py_None); resultobj = Py_None;
27476 return resultobj;
27477 fail:
27478 return NULL;
27479}
27480
27481
c32bde28 27482static PyObject *_wrap_Window_GetBestFittingSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27483 PyObject *resultobj = NULL;
dfbb5885
RD
27484 wxWindow *arg1 = (wxWindow *) 0 ;
27485 wxSize result;
27486 PyObject * obj0 = 0 ;
27487 char *kwnames[] = {
27488 (char *) "self", NULL
27489 };
27490
27491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestFittingSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
27492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27493 if (SWIG_arg_fail(1)) SWIG_fail;
dfbb5885
RD
27494 {
27495 PyThreadState* __tstate = wxPyBeginAllowThreads();
27496 result = ((wxWindow const *)arg1)->GetBestFittingSize();
27497
27498 wxPyEndAllowThreads(__tstate);
27499 if (PyErr_Occurred()) SWIG_fail;
27500 }
27501 {
27502 wxSize * resultptr;
32fe5131 27503 resultptr = new wxSize(static_cast<wxSize & >(result));
dfbb5885
RD
27504 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
27505 }
27506 return resultobj;
27507 fail:
27508 return NULL;
27509}
27510
27511
c32bde28 27512static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27513 PyObject *resultobj = NULL;
d14a1e28
RD
27514 wxWindow *arg1 = (wxWindow *) 0 ;
27515 wxSize result;
27516 PyObject * obj0 = 0 ;
27517 char *kwnames[] = {
27518 (char *) "self", NULL
27519 };
27520
27521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
27522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27523 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27524 {
27525 PyThreadState* __tstate = wxPyBeginAllowThreads();
27526 result = ((wxWindow const *)arg1)->GetAdjustedBestSize();
27527
27528 wxPyEndAllowThreads(__tstate);
27529 if (PyErr_Occurred()) SWIG_fail;
27530 }
27531 {
27532 wxSize * resultptr;
32fe5131 27533 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 27534 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
27535 }
27536 return resultobj;
27537 fail:
27538 return NULL;
27539}
27540
27541
c32bde28 27542static PyObject *_wrap_Window_Center(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27543 PyObject *resultobj = NULL;
d14a1e28
RD
27544 wxWindow *arg1 = (wxWindow *) 0 ;
27545 int arg2 = (int) wxBOTH ;
27546 PyObject * obj0 = 0 ;
994141e6 27547 PyObject * obj1 = 0 ;
d14a1e28
RD
27548 char *kwnames[] = {
27549 (char *) "self",(char *) "direction", NULL
27550 };
27551
994141e6 27552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Center",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27554 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 27555 if (obj1) {
093d3ff1 27556 {
32fe5131 27557 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
27558 if (SWIG_arg_fail(2)) SWIG_fail;
27559 }
994141e6 27560 }
d14a1e28
RD
27561 {
27562 PyThreadState* __tstate = wxPyBeginAllowThreads();
27563 (arg1)->Center(arg2);
27564
27565 wxPyEndAllowThreads(__tstate);
27566 if (PyErr_Occurred()) SWIG_fail;
27567 }
27568 Py_INCREF(Py_None); resultobj = Py_None;
27569 return resultobj;
27570 fail:
27571 return NULL;
27572}
27573
27574
c32bde28 27575static PyObject *_wrap_Window_CenterOnParent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27576 PyObject *resultobj = NULL;
d14a1e28
RD
27577 wxWindow *arg1 = (wxWindow *) 0 ;
27578 int arg2 = (int) wxBOTH ;
27579 PyObject * obj0 = 0 ;
994141e6 27580 PyObject * obj1 = 0 ;
d14a1e28
RD
27581 char *kwnames[] = {
27582 (char *) "self",(char *) "dir", NULL
27583 };
27584
994141e6 27585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnParent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27587 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 27588 if (obj1) {
093d3ff1 27589 {
32fe5131 27590 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
27591 if (SWIG_arg_fail(2)) SWIG_fail;
27592 }
994141e6 27593 }
d14a1e28
RD
27594 {
27595 PyThreadState* __tstate = wxPyBeginAllowThreads();
27596 (arg1)->CenterOnParent(arg2);
27597
27598 wxPyEndAllowThreads(__tstate);
27599 if (PyErr_Occurred()) SWIG_fail;
27600 }
27601 Py_INCREF(Py_None); resultobj = Py_None;
27602 return resultobj;
27603 fail:
27604 return NULL;
27605}
27606
27607
c32bde28 27608static PyObject *_wrap_Window_Fit(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27609 PyObject *resultobj = NULL;
d14a1e28
RD
27610 wxWindow *arg1 = (wxWindow *) 0 ;
27611 PyObject * obj0 = 0 ;
27612 char *kwnames[] = {
27613 (char *) "self", NULL
27614 };
27615
27616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Fit",kwnames,&obj0)) goto fail;
093d3ff1
RD
27617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27618 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27619 {
27620 PyThreadState* __tstate = wxPyBeginAllowThreads();
27621 (arg1)->Fit();
27622
27623 wxPyEndAllowThreads(__tstate);
27624 if (PyErr_Occurred()) SWIG_fail;
27625 }
27626 Py_INCREF(Py_None); resultobj = Py_None;
27627 return resultobj;
27628 fail:
27629 return NULL;
27630}
27631
27632
c32bde28 27633static PyObject *_wrap_Window_FitInside(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27634 PyObject *resultobj = NULL;
d14a1e28
RD
27635 wxWindow *arg1 = (wxWindow *) 0 ;
27636 PyObject * obj0 = 0 ;
27637 char *kwnames[] = {
27638 (char *) "self", NULL
27639 };
27640
27641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FitInside",kwnames,&obj0)) goto fail;
093d3ff1
RD
27642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27643 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27644 {
27645 PyThreadState* __tstate = wxPyBeginAllowThreads();
27646 (arg1)->FitInside();
27647
27648 wxPyEndAllowThreads(__tstate);
27649 if (PyErr_Occurred()) SWIG_fail;
27650 }
27651 Py_INCREF(Py_None); resultobj = Py_None;
27652 return resultobj;
27653 fail:
27654 return NULL;
27655}
27656
27657
c32bde28 27658static PyObject *_wrap_Window_SetSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27659 PyObject *resultobj = NULL;
d14a1e28
RD
27660 wxWindow *arg1 = (wxWindow *) 0 ;
27661 int arg2 ;
27662 int arg3 ;
27663 int arg4 = (int) -1 ;
27664 int arg5 = (int) -1 ;
27665 int arg6 = (int) -1 ;
27666 int arg7 = (int) -1 ;
27667 PyObject * obj0 = 0 ;
994141e6
RD
27668 PyObject * obj1 = 0 ;
27669 PyObject * obj2 = 0 ;
27670 PyObject * obj3 = 0 ;
27671 PyObject * obj4 = 0 ;
27672 PyObject * obj5 = 0 ;
27673 PyObject * obj6 = 0 ;
f16ab95d
RD
27674 char *kwnames[] = {
27675 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
27676 };
d14a1e28 27677
f16ab95d 27678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
27679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27680 if (SWIG_arg_fail(1)) SWIG_fail;
27681 {
32fe5131 27682 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
27683 if (SWIG_arg_fail(2)) SWIG_fail;
27684 }
27685 {
32fe5131 27686 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
27687 if (SWIG_arg_fail(3)) SWIG_fail;
27688 }
994141e6 27689 if (obj3) {
093d3ff1 27690 {
32fe5131 27691 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
27692 if (SWIG_arg_fail(4)) SWIG_fail;
27693 }
994141e6
RD
27694 }
27695 if (obj4) {
093d3ff1 27696 {
32fe5131 27697 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
27698 if (SWIG_arg_fail(5)) SWIG_fail;
27699 }
994141e6
RD
27700 }
27701 if (obj5) {
093d3ff1 27702 {
32fe5131 27703 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
27704 if (SWIG_arg_fail(6)) SWIG_fail;
27705 }
994141e6
RD
27706 }
27707 if (obj6) {
093d3ff1 27708 {
32fe5131 27709 arg7 = static_cast<int >(SWIG_As_int(obj6));
093d3ff1
RD
27710 if (SWIG_arg_fail(7)) SWIG_fail;
27711 }
994141e6 27712 }
d14a1e28
RD
27713 {
27714 PyThreadState* __tstate = wxPyBeginAllowThreads();
27715 (arg1)->SetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7);
27716
27717 wxPyEndAllowThreads(__tstate);
27718 if (PyErr_Occurred()) SWIG_fail;
27719 }
27720 Py_INCREF(Py_None); resultobj = Py_None;
27721 return resultobj;
27722 fail:
27723 return NULL;
27724}
27725
27726
c32bde28 27727static PyObject *_wrap_Window_SetSizeHintsSz(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27728 PyObject *resultobj = NULL;
d14a1e28 27729 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd
RD
27730 wxSize *arg2 = 0 ;
27731 wxSize const &arg3_defvalue = wxDefaultSize ;
27732 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
f16ab95d
RD
27733 wxSize const &arg4_defvalue = wxDefaultSize ;
27734 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
908b74cd
RD
27735 wxSize temp2 ;
27736 wxSize temp3 ;
f16ab95d 27737 wxSize temp4 ;
d14a1e28 27738 PyObject * obj0 = 0 ;
994141e6
RD
27739 PyObject * obj1 = 0 ;
27740 PyObject * obj2 = 0 ;
f16ab95d
RD
27741 PyObject * obj3 = 0 ;
27742 char *kwnames[] = {
27743 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
27744 };
d14a1e28 27745
f16ab95d 27746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
27747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27748 if (SWIG_arg_fail(1)) SWIG_fail;
908b74cd
RD
27749 {
27750 arg2 = &temp2;
27751 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
994141e6 27752 }
908b74cd
RD
27753 if (obj2) {
27754 {
27755 arg3 = &temp3;
27756 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
27757 }
994141e6 27758 }
f16ab95d
RD
27759 if (obj3) {
27760 {
27761 arg4 = &temp4;
27762 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27763 }
27764 }
d14a1e28
RD
27765 {
27766 PyThreadState* __tstate = wxPyBeginAllowThreads();
f16ab95d 27767 (arg1)->SetSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3,(wxSize const &)*arg4);
d14a1e28
RD
27768
27769 wxPyEndAllowThreads(__tstate);
27770 if (PyErr_Occurred()) SWIG_fail;
27771 }
27772 Py_INCREF(Py_None); resultobj = Py_None;
27773 return resultobj;
27774 fail:
27775 return NULL;
27776}
27777
27778
c32bde28 27779static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27780 PyObject *resultobj = NULL;
74a57fcd 27781 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd
RD
27782 int arg2 ;
27783 int arg3 ;
27784 int arg4 = (int) -1 ;
27785 int arg5 = (int) -1 ;
74a57fcd
RD
27786 PyObject * obj0 = 0 ;
27787 PyObject * obj1 = 0 ;
27788 PyObject * obj2 = 0 ;
908b74cd
RD
27789 PyObject * obj3 = 0 ;
27790 PyObject * obj4 = 0 ;
f16ab95d
RD
27791 char *kwnames[] = {
27792 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
27793 };
74a57fcd 27794
f16ab95d 27795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
27796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27797 if (SWIG_arg_fail(1)) SWIG_fail;
27798 {
32fe5131 27799 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
27800 if (SWIG_arg_fail(2)) SWIG_fail;
27801 }
27802 {
32fe5131 27803 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
27804 if (SWIG_arg_fail(3)) SWIG_fail;
27805 }
908b74cd 27806 if (obj3) {
093d3ff1 27807 {
32fe5131 27808 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
27809 if (SWIG_arg_fail(4)) SWIG_fail;
27810 }
74a57fcd 27811 }
908b74cd 27812 if (obj4) {
093d3ff1 27813 {
32fe5131 27814 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
27815 if (SWIG_arg_fail(5)) SWIG_fail;
27816 }
74a57fcd
RD
27817 }
27818 {
27819 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 27820 (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
74a57fcd
RD
27821
27822 wxPyEndAllowThreads(__tstate);
27823 if (PyErr_Occurred()) SWIG_fail;
27824 }
27825 Py_INCREF(Py_None); resultobj = Py_None;
27826 return resultobj;
27827 fail:
27828 return NULL;
27829}
27830
27831
c32bde28 27832static PyObject *_wrap_Window_SetVirtualSizeHintsSz(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27833 PyObject *resultobj = NULL;
f16ab95d
RD
27834 wxWindow *arg1 = (wxWindow *) 0 ;
27835 wxSize *arg2 = 0 ;
27836 wxSize const &arg3_defvalue = wxDefaultSize ;
27837 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
27838 wxSize temp2 ;
27839 wxSize temp3 ;
27840 PyObject * obj0 = 0 ;
27841 PyObject * obj1 = 0 ;
27842 PyObject * obj2 = 0 ;
27843 char *kwnames[] = {
27844 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
27845 };
74a57fcd 27846
f16ab95d 27847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27849 if (SWIG_arg_fail(1)) SWIG_fail;
f16ab95d
RD
27850 {
27851 arg2 = &temp2;
27852 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
74a57fcd 27853 }
f16ab95d 27854 if (obj2) {
74a57fcd 27855 {
f16ab95d
RD
27856 arg3 = &temp3;
27857 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
74a57fcd
RD
27858 }
27859 }
f16ab95d
RD
27860 {
27861 PyThreadState* __tstate = wxPyBeginAllowThreads();
27862 (arg1)->SetVirtualSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3);
27863
27864 wxPyEndAllowThreads(__tstate);
27865 if (PyErr_Occurred()) SWIG_fail;
74a57fcd 27866 }
f16ab95d
RD
27867 Py_INCREF(Py_None); resultobj = Py_None;
27868 return resultobj;
27869 fail:
74a57fcd
RD
27870 return NULL;
27871}
27872
27873
c32bde28 27874static PyObject *_wrap_Window_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27875 PyObject *resultobj = NULL;
d14a1e28 27876 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 27877 wxSize result;
d14a1e28
RD
27878 PyObject * obj0 = 0 ;
27879 char *kwnames[] = {
27880 (char *) "self", NULL
27881 };
27882
908b74cd 27883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
27884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27885 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27886 {
27887 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 27888 result = ((wxWindow const *)arg1)->GetMaxSize();
d14a1e28
RD
27889
27890 wxPyEndAllowThreads(__tstate);
27891 if (PyErr_Occurred()) SWIG_fail;
27892 }
908b74cd
RD
27893 {
27894 wxSize * resultptr;
32fe5131 27895 resultptr = new wxSize(static_cast<wxSize & >(result));
908b74cd
RD
27896 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
27897 }
d14a1e28
RD
27898 return resultobj;
27899 fail:
27900 return NULL;
27901}
27902
27903
c32bde28 27904static PyObject *_wrap_Window_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27905 PyObject *resultobj = NULL;
d14a1e28 27906 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 27907 wxSize result;
d14a1e28
RD
27908 PyObject * obj0 = 0 ;
27909 char *kwnames[] = {
27910 (char *) "self", NULL
27911 };
27912
908b74cd 27913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
27914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27915 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27916 {
27917 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 27918 result = ((wxWindow const *)arg1)->GetMinSize();
d14a1e28
RD
27919
27920 wxPyEndAllowThreads(__tstate);
27921 if (PyErr_Occurred()) SWIG_fail;
27922 }
908b74cd
RD
27923 {
27924 wxSize * resultptr;
32fe5131 27925 resultptr = new wxSize(static_cast<wxSize & >(result));
908b74cd
RD
27926 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
27927 }
d14a1e28
RD
27928 return resultobj;
27929 fail:
27930 return NULL;
27931}
27932
27933
c32bde28 27934static PyObject *_wrap_Window_SetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27935 PyObject *resultobj = NULL;
908b74cd
RD
27936 wxWindow *arg1 = (wxWindow *) 0 ;
27937 wxSize *arg2 = 0 ;
27938 wxSize temp2 ;
27939 PyObject * obj0 = 0 ;
27940 PyObject * obj1 = 0 ;
27941 char *kwnames[] = {
27942 (char *) "self",(char *) "minSize", NULL
27943 };
27944
27945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27947 if (SWIG_arg_fail(1)) SWIG_fail;
908b74cd
RD
27948 {
27949 arg2 = &temp2;
27950 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
27951 }
27952 {
27953 PyThreadState* __tstate = wxPyBeginAllowThreads();
27954 (arg1)->SetMinSize((wxSize const &)*arg2);
27955
27956 wxPyEndAllowThreads(__tstate);
27957 if (PyErr_Occurred()) SWIG_fail;
27958 }
27959 Py_INCREF(Py_None); resultobj = Py_None;
27960 return resultobj;
27961 fail:
27962 return NULL;
27963}
27964
27965
c32bde28 27966static PyObject *_wrap_Window_SetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27967 PyObject *resultobj = NULL;
908b74cd
RD
27968 wxWindow *arg1 = (wxWindow *) 0 ;
27969 wxSize *arg2 = 0 ;
27970 wxSize temp2 ;
27971 PyObject * obj0 = 0 ;
27972 PyObject * obj1 = 0 ;
27973 char *kwnames[] = {
27974 (char *) "self",(char *) "maxSize", NULL
27975 };
27976
27977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetMaxSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27979 if (SWIG_arg_fail(1)) SWIG_fail;
908b74cd
RD
27980 {
27981 arg2 = &temp2;
27982 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
27983 }
27984 {
27985 PyThreadState* __tstate = wxPyBeginAllowThreads();
27986 (arg1)->SetMaxSize((wxSize const &)*arg2);
27987
27988 wxPyEndAllowThreads(__tstate);
27989 if (PyErr_Occurred()) SWIG_fail;
27990 }
27991 Py_INCREF(Py_None); resultobj = Py_None;
27992 return resultobj;
27993 fail:
27994 return NULL;
27995}
27996
27997
c32bde28 27998static PyObject *_wrap_Window_GetMinWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27999 PyObject *resultobj = NULL;
d14a1e28
RD
28000 wxWindow *arg1 = (wxWindow *) 0 ;
28001 int result;
28002 PyObject * obj0 = 0 ;
28003 char *kwnames[] = {
28004 (char *) "self", NULL
28005 };
28006
908b74cd 28007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
28008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28009 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28010 {
28011 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 28012 result = (int)((wxWindow const *)arg1)->GetMinWidth();
d14a1e28
RD
28013
28014 wxPyEndAllowThreads(__tstate);
28015 if (PyErr_Occurred()) SWIG_fail;
28016 }
093d3ff1 28017 {
32fe5131 28018 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 28019 }
d14a1e28
RD
28020 return resultobj;
28021 fail:
28022 return NULL;
28023}
28024
28025
c32bde28 28026static PyObject *_wrap_Window_GetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28027 PyObject *resultobj = NULL;
d14a1e28
RD
28028 wxWindow *arg1 = (wxWindow *) 0 ;
28029 int result;
28030 PyObject * obj0 = 0 ;
28031 char *kwnames[] = {
28032 (char *) "self", NULL
28033 };
28034
908b74cd 28035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
28036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28037 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28038 {
28039 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 28040 result = (int)((wxWindow const *)arg1)->GetMinHeight();
d14a1e28
RD
28041
28042 wxPyEndAllowThreads(__tstate);
28043 if (PyErr_Occurred()) SWIG_fail;
28044 }
093d3ff1 28045 {
32fe5131 28046 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 28047 }
d14a1e28
RD
28048 return resultobj;
28049 fail:
28050 return NULL;
28051}
28052
28053
c32bde28 28054static PyObject *_wrap_Window_GetMaxWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28055 PyObject *resultobj = NULL;
d14a1e28 28056 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 28057 int result;
d14a1e28
RD
28058 PyObject * obj0 = 0 ;
28059 char *kwnames[] = {
28060 (char *) "self", NULL
28061 };
28062
908b74cd 28063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
28064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28065 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28066 {
28067 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 28068 result = (int)((wxWindow const *)arg1)->GetMaxWidth();
d14a1e28
RD
28069
28070 wxPyEndAllowThreads(__tstate);
28071 if (PyErr_Occurred()) SWIG_fail;
28072 }
093d3ff1 28073 {
32fe5131 28074 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 28075 }
d14a1e28
RD
28076 return resultobj;
28077 fail:
28078 return NULL;
28079}
28080
28081
c32bde28 28082static PyObject *_wrap_Window_GetMaxHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28083 PyObject *resultobj = NULL;
74a57fcd 28084 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 28085 int result;
74a57fcd
RD
28086 PyObject * obj0 = 0 ;
28087 char *kwnames[] = {
28088 (char *) "self", NULL
28089 };
28090
908b74cd 28091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
28092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28093 if (SWIG_arg_fail(1)) SWIG_fail;
74a57fcd
RD
28094 {
28095 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 28096 result = (int)((wxWindow const *)arg1)->GetMaxHeight();
74a57fcd
RD
28097
28098 wxPyEndAllowThreads(__tstate);
28099 if (PyErr_Occurred()) SWIG_fail;
28100 }
093d3ff1 28101 {
32fe5131 28102 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 28103 }
74a57fcd
RD
28104 return resultobj;
28105 fail:
28106 return NULL;
28107}
28108
28109
c32bde28 28110static PyObject *_wrap_Window_SetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28111 PyObject *resultobj = NULL;
d14a1e28
RD
28112 wxWindow *arg1 = (wxWindow *) 0 ;
28113 wxSize *arg2 = 0 ;
28114 wxSize temp2 ;
28115 PyObject * obj0 = 0 ;
28116 PyObject * obj1 = 0 ;
28117 char *kwnames[] = {
28118 (char *) "self",(char *) "size", NULL
28119 };
28120
28121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28123 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28124 {
28125 arg2 = &temp2;
28126 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28127 }
28128 {
28129 PyThreadState* __tstate = wxPyBeginAllowThreads();
28130 (arg1)->SetVirtualSize((wxSize const &)*arg2);
28131
28132 wxPyEndAllowThreads(__tstate);
28133 if (PyErr_Occurred()) SWIG_fail;
28134 }
28135 Py_INCREF(Py_None); resultobj = Py_None;
28136 return resultobj;
28137 fail:
28138 return NULL;
28139}
28140
28141
c32bde28 28142static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28143 PyObject *resultobj = NULL;
d14a1e28
RD
28144 wxWindow *arg1 = (wxWindow *) 0 ;
28145 int arg2 ;
28146 int arg3 ;
28147 PyObject * obj0 = 0 ;
994141e6
RD
28148 PyObject * obj1 = 0 ;
28149 PyObject * obj2 = 0 ;
d14a1e28
RD
28150 char *kwnames[] = {
28151 (char *) "self",(char *) "w",(char *) "h", NULL
28152 };
28153
994141e6 28154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetVirtualSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28156 if (SWIG_arg_fail(1)) SWIG_fail;
28157 {
32fe5131 28158 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
28159 if (SWIG_arg_fail(2)) SWIG_fail;
28160 }
28161 {
32fe5131 28162 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
28163 if (SWIG_arg_fail(3)) SWIG_fail;
28164 }
d14a1e28
RD
28165 {
28166 PyThreadState* __tstate = wxPyBeginAllowThreads();
28167 (arg1)->SetVirtualSize(arg2,arg3);
28168
28169 wxPyEndAllowThreads(__tstate);
28170 if (PyErr_Occurred()) SWIG_fail;
28171 }
28172 Py_INCREF(Py_None); resultobj = Py_None;
28173 return resultobj;
28174 fail:
28175 return NULL;
28176}
28177
28178
c32bde28 28179static PyObject *_wrap_Window_GetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28180 PyObject *resultobj = NULL;
d14a1e28
RD
28181 wxWindow *arg1 = (wxWindow *) 0 ;
28182 wxSize result;
28183 PyObject * obj0 = 0 ;
28184 char *kwnames[] = {
28185 (char *) "self", NULL
28186 };
28187
28188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
28189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28190 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28191 {
28192 PyThreadState* __tstate = wxPyBeginAllowThreads();
28193 result = ((wxWindow const *)arg1)->GetVirtualSize();
28194
28195 wxPyEndAllowThreads(__tstate);
28196 if (PyErr_Occurred()) SWIG_fail;
28197 }
28198 {
28199 wxSize * resultptr;
32fe5131 28200 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 28201 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
28202 }
28203 return resultobj;
28204 fail:
28205 return NULL;
28206}
28207
28208
c32bde28 28209static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28210 PyObject *resultobj = NULL;
d14a1e28
RD
28211 wxWindow *arg1 = (wxWindow *) 0 ;
28212 int *arg2 = (int *) 0 ;
28213 int *arg3 = (int *) 0 ;
28214 int temp2 ;
c32bde28 28215 int res2 = 0 ;
d14a1e28 28216 int temp3 ;
c32bde28 28217 int res3 = 0 ;
d14a1e28
RD
28218 PyObject * obj0 = 0 ;
28219 char *kwnames[] = {
28220 (char *) "self", NULL
28221 };
28222
c32bde28
RD
28223 arg2 = &temp2; res2 = SWIG_NEWOBJ;
28224 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 28225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSizeTuple",kwnames,&obj0)) goto fail;
093d3ff1
RD
28226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28227 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28228 {
28229 PyThreadState* __tstate = wxPyBeginAllowThreads();
28230 ((wxWindow const *)arg1)->GetVirtualSize(arg2,arg3);
28231
28232 wxPyEndAllowThreads(__tstate);
28233 if (PyErr_Occurred()) SWIG_fail;
28234 }
28235 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
28236 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
28237 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
28238 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
28239 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
28240 return resultobj;
28241 fail:
28242 return NULL;
28243}
28244
28245
c32bde28 28246static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28247 PyObject *resultobj = NULL;
d14a1e28
RD
28248 wxWindow *arg1 = (wxWindow *) 0 ;
28249 wxSize result;
28250 PyObject * obj0 = 0 ;
28251 char *kwnames[] = {
28252 (char *) "self", NULL
28253 };
28254
28255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
28256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28257 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28258 {
28259 PyThreadState* __tstate = wxPyBeginAllowThreads();
28260 result = ((wxWindow const *)arg1)->GetBestVirtualSize();
28261
28262 wxPyEndAllowThreads(__tstate);
28263 if (PyErr_Occurred()) SWIG_fail;
28264 }
28265 {
28266 wxSize * resultptr;
32fe5131 28267 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 28268 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
28269 }
28270 return resultobj;
28271 fail:
28272 return NULL;
28273}
28274
28275
c32bde28 28276static PyObject *_wrap_Window_Show(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28277 PyObject *resultobj = NULL;
d14a1e28 28278 wxWindow *arg1 = (wxWindow *) 0 ;
ae8162c8 28279 bool arg2 = (bool) true ;
d14a1e28
RD
28280 bool result;
28281 PyObject * obj0 = 0 ;
28282 PyObject * obj1 = 0 ;
28283 char *kwnames[] = {
28284 (char *) "self",(char *) "show", NULL
28285 };
28286
28287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Show",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28289 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 28290 if (obj1) {
093d3ff1 28291 {
32fe5131 28292 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
28293 if (SWIG_arg_fail(2)) SWIG_fail;
28294 }
d14a1e28
RD
28295 }
28296 {
28297 PyThreadState* __tstate = wxPyBeginAllowThreads();
28298 result = (bool)(arg1)->Show(arg2);
28299
28300 wxPyEndAllowThreads(__tstate);
28301 if (PyErr_Occurred()) SWIG_fail;
28302 }
4f89f6a3
RD
28303 {
28304 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28305 }
d14a1e28
RD
28306 return resultobj;
28307 fail:
28308 return NULL;
28309}
28310
28311
c32bde28 28312static PyObject *_wrap_Window_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28313 PyObject *resultobj = NULL;
d14a1e28
RD
28314 wxWindow *arg1 = (wxWindow *) 0 ;
28315 bool result;
28316 PyObject * obj0 = 0 ;
28317 char *kwnames[] = {
28318 (char *) "self", NULL
28319 };
28320
28321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Hide",kwnames,&obj0)) goto fail;
093d3ff1
RD
28322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28323 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28324 {
28325 PyThreadState* __tstate = wxPyBeginAllowThreads();
28326 result = (bool)(arg1)->Hide();
28327
28328 wxPyEndAllowThreads(__tstate);
28329 if (PyErr_Occurred()) SWIG_fail;
28330 }
4f89f6a3
RD
28331 {
28332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28333 }
d14a1e28
RD
28334 return resultobj;
28335 fail:
28336 return NULL;
28337}
28338
28339
c32bde28 28340static PyObject *_wrap_Window_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28341 PyObject *resultobj = NULL;
d14a1e28 28342 wxWindow *arg1 = (wxWindow *) 0 ;
ae8162c8 28343 bool arg2 = (bool) true ;
d14a1e28
RD
28344 bool result;
28345 PyObject * obj0 = 0 ;
28346 PyObject * obj1 = 0 ;
28347 char *kwnames[] = {
28348 (char *) "self",(char *) "enable", NULL
28349 };
28350
28351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Enable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28353 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 28354 if (obj1) {
093d3ff1 28355 {
32fe5131 28356 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
28357 if (SWIG_arg_fail(2)) SWIG_fail;
28358 }
d14a1e28
RD
28359 }
28360 {
28361 PyThreadState* __tstate = wxPyBeginAllowThreads();
28362 result = (bool)(arg1)->Enable(arg2);
28363
28364 wxPyEndAllowThreads(__tstate);
28365 if (PyErr_Occurred()) SWIG_fail;
28366 }
4f89f6a3
RD
28367 {
28368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28369 }
d14a1e28
RD
28370 return resultobj;
28371 fail:
28372 return NULL;
28373}
28374
28375
c32bde28 28376static PyObject *_wrap_Window_Disable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28377 PyObject *resultobj = NULL;
d14a1e28
RD
28378 wxWindow *arg1 = (wxWindow *) 0 ;
28379 bool result;
28380 PyObject * obj0 = 0 ;
28381 char *kwnames[] = {
28382 (char *) "self", NULL
28383 };
28384
28385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Disable",kwnames,&obj0)) goto fail;
093d3ff1
RD
28386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28387 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28388 {
28389 PyThreadState* __tstate = wxPyBeginAllowThreads();
28390 result = (bool)(arg1)->Disable();
28391
28392 wxPyEndAllowThreads(__tstate);
28393 if (PyErr_Occurred()) SWIG_fail;
28394 }
4f89f6a3
RD
28395 {
28396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28397 }
d14a1e28
RD
28398 return resultobj;
28399 fail:
28400 return NULL;
28401}
28402
28403
c32bde28 28404static PyObject *_wrap_Window_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28405 PyObject *resultobj = NULL;
d14a1e28
RD
28406 wxWindow *arg1 = (wxWindow *) 0 ;
28407 bool result;
28408 PyObject * obj0 = 0 ;
28409 char *kwnames[] = {
28410 (char *) "self", NULL
28411 };
28412
28413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsShown",kwnames,&obj0)) goto fail;
093d3ff1
RD
28414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28415 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28416 {
28417 PyThreadState* __tstate = wxPyBeginAllowThreads();
28418 result = (bool)((wxWindow const *)arg1)->IsShown();
28419
28420 wxPyEndAllowThreads(__tstate);
28421 if (PyErr_Occurred()) SWIG_fail;
28422 }
4f89f6a3
RD
28423 {
28424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28425 }
d14a1e28
RD
28426 return resultobj;
28427 fail:
28428 return NULL;
28429}
28430
28431
c32bde28 28432static PyObject *_wrap_Window_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28433 PyObject *resultobj = NULL;
d14a1e28
RD
28434 wxWindow *arg1 = (wxWindow *) 0 ;
28435 bool result;
28436 PyObject * obj0 = 0 ;
28437 char *kwnames[] = {
28438 (char *) "self", NULL
28439 };
28440
28441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsEnabled",kwnames,&obj0)) goto fail;
093d3ff1
RD
28442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28443 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28444 {
28445 PyThreadState* __tstate = wxPyBeginAllowThreads();
28446 result = (bool)((wxWindow const *)arg1)->IsEnabled();
28447
28448 wxPyEndAllowThreads(__tstate);
28449 if (PyErr_Occurred()) SWIG_fail;
28450 }
4f89f6a3
RD
28451 {
28452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28453 }
d14a1e28
RD
28454 return resultobj;
28455 fail:
28456 return NULL;
28457}
28458
28459
c32bde28 28460static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28461 PyObject *resultobj = NULL;
d14a1e28
RD
28462 wxWindow *arg1 = (wxWindow *) 0 ;
28463 long arg2 ;
28464 PyObject * obj0 = 0 ;
994141e6 28465 PyObject * obj1 = 0 ;
d14a1e28
RD
28466 char *kwnames[] = {
28467 (char *) "self",(char *) "style", NULL
28468 };
28469
994141e6 28470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28472 if (SWIG_arg_fail(1)) SWIG_fail;
28473 {
32fe5131 28474 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
28475 if (SWIG_arg_fail(2)) SWIG_fail;
28476 }
d14a1e28
RD
28477 {
28478 PyThreadState* __tstate = wxPyBeginAllowThreads();
28479 (arg1)->SetWindowStyleFlag(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_GetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28492 PyObject *resultobj = NULL;
d14a1e28
RD
28493 wxWindow *arg1 = (wxWindow *) 0 ;
28494 long result;
28495 PyObject * obj0 = 0 ;
28496 char *kwnames[] = {
28497 (char *) "self", NULL
28498 };
28499
28500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyleFlag",kwnames,&obj0)) goto fail;
093d3ff1
RD
28501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28502 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28503 {
28504 PyThreadState* __tstate = wxPyBeginAllowThreads();
28505 result = (long)((wxWindow const *)arg1)->GetWindowStyleFlag();
28506
28507 wxPyEndAllowThreads(__tstate);
28508 if (PyErr_Occurred()) SWIG_fail;
28509 }
093d3ff1 28510 {
32fe5131 28511 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 28512 }
d14a1e28
RD
28513 return resultobj;
28514 fail:
28515 return NULL;
28516}
28517
28518
c32bde28 28519static PyObject *_wrap_Window_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28520 PyObject *resultobj = NULL;
d14a1e28
RD
28521 wxWindow *arg1 = (wxWindow *) 0 ;
28522 int arg2 ;
28523 bool result;
28524 PyObject * obj0 = 0 ;
994141e6 28525 PyObject * obj1 = 0 ;
d14a1e28
RD
28526 char *kwnames[] = {
28527 (char *) "self",(char *) "flag", NULL
28528 };
28529
994141e6 28530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasFlag",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28532 if (SWIG_arg_fail(1)) SWIG_fail;
28533 {
32fe5131 28534 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
28535 if (SWIG_arg_fail(2)) SWIG_fail;
28536 }
d14a1e28
RD
28537 {
28538 PyThreadState* __tstate = wxPyBeginAllowThreads();
28539 result = (bool)((wxWindow const *)arg1)->HasFlag(arg2);
28540
28541 wxPyEndAllowThreads(__tstate);
28542 if (PyErr_Occurred()) SWIG_fail;
28543 }
4f89f6a3
RD
28544 {
28545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28546 }
d14a1e28
RD
28547 return resultobj;
28548 fail:
28549 return NULL;
28550}
28551
28552
c32bde28 28553static PyObject *_wrap_Window_IsRetained(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28554 PyObject *resultobj = NULL;
d14a1e28
RD
28555 wxWindow *arg1 = (wxWindow *) 0 ;
28556 bool result;
28557 PyObject * obj0 = 0 ;
28558 char *kwnames[] = {
28559 (char *) "self", NULL
28560 };
28561
28562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsRetained",kwnames,&obj0)) goto fail;
093d3ff1
RD
28563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28564 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28565 {
28566 PyThreadState* __tstate = wxPyBeginAllowThreads();
28567 result = (bool)((wxWindow const *)arg1)->IsRetained();
28568
28569 wxPyEndAllowThreads(__tstate);
28570 if (PyErr_Occurred()) SWIG_fail;
28571 }
4f89f6a3
RD
28572 {
28573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28574 }
d14a1e28
RD
28575 return resultobj;
28576 fail:
28577 return NULL;
28578}
28579
28580
c32bde28 28581static PyObject *_wrap_Window_SetExtraStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28582 PyObject *resultobj = NULL;
d14a1e28
RD
28583 wxWindow *arg1 = (wxWindow *) 0 ;
28584 long arg2 ;
28585 PyObject * obj0 = 0 ;
994141e6 28586 PyObject * obj1 = 0 ;
d14a1e28
RD
28587 char *kwnames[] = {
28588 (char *) "self",(char *) "exStyle", NULL
28589 };
28590
994141e6 28591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetExtraStyle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28593 if (SWIG_arg_fail(1)) SWIG_fail;
28594 {
32fe5131 28595 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
28596 if (SWIG_arg_fail(2)) SWIG_fail;
28597 }
d14a1e28
RD
28598 {
28599 PyThreadState* __tstate = wxPyBeginAllowThreads();
28600 (arg1)->SetExtraStyle(arg2);
28601
28602 wxPyEndAllowThreads(__tstate);
28603 if (PyErr_Occurred()) SWIG_fail;
28604 }
28605 Py_INCREF(Py_None); resultobj = Py_None;
28606 return resultobj;
28607 fail:
28608 return NULL;
28609}
28610
28611
c32bde28 28612static PyObject *_wrap_Window_GetExtraStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28613 PyObject *resultobj = NULL;
d14a1e28
RD
28614 wxWindow *arg1 = (wxWindow *) 0 ;
28615 long result;
28616 PyObject * obj0 = 0 ;
28617 char *kwnames[] = {
28618 (char *) "self", NULL
28619 };
28620
28621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetExtraStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
28622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28623 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28624 {
28625 PyThreadState* __tstate = wxPyBeginAllowThreads();
28626 result = (long)((wxWindow const *)arg1)->GetExtraStyle();
28627
28628 wxPyEndAllowThreads(__tstate);
28629 if (PyErr_Occurred()) SWIG_fail;
28630 }
093d3ff1 28631 {
32fe5131 28632 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 28633 }
d14a1e28
RD
28634 return resultobj;
28635 fail:
28636 return NULL;
28637}
28638
28639
c32bde28 28640static PyObject *_wrap_Window_MakeModal(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28641 PyObject *resultobj = NULL;
d14a1e28 28642 wxWindow *arg1 = (wxWindow *) 0 ;
ae8162c8 28643 bool arg2 = (bool) true ;
d14a1e28
RD
28644 PyObject * obj0 = 0 ;
28645 PyObject * obj1 = 0 ;
28646 char *kwnames[] = {
28647 (char *) "self",(char *) "modal", NULL
28648 };
28649
28650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_MakeModal",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28652 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 28653 if (obj1) {
093d3ff1 28654 {
32fe5131 28655 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
28656 if (SWIG_arg_fail(2)) SWIG_fail;
28657 }
d14a1e28
RD
28658 }
28659 {
28660 PyThreadState* __tstate = wxPyBeginAllowThreads();
28661 (arg1)->MakeModal(arg2);
28662
28663 wxPyEndAllowThreads(__tstate);
28664 if (PyErr_Occurred()) SWIG_fail;
28665 }
28666 Py_INCREF(Py_None); resultobj = Py_None;
28667 return resultobj;
28668 fail:
28669 return NULL;
28670}
28671
28672
c32bde28 28673static PyObject *_wrap_Window_SetThemeEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28674 PyObject *resultobj = NULL;
d14a1e28
RD
28675 wxWindow *arg1 = (wxWindow *) 0 ;
28676 bool arg2 ;
28677 PyObject * obj0 = 0 ;
28678 PyObject * obj1 = 0 ;
28679 char *kwnames[] = {
28680 (char *) "self",(char *) "enableTheme", NULL
28681 };
28682
28683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28685 if (SWIG_arg_fail(1)) SWIG_fail;
28686 {
32fe5131 28687 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
28688 if (SWIG_arg_fail(2)) SWIG_fail;
28689 }
d14a1e28
RD
28690 {
28691 PyThreadState* __tstate = wxPyBeginAllowThreads();
28692 (arg1)->SetThemeEnabled(arg2);
28693
28694 wxPyEndAllowThreads(__tstate);
28695 if (PyErr_Occurred()) SWIG_fail;
28696 }
28697 Py_INCREF(Py_None); resultobj = Py_None;
28698 return resultobj;
28699 fail:
28700 return NULL;
28701}
28702
28703
c32bde28 28704static PyObject *_wrap_Window_GetThemeEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28705 PyObject *resultobj = NULL;
d14a1e28
RD
28706 wxWindow *arg1 = (wxWindow *) 0 ;
28707 bool result;
28708 PyObject * obj0 = 0 ;
28709 char *kwnames[] = {
28710 (char *) "self", NULL
28711 };
28712
28713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetThemeEnabled",kwnames,&obj0)) goto fail;
093d3ff1
RD
28714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28715 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28716 {
28717 PyThreadState* __tstate = wxPyBeginAllowThreads();
28718 result = (bool)((wxWindow const *)arg1)->GetThemeEnabled();
28719
28720 wxPyEndAllowThreads(__tstate);
28721 if (PyErr_Occurred()) SWIG_fail;
28722 }
4f89f6a3
RD
28723 {
28724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28725 }
d14a1e28
RD
28726 return resultobj;
28727 fail:
28728 return NULL;
28729}
28730
28731
c32bde28 28732static PyObject *_wrap_Window_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28733 PyObject *resultobj = NULL;
d14a1e28
RD
28734 wxWindow *arg1 = (wxWindow *) 0 ;
28735 PyObject * obj0 = 0 ;
28736 char *kwnames[] = {
28737 (char *) "self", NULL
28738 };
28739
28740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
28741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28742 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28743 {
28744 PyThreadState* __tstate = wxPyBeginAllowThreads();
28745 (arg1)->SetFocus();
28746
28747 wxPyEndAllowThreads(__tstate);
28748 if (PyErr_Occurred()) SWIG_fail;
28749 }
28750 Py_INCREF(Py_None); resultobj = Py_None;
28751 return resultobj;
28752 fail:
28753 return NULL;
28754}
28755
28756
c32bde28 28757static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28758 PyObject *resultobj = NULL;
d14a1e28
RD
28759 wxWindow *arg1 = (wxWindow *) 0 ;
28760 PyObject * obj0 = 0 ;
28761 char *kwnames[] = {
28762 (char *) "self", NULL
28763 };
28764
28765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocusFromKbd",kwnames,&obj0)) goto fail;
093d3ff1
RD
28766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28767 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28768 {
28769 PyThreadState* __tstate = wxPyBeginAllowThreads();
28770 (arg1)->SetFocusFromKbd();
28771
28772 wxPyEndAllowThreads(__tstate);
28773 if (PyErr_Occurred()) SWIG_fail;
28774 }
28775 Py_INCREF(Py_None); resultobj = Py_None;
28776 return resultobj;
28777 fail:
28778 return NULL;
28779}
28780
28781
c32bde28 28782static PyObject *_wrap_Window_FindFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28783 PyObject *resultobj = NULL;
d14a1e28
RD
28784 wxWindow *result;
28785 char *kwnames[] = {
28786 NULL
28787 };
28788
28789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_FindFocus",kwnames)) goto fail;
28790 {
e3b71cb8 28791 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
28792 PyThreadState* __tstate = wxPyBeginAllowThreads();
28793 result = (wxWindow *)wxWindow::FindFocus();
28794
28795 wxPyEndAllowThreads(__tstate);
110da5b0 28796 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28797 }
28798 {
412d302d 28799 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28800 }
28801 return resultobj;
28802 fail:
28803 return NULL;
28804}
28805
28806
c32bde28 28807static PyObject *_wrap_Window_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28808 PyObject *resultobj = NULL;
d14a1e28
RD
28809 wxWindow *arg1 = (wxWindow *) 0 ;
28810 bool result;
28811 PyObject * obj0 = 0 ;
28812 char *kwnames[] = {
28813 (char *) "self", NULL
28814 };
28815
28816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
28817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28818 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28819 {
28820 PyThreadState* __tstate = wxPyBeginAllowThreads();
28821 result = (bool)((wxWindow const *)arg1)->AcceptsFocus();
28822
28823 wxPyEndAllowThreads(__tstate);
28824 if (PyErr_Occurred()) SWIG_fail;
28825 }
4f89f6a3
RD
28826 {
28827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28828 }
d14a1e28
RD
28829 return resultobj;
28830 fail:
28831 return NULL;
28832}
28833
28834
c32bde28 28835static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28836 PyObject *resultobj = NULL;
d14a1e28
RD
28837 wxWindow *arg1 = (wxWindow *) 0 ;
28838 bool result;
28839 PyObject * obj0 = 0 ;
28840 char *kwnames[] = {
28841 (char *) "self", NULL
28842 };
28843
28844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
28845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28846 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28847 {
28848 PyThreadState* __tstate = wxPyBeginAllowThreads();
28849 result = (bool)((wxWindow const *)arg1)->AcceptsFocusFromKeyboard();
28850
28851 wxPyEndAllowThreads(__tstate);
28852 if (PyErr_Occurred()) SWIG_fail;
28853 }
4f89f6a3
RD
28854 {
28855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28856 }
d14a1e28
RD
28857 return resultobj;
28858 fail:
28859 return NULL;
28860}
28861
28862
c32bde28 28863static PyObject *_wrap_Window_GetDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28864 PyObject *resultobj = NULL;
d14a1e28
RD
28865 wxWindow *arg1 = (wxWindow *) 0 ;
28866 wxWindow *result;
28867 PyObject * obj0 = 0 ;
28868 char *kwnames[] = {
28869 (char *) "self", NULL
28870 };
28871
28872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
28873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28874 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28875 {
28876 PyThreadState* __tstate = wxPyBeginAllowThreads();
28877 result = (wxWindow *)((wxWindow const *)arg1)->GetDefaultItem();
28878
28879 wxPyEndAllowThreads(__tstate);
28880 if (PyErr_Occurred()) SWIG_fail;
28881 }
28882 {
412d302d 28883 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28884 }
28885 return resultobj;
28886 fail:
28887 return NULL;
28888}
28889
28890
c32bde28 28891static PyObject *_wrap_Window_SetDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28892 PyObject *resultobj = NULL;
d14a1e28
RD
28893 wxWindow *arg1 = (wxWindow *) 0 ;
28894 wxWindow *arg2 = (wxWindow *) 0 ;
28895 wxWindow *result;
28896 PyObject * obj0 = 0 ;
28897 PyObject * obj1 = 0 ;
28898 char *kwnames[] = {
28899 (char *) "self",(char *) "child", NULL
28900 };
28901
28902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28904 if (SWIG_arg_fail(1)) SWIG_fail;
28905 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28906 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28907 {
28908 PyThreadState* __tstate = wxPyBeginAllowThreads();
28909 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
28910
28911 wxPyEndAllowThreads(__tstate);
28912 if (PyErr_Occurred()) SWIG_fail;
28913 }
28914 {
412d302d 28915 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28916 }
28917 return resultobj;
28918 fail:
28919 return NULL;
28920}
28921
28922
c32bde28 28923static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28924 PyObject *resultobj = NULL;
d14a1e28
RD
28925 wxWindow *arg1 = (wxWindow *) 0 ;
28926 wxWindow *arg2 = (wxWindow *) 0 ;
28927 PyObject * obj0 = 0 ;
28928 PyObject * obj1 = 0 ;
28929 char *kwnames[] = {
28930 (char *) "self",(char *) "win", NULL
28931 };
28932
28933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28935 if (SWIG_arg_fail(1)) SWIG_fail;
28936 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28937 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28938 {
28939 PyThreadState* __tstate = wxPyBeginAllowThreads();
28940 (arg1)->SetTmpDefaultItem(arg2);
28941
28942 wxPyEndAllowThreads(__tstate);
28943 if (PyErr_Occurred()) SWIG_fail;
28944 }
28945 Py_INCREF(Py_None); resultobj = Py_None;
28946 return resultobj;
28947 fail:
28948 return NULL;
28949}
28950
28951
c32bde28 28952static PyObject *_wrap_Window_Navigate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28953 PyObject *resultobj = NULL;
908b74cd
RD
28954 wxWindow *arg1 = (wxWindow *) 0 ;
28955 int arg2 = (int) wxNavigationKeyEvent::IsForward ;
28956 bool result;
28957 PyObject * obj0 = 0 ;
28958 PyObject * obj1 = 0 ;
28959 char *kwnames[] = {
28960 (char *) "self",(char *) "flags", NULL
28961 };
28962
28963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Navigate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28965 if (SWIG_arg_fail(1)) SWIG_fail;
908b74cd 28966 if (obj1) {
093d3ff1 28967 {
32fe5131 28968 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
28969 if (SWIG_arg_fail(2)) SWIG_fail;
28970 }
908b74cd
RD
28971 }
28972 {
28973 PyThreadState* __tstate = wxPyBeginAllowThreads();
28974 result = (bool)(arg1)->Navigate(arg2);
28975
28976 wxPyEndAllowThreads(__tstate);
28977 if (PyErr_Occurred()) SWIG_fail;
28978 }
28979 {
28980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28981 }
28982 return resultobj;
28983 fail:
28984 return NULL;
28985}
28986
28987
c32bde28 28988static PyObject *_wrap_Window_MoveAfterInTabOrder(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28989 PyObject *resultobj = NULL;
7f98d120
RD
28990 wxWindow *arg1 = (wxWindow *) 0 ;
28991 wxWindow *arg2 = (wxWindow *) 0 ;
28992 PyObject * obj0 = 0 ;
28993 PyObject * obj1 = 0 ;
28994 char *kwnames[] = {
28995 (char *) "self",(char *) "win", NULL
28996 };
28997
28998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_MoveAfterInTabOrder",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29000 if (SWIG_arg_fail(1)) SWIG_fail;
29001 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29002 if (SWIG_arg_fail(2)) SWIG_fail;
7f98d120
RD
29003 {
29004 PyThreadState* __tstate = wxPyBeginAllowThreads();
29005 (arg1)->MoveAfterInTabOrder(arg2);
29006
29007 wxPyEndAllowThreads(__tstate);
29008 if (PyErr_Occurred()) SWIG_fail;
29009 }
29010 Py_INCREF(Py_None); resultobj = Py_None;
29011 return resultobj;
29012 fail:
29013 return NULL;
29014}
29015
29016
c32bde28 29017static PyObject *_wrap_Window_MoveBeforeInTabOrder(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29018 PyObject *resultobj = NULL;
7f98d120
RD
29019 wxWindow *arg1 = (wxWindow *) 0 ;
29020 wxWindow *arg2 = (wxWindow *) 0 ;
29021 PyObject * obj0 = 0 ;
29022 PyObject * obj1 = 0 ;
29023 char *kwnames[] = {
29024 (char *) "self",(char *) "win", NULL
29025 };
29026
29027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29029 if (SWIG_arg_fail(1)) SWIG_fail;
29030 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29031 if (SWIG_arg_fail(2)) SWIG_fail;
7f98d120
RD
29032 {
29033 PyThreadState* __tstate = wxPyBeginAllowThreads();
29034 (arg1)->MoveBeforeInTabOrder(arg2);
29035
29036 wxPyEndAllowThreads(__tstate);
29037 if (PyErr_Occurred()) SWIG_fail;
29038 }
29039 Py_INCREF(Py_None); resultobj = Py_None;
29040 return resultobj;
29041 fail:
29042 return NULL;
29043}
29044
29045
c32bde28 29046static PyObject *_wrap_Window_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29047 PyObject *resultobj = NULL;
d14a1e28
RD
29048 wxWindow *arg1 = (wxWindow *) 0 ;
29049 PyObject *result;
29050 PyObject * obj0 = 0 ;
29051 char *kwnames[] = {
29052 (char *) "self", NULL
29053 };
29054
29055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetChildren",kwnames,&obj0)) goto fail;
093d3ff1
RD
29056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29057 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29058 {
29059 PyThreadState* __tstate = wxPyBeginAllowThreads();
29060 result = (PyObject *)wxWindow_GetChildren(arg1);
29061
29062 wxPyEndAllowThreads(__tstate);
29063 if (PyErr_Occurred()) SWIG_fail;
29064 }
29065 resultobj = result;
29066 return resultobj;
29067 fail:
29068 return NULL;
29069}
29070
29071
c32bde28 29072static PyObject *_wrap_Window_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29073 PyObject *resultobj = NULL;
d14a1e28
RD
29074 wxWindow *arg1 = (wxWindow *) 0 ;
29075 wxWindow *result;
29076 PyObject * obj0 = 0 ;
29077 char *kwnames[] = {
29078 (char *) "self", NULL
29079 };
29080
29081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetParent",kwnames,&obj0)) goto fail;
093d3ff1
RD
29082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29083 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29084 {
29085 PyThreadState* __tstate = wxPyBeginAllowThreads();
29086 result = (wxWindow *)((wxWindow const *)arg1)->GetParent();
29087
29088 wxPyEndAllowThreads(__tstate);
29089 if (PyErr_Occurred()) SWIG_fail;
29090 }
29091 {
412d302d 29092 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
29093 }
29094 return resultobj;
29095 fail:
29096 return NULL;
29097}
29098
29099
c32bde28 29100static PyObject *_wrap_Window_GetGrandParent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29101 PyObject *resultobj = NULL;
d14a1e28
RD
29102 wxWindow *arg1 = (wxWindow *) 0 ;
29103 wxWindow *result;
29104 PyObject * obj0 = 0 ;
29105 char *kwnames[] = {
29106 (char *) "self", NULL
29107 };
29108
29109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetGrandParent",kwnames,&obj0)) goto fail;
093d3ff1
RD
29110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29111 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29112 {
29113 PyThreadState* __tstate = wxPyBeginAllowThreads();
29114 result = (wxWindow *)((wxWindow const *)arg1)->GetGrandParent();
29115
29116 wxPyEndAllowThreads(__tstate);
29117 if (PyErr_Occurred()) SWIG_fail;
29118 }
29119 {
412d302d 29120 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
29121 }
29122 return resultobj;
29123 fail:
29124 return NULL;
29125}
29126
29127
c32bde28 29128static PyObject *_wrap_Window_IsTopLevel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29129 PyObject *resultobj = NULL;
d14a1e28
RD
29130 wxWindow *arg1 = (wxWindow *) 0 ;
29131 bool result;
29132 PyObject * obj0 = 0 ;
29133 char *kwnames[] = {
29134 (char *) "self", NULL
29135 };
29136
29137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsTopLevel",kwnames,&obj0)) goto fail;
093d3ff1
RD
29138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29139 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29140 {
29141 PyThreadState* __tstate = wxPyBeginAllowThreads();
29142 result = (bool)((wxWindow const *)arg1)->IsTopLevel();
29143
29144 wxPyEndAllowThreads(__tstate);
29145 if (PyErr_Occurred()) SWIG_fail;
29146 }
4f89f6a3
RD
29147 {
29148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29149 }
d14a1e28
RD
29150 return resultobj;
29151 fail:
29152 return NULL;
29153}
29154
29155
c32bde28 29156static PyObject *_wrap_Window_Reparent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29157 PyObject *resultobj = NULL;
d14a1e28
RD
29158 wxWindow *arg1 = (wxWindow *) 0 ;
29159 wxWindow *arg2 = (wxWindow *) 0 ;
29160 bool result;
29161 PyObject * obj0 = 0 ;
29162 PyObject * obj1 = 0 ;
29163 char *kwnames[] = {
29164 (char *) "self",(char *) "newParent", NULL
29165 };
29166
29167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_Reparent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29169 if (SWIG_arg_fail(1)) SWIG_fail;
29170 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29171 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29172 {
29173 PyThreadState* __tstate = wxPyBeginAllowThreads();
29174 result = (bool)(arg1)->Reparent(arg2);
29175
29176 wxPyEndAllowThreads(__tstate);
29177 if (PyErr_Occurred()) SWIG_fail;
29178 }
4f89f6a3
RD
29179 {
29180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29181 }
d14a1e28
RD
29182 return resultobj;
29183 fail:
29184 return NULL;
29185}
29186
29187
c32bde28 29188static PyObject *_wrap_Window_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29189 PyObject *resultobj = NULL;
d14a1e28
RD
29190 wxWindow *arg1 = (wxWindow *) 0 ;
29191 wxWindow *arg2 = (wxWindow *) 0 ;
29192 PyObject * obj0 = 0 ;
29193 PyObject * obj1 = 0 ;
29194 char *kwnames[] = {
29195 (char *) "self",(char *) "child", NULL
29196 };
29197
29198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29200 if (SWIG_arg_fail(1)) SWIG_fail;
29201 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29202 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29203 {
29204 PyThreadState* __tstate = wxPyBeginAllowThreads();
29205 (arg1)->AddChild(arg2);
29206
29207 wxPyEndAllowThreads(__tstate);
29208 if (PyErr_Occurred()) SWIG_fail;
29209 }
29210 Py_INCREF(Py_None); resultobj = Py_None;
29211 return resultobj;
29212 fail:
29213 return NULL;
29214}
29215
29216
c32bde28 29217static PyObject *_wrap_Window_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29218 PyObject *resultobj = NULL;
d14a1e28
RD
29219 wxWindow *arg1 = (wxWindow *) 0 ;
29220 wxWindow *arg2 = (wxWindow *) 0 ;
29221 PyObject * obj0 = 0 ;
29222 PyObject * obj1 = 0 ;
29223 char *kwnames[] = {
29224 (char *) "self",(char *) "child", NULL
29225 };
29226
29227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29229 if (SWIG_arg_fail(1)) SWIG_fail;
29230 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29231 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29232 {
29233 PyThreadState* __tstate = wxPyBeginAllowThreads();
29234 (arg1)->RemoveChild(arg2);
29235
29236 wxPyEndAllowThreads(__tstate);
29237 if (PyErr_Occurred()) SWIG_fail;
29238 }
29239 Py_INCREF(Py_None); resultobj = Py_None;
29240 return resultobj;
29241 fail:
29242 return NULL;
29243}
29244
29245
c32bde28 29246static PyObject *_wrap_Window_FindWindowById(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29247 PyObject *resultobj = NULL;
d14a1e28
RD
29248 wxWindow *arg1 = (wxWindow *) 0 ;
29249 long arg2 ;
29250 wxWindow *result;
29251 PyObject * obj0 = 0 ;
994141e6 29252 PyObject * obj1 = 0 ;
d14a1e28
RD
29253 char *kwnames[] = {
29254 (char *) "self",(char *) "winid", NULL
29255 };
29256
994141e6 29257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowById",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29259 if (SWIG_arg_fail(1)) SWIG_fail;
29260 {
32fe5131 29261 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
29262 if (SWIG_arg_fail(2)) SWIG_fail;
29263 }
d14a1e28
RD
29264 {
29265 PyThreadState* __tstate = wxPyBeginAllowThreads();
29266 result = (wxWindow *)(arg1)->FindWindow(arg2);
29267
29268 wxPyEndAllowThreads(__tstate);
29269 if (PyErr_Occurred()) SWIG_fail;
29270 }
29271 {
412d302d 29272 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
29273 }
29274 return resultobj;
29275 fail:
29276 return NULL;
29277}
29278
29279
c32bde28 29280static PyObject *_wrap_Window_FindWindowByName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29281 PyObject *resultobj = NULL;
d14a1e28
RD
29282 wxWindow *arg1 = (wxWindow *) 0 ;
29283 wxString *arg2 = 0 ;
29284 wxWindow *result;
ae8162c8 29285 bool temp2 = false ;
d14a1e28
RD
29286 PyObject * obj0 = 0 ;
29287 PyObject * obj1 = 0 ;
29288 char *kwnames[] = {
29289 (char *) "self",(char *) "name", NULL
29290 };
29291
29292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29294 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29295 {
29296 arg2 = wxString_in_helper(obj1);
29297 if (arg2 == NULL) SWIG_fail;
ae8162c8 29298 temp2 = true;
d14a1e28
RD
29299 }
29300 {
29301 PyThreadState* __tstate = wxPyBeginAllowThreads();
29302 result = (wxWindow *)(arg1)->FindWindow((wxString const &)*arg2);
29303
29304 wxPyEndAllowThreads(__tstate);
29305 if (PyErr_Occurred()) SWIG_fail;
29306 }
29307 {
412d302d 29308 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
29309 }
29310 {
29311 if (temp2)
29312 delete arg2;
29313 }
29314 return resultobj;
29315 fail:
29316 {
29317 if (temp2)
29318 delete arg2;
29319 }
29320 return NULL;
29321}
29322
29323
c32bde28 29324static PyObject *_wrap_Window_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29325 PyObject *resultobj = NULL;
d14a1e28
RD
29326 wxWindow *arg1 = (wxWindow *) 0 ;
29327 wxEvtHandler *result;
29328 PyObject * obj0 = 0 ;
29329 char *kwnames[] = {
29330 (char *) "self", NULL
29331 };
29332
29333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetEventHandler",kwnames,&obj0)) goto fail;
093d3ff1
RD
29334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29335 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29336 {
29337 PyThreadState* __tstate = wxPyBeginAllowThreads();
29338 result = (wxEvtHandler *)((wxWindow const *)arg1)->GetEventHandler();
29339
29340 wxPyEndAllowThreads(__tstate);
29341 if (PyErr_Occurred()) SWIG_fail;
29342 }
29343 {
412d302d 29344 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
29345 }
29346 return resultobj;
29347 fail:
29348 return NULL;
29349}
29350
29351
c32bde28 29352static PyObject *_wrap_Window_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29353 PyObject *resultobj = NULL;
d14a1e28
RD
29354 wxWindow *arg1 = (wxWindow *) 0 ;
29355 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
29356 PyObject * obj0 = 0 ;
29357 PyObject * obj1 = 0 ;
29358 char *kwnames[] = {
29359 (char *) "self",(char *) "handler", NULL
29360 };
29361
29362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29364 if (SWIG_arg_fail(1)) SWIG_fail;
29365 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
29366 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29367 {
29368 PyThreadState* __tstate = wxPyBeginAllowThreads();
29369 (arg1)->SetEventHandler(arg2);
29370
29371 wxPyEndAllowThreads(__tstate);
29372 if (PyErr_Occurred()) SWIG_fail;
29373 }
29374 Py_INCREF(Py_None); resultobj = Py_None;
29375 return resultobj;
29376 fail:
29377 return NULL;
29378}
29379
29380
c32bde28 29381static PyObject *_wrap_Window_PushEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29382 PyObject *resultobj = NULL;
d14a1e28
RD
29383 wxWindow *arg1 = (wxWindow *) 0 ;
29384 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
29385 PyObject * obj0 = 0 ;
29386 PyObject * obj1 = 0 ;
29387 char *kwnames[] = {
29388 (char *) "self",(char *) "handler", NULL
29389 };
29390
29391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PushEventHandler",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29393 if (SWIG_arg_fail(1)) SWIG_fail;
29394 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
29395 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29396 {
29397 PyThreadState* __tstate = wxPyBeginAllowThreads();
29398 (arg1)->PushEventHandler(arg2);
29399
29400 wxPyEndAllowThreads(__tstate);
29401 if (PyErr_Occurred()) SWIG_fail;
29402 }
29403 Py_INCREF(Py_None); resultobj = Py_None;
29404 return resultobj;
29405 fail:
29406 return NULL;
29407}
29408
29409
c32bde28 29410static PyObject *_wrap_Window_PopEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29411 PyObject *resultobj = NULL;
d14a1e28 29412 wxWindow *arg1 = (wxWindow *) 0 ;
ae8162c8 29413 bool arg2 = (bool) false ;
d14a1e28
RD
29414 wxEvtHandler *result;
29415 PyObject * obj0 = 0 ;
29416 PyObject * obj1 = 0 ;
29417 char *kwnames[] = {
29418 (char *) "self",(char *) "deleteHandler", NULL
29419 };
29420
29421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_PopEventHandler",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29423 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 29424 if (obj1) {
093d3ff1 29425 {
32fe5131 29426 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
29427 if (SWIG_arg_fail(2)) SWIG_fail;
29428 }
d14a1e28
RD
29429 }
29430 {
29431 PyThreadState* __tstate = wxPyBeginAllowThreads();
29432 result = (wxEvtHandler *)(arg1)->PopEventHandler(arg2);
29433
29434 wxPyEndAllowThreads(__tstate);
29435 if (PyErr_Occurred()) SWIG_fail;
29436 }
29437 {
412d302d 29438 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
29439 }
29440 return resultobj;
29441 fail:
29442 return NULL;
29443}
29444
29445
c32bde28 29446static PyObject *_wrap_Window_RemoveEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29447 PyObject *resultobj = NULL;
d14a1e28
RD
29448 wxWindow *arg1 = (wxWindow *) 0 ;
29449 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
29450 bool result;
29451 PyObject * obj0 = 0 ;
29452 PyObject * obj1 = 0 ;
29453 char *kwnames[] = {
29454 (char *) "self",(char *) "handler", NULL
29455 };
29456
29457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveEventHandler",kwnames,&obj0,&obj1)) 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;
29460 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
29461 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29462 {
29463 PyThreadState* __tstate = wxPyBeginAllowThreads();
29464 result = (bool)(arg1)->RemoveEventHandler(arg2);
29465
29466 wxPyEndAllowThreads(__tstate);
29467 if (PyErr_Occurred()) SWIG_fail;
29468 }
4f89f6a3
RD
29469 {
29470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29471 }
d14a1e28
RD
29472 return resultobj;
29473 fail:
29474 return NULL;
29475}
29476
29477
c32bde28 29478static PyObject *_wrap_Window_SetValidator(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29479 PyObject *resultobj = NULL;
d14a1e28
RD
29480 wxWindow *arg1 = (wxWindow *) 0 ;
29481 wxValidator *arg2 = 0 ;
29482 PyObject * obj0 = 0 ;
29483 PyObject * obj1 = 0 ;
29484 char *kwnames[] = {
29485 (char *) "self",(char *) "validator", NULL
29486 };
29487
29488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetValidator",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29490 if (SWIG_arg_fail(1)) SWIG_fail;
29491 {
29492 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
29493 if (SWIG_arg_fail(2)) SWIG_fail;
29494 if (arg2 == NULL) {
29495 SWIG_null_ref("wxValidator");
29496 }
29497 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29498 }
29499 {
29500 PyThreadState* __tstate = wxPyBeginAllowThreads();
29501 (arg1)->SetValidator((wxValidator const &)*arg2);
29502
29503 wxPyEndAllowThreads(__tstate);
29504 if (PyErr_Occurred()) SWIG_fail;
29505 }
29506 Py_INCREF(Py_None); resultobj = Py_None;
29507 return resultobj;
29508 fail:
29509 return NULL;
29510}
29511
29512
c32bde28 29513static PyObject *_wrap_Window_GetValidator(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29514 PyObject *resultobj = NULL;
d14a1e28
RD
29515 wxWindow *arg1 = (wxWindow *) 0 ;
29516 wxValidator *result;
29517 PyObject * obj0 = 0 ;
29518 char *kwnames[] = {
29519 (char *) "self", NULL
29520 };
29521
29522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetValidator",kwnames,&obj0)) goto fail;
093d3ff1
RD
29523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29524 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29525 {
29526 PyThreadState* __tstate = wxPyBeginAllowThreads();
29527 result = (wxValidator *)(arg1)->GetValidator();
29528
29529 wxPyEndAllowThreads(__tstate);
29530 if (PyErr_Occurred()) SWIG_fail;
29531 }
29532 {
7e08d4ef 29533 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
29534 }
29535 return resultobj;
29536 fail:
29537 return NULL;
29538}
29539
29540
c32bde28 29541static PyObject *_wrap_Window_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29542 PyObject *resultobj = NULL;
74a57fcd
RD
29543 wxWindow *arg1 = (wxWindow *) 0 ;
29544 bool result;
29545 PyObject * obj0 = 0 ;
29546 char *kwnames[] = {
29547 (char *) "self", NULL
29548 };
29549
29550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
29551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29552 if (SWIG_arg_fail(1)) SWIG_fail;
74a57fcd
RD
29553 {
29554 PyThreadState* __tstate = wxPyBeginAllowThreads();
29555 result = (bool)(arg1)->Validate();
29556
29557 wxPyEndAllowThreads(__tstate);
29558 if (PyErr_Occurred()) SWIG_fail;
29559 }
29560 {
29561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29562 }
29563 return resultobj;
29564 fail:
29565 return NULL;
29566}
29567
29568
c32bde28 29569static PyObject *_wrap_Window_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29570 PyObject *resultobj = NULL;
74a57fcd
RD
29571 wxWindow *arg1 = (wxWindow *) 0 ;
29572 bool result;
29573 PyObject * obj0 = 0 ;
29574 char *kwnames[] = {
29575 (char *) "self", NULL
29576 };
29577
29578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
29579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29580 if (SWIG_arg_fail(1)) SWIG_fail;
74a57fcd
RD
29581 {
29582 PyThreadState* __tstate = wxPyBeginAllowThreads();
29583 result = (bool)(arg1)->TransferDataToWindow();
29584
29585 wxPyEndAllowThreads(__tstate);
29586 if (PyErr_Occurred()) SWIG_fail;
29587 }
29588 {
29589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29590 }
29591 return resultobj;
29592 fail:
29593 return NULL;
29594}
29595
29596
c32bde28 29597static PyObject *_wrap_Window_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29598 PyObject *resultobj = NULL;
74a57fcd
RD
29599 wxWindow *arg1 = (wxWindow *) 0 ;
29600 bool result;
29601 PyObject * obj0 = 0 ;
29602 char *kwnames[] = {
29603 (char *) "self", NULL
29604 };
29605
29606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
29607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29608 if (SWIG_arg_fail(1)) SWIG_fail;
74a57fcd
RD
29609 {
29610 PyThreadState* __tstate = wxPyBeginAllowThreads();
29611 result = (bool)(arg1)->TransferDataFromWindow();
29612
29613 wxPyEndAllowThreads(__tstate);
29614 if (PyErr_Occurred()) SWIG_fail;
29615 }
29616 {
29617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29618 }
29619 return resultobj;
29620 fail:
29621 return NULL;
29622}
29623
29624
c32bde28 29625static PyObject *_wrap_Window_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29626 PyObject *resultobj = NULL;
74a57fcd
RD
29627 wxWindow *arg1 = (wxWindow *) 0 ;
29628 PyObject * obj0 = 0 ;
29629 char *kwnames[] = {
29630 (char *) "self", NULL
29631 };
29632
29633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
29634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29635 if (SWIG_arg_fail(1)) SWIG_fail;
74a57fcd
RD
29636 {
29637 PyThreadState* __tstate = wxPyBeginAllowThreads();
29638 (arg1)->InitDialog();
29639
29640 wxPyEndAllowThreads(__tstate);
29641 if (PyErr_Occurred()) SWIG_fail;
29642 }
29643 Py_INCREF(Py_None); resultobj = Py_None;
29644 return resultobj;
29645 fail:
29646 return NULL;
29647}
29648
29649
c32bde28 29650static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29651 PyObject *resultobj = NULL;
d14a1e28
RD
29652 wxWindow *arg1 = (wxWindow *) 0 ;
29653 wxAcceleratorTable *arg2 = 0 ;
29654 PyObject * obj0 = 0 ;
29655 PyObject * obj1 = 0 ;
29656 char *kwnames[] = {
29657 (char *) "self",(char *) "accel", NULL
29658 };
29659
29660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29662 if (SWIG_arg_fail(1)) SWIG_fail;
29663 {
29664 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxAcceleratorTable, SWIG_POINTER_EXCEPTION | 0);
29665 if (SWIG_arg_fail(2)) SWIG_fail;
29666 if (arg2 == NULL) {
29667 SWIG_null_ref("wxAcceleratorTable");
29668 }
29669 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29670 }
29671 {
29672 PyThreadState* __tstate = wxPyBeginAllowThreads();
29673 (arg1)->SetAcceleratorTable((wxAcceleratorTable const &)*arg2);
29674
29675 wxPyEndAllowThreads(__tstate);
29676 if (PyErr_Occurred()) SWIG_fail;
29677 }
29678 Py_INCREF(Py_None); resultobj = Py_None;
29679 return resultobj;
29680 fail:
29681 return NULL;
29682}
29683
29684
c32bde28 29685static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29686 PyObject *resultobj = NULL;
d14a1e28
RD
29687 wxWindow *arg1 = (wxWindow *) 0 ;
29688 wxAcceleratorTable *result;
29689 PyObject * obj0 = 0 ;
29690 char *kwnames[] = {
29691 (char *) "self", NULL
29692 };
29693
29694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAcceleratorTable",kwnames,&obj0)) goto fail;
093d3ff1
RD
29695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29696 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29697 {
29698 PyThreadState* __tstate = wxPyBeginAllowThreads();
29699 result = (wxAcceleratorTable *)(arg1)->GetAcceleratorTable();
29700
29701 wxPyEndAllowThreads(__tstate);
29702 if (PyErr_Occurred()) SWIG_fail;
29703 }
15afbcd0 29704 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 0);
d14a1e28
RD
29705 return resultobj;
29706 fail:
29707 return NULL;
29708}
29709
29710
c32bde28 29711static PyObject *_wrap_Window_RegisterHotKey(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29712 PyObject *resultobj = NULL;
d14a1e28
RD
29713 wxWindow *arg1 = (wxWindow *) 0 ;
29714 int arg2 ;
29715 int arg3 ;
29716 int arg4 ;
29717 bool result;
29718 PyObject * obj0 = 0 ;
994141e6
RD
29719 PyObject * obj1 = 0 ;
29720 PyObject * obj2 = 0 ;
29721 PyObject * obj3 = 0 ;
d14a1e28
RD
29722 char *kwnames[] = {
29723 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
29724 };
29725
994141e6 29726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_RegisterHotKey",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29728 if (SWIG_arg_fail(1)) SWIG_fail;
29729 {
32fe5131 29730 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
29731 if (SWIG_arg_fail(2)) SWIG_fail;
29732 }
29733 {
32fe5131 29734 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
29735 if (SWIG_arg_fail(3)) SWIG_fail;
29736 }
29737 {
32fe5131 29738 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
29739 if (SWIG_arg_fail(4)) SWIG_fail;
29740 }
d14a1e28
RD
29741 {
29742 PyThreadState* __tstate = wxPyBeginAllowThreads();
29743 result = (bool)wxWindow_RegisterHotKey(arg1,arg2,arg3,arg4);
29744
29745 wxPyEndAllowThreads(__tstate);
29746 if (PyErr_Occurred()) SWIG_fail;
29747 }
4f89f6a3
RD
29748 {
29749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29750 }
d14a1e28
RD
29751 return resultobj;
29752 fail:
29753 return NULL;
29754}
29755
29756
c32bde28 29757static PyObject *_wrap_Window_UnregisterHotKey(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29758 PyObject *resultobj = NULL;
d14a1e28
RD
29759 wxWindow *arg1 = (wxWindow *) 0 ;
29760 int arg2 ;
29761 bool result;
29762 PyObject * obj0 = 0 ;
994141e6 29763 PyObject * obj1 = 0 ;
d14a1e28
RD
29764 char *kwnames[] = {
29765 (char *) "self",(char *) "hotkeyId", NULL
29766 };
29767
994141e6 29768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_UnregisterHotKey",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29770 if (SWIG_arg_fail(1)) SWIG_fail;
29771 {
32fe5131 29772 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
29773 if (SWIG_arg_fail(2)) SWIG_fail;
29774 }
d14a1e28
RD
29775 {
29776 PyThreadState* __tstate = wxPyBeginAllowThreads();
29777 result = (bool)wxWindow_UnregisterHotKey(arg1,arg2);
29778
29779 wxPyEndAllowThreads(__tstate);
29780 if (PyErr_Occurred()) SWIG_fail;
29781 }
4f89f6a3
RD
29782 {
29783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29784 }
d14a1e28
RD
29785 return resultobj;
29786 fail:
29787 return NULL;
29788}
29789
29790
c32bde28 29791static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29792 PyObject *resultobj = NULL;
d14a1e28
RD
29793 wxWindow *arg1 = (wxWindow *) 0 ;
29794 wxPoint *arg2 = 0 ;
29795 wxPoint result;
29796 wxPoint temp2 ;
29797 PyObject * obj0 = 0 ;
29798 PyObject * obj1 = 0 ;
29799 char *kwnames[] = {
29800 (char *) "self",(char *) "pt", NULL
29801 };
29802
29803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29805 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29806 {
29807 arg2 = &temp2;
29808 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29809 }
29810 {
29811 PyThreadState* __tstate = wxPyBeginAllowThreads();
29812 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
29813
29814 wxPyEndAllowThreads(__tstate);
29815 if (PyErr_Occurred()) SWIG_fail;
29816 }
29817 {
29818 wxPoint * resultptr;
32fe5131 29819 resultptr = new wxPoint(static_cast<wxPoint & >(result));
15afbcd0 29820 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
29821 }
29822 return resultobj;
29823 fail:
29824 return NULL;
29825}
29826
29827
c32bde28 29828static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29829 PyObject *resultobj = NULL;
d14a1e28
RD
29830 wxWindow *arg1 = (wxWindow *) 0 ;
29831 wxSize *arg2 = 0 ;
29832 wxSize result;
29833 wxSize temp2 ;
29834 PyObject * obj0 = 0 ;
29835 PyObject * obj1 = 0 ;
29836 char *kwnames[] = {
29837 (char *) "self",(char *) "sz", NULL
29838 };
29839
29840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29842 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29843 {
29844 arg2 = &temp2;
29845 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
29846 }
29847 {
29848 PyThreadState* __tstate = wxPyBeginAllowThreads();
29849 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
29850
29851 wxPyEndAllowThreads(__tstate);
29852 if (PyErr_Occurred()) SWIG_fail;
29853 }
29854 {
29855 wxSize * resultptr;
32fe5131 29856 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 29857 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
29858 }
29859 return resultobj;
29860 fail:
29861 return NULL;
29862}
29863
29864
c32bde28 29865static PyObject *_wrap_Window_DLG_PNT(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29866 PyObject *resultobj = NULL;
d14a1e28
RD
29867 wxWindow *arg1 = (wxWindow *) 0 ;
29868 wxPoint *arg2 = 0 ;
29869 wxPoint result;
29870 wxPoint temp2 ;
29871 PyObject * obj0 = 0 ;
29872 PyObject * obj1 = 0 ;
29873 char *kwnames[] = {
29874 (char *) "self",(char *) "pt", NULL
29875 };
29876
29877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_PNT",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29879 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29880 {
29881 arg2 = &temp2;
29882 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29883 }
29884 {
29885 PyThreadState* __tstate = wxPyBeginAllowThreads();
29886 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
29887
29888 wxPyEndAllowThreads(__tstate);
29889 if (PyErr_Occurred()) SWIG_fail;
29890 }
29891 {
29892 wxPoint * resultptr;
32fe5131 29893 resultptr = new wxPoint(static_cast<wxPoint & >(result));
15afbcd0 29894 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
29895 }
29896 return resultobj;
29897 fail:
29898 return NULL;
29899}
29900
29901
c32bde28 29902static PyObject *_wrap_Window_DLG_SZE(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29903 PyObject *resultobj = NULL;
d14a1e28
RD
29904 wxWindow *arg1 = (wxWindow *) 0 ;
29905 wxSize *arg2 = 0 ;
29906 wxSize result;
29907 wxSize temp2 ;
29908 PyObject * obj0 = 0 ;
29909 PyObject * obj1 = 0 ;
29910 char *kwnames[] = {
29911 (char *) "self",(char *) "sz", NULL
29912 };
29913
29914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_SZE",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29916 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29917 {
29918 arg2 = &temp2;
29919 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
29920 }
29921 {
29922 PyThreadState* __tstate = wxPyBeginAllowThreads();
29923 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
29924
29925 wxPyEndAllowThreads(__tstate);
29926 if (PyErr_Occurred()) SWIG_fail;
29927 }
29928 {
29929 wxSize * resultptr;
32fe5131 29930 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 29931 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
29932 }
29933 return resultobj;
29934 fail:
29935 return NULL;
29936}
29937
29938
c32bde28 29939static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29940 PyObject *resultobj = NULL;
d14a1e28
RD
29941 wxWindow *arg1 = (wxWindow *) 0 ;
29942 wxPoint *arg2 = 0 ;
29943 wxPoint result;
29944 wxPoint temp2 ;
29945 PyObject * obj0 = 0 ;
29946 PyObject * obj1 = 0 ;
29947 char *kwnames[] = {
29948 (char *) "self",(char *) "pt", NULL
29949 };
29950
29951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29953 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29954 {
29955 arg2 = &temp2;
29956 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29957 }
29958 {
29959 PyThreadState* __tstate = wxPyBeginAllowThreads();
29960 result = (arg1)->ConvertPixelsToDialog((wxPoint const &)*arg2);
29961
29962 wxPyEndAllowThreads(__tstate);
29963 if (PyErr_Occurred()) SWIG_fail;
29964 }
29965 {
29966 wxPoint * resultptr;
32fe5131 29967 resultptr = new wxPoint(static_cast<wxPoint & >(result));
15afbcd0 29968 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
29969 }
29970 return resultobj;
29971 fail:
29972 return NULL;
29973}
29974
29975
c32bde28 29976static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29977 PyObject *resultobj = NULL;
d14a1e28
RD
29978 wxWindow *arg1 = (wxWindow *) 0 ;
29979 wxSize *arg2 = 0 ;
29980 wxSize result;
29981 wxSize temp2 ;
29982 PyObject * obj0 = 0 ;
29983 PyObject * obj1 = 0 ;
29984 char *kwnames[] = {
29985 (char *) "self",(char *) "sz", NULL
29986 };
29987
29988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29990 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29991 {
29992 arg2 = &temp2;
29993 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
29994 }
29995 {
29996 PyThreadState* __tstate = wxPyBeginAllowThreads();
29997 result = (arg1)->ConvertPixelsToDialog((wxSize const &)*arg2);
29998
29999 wxPyEndAllowThreads(__tstate);
30000 if (PyErr_Occurred()) SWIG_fail;
30001 }
30002 {
30003 wxSize * resultptr;
32fe5131 30004 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 30005 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
30006 }
30007 return resultobj;
30008 fail:
30009 return NULL;
30010}
30011
30012
c32bde28 30013static PyObject *_wrap_Window_WarpPointer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30014 PyObject *resultobj = NULL;
d14a1e28
RD
30015 wxWindow *arg1 = (wxWindow *) 0 ;
30016 int arg2 ;
30017 int arg3 ;
30018 PyObject * obj0 = 0 ;
994141e6
RD
30019 PyObject * obj1 = 0 ;
30020 PyObject * obj2 = 0 ;
d14a1e28
RD
30021 char *kwnames[] = {
30022 (char *) "self",(char *) "x",(char *) "y", NULL
30023 };
30024
994141e6 30025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_WarpPointer",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30027 if (SWIG_arg_fail(1)) SWIG_fail;
30028 {
32fe5131 30029 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
30030 if (SWIG_arg_fail(2)) SWIG_fail;
30031 }
30032 {
32fe5131 30033 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
30034 if (SWIG_arg_fail(3)) SWIG_fail;
30035 }
d14a1e28
RD
30036 {
30037 PyThreadState* __tstate = wxPyBeginAllowThreads();
30038 (arg1)->WarpPointer(arg2,arg3);
30039
30040 wxPyEndAllowThreads(__tstate);
30041 if (PyErr_Occurred()) SWIG_fail;
30042 }
30043 Py_INCREF(Py_None); resultobj = Py_None;
30044 return resultobj;
30045 fail:
30046 return NULL;
30047}
30048
30049
c32bde28 30050static PyObject *_wrap_Window_CaptureMouse(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30051 PyObject *resultobj = NULL;
d14a1e28
RD
30052 wxWindow *arg1 = (wxWindow *) 0 ;
30053 PyObject * obj0 = 0 ;
30054 char *kwnames[] = {
30055 (char *) "self", NULL
30056 };
30057
30058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_CaptureMouse",kwnames,&obj0)) goto fail;
093d3ff1
RD
30059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30060 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30061 {
30062 PyThreadState* __tstate = wxPyBeginAllowThreads();
30063 (arg1)->CaptureMouse();
30064
30065 wxPyEndAllowThreads(__tstate);
30066 if (PyErr_Occurred()) SWIG_fail;
30067 }
30068 Py_INCREF(Py_None); resultobj = Py_None;
30069 return resultobj;
30070 fail:
30071 return NULL;
30072}
30073
30074
c32bde28 30075static PyObject *_wrap_Window_ReleaseMouse(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30076 PyObject *resultobj = NULL;
d14a1e28
RD
30077 wxWindow *arg1 = (wxWindow *) 0 ;
30078 PyObject * obj0 = 0 ;
30079 char *kwnames[] = {
30080 (char *) "self", NULL
30081 };
30082
30083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ReleaseMouse",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;
d14a1e28
RD
30086 {
30087 PyThreadState* __tstate = wxPyBeginAllowThreads();
30088 (arg1)->ReleaseMouse();
30089
30090 wxPyEndAllowThreads(__tstate);
30091 if (PyErr_Occurred()) SWIG_fail;
30092 }
30093 Py_INCREF(Py_None); resultobj = Py_None;
30094 return resultobj;
30095 fail:
30096 return NULL;
30097}
30098
30099
c32bde28 30100static PyObject *_wrap_Window_GetCapture(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30101 PyObject *resultobj = NULL;
d14a1e28
RD
30102 wxWindow *result;
30103 char *kwnames[] = {
30104 NULL
30105 };
30106
30107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_GetCapture",kwnames)) goto fail;
30108 {
e3b71cb8 30109 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
30110 PyThreadState* __tstate = wxPyBeginAllowThreads();
30111 result = (wxWindow *)wxWindow::GetCapture();
30112
30113 wxPyEndAllowThreads(__tstate);
110da5b0 30114 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30115 }
30116 {
412d302d 30117 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
30118 }
30119 return resultobj;
30120 fail:
30121 return NULL;
30122}
30123
30124
c32bde28 30125static PyObject *_wrap_Window_HasCapture(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30126 PyObject *resultobj = NULL;
d14a1e28
RD
30127 wxWindow *arg1 = (wxWindow *) 0 ;
30128 bool result;
30129 PyObject * obj0 = 0 ;
30130 char *kwnames[] = {
30131 (char *) "self", NULL
30132 };
30133
30134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasCapture",kwnames,&obj0)) goto fail;
093d3ff1
RD
30135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30136 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30137 {
30138 PyThreadState* __tstate = wxPyBeginAllowThreads();
30139 result = (bool)((wxWindow const *)arg1)->HasCapture();
30140
30141 wxPyEndAllowThreads(__tstate);
30142 if (PyErr_Occurred()) SWIG_fail;
30143 }
4f89f6a3
RD
30144 {
30145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30146 }
d14a1e28
RD
30147 return resultobj;
30148 fail:
30149 return NULL;
30150}
30151
30152
c32bde28 30153static PyObject *_wrap_Window_Refresh(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30154 PyObject *resultobj = NULL;
d14a1e28 30155 wxWindow *arg1 = (wxWindow *) 0 ;
ae8162c8 30156 bool arg2 = (bool) true ;
d14a1e28
RD
30157 wxRect *arg3 = (wxRect *) NULL ;
30158 PyObject * obj0 = 0 ;
30159 PyObject * obj1 = 0 ;
30160 PyObject * obj2 = 0 ;
30161 char *kwnames[] = {
30162 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
30163 };
30164
30165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Window_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30167 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 30168 if (obj1) {
093d3ff1 30169 {
32fe5131 30170 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
30171 if (SWIG_arg_fail(2)) SWIG_fail;
30172 }
d14a1e28
RD
30173 }
30174 if (obj2) {
093d3ff1
RD
30175 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
30176 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
30177 }
30178 {
30179 PyThreadState* __tstate = wxPyBeginAllowThreads();
30180 (arg1)->Refresh(arg2,(wxRect const *)arg3);
30181
30182 wxPyEndAllowThreads(__tstate);
30183 if (PyErr_Occurred()) SWIG_fail;
30184 }
30185 Py_INCREF(Py_None); resultobj = Py_None;
30186 return resultobj;
30187 fail:
30188 return NULL;
30189}
30190
30191
c32bde28 30192static PyObject *_wrap_Window_RefreshRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30193 PyObject *resultobj = NULL;
d14a1e28
RD
30194 wxWindow *arg1 = (wxWindow *) 0 ;
30195 wxRect *arg2 = 0 ;
fef4c27a 30196 bool arg3 = (bool) true ;
d14a1e28
RD
30197 wxRect temp2 ;
30198 PyObject * obj0 = 0 ;
30199 PyObject * obj1 = 0 ;
fef4c27a 30200 PyObject * obj2 = 0 ;
d14a1e28 30201 char *kwnames[] = {
fef4c27a 30202 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
d14a1e28
RD
30203 };
30204
fef4c27a 30205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_RefreshRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30207 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30208 {
30209 arg2 = &temp2;
30210 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
30211 }
fef4c27a
RD
30212 if (obj2) {
30213 {
32fe5131 30214 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
fef4c27a
RD
30215 if (SWIG_arg_fail(3)) SWIG_fail;
30216 }
30217 }
d14a1e28
RD
30218 {
30219 PyThreadState* __tstate = wxPyBeginAllowThreads();
fef4c27a 30220 (arg1)->RefreshRect((wxRect const &)*arg2,arg3);
d14a1e28
RD
30221
30222 wxPyEndAllowThreads(__tstate);
30223 if (PyErr_Occurred()) SWIG_fail;
30224 }
30225 Py_INCREF(Py_None); resultobj = Py_None;
30226 return resultobj;
30227 fail:
30228 return NULL;
30229}
30230
30231
c32bde28 30232static PyObject *_wrap_Window_Update(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30233 PyObject *resultobj = NULL;
d14a1e28
RD
30234 wxWindow *arg1 = (wxWindow *) 0 ;
30235 PyObject * obj0 = 0 ;
30236 char *kwnames[] = {
30237 (char *) "self", NULL
30238 };
30239
30240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Update",kwnames,&obj0)) goto fail;
093d3ff1
RD
30241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30242 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30243 {
30244 PyThreadState* __tstate = wxPyBeginAllowThreads();
30245 (arg1)->Update();
30246
30247 wxPyEndAllowThreads(__tstate);
30248 if (PyErr_Occurred()) SWIG_fail;
30249 }
30250 Py_INCREF(Py_None); resultobj = Py_None;
30251 return resultobj;
30252 fail:
30253 return NULL;
30254}
30255
30256
c32bde28 30257static PyObject *_wrap_Window_ClearBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30258 PyObject *resultobj = NULL;
d14a1e28
RD
30259 wxWindow *arg1 = (wxWindow *) 0 ;
30260 PyObject * obj0 = 0 ;
30261 char *kwnames[] = {
30262 (char *) "self", NULL
30263 };
30264
30265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ClearBackground",kwnames,&obj0)) goto fail;
093d3ff1
RD
30266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30267 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30268 {
30269 PyThreadState* __tstate = wxPyBeginAllowThreads();
30270 (arg1)->ClearBackground();
30271
30272 wxPyEndAllowThreads(__tstate);
30273 if (PyErr_Occurred()) SWIG_fail;
30274 }
30275 Py_INCREF(Py_None); resultobj = Py_None;
30276 return resultobj;
30277 fail:
30278 return NULL;
30279}
30280
30281
c32bde28 30282static PyObject *_wrap_Window_Freeze(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30283 PyObject *resultobj = NULL;
d14a1e28
RD
30284 wxWindow *arg1 = (wxWindow *) 0 ;
30285 PyObject * obj0 = 0 ;
30286 char *kwnames[] = {
30287 (char *) "self", NULL
30288 };
30289
30290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Freeze",kwnames,&obj0)) goto fail;
093d3ff1
RD
30291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30292 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30293 {
30294 PyThreadState* __tstate = wxPyBeginAllowThreads();
30295 (arg1)->Freeze();
30296
30297 wxPyEndAllowThreads(__tstate);
30298 if (PyErr_Occurred()) SWIG_fail;
30299 }
30300 Py_INCREF(Py_None); resultobj = Py_None;
30301 return resultobj;
30302 fail:
30303 return NULL;
30304}
30305
30306
c32bde28 30307static PyObject *_wrap_Window_Thaw(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30308 PyObject *resultobj = NULL;
d14a1e28
RD
30309 wxWindow *arg1 = (wxWindow *) 0 ;
30310 PyObject * obj0 = 0 ;
30311 char *kwnames[] = {
30312 (char *) "self", NULL
30313 };
30314
30315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Thaw",kwnames,&obj0)) goto fail;
093d3ff1
RD
30316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30317 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30318 {
30319 PyThreadState* __tstate = wxPyBeginAllowThreads();
30320 (arg1)->Thaw();
30321
30322 wxPyEndAllowThreads(__tstate);
30323 if (PyErr_Occurred()) SWIG_fail;
30324 }
30325 Py_INCREF(Py_None); resultobj = Py_None;
30326 return resultobj;
30327 fail:
30328 return NULL;
30329}
30330
30331
c32bde28 30332static PyObject *_wrap_Window_PrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30333 PyObject *resultobj = NULL;
d14a1e28
RD
30334 wxWindow *arg1 = (wxWindow *) 0 ;
30335 wxDC *arg2 = 0 ;
30336 PyObject * obj0 = 0 ;
30337 PyObject * obj1 = 0 ;
30338 char *kwnames[] = {
30339 (char *) "self",(char *) "dc", NULL
30340 };
30341
30342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PrepareDC",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30344 if (SWIG_arg_fail(1)) SWIG_fail;
30345 {
30346 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
30347 if (SWIG_arg_fail(2)) SWIG_fail;
30348 if (arg2 == NULL) {
30349 SWIG_null_ref("wxDC");
30350 }
30351 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30352 }
30353 {
30354 PyThreadState* __tstate = wxPyBeginAllowThreads();
30355 (arg1)->PrepareDC(*arg2);
30356
30357 wxPyEndAllowThreads(__tstate);
30358 if (PyErr_Occurred()) SWIG_fail;
30359 }
30360 Py_INCREF(Py_None); resultobj = Py_None;
30361 return resultobj;
30362 fail:
30363 return NULL;
30364}
30365
30366
c32bde28 30367static PyObject *_wrap_Window_GetUpdateRegion(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30368 PyObject *resultobj = NULL;
d14a1e28
RD
30369 wxWindow *arg1 = (wxWindow *) 0 ;
30370 wxRegion *result;
30371 PyObject * obj0 = 0 ;
30372 char *kwnames[] = {
30373 (char *) "self", NULL
30374 };
30375
30376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateRegion",kwnames,&obj0)) goto fail;
093d3ff1
RD
30377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30378 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30379 {
30380 PyThreadState* __tstate = wxPyBeginAllowThreads();
30381 {
30382 wxRegion &_result_ref = (arg1)->GetUpdateRegion();
30383 result = (wxRegion *) &_result_ref;
30384 }
30385
30386 wxPyEndAllowThreads(__tstate);
30387 if (PyErr_Occurred()) SWIG_fail;
30388 }
15afbcd0 30389 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 0);
d14a1e28
RD
30390 return resultobj;
30391 fail:
30392 return NULL;
30393}
30394
30395
c32bde28 30396static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30397 PyObject *resultobj = NULL;
d14a1e28
RD
30398 wxWindow *arg1 = (wxWindow *) 0 ;
30399 wxRect result;
30400 PyObject * obj0 = 0 ;
30401 char *kwnames[] = {
30402 (char *) "self", NULL
30403 };
30404
30405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateClientRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
30406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30407 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30408 {
30409 PyThreadState* __tstate = wxPyBeginAllowThreads();
30410 result = ((wxWindow const *)arg1)->GetUpdateClientRect();
30411
30412 wxPyEndAllowThreads(__tstate);
30413 if (PyErr_Occurred()) SWIG_fail;
30414 }
30415 {
30416 wxRect * resultptr;
32fe5131 30417 resultptr = new wxRect(static_cast<wxRect & >(result));
15afbcd0 30418 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
30419 }
30420 return resultobj;
30421 fail:
30422 return NULL;
30423}
30424
30425
c32bde28 30426static PyObject *_wrap_Window_IsExposed(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30427 PyObject *resultobj = NULL;
d14a1e28
RD
30428 wxWindow *arg1 = (wxWindow *) 0 ;
30429 int arg2 ;
30430 int arg3 ;
30431 int arg4 = (int) 1 ;
30432 int arg5 = (int) 1 ;
30433 bool result;
30434 PyObject * obj0 = 0 ;
994141e6
RD
30435 PyObject * obj1 = 0 ;
30436 PyObject * obj2 = 0 ;
30437 PyObject * obj3 = 0 ;
30438 PyObject * obj4 = 0 ;
d14a1e28
RD
30439 char *kwnames[] = {
30440 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30441 };
30442
994141e6 30443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_IsExposed",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
30444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30445 if (SWIG_arg_fail(1)) SWIG_fail;
30446 {
32fe5131 30447 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
30448 if (SWIG_arg_fail(2)) SWIG_fail;
30449 }
30450 {
32fe5131 30451 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
30452 if (SWIG_arg_fail(3)) SWIG_fail;
30453 }
994141e6 30454 if (obj3) {
093d3ff1 30455 {
32fe5131 30456 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
30457 if (SWIG_arg_fail(4)) SWIG_fail;
30458 }
994141e6
RD
30459 }
30460 if (obj4) {
093d3ff1 30461 {
32fe5131 30462 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
30463 if (SWIG_arg_fail(5)) SWIG_fail;
30464 }
994141e6 30465 }
d14a1e28
RD
30466 {
30467 PyThreadState* __tstate = wxPyBeginAllowThreads();
30468 result = (bool)((wxWindow const *)arg1)->IsExposed(arg2,arg3,arg4,arg5);
30469
30470 wxPyEndAllowThreads(__tstate);
30471 if (PyErr_Occurred()) SWIG_fail;
30472 }
4f89f6a3
RD
30473 {
30474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30475 }
d14a1e28
RD
30476 return resultobj;
30477 fail:
30478 return NULL;
30479}
30480
30481
c32bde28 30482static PyObject *_wrap_Window_IsExposedPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30483 PyObject *resultobj = NULL;
d14a1e28
RD
30484 wxWindow *arg1 = (wxWindow *) 0 ;
30485 wxPoint *arg2 = 0 ;
30486 bool result;
30487 wxPoint temp2 ;
30488 PyObject * obj0 = 0 ;
30489 PyObject * obj1 = 0 ;
30490 char *kwnames[] = {
30491 (char *) "self",(char *) "pt", NULL
30492 };
30493
30494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30496 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30497 {
30498 arg2 = &temp2;
30499 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30500 }
30501 {
30502 PyThreadState* __tstate = wxPyBeginAllowThreads();
30503 result = (bool)((wxWindow const *)arg1)->IsExposed((wxPoint const &)*arg2);
30504
30505 wxPyEndAllowThreads(__tstate);
30506 if (PyErr_Occurred()) SWIG_fail;
30507 }
4f89f6a3
RD
30508 {
30509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30510 }
d14a1e28
RD
30511 return resultobj;
30512 fail:
30513 return NULL;
30514}
30515
30516
c32bde28 30517static PyObject *_wrap_Window_IsExposedRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30518 PyObject *resultobj = NULL;
d14a1e28
RD
30519 wxWindow *arg1 = (wxWindow *) 0 ;
30520 wxRect *arg2 = 0 ;
30521 bool result;
30522 wxRect temp2 ;
30523 PyObject * obj0 = 0 ;
30524 PyObject * obj1 = 0 ;
30525 char *kwnames[] = {
30526 (char *) "self",(char *) "rect", NULL
30527 };
30528
4276dc52 30529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30531 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30532 {
30533 arg2 = &temp2;
30534 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
30535 }
30536 {
30537 PyThreadState* __tstate = wxPyBeginAllowThreads();
30538 result = (bool)((wxWindow const *)arg1)->IsExposed((wxRect const &)*arg2);
30539
30540 wxPyEndAllowThreads(__tstate);
30541 if (PyErr_Occurred()) SWIG_fail;
30542 }
4f89f6a3
RD
30543 {
30544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30545 }
d14a1e28
RD
30546 return resultobj;
30547 fail:
30548 return NULL;
30549}
30550
30551
c32bde28 30552static PyObject *_wrap_Window_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30553 PyObject *resultobj = NULL;
74a57fcd
RD
30554 wxWindow *arg1 = (wxWindow *) 0 ;
30555 wxVisualAttributes result;
30556 PyObject * obj0 = 0 ;
30557 char *kwnames[] = {
30558 (char *) "self", NULL
30559 };
30560
30561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
30562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30563 if (SWIG_arg_fail(1)) SWIG_fail;
74a57fcd
RD
30564 {
30565 PyThreadState* __tstate = wxPyBeginAllowThreads();
30566 result = ((wxWindow const *)arg1)->GetDefaultAttributes();
30567
30568 wxPyEndAllowThreads(__tstate);
30569 if (PyErr_Occurred()) SWIG_fail;
30570 }
30571 {
30572 wxVisualAttributes * resultptr;
32fe5131 30573 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
74a57fcd
RD
30574 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
30575 }
30576 return resultobj;
30577 fail:
30578 return NULL;
30579}
30580
30581
c32bde28 30582static PyObject *_wrap_Window_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30583 PyObject *resultobj = NULL;
093d3ff1 30584 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
74a57fcd
RD
30585 wxVisualAttributes result;
30586 PyObject * obj0 = 0 ;
30587 char *kwnames[] = {
30588 (char *) "variant", NULL
30589 };
30590
30591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Window_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
30592 if (obj0) {
093d3ff1 30593 {
32fe5131 30594 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
30595 if (SWIG_arg_fail(1)) SWIG_fail;
30596 }
74a57fcd
RD
30597 }
30598 {
e3b71cb8 30599 if (!wxPyCheckForApp()) SWIG_fail;
74a57fcd 30600 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 30601 result = wxWindow::GetClassDefaultAttributes(arg1);
74a57fcd
RD
30602
30603 wxPyEndAllowThreads(__tstate);
110da5b0 30604 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
30605 }
30606 {
30607 wxVisualAttributes * resultptr;
32fe5131 30608 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
74a57fcd
RD
30609 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
30610 }
30611 return resultobj;
30612 fail:
30613 return NULL;
30614}
30615
30616
c32bde28 30617static PyObject *_wrap_Window_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30618 PyObject *resultobj = NULL;
d14a1e28
RD
30619 wxWindow *arg1 = (wxWindow *) 0 ;
30620 wxColour *arg2 = 0 ;
30621 bool result;
30622 wxColour temp2 ;
30623 PyObject * obj0 = 0 ;
30624 PyObject * obj1 = 0 ;
30625 char *kwnames[] = {
30626 (char *) "self",(char *) "colour", NULL
30627 };
30628
30629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30631 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30632 {
30633 arg2 = &temp2;
30634 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
30635 }
30636 {
30637 PyThreadState* __tstate = wxPyBeginAllowThreads();
30638 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
30639
30640 wxPyEndAllowThreads(__tstate);
30641 if (PyErr_Occurred()) SWIG_fail;
30642 }
4f89f6a3
RD
30643 {
30644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30645 }
d14a1e28
RD
30646 return resultobj;
30647 fail:
30648 return NULL;
30649}
30650
30651
c32bde28 30652static PyObject *_wrap_Window_SetOwnBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30653 PyObject *resultobj = NULL;
b2df227b
RD
30654 wxWindow *arg1 = (wxWindow *) 0 ;
30655 wxColour *arg2 = 0 ;
30656 wxColour temp2 ;
30657 PyObject * obj0 = 0 ;
30658 PyObject * obj1 = 0 ;
30659 char *kwnames[] = {
30660 (char *) "self",(char *) "colour", NULL
30661 };
30662
412d302d 30663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetOwnBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30665 if (SWIG_arg_fail(1)) SWIG_fail;
b2df227b
RD
30666 {
30667 arg2 = &temp2;
30668 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
30669 }
30670 {
30671 PyThreadState* __tstate = wxPyBeginAllowThreads();
412d302d 30672 (arg1)->SetOwnBackgroundColour((wxColour const &)*arg2);
b2df227b
RD
30673
30674 wxPyEndAllowThreads(__tstate);
30675 if (PyErr_Occurred()) SWIG_fail;
30676 }
30677 Py_INCREF(Py_None); resultobj = Py_None;
30678 return resultobj;
30679 fail:
30680 return NULL;
30681}
30682
30683
c32bde28 30684static PyObject *_wrap_Window_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30685 PyObject *resultobj = NULL;
d14a1e28
RD
30686 wxWindow *arg1 = (wxWindow *) 0 ;
30687 wxColour *arg2 = 0 ;
30688 bool result;
30689 wxColour temp2 ;
30690 PyObject * obj0 = 0 ;
30691 PyObject * obj1 = 0 ;
30692 char *kwnames[] = {
30693 (char *) "self",(char *) "colour", NULL
30694 };
30695
30696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30698 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30699 {
30700 arg2 = &temp2;
30701 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
30702 }
30703 {
30704 PyThreadState* __tstate = wxPyBeginAllowThreads();
30705 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
30706
30707 wxPyEndAllowThreads(__tstate);
30708 if (PyErr_Occurred()) SWIG_fail;
30709 }
4f89f6a3
RD
30710 {
30711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30712 }
d14a1e28
RD
30713 return resultobj;
30714 fail:
30715 return NULL;
30716}
30717
30718
c32bde28 30719static PyObject *_wrap_Window_SetOwnForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30720 PyObject *resultobj = NULL;
b2df227b
RD
30721 wxWindow *arg1 = (wxWindow *) 0 ;
30722 wxColour *arg2 = 0 ;
30723 wxColour temp2 ;
30724 PyObject * obj0 = 0 ;
30725 PyObject * obj1 = 0 ;
30726 char *kwnames[] = {
30727 (char *) "self",(char *) "colour", NULL
30728 };
30729
fa47d7a7 30730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetOwnForegroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30732 if (SWIG_arg_fail(1)) SWIG_fail;
b2df227b
RD
30733 {
30734 arg2 = &temp2;
30735 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
30736 }
30737 {
30738 PyThreadState* __tstate = wxPyBeginAllowThreads();
fa47d7a7 30739 (arg1)->SetOwnForegroundColour((wxColour const &)*arg2);
b2df227b
RD
30740
30741 wxPyEndAllowThreads(__tstate);
30742 if (PyErr_Occurred()) SWIG_fail;
30743 }
30744 Py_INCREF(Py_None); resultobj = Py_None;
30745 return resultobj;
30746 fail:
30747 return NULL;
30748}
30749
30750
c32bde28 30751static PyObject *_wrap_Window_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30752 PyObject *resultobj = NULL;
d14a1e28
RD
30753 wxWindow *arg1 = (wxWindow *) 0 ;
30754 wxColour result;
30755 PyObject * obj0 = 0 ;
30756 char *kwnames[] = {
30757 (char *) "self", NULL
30758 };
30759
30760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
30761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30762 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30763 {
30764 PyThreadState* __tstate = wxPyBeginAllowThreads();
30765 result = ((wxWindow const *)arg1)->GetBackgroundColour();
30766
30767 wxPyEndAllowThreads(__tstate);
30768 if (PyErr_Occurred()) SWIG_fail;
30769 }
30770 {
30771 wxColour * resultptr;
32fe5131 30772 resultptr = new wxColour(static_cast<wxColour & >(result));
15afbcd0 30773 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
30774 }
30775 return resultobj;
30776 fail:
30777 return NULL;
30778}
30779
30780
c32bde28 30781static PyObject *_wrap_Window_GetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30782 PyObject *resultobj = NULL;
d14a1e28
RD
30783 wxWindow *arg1 = (wxWindow *) 0 ;
30784 wxColour result;
30785 PyObject * obj0 = 0 ;
30786 char *kwnames[] = {
30787 (char *) "self", NULL
30788 };
30789
30790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetForegroundColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
30791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30792 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30793 {
30794 PyThreadState* __tstate = wxPyBeginAllowThreads();
30795 result = ((wxWindow const *)arg1)->GetForegroundColour();
30796
30797 wxPyEndAllowThreads(__tstate);
30798 if (PyErr_Occurred()) SWIG_fail;
30799 }
30800 {
30801 wxColour * resultptr;
32fe5131 30802 resultptr = new wxColour(static_cast<wxColour & >(result));
15afbcd0 30803 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
30804 }
30805 return resultobj;
30806 fail:
30807 return NULL;
30808}
30809
30810
562ecc31 30811static PyObject *_wrap_Window_InheritsBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30812 PyObject *resultobj = NULL;
562ecc31
RD
30813 wxWindow *arg1 = (wxWindow *) 0 ;
30814 bool result;
30815 PyObject * obj0 = 0 ;
30816 char *kwnames[] = {
30817 (char *) "self", NULL
30818 };
30819
30820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InheritsBackgroundColour",kwnames,&obj0)) goto fail;
30821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30822 if (SWIG_arg_fail(1)) SWIG_fail;
30823 {
30824 PyThreadState* __tstate = wxPyBeginAllowThreads();
30825 result = (bool)((wxWindow const *)arg1)->InheritsBackgroundColour();
30826
30827 wxPyEndAllowThreads(__tstate);
30828 if (PyErr_Occurred()) SWIG_fail;
30829 }
30830 {
30831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30832 }
30833 return resultobj;
30834 fail:
30835 return NULL;
30836}
30837
30838
30839static PyObject *_wrap_Window_UseBgCol(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30840 PyObject *resultobj = NULL;
562ecc31
RD
30841 wxWindow *arg1 = (wxWindow *) 0 ;
30842 bool result;
30843 PyObject * obj0 = 0 ;
30844 char *kwnames[] = {
30845 (char *) "self", NULL
30846 };
30847
30848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_UseBgCol",kwnames,&obj0)) goto fail;
30849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30850 if (SWIG_arg_fail(1)) SWIG_fail;
30851 {
30852 PyThreadState* __tstate = wxPyBeginAllowThreads();
30853 result = (bool)((wxWindow const *)arg1)->UseBgCol();
30854
30855 wxPyEndAllowThreads(__tstate);
30856 if (PyErr_Occurred()) SWIG_fail;
30857 }
30858 {
30859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30860 }
30861 return resultobj;
30862 fail:
30863 return NULL;
30864}
30865
30866
c32bde28 30867static PyObject *_wrap_Window_SetBackgroundStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30868 PyObject *resultobj = NULL;
7bc1e663 30869 wxWindow *arg1 = (wxWindow *) 0 ;
093d3ff1 30870 wxBackgroundStyle arg2 ;
7bc1e663
RD
30871 bool result;
30872 PyObject * obj0 = 0 ;
30873 PyObject * obj1 = 0 ;
30874 char *kwnames[] = {
30875 (char *) "self",(char *) "style", NULL
30876 };
30877
30878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundStyle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30880 if (SWIG_arg_fail(1)) SWIG_fail;
30881 {
32fe5131 30882 arg2 = static_cast<wxBackgroundStyle >(SWIG_As_int(obj1));
093d3ff1
RD
30883 if (SWIG_arg_fail(2)) SWIG_fail;
30884 }
7bc1e663
RD
30885 {
30886 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 30887 result = (bool)(arg1)->SetBackgroundStyle(arg2);
7bc1e663
RD
30888
30889 wxPyEndAllowThreads(__tstate);
30890 if (PyErr_Occurred()) SWIG_fail;
30891 }
30892 {
30893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30894 }
30895 return resultobj;
30896 fail:
30897 return NULL;
30898}
30899
30900
c32bde28 30901static PyObject *_wrap_Window_GetBackgroundStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30902 PyObject *resultobj = NULL;
7bc1e663 30903 wxWindow *arg1 = (wxWindow *) 0 ;
093d3ff1 30904 wxBackgroundStyle result;
7bc1e663
RD
30905 PyObject * obj0 = 0 ;
30906 char *kwnames[] = {
30907 (char *) "self", NULL
30908 };
30909
30910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
30911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30912 if (SWIG_arg_fail(1)) SWIG_fail;
7bc1e663
RD
30913 {
30914 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 30915 result = (wxBackgroundStyle)((wxWindow const *)arg1)->GetBackgroundStyle();
7bc1e663
RD
30916
30917 wxPyEndAllowThreads(__tstate);
30918 if (PyErr_Occurred()) SWIG_fail;
30919 }
093d3ff1 30920 resultobj = SWIG_From_int((result));
7bc1e663
RD
30921 return resultobj;
30922 fail:
30923 return NULL;
30924}
30925
30926
51b83b37 30927static PyObject *_wrap_Window_HasTransparentBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30928 PyObject *resultobj = NULL;
51b83b37
RD
30929 wxWindow *arg1 = (wxWindow *) 0 ;
30930 bool result;
30931 PyObject * obj0 = 0 ;
30932 char *kwnames[] = {
30933 (char *) "self", NULL
30934 };
30935
30936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasTransparentBackground",kwnames,&obj0)) goto fail;
30937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30938 if (SWIG_arg_fail(1)) SWIG_fail;
30939 {
30940 PyThreadState* __tstate = wxPyBeginAllowThreads();
30941 result = (bool)(arg1)->HasTransparentBackground();
30942
30943 wxPyEndAllowThreads(__tstate);
30944 if (PyErr_Occurred()) SWIG_fail;
30945 }
30946 {
30947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30948 }
30949 return resultobj;
30950 fail:
30951 return NULL;
30952}
30953
30954
c32bde28 30955static PyObject *_wrap_Window_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30956 PyObject *resultobj = NULL;
d14a1e28
RD
30957 wxWindow *arg1 = (wxWindow *) 0 ;
30958 wxCursor *arg2 = 0 ;
30959 bool result;
30960 PyObject * obj0 = 0 ;
30961 PyObject * obj1 = 0 ;
30962 char *kwnames[] = {
30963 (char *) "self",(char *) "cursor", NULL
30964 };
30965
30966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCursor",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30968 if (SWIG_arg_fail(1)) SWIG_fail;
30969 {
30970 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
30971 if (SWIG_arg_fail(2)) SWIG_fail;
30972 if (arg2 == NULL) {
30973 SWIG_null_ref("wxCursor");
30974 }
30975 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30976 }
30977 {
30978 PyThreadState* __tstate = wxPyBeginAllowThreads();
30979 result = (bool)(arg1)->SetCursor((wxCursor const &)*arg2);
30980
30981 wxPyEndAllowThreads(__tstate);
30982 if (PyErr_Occurred()) SWIG_fail;
30983 }
4f89f6a3
RD
30984 {
30985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30986 }
d14a1e28
RD
30987 return resultobj;
30988 fail:
30989 return NULL;
30990}
30991
30992
c32bde28 30993static PyObject *_wrap_Window_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30994 PyObject *resultobj = NULL;
d14a1e28 30995 wxWindow *arg1 = (wxWindow *) 0 ;
dfbb5885 30996 wxCursor result;
d14a1e28
RD
30997 PyObject * obj0 = 0 ;
30998 char *kwnames[] = {
30999 (char *) "self", NULL
31000 };
31001
31002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCursor",kwnames,&obj0)) goto fail;
093d3ff1
RD
31003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31004 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31005 {
31006 PyThreadState* __tstate = wxPyBeginAllowThreads();
dfbb5885 31007 result = (arg1)->GetCursor();
d14a1e28
RD
31008
31009 wxPyEndAllowThreads(__tstate);
31010 if (PyErr_Occurred()) SWIG_fail;
31011 }
4276dc52 31012 {
dfbb5885 31013 wxCursor * resultptr;
32fe5131 31014 resultptr = new wxCursor(static_cast<wxCursor & >(result));
dfbb5885 31015 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1);
4276dc52 31016 }
d14a1e28
RD
31017 return resultobj;
31018 fail:
31019 return NULL;
31020}
31021
31022
c32bde28 31023static PyObject *_wrap_Window_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31024 PyObject *resultobj = NULL;
d14a1e28
RD
31025 wxWindow *arg1 = (wxWindow *) 0 ;
31026 wxFont *arg2 = 0 ;
31027 bool result;
31028 PyObject * obj0 = 0 ;
31029 PyObject * obj1 = 0 ;
31030 char *kwnames[] = {
31031 (char *) "self",(char *) "font", NULL
31032 };
31033
31034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31036 if (SWIG_arg_fail(1)) SWIG_fail;
31037 {
31038 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
31039 if (SWIG_arg_fail(2)) SWIG_fail;
31040 if (arg2 == NULL) {
31041 SWIG_null_ref("wxFont");
31042 }
31043 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
31044 }
31045 {
31046 PyThreadState* __tstate = wxPyBeginAllowThreads();
31047 result = (bool)(arg1)->SetFont((wxFont const &)*arg2);
31048
31049 wxPyEndAllowThreads(__tstate);
31050 if (PyErr_Occurred()) SWIG_fail;
31051 }
4f89f6a3
RD
31052 {
31053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31054 }
d14a1e28
RD
31055 return resultobj;
31056 fail:
31057 return NULL;
31058}
31059
31060
c32bde28 31061static PyObject *_wrap_Window_SetOwnFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31062 PyObject *resultobj = NULL;
b2df227b
RD
31063 wxWindow *arg1 = (wxWindow *) 0 ;
31064 wxFont *arg2 = 0 ;
31065 PyObject * obj0 = 0 ;
31066 PyObject * obj1 = 0 ;
31067 char *kwnames[] = {
31068 (char *) "self",(char *) "font", NULL
31069 };
31070
fa47d7a7 31071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetOwnFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31073 if (SWIG_arg_fail(1)) SWIG_fail;
31074 {
31075 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
31076 if (SWIG_arg_fail(2)) SWIG_fail;
31077 if (arg2 == NULL) {
31078 SWIG_null_ref("wxFont");
31079 }
31080 if (SWIG_arg_fail(2)) SWIG_fail;
b2df227b
RD
31081 }
31082 {
31083 PyThreadState* __tstate = wxPyBeginAllowThreads();
fa47d7a7 31084 (arg1)->SetOwnFont((wxFont const &)*arg2);
b2df227b
RD
31085
31086 wxPyEndAllowThreads(__tstate);
31087 if (PyErr_Occurred()) SWIG_fail;
31088 }
31089 Py_INCREF(Py_None); resultobj = Py_None;
31090 return resultobj;
31091 fail:
31092 return NULL;
31093}
31094
31095
c32bde28 31096static PyObject *_wrap_Window_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31097 PyObject *resultobj = NULL;
d14a1e28 31098 wxWindow *arg1 = (wxWindow *) 0 ;
dfbb5885 31099 wxFont result;
d14a1e28
RD
31100 PyObject * obj0 = 0 ;
31101 char *kwnames[] = {
31102 (char *) "self", NULL
31103 };
31104
31105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
31106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31107 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31108 {
31109 PyThreadState* __tstate = wxPyBeginAllowThreads();
dfbb5885 31110 result = (arg1)->GetFont();
d14a1e28
RD
31111
31112 wxPyEndAllowThreads(__tstate);
31113 if (PyErr_Occurred()) SWIG_fail;
31114 }
4276dc52 31115 {
dfbb5885 31116 wxFont * resultptr;
32fe5131 31117 resultptr = new wxFont(static_cast<wxFont & >(result));
dfbb5885 31118 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
4276dc52 31119 }
d14a1e28
RD
31120 return resultobj;
31121 fail:
31122 return NULL;
31123}
31124
31125
c32bde28 31126static PyObject *_wrap_Window_SetCaret(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31127 PyObject *resultobj = NULL;
d14a1e28
RD
31128 wxWindow *arg1 = (wxWindow *) 0 ;
31129 wxCaret *arg2 = (wxCaret *) 0 ;
31130 PyObject * obj0 = 0 ;
31131 PyObject * obj1 = 0 ;
31132 char *kwnames[] = {
31133 (char *) "self",(char *) "caret", NULL
31134 };
31135
31136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCaret",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31138 if (SWIG_arg_fail(1)) SWIG_fail;
7e08d4ef 31139 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 31140 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
31141 {
31142 PyThreadState* __tstate = wxPyBeginAllowThreads();
31143 (arg1)->SetCaret(arg2);
31144
31145 wxPyEndAllowThreads(__tstate);
31146 if (PyErr_Occurred()) SWIG_fail;
31147 }
31148 Py_INCREF(Py_None); resultobj = Py_None;
31149 return resultobj;
31150 fail:
31151 return NULL;
31152}
31153
31154
c32bde28 31155static PyObject *_wrap_Window_GetCaret(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31156 PyObject *resultobj = NULL;
d14a1e28
RD
31157 wxWindow *arg1 = (wxWindow *) 0 ;
31158 wxCaret *result;
31159 PyObject * obj0 = 0 ;
31160 char *kwnames[] = {
31161 (char *) "self", NULL
31162 };
31163
31164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCaret",kwnames,&obj0)) goto fail;
093d3ff1
RD
31165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31166 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31167 {
31168 PyThreadState* __tstate = wxPyBeginAllowThreads();
31169 result = (wxCaret *)((wxWindow const *)arg1)->GetCaret();
31170
31171 wxPyEndAllowThreads(__tstate);
31172 if (PyErr_Occurred()) SWIG_fail;
31173 }
15afbcd0 31174 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 0);
d14a1e28
RD
31175 return resultobj;
31176 fail:
31177 return NULL;
31178}
31179
31180
c32bde28 31181static PyObject *_wrap_Window_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31182 PyObject *resultobj = NULL;
d14a1e28
RD
31183 wxWindow *arg1 = (wxWindow *) 0 ;
31184 int result;
31185 PyObject * obj0 = 0 ;
31186 char *kwnames[] = {
31187 (char *) "self", NULL
31188 };
31189
31190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
31191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31192 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31193 {
31194 PyThreadState* __tstate = wxPyBeginAllowThreads();
31195 result = (int)((wxWindow const *)arg1)->GetCharHeight();
31196
31197 wxPyEndAllowThreads(__tstate);
31198 if (PyErr_Occurred()) SWIG_fail;
31199 }
093d3ff1 31200 {
32fe5131 31201 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 31202 }
d14a1e28
RD
31203 return resultobj;
31204 fail:
31205 return NULL;
31206}
31207
31208
c32bde28 31209static PyObject *_wrap_Window_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31210 PyObject *resultobj = NULL;
d14a1e28
RD
31211 wxWindow *arg1 = (wxWindow *) 0 ;
31212 int result;
31213 PyObject * obj0 = 0 ;
31214 char *kwnames[] = {
31215 (char *) "self", NULL
31216 };
31217
31218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
31219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31220 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31221 {
31222 PyThreadState* __tstate = wxPyBeginAllowThreads();
31223 result = (int)((wxWindow const *)arg1)->GetCharWidth();
31224
31225 wxPyEndAllowThreads(__tstate);
31226 if (PyErr_Occurred()) SWIG_fail;
31227 }
093d3ff1 31228 {
32fe5131 31229 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 31230 }
d14a1e28
RD
31231 return resultobj;
31232 fail:
31233 return NULL;
31234}
31235
31236
c32bde28 31237static PyObject *_wrap_Window_GetTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31238 PyObject *resultobj = NULL;
d14a1e28
RD
31239 wxWindow *arg1 = (wxWindow *) 0 ;
31240 wxString *arg2 = 0 ;
31241 int *arg3 = (int *) 0 ;
31242 int *arg4 = (int *) 0 ;
ae8162c8 31243 bool temp2 = false ;
d14a1e28 31244 int temp3 ;
c32bde28 31245 int res3 = 0 ;
d14a1e28 31246 int temp4 ;
c32bde28 31247 int res4 = 0 ;
d14a1e28
RD
31248 PyObject * obj0 = 0 ;
31249 PyObject * obj1 = 0 ;
31250 char *kwnames[] = {
31251 (char *) "self",(char *) "string", NULL
31252 };
31253
c32bde28
RD
31254 arg3 = &temp3; res3 = SWIG_NEWOBJ;
31255 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d14a1e28 31256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31258 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31259 {
31260 arg2 = wxString_in_helper(obj1);
31261 if (arg2 == NULL) SWIG_fail;
ae8162c8 31262 temp2 = true;
d14a1e28
RD
31263 }
31264 {
31265 PyThreadState* __tstate = wxPyBeginAllowThreads();
31266 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
31267
31268 wxPyEndAllowThreads(__tstate);
31269 if (PyErr_Occurred()) SWIG_fail;
31270 }
31271 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
31272 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
31273 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
31274 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
31275 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
d14a1e28
RD
31276 {
31277 if (temp2)
31278 delete arg2;
31279 }
31280 return resultobj;
31281 fail:
31282 {
31283 if (temp2)
31284 delete arg2;
31285 }
31286 return NULL;
31287}
31288
31289
c32bde28 31290static PyObject *_wrap_Window_GetFullTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31291 PyObject *resultobj = NULL;
d14a1e28
RD
31292 wxWindow *arg1 = (wxWindow *) 0 ;
31293 wxString *arg2 = 0 ;
31294 int *arg3 = (int *) 0 ;
31295 int *arg4 = (int *) 0 ;
31296 int *arg5 = (int *) 0 ;
31297 int *arg6 = (int *) 0 ;
31298 wxFont *arg7 = (wxFont *) NULL ;
ae8162c8 31299 bool temp2 = false ;
d14a1e28 31300 int temp3 ;
c32bde28 31301 int res3 = 0 ;
d14a1e28 31302 int temp4 ;
c32bde28 31303 int res4 = 0 ;
d14a1e28 31304 int temp5 ;
c32bde28 31305 int res5 = 0 ;
d14a1e28 31306 int temp6 ;
c32bde28 31307 int res6 = 0 ;
d14a1e28
RD
31308 PyObject * obj0 = 0 ;
31309 PyObject * obj1 = 0 ;
31310 PyObject * obj2 = 0 ;
31311 char *kwnames[] = {
31312 (char *) "self",(char *) "string",(char *) "font", NULL
31313 };
31314
c32bde28
RD
31315 arg3 = &temp3; res3 = SWIG_NEWOBJ;
31316 arg4 = &temp4; res4 = SWIG_NEWOBJ;
31317 arg5 = &temp5; res5 = SWIG_NEWOBJ;
31318 arg6 = &temp6; res6 = SWIG_NEWOBJ;
d14a1e28 31319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
31320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31321 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31322 {
31323 arg2 = wxString_in_helper(obj1);
31324 if (arg2 == NULL) SWIG_fail;
ae8162c8 31325 temp2 = true;
d14a1e28
RD
31326 }
31327 if (obj2) {
093d3ff1
RD
31328 SWIG_Python_ConvertPtr(obj2, (void **)&arg7, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
31329 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
31330 }
31331 {
31332 PyThreadState* __tstate = wxPyBeginAllowThreads();
31333 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,(wxFont const *)arg7);
31334
31335 wxPyEndAllowThreads(__tstate);
31336 if (PyErr_Occurred()) SWIG_fail;
31337 }
31338 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
31339 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
31340 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
31341 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
31342 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
31343 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
31344 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
31345 resultobj = t_output_helper(resultobj, ((res6 == SWIG_NEWOBJ) ?
31346 SWIG_From_int((*arg6)) : SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_int, 0)));
d14a1e28
RD
31347 {
31348 if (temp2)
31349 delete arg2;
31350 }
31351 return resultobj;
31352 fail:
31353 {
31354 if (temp2)
31355 delete arg2;
31356 }
31357 return NULL;
31358}
31359
31360
c32bde28 31361static PyObject *_wrap_Window_ClientToScreenXY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31362 PyObject *resultobj = NULL;
d14a1e28
RD
31363 wxWindow *arg1 = (wxWindow *) 0 ;
31364 int *arg2 = (int *) 0 ;
31365 int *arg3 = (int *) 0 ;
31366 int temp2 ;
c32bde28 31367 int res2 = 0 ;
d14a1e28 31368 int temp3 ;
c32bde28 31369 int res3 = 0 ;
d14a1e28
RD
31370 PyObject * obj0 = 0 ;
31371 PyObject * obj1 = 0 ;
31372 PyObject * obj2 = 0 ;
31373 char *kwnames[] = {
31374 (char *) "self",(char *) "x",(char *) "y", NULL
31375 };
31376
31377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
31378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31379 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 31380 {
c32bde28
RD
31381 if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,0) != -1)) {
31382 temp2 = SWIG_As_int(obj1);
093d3ff1 31383 if (SWIG_arg_fail(2)) SWIG_fail;
c32bde28
RD
31384 arg2 = &temp2;
31385 res2 = SWIG_NEWOBJ;
31386 }
d14a1e28
RD
31387 }
31388 {
c32bde28
RD
31389 if (!(SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_int,0) != -1)) {
31390 temp3 = SWIG_As_int(obj2);
093d3ff1 31391 if (SWIG_arg_fail(3)) SWIG_fail;
c32bde28
RD
31392 arg3 = &temp3;
31393 res3 = SWIG_NEWOBJ;
31394 }
d14a1e28
RD
31395 }
31396 {
31397 PyThreadState* __tstate = wxPyBeginAllowThreads();
31398 ((wxWindow const *)arg1)->ClientToScreen(arg2,arg3);
31399
31400 wxPyEndAllowThreads(__tstate);
31401 if (PyErr_Occurred()) SWIG_fail;
31402 }
31403 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
31404 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
31405 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
31406 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
31407 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
31408 return resultobj;
31409 fail:
31410 return NULL;
31411}
31412
31413
c32bde28 31414static PyObject *_wrap_Window_ScreenToClientXY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31415 PyObject *resultobj = NULL;
d14a1e28
RD
31416 wxWindow *arg1 = (wxWindow *) 0 ;
31417 int *arg2 = (int *) 0 ;
31418 int *arg3 = (int *) 0 ;
31419 int temp2 ;
c32bde28 31420 int res2 = 0 ;
d14a1e28 31421 int temp3 ;
c32bde28 31422 int res3 = 0 ;
d14a1e28
RD
31423 PyObject * obj0 = 0 ;
31424 PyObject * obj1 = 0 ;
31425 PyObject * obj2 = 0 ;
31426 char *kwnames[] = {
31427 (char *) "self",(char *) "x",(char *) "y", NULL
31428 };
31429
31430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
31431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31432 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 31433 {
c32bde28
RD
31434 if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,0) != -1)) {
31435 temp2 = SWIG_As_int(obj1);
093d3ff1 31436 if (SWIG_arg_fail(2)) SWIG_fail;
c32bde28
RD
31437 arg2 = &temp2;
31438 res2 = SWIG_NEWOBJ;
31439 }
d14a1e28
RD
31440 }
31441 {
c32bde28
RD
31442 if (!(SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_int,0) != -1)) {
31443 temp3 = SWIG_As_int(obj2);
093d3ff1 31444 if (SWIG_arg_fail(3)) SWIG_fail;
c32bde28
RD
31445 arg3 = &temp3;
31446 res3 = SWIG_NEWOBJ;
31447 }
d14a1e28
RD
31448 }
31449 {
31450 PyThreadState* __tstate = wxPyBeginAllowThreads();
31451 ((wxWindow const *)arg1)->ScreenToClient(arg2,arg3);
31452
31453 wxPyEndAllowThreads(__tstate);
31454 if (PyErr_Occurred()) SWIG_fail;
31455 }
31456 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
31457 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
31458 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
31459 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
31460 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
31461 return resultobj;
31462 fail:
31463 return NULL;
31464}
31465
31466
c32bde28 31467static PyObject *_wrap_Window_ClientToScreen(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31468 PyObject *resultobj = NULL;
d14a1e28
RD
31469 wxWindow *arg1 = (wxWindow *) 0 ;
31470 wxPoint *arg2 = 0 ;
31471 wxPoint result;
31472 wxPoint temp2 ;
31473 PyObject * obj0 = 0 ;
31474 PyObject * obj1 = 0 ;
31475 char *kwnames[] = {
31476 (char *) "self",(char *) "pt", NULL
31477 };
31478
31479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ClientToScreen",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31481 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31482 {
31483 arg2 = &temp2;
31484 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31485 }
31486 {
31487 PyThreadState* __tstate = wxPyBeginAllowThreads();
31488 result = ((wxWindow const *)arg1)->ClientToScreen((wxPoint const &)*arg2);
31489
31490 wxPyEndAllowThreads(__tstate);
31491 if (PyErr_Occurred()) SWIG_fail;
31492 }
31493 {
31494 wxPoint * resultptr;
32fe5131 31495 resultptr = new wxPoint(static_cast<wxPoint & >(result));
15afbcd0 31496 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
31497 }
31498 return resultobj;
31499 fail:
31500 return NULL;
31501}
31502
31503
c32bde28 31504static PyObject *_wrap_Window_ScreenToClient(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31505 PyObject *resultobj = NULL;
d14a1e28
RD
31506 wxWindow *arg1 = (wxWindow *) 0 ;
31507 wxPoint *arg2 = 0 ;
31508 wxPoint result;
31509 wxPoint temp2 ;
31510 PyObject * obj0 = 0 ;
31511 PyObject * obj1 = 0 ;
31512 char *kwnames[] = {
31513 (char *) "self",(char *) "pt", NULL
31514 };
31515
31516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScreenToClient",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31518 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31519 {
31520 arg2 = &temp2;
31521 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31522 }
31523 {
31524 PyThreadState* __tstate = wxPyBeginAllowThreads();
31525 result = ((wxWindow const *)arg1)->ScreenToClient((wxPoint const &)*arg2);
31526
31527 wxPyEndAllowThreads(__tstate);
31528 if (PyErr_Occurred()) SWIG_fail;
31529 }
31530 {
31531 wxPoint * resultptr;
32fe5131 31532 resultptr = new wxPoint(static_cast<wxPoint & >(result));
15afbcd0 31533 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
31534 }
31535 return resultobj;
31536 fail:
31537 return NULL;
31538}
31539
31540
c32bde28 31541static PyObject *_wrap_Window_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31542 PyObject *resultobj = NULL;
d14a1e28 31543 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce
RD
31544 int arg2 ;
31545 int arg3 ;
093d3ff1 31546 wxHitTest result;
d14a1e28 31547 PyObject * obj0 = 0 ;
994141e6
RD
31548 PyObject * obj1 = 0 ;
31549 PyObject * obj2 = 0 ;
d14a1e28
RD
31550 char *kwnames[] = {
31551 (char *) "self",(char *) "x",(char *) "y", NULL
31552 };
31553
994141e6 31554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
31555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31556 if (SWIG_arg_fail(1)) SWIG_fail;
31557 {
32fe5131 31558 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
31559 if (SWIG_arg_fail(2)) SWIG_fail;
31560 }
31561 {
32fe5131 31562 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
31563 if (SWIG_arg_fail(3)) SWIG_fail;
31564 }
d14a1e28
RD
31565 {
31566 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 31567 result = (wxHitTest)((wxWindow const *)arg1)->HitTest(arg2,arg3);
d14a1e28
RD
31568
31569 wxPyEndAllowThreads(__tstate);
31570 if (PyErr_Occurred()) SWIG_fail;
31571 }
093d3ff1 31572 resultobj = SWIG_From_int((result));
d14a1e28
RD
31573 return resultobj;
31574 fail:
31575 return NULL;
31576}
31577
31578
c32bde28 31579static PyObject *_wrap_Window_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31580 PyObject *resultobj = NULL;
d14a1e28
RD
31581 wxWindow *arg1 = (wxWindow *) 0 ;
31582 wxPoint *arg2 = 0 ;
093d3ff1 31583 wxHitTest result;
d14a1e28
RD
31584 wxPoint temp2 ;
31585 PyObject * obj0 = 0 ;
31586 PyObject * obj1 = 0 ;
31587 char *kwnames[] = {
31588 (char *) "self",(char *) "pt", NULL
31589 };
31590
31591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31593 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31594 {
31595 arg2 = &temp2;
31596 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31597 }
31598 {
31599 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 31600 result = (wxHitTest)((wxWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
d14a1e28
RD
31601
31602 wxPyEndAllowThreads(__tstate);
31603 if (PyErr_Occurred()) SWIG_fail;
31604 }
093d3ff1 31605 resultobj = SWIG_From_int((result));
d14a1e28
RD
31606 return resultobj;
31607 fail:
31608 return NULL;
31609}
31610
31611
c32bde28 31612static PyObject *_wrap_Window_GetBorder__SWIG_0(PyObject *, PyObject *args) {
32fe5131 31613 PyObject *resultobj = NULL;
d14a1e28
RD
31614 wxWindow *arg1 = (wxWindow *) 0 ;
31615 long arg2 ;
093d3ff1 31616 wxBorder result;
d14a1e28 31617 PyObject * obj0 = 0 ;
994141e6 31618 PyObject * obj1 = 0 ;
d14a1e28 31619
15afbcd0 31620 if(!PyArg_ParseTuple(args,(char *)"OO:Window_GetBorder",&obj0,&obj1)) goto fail;
093d3ff1
RD
31621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31622 if (SWIG_arg_fail(1)) SWIG_fail;
31623 {
32fe5131 31624 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
31625 if (SWIG_arg_fail(2)) SWIG_fail;
31626 }
d14a1e28
RD
31627 {
31628 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 31629 result = (wxBorder)((wxWindow const *)arg1)->GetBorder(arg2);
d14a1e28
RD
31630
31631 wxPyEndAllowThreads(__tstate);
31632 if (PyErr_Occurred()) SWIG_fail;
31633 }
093d3ff1 31634 resultobj = SWIG_From_int((result));
d14a1e28
RD
31635 return resultobj;
31636 fail:
31637 return NULL;
31638}
31639
31640
c32bde28 31641static PyObject *_wrap_Window_GetBorder__SWIG_1(PyObject *, PyObject *args) {
32fe5131 31642 PyObject *resultobj = NULL;
d14a1e28 31643 wxWindow *arg1 = (wxWindow *) 0 ;
093d3ff1 31644 wxBorder result;
d14a1e28 31645 PyObject * obj0 = 0 ;
d14a1e28 31646
15afbcd0 31647 if(!PyArg_ParseTuple(args,(char *)"O:Window_GetBorder",&obj0)) goto fail;
093d3ff1
RD
31648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31649 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31650 {
31651 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 31652 result = (wxBorder)((wxWindow const *)arg1)->GetBorder();
d14a1e28
RD
31653
31654 wxPyEndAllowThreads(__tstate);
31655 if (PyErr_Occurred()) SWIG_fail;
31656 }
093d3ff1 31657 resultobj = SWIG_From_int((result));
d14a1e28
RD
31658 return resultobj;
31659 fail:
31660 return NULL;
31661}
31662
31663
15afbcd0
RD
31664static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args) {
31665 int argc;
31666 PyObject *argv[3];
31667 int ii;
31668
31669 argc = PyObject_Length(args);
31670 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
31671 argv[ii] = PyTuple_GetItem(args,ii);
31672 }
31673 if (argc == 1) {
31674 int _v;
31675 {
31676 void *ptr;
31677 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
31678 _v = 0;
31679 PyErr_Clear();
31680 } else {
31681 _v = 1;
31682 }
31683 }
31684 if (_v) {
31685 return _wrap_Window_GetBorder__SWIG_1(self,args);
31686 }
31687 }
31688 if (argc == 2) {
31689 int _v;
31690 {
31691 void *ptr;
31692 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
31693 _v = 0;
31694 PyErr_Clear();
31695 } else {
31696 _v = 1;
31697 }
31698 }
31699 if (_v) {
c32bde28 31700 _v = SWIG_Check_long(argv[1]);
15afbcd0
RD
31701 if (_v) {
31702 return _wrap_Window_GetBorder__SWIG_0(self,args);
31703 }
31704 }
31705 }
31706
093d3ff1 31707 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'Window_GetBorder'");
15afbcd0
RD
31708 return NULL;
31709}
31710
31711
c32bde28 31712static PyObject *_wrap_Window_UpdateWindowUI(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31713 PyObject *resultobj = NULL;
d14a1e28
RD
31714 wxWindow *arg1 = (wxWindow *) 0 ;
31715 long arg2 = (long) wxUPDATE_UI_NONE ;
31716 PyObject * obj0 = 0 ;
994141e6 31717 PyObject * obj1 = 0 ;
d14a1e28
RD
31718 char *kwnames[] = {
31719 (char *) "self",(char *) "flags", NULL
31720 };
31721
994141e6 31722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_UpdateWindowUI",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31724 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 31725 if (obj1) {
093d3ff1 31726 {
32fe5131 31727 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
31728 if (SWIG_arg_fail(2)) SWIG_fail;
31729 }
994141e6 31730 }
d14a1e28
RD
31731 {
31732 PyThreadState* __tstate = wxPyBeginAllowThreads();
31733 (arg1)->UpdateWindowUI(arg2);
31734
31735 wxPyEndAllowThreads(__tstate);
31736 if (PyErr_Occurred()) SWIG_fail;
31737 }
31738 Py_INCREF(Py_None); resultobj = Py_None;
31739 return resultobj;
31740 fail:
31741 return NULL;
31742}
31743
31744
c32bde28 31745static PyObject *_wrap_Window_PopupMenuXY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31746 PyObject *resultobj = NULL;
d14a1e28
RD
31747 wxWindow *arg1 = (wxWindow *) 0 ;
31748 wxMenu *arg2 = (wxMenu *) 0 ;
b0503257
RD
31749 int arg3 = (int) -1 ;
31750 int arg4 = (int) -1 ;
d14a1e28
RD
31751 bool result;
31752 PyObject * obj0 = 0 ;
31753 PyObject * obj1 = 0 ;
994141e6
RD
31754 PyObject * obj2 = 0 ;
31755 PyObject * obj3 = 0 ;
d14a1e28
RD
31756 char *kwnames[] = {
31757 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
31758 };
31759
b0503257 31760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Window_PopupMenuXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
31761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31762 if (SWIG_arg_fail(1)) SWIG_fail;
31763 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
31764 if (SWIG_arg_fail(2)) SWIG_fail;
b0503257 31765 if (obj2) {
093d3ff1 31766 {
32fe5131 31767 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
31768 if (SWIG_arg_fail(3)) SWIG_fail;
31769 }
b0503257
RD
31770 }
31771 if (obj3) {
093d3ff1 31772 {
32fe5131 31773 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
31774 if (SWIG_arg_fail(4)) SWIG_fail;
31775 }
b0503257 31776 }
d14a1e28
RD
31777 {
31778 PyThreadState* __tstate = wxPyBeginAllowThreads();
31779 result = (bool)(arg1)->PopupMenu(arg2,arg3,arg4);
31780
31781 wxPyEndAllowThreads(__tstate);
31782 if (PyErr_Occurred()) SWIG_fail;
31783 }
4f89f6a3
RD
31784 {
31785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31786 }
d14a1e28
RD
31787 return resultobj;
31788 fail:
31789 return NULL;
31790}
31791
31792
c32bde28 31793static PyObject *_wrap_Window_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31794 PyObject *resultobj = NULL;
d14a1e28
RD
31795 wxWindow *arg1 = (wxWindow *) 0 ;
31796 wxMenu *arg2 = (wxMenu *) 0 ;
b0503257
RD
31797 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31798 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
d14a1e28
RD
31799 bool result;
31800 wxPoint temp3 ;
31801 PyObject * obj0 = 0 ;
31802 PyObject * obj1 = 0 ;
31803 PyObject * obj2 = 0 ;
31804 char *kwnames[] = {
31805 (char *) "self",(char *) "menu",(char *) "pos", NULL
31806 };
31807
b0503257 31808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
31809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31810 if (SWIG_arg_fail(1)) SWIG_fail;
31811 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
31812 if (SWIG_arg_fail(2)) SWIG_fail;
b0503257
RD
31813 if (obj2) {
31814 {
31815 arg3 = &temp3;
31816 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31817 }
d14a1e28
RD
31818 }
31819 {
31820 PyThreadState* __tstate = wxPyBeginAllowThreads();
31821 result = (bool)(arg1)->PopupMenu(arg2,(wxPoint const &)*arg3);
31822
31823 wxPyEndAllowThreads(__tstate);
31824 if (PyErr_Occurred()) SWIG_fail;
31825 }
4f89f6a3
RD
31826 {
31827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31828 }
d14a1e28
RD
31829 return resultobj;
31830 fail:
31831 return NULL;
31832}
31833
31834
c32bde28 31835static PyObject *_wrap_Window_GetHandle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31836 PyObject *resultobj = NULL;
d14a1e28
RD
31837 wxWindow *arg1 = (wxWindow *) 0 ;
31838 long result;
31839 PyObject * obj0 = 0 ;
31840 char *kwnames[] = {
31841 (char *) "self", NULL
31842 };
31843
31844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHandle",kwnames,&obj0)) goto fail;
093d3ff1
RD
31845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31846 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
31847 {
31848 PyThreadState* __tstate = wxPyBeginAllowThreads();
31849 result = (long)wxWindow_GetHandle(arg1);
31850
31851 wxPyEndAllowThreads(__tstate);
31852 if (PyErr_Occurred()) SWIG_fail;
31853 }
093d3ff1 31854 {
32fe5131 31855 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 31856 }
d14a1e28
RD
31857 return resultobj;
31858 fail:
31859 return NULL;
31860}
31861
31862
7e63a440 31863static PyObject *_wrap_Window_AssociateHandle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31864 PyObject *resultobj = NULL;
7e63a440
RD
31865 wxWindow *arg1 = (wxWindow *) 0 ;
31866 long arg2 ;
31867 PyObject * obj0 = 0 ;
31868 PyObject * obj1 = 0 ;
31869 char *kwnames[] = {
31870 (char *) "self",(char *) "handle", NULL
31871 };
31872
31873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AssociateHandle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31875 if (SWIG_arg_fail(1)) SWIG_fail;
31876 {
32fe5131 31877 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
31878 if (SWIG_arg_fail(2)) SWIG_fail;
31879 }
7e63a440
RD
31880 {
31881 PyThreadState* __tstate = wxPyBeginAllowThreads();
31882 wxWindow_AssociateHandle(arg1,arg2);
31883
31884 wxPyEndAllowThreads(__tstate);
31885 if (PyErr_Occurred()) SWIG_fail;
31886 }
31887 Py_INCREF(Py_None); resultobj = Py_None;
31888 return resultobj;
31889 fail:
31890 return NULL;
31891}
31892
31893
31894static PyObject *_wrap_Window_DissociateHandle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31895 PyObject *resultobj = NULL;
7e63a440
RD
31896 wxWindow *arg1 = (wxWindow *) 0 ;
31897 PyObject * obj0 = 0 ;
31898 char *kwnames[] = {
31899 (char *) "self", NULL
31900 };
31901
31902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DissociateHandle",kwnames,&obj0)) goto fail;
093d3ff1
RD
31903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31904 if (SWIG_arg_fail(1)) SWIG_fail;
7e63a440
RD
31905 {
31906 PyThreadState* __tstate = wxPyBeginAllowThreads();
31907 (arg1)->DissociateHandle();
31908
31909 wxPyEndAllowThreads(__tstate);
31910 if (PyErr_Occurred()) SWIG_fail;
31911 }
31912 Py_INCREF(Py_None); resultobj = Py_None;
31913 return resultobj;
31914 fail:
31915 return NULL;
31916}
31917
31918
c32bde28 31919static PyObject *_wrap_Window_HasScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31920 PyObject *resultobj = NULL;
d14a1e28
RD
31921 wxWindow *arg1 = (wxWindow *) 0 ;
31922 int arg2 ;
31923 bool result;
31924 PyObject * obj0 = 0 ;
994141e6 31925 PyObject * obj1 = 0 ;
d14a1e28
RD
31926 char *kwnames[] = {
31927 (char *) "self",(char *) "orient", NULL
31928 };
31929
994141e6 31930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasScrollbar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31932 if (SWIG_arg_fail(1)) SWIG_fail;
31933 {
32fe5131 31934 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
31935 if (SWIG_arg_fail(2)) SWIG_fail;
31936 }
d14a1e28
RD
31937 {
31938 PyThreadState* __tstate = wxPyBeginAllowThreads();
31939 result = (bool)((wxWindow const *)arg1)->HasScrollbar(arg2);
31940
31941 wxPyEndAllowThreads(__tstate);
31942 if (PyErr_Occurred()) SWIG_fail;
31943 }
4f89f6a3
RD
31944 {
31945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31946 }
d14a1e28
RD
31947 return resultobj;
31948 fail:
31949 return NULL;
31950}
31951
31952
c32bde28 31953static PyObject *_wrap_Window_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31954 PyObject *resultobj = NULL;
d14a1e28
RD
31955 wxWindow *arg1 = (wxWindow *) 0 ;
31956 int arg2 ;
31957 int arg3 ;
31958 int arg4 ;
31959 int arg5 ;
ae8162c8 31960 bool arg6 = (bool) true ;
d14a1e28 31961 PyObject * obj0 = 0 ;
994141e6
RD
31962 PyObject * obj1 = 0 ;
31963 PyObject * obj2 = 0 ;
31964 PyObject * obj3 = 0 ;
31965 PyObject * obj4 = 0 ;
d14a1e28
RD
31966 PyObject * obj5 = 0 ;
31967 char *kwnames[] = {
41e2b43e 31968 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
d14a1e28
RD
31969 };
31970
994141e6 31971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
31972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31973 if (SWIG_arg_fail(1)) SWIG_fail;
31974 {
32fe5131 31975 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
31976 if (SWIG_arg_fail(2)) SWIG_fail;
31977 }
31978 {
32fe5131 31979 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
31980 if (SWIG_arg_fail(3)) SWIG_fail;
31981 }
31982 {
32fe5131 31983 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
31984 if (SWIG_arg_fail(4)) SWIG_fail;
31985 }
31986 {
32fe5131 31987 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
31988 if (SWIG_arg_fail(5)) SWIG_fail;
31989 }
d14a1e28 31990 if (obj5) {
093d3ff1 31991 {
32fe5131 31992 arg6 = static_cast<bool >(SWIG_As_bool(obj5));
093d3ff1
RD
31993 if (SWIG_arg_fail(6)) SWIG_fail;
31994 }
d14a1e28
RD
31995 }
31996 {
31997 PyThreadState* __tstate = wxPyBeginAllowThreads();
31998 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
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_SetScrollPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32011 PyObject *resultobj = NULL;
d14a1e28
RD
32012 wxWindow *arg1 = (wxWindow *) 0 ;
32013 int arg2 ;
32014 int arg3 ;
ae8162c8 32015 bool arg4 = (bool) true ;
d14a1e28 32016 PyObject * obj0 = 0 ;
994141e6
RD
32017 PyObject * obj1 = 0 ;
32018 PyObject * obj2 = 0 ;
d14a1e28
RD
32019 PyObject * obj3 = 0 ;
32020 char *kwnames[] = {
15afbcd0 32021 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
d14a1e28
RD
32022 };
32023
994141e6 32024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_SetScrollPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
32025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32026 if (SWIG_arg_fail(1)) SWIG_fail;
32027 {
32fe5131 32028 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
32029 if (SWIG_arg_fail(2)) SWIG_fail;
32030 }
32031 {
32fe5131 32032 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
32033 if (SWIG_arg_fail(3)) SWIG_fail;
32034 }
d14a1e28 32035 if (obj3) {
093d3ff1 32036 {
32fe5131 32037 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
093d3ff1
RD
32038 if (SWIG_arg_fail(4)) SWIG_fail;
32039 }
d14a1e28
RD
32040 }
32041 {
32042 PyThreadState* __tstate = wxPyBeginAllowThreads();
32043 (arg1)->SetScrollPos(arg2,arg3,arg4);
32044
32045 wxPyEndAllowThreads(__tstate);
32046 if (PyErr_Occurred()) SWIG_fail;
32047 }
32048 Py_INCREF(Py_None); resultobj = Py_None;
32049 return resultobj;
32050 fail:
32051 return NULL;
32052}
32053
32054
c32bde28 32055static PyObject *_wrap_Window_GetScrollPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32056 PyObject *resultobj = NULL;
d14a1e28
RD
32057 wxWindow *arg1 = (wxWindow *) 0 ;
32058 int arg2 ;
32059 int result;
32060 PyObject * obj0 = 0 ;
994141e6 32061 PyObject * obj1 = 0 ;
d14a1e28 32062 char *kwnames[] = {
15afbcd0 32063 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
32064 };
32065
994141e6 32066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32068 if (SWIG_arg_fail(1)) SWIG_fail;
32069 {
32fe5131 32070 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
32071 if (SWIG_arg_fail(2)) SWIG_fail;
32072 }
d14a1e28
RD
32073 {
32074 PyThreadState* __tstate = wxPyBeginAllowThreads();
32075 result = (int)((wxWindow const *)arg1)->GetScrollPos(arg2);
32076
32077 wxPyEndAllowThreads(__tstate);
32078 if (PyErr_Occurred()) SWIG_fail;
32079 }
093d3ff1 32080 {
32fe5131 32081 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 32082 }
d14a1e28
RD
32083 return resultobj;
32084 fail:
32085 return NULL;
32086}
32087
32088
c32bde28 32089static PyObject *_wrap_Window_GetScrollThumb(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32090 PyObject *resultobj = NULL;
d14a1e28
RD
32091 wxWindow *arg1 = (wxWindow *) 0 ;
32092 int arg2 ;
32093 int result;
32094 PyObject * obj0 = 0 ;
994141e6 32095 PyObject * obj1 = 0 ;
d14a1e28 32096 char *kwnames[] = {
15afbcd0 32097 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
32098 };
32099
994141e6 32100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollThumb",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32102 if (SWIG_arg_fail(1)) SWIG_fail;
32103 {
32fe5131 32104 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
32105 if (SWIG_arg_fail(2)) SWIG_fail;
32106 }
d14a1e28
RD
32107 {
32108 PyThreadState* __tstate = wxPyBeginAllowThreads();
32109 result = (int)((wxWindow const *)arg1)->GetScrollThumb(arg2);
32110
32111 wxPyEndAllowThreads(__tstate);
32112 if (PyErr_Occurred()) SWIG_fail;
32113 }
093d3ff1 32114 {
32fe5131 32115 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 32116 }
d14a1e28
RD
32117 return resultobj;
32118 fail:
32119 return NULL;
32120}
32121
32122
c32bde28 32123static PyObject *_wrap_Window_GetScrollRange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32124 PyObject *resultobj = NULL;
d14a1e28
RD
32125 wxWindow *arg1 = (wxWindow *) 0 ;
32126 int arg2 ;
32127 int result;
32128 PyObject * obj0 = 0 ;
994141e6 32129 PyObject * obj1 = 0 ;
d14a1e28 32130 char *kwnames[] = {
15afbcd0 32131 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
32132 };
32133
994141e6 32134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollRange",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32136 if (SWIG_arg_fail(1)) SWIG_fail;
32137 {
32fe5131 32138 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
32139 if (SWIG_arg_fail(2)) SWIG_fail;
32140 }
d14a1e28
RD
32141 {
32142 PyThreadState* __tstate = wxPyBeginAllowThreads();
32143 result = (int)((wxWindow const *)arg1)->GetScrollRange(arg2);
32144
32145 wxPyEndAllowThreads(__tstate);
32146 if (PyErr_Occurred()) SWIG_fail;
32147 }
093d3ff1 32148 {
32fe5131 32149 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 32150 }
d14a1e28
RD
32151 return resultobj;
32152 fail:
32153 return NULL;
32154}
32155
32156
c32bde28 32157static PyObject *_wrap_Window_ScrollWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32158 PyObject *resultobj = NULL;
d14a1e28
RD
32159 wxWindow *arg1 = (wxWindow *) 0 ;
32160 int arg2 ;
32161 int arg3 ;
32162 wxRect *arg4 = (wxRect *) NULL ;
32163 PyObject * obj0 = 0 ;
994141e6
RD
32164 PyObject * obj1 = 0 ;
32165 PyObject * obj2 = 0 ;
d14a1e28
RD
32166 PyObject * obj3 = 0 ;
32167 char *kwnames[] = {
32168 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
32169 };
32170
994141e6 32171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_ScrollWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
32172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32173 if (SWIG_arg_fail(1)) SWIG_fail;
32174 {
32fe5131 32175 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
32176 if (SWIG_arg_fail(2)) SWIG_fail;
32177 }
32178 {
32fe5131 32179 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
32180 if (SWIG_arg_fail(3)) SWIG_fail;
32181 }
d14a1e28 32182 if (obj3) {
093d3ff1
RD
32183 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
32184 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
32185 }
32186 {
32187 PyThreadState* __tstate = wxPyBeginAllowThreads();
32188 (arg1)->ScrollWindow(arg2,arg3,(wxRect const *)arg4);
32189
32190 wxPyEndAllowThreads(__tstate);
32191 if (PyErr_Occurred()) SWIG_fail;
32192 }
32193 Py_INCREF(Py_None); resultobj = Py_None;
32194 return resultobj;
32195 fail:
32196 return NULL;
32197}
32198
32199
c32bde28 32200static PyObject *_wrap_Window_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32201 PyObject *resultobj = NULL;
d14a1e28
RD
32202 wxWindow *arg1 = (wxWindow *) 0 ;
32203 int arg2 ;
32204 bool result;
32205 PyObject * obj0 = 0 ;
994141e6 32206 PyObject * obj1 = 0 ;
d14a1e28
RD
32207 char *kwnames[] = {
32208 (char *) "self",(char *) "lines", NULL
32209 };
32210
994141e6 32211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32213 if (SWIG_arg_fail(1)) SWIG_fail;
32214 {
32fe5131 32215 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
32216 if (SWIG_arg_fail(2)) SWIG_fail;
32217 }
d14a1e28
RD
32218 {
32219 PyThreadState* __tstate = wxPyBeginAllowThreads();
32220 result = (bool)(arg1)->ScrollLines(arg2);
32221
32222 wxPyEndAllowThreads(__tstate);
32223 if (PyErr_Occurred()) SWIG_fail;
32224 }
4f89f6a3
RD
32225 {
32226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32227 }
d14a1e28
RD
32228 return resultobj;
32229 fail:
32230 return NULL;
32231}
32232
32233
c32bde28 32234static PyObject *_wrap_Window_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32235 PyObject *resultobj = NULL;
d14a1e28
RD
32236 wxWindow *arg1 = (wxWindow *) 0 ;
32237 int arg2 ;
32238 bool result;
32239 PyObject * obj0 = 0 ;
994141e6 32240 PyObject * obj1 = 0 ;
d14a1e28
RD
32241 char *kwnames[] = {
32242 (char *) "self",(char *) "pages", NULL
32243 };
32244
994141e6 32245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32247 if (SWIG_arg_fail(1)) SWIG_fail;
32248 {
32fe5131 32249 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
32250 if (SWIG_arg_fail(2)) SWIG_fail;
32251 }
d14a1e28
RD
32252 {
32253 PyThreadState* __tstate = wxPyBeginAllowThreads();
32254 result = (bool)(arg1)->ScrollPages(arg2);
32255
32256 wxPyEndAllowThreads(__tstate);
32257 if (PyErr_Occurred()) SWIG_fail;
32258 }
4f89f6a3
RD
32259 {
32260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32261 }
d14a1e28
RD
32262 return resultobj;
32263 fail:
32264 return NULL;
32265}
32266
32267
c32bde28 32268static PyObject *_wrap_Window_LineUp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32269 PyObject *resultobj = NULL;
d14a1e28
RD
32270 wxWindow *arg1 = (wxWindow *) 0 ;
32271 bool result;
32272 PyObject * obj0 = 0 ;
32273 char *kwnames[] = {
32274 (char *) "self", NULL
32275 };
32276
32277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineUp",kwnames,&obj0)) goto fail;
093d3ff1
RD
32278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32279 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32280 {
32281 PyThreadState* __tstate = wxPyBeginAllowThreads();
32282 result = (bool)(arg1)->LineUp();
32283
32284 wxPyEndAllowThreads(__tstate);
32285 if (PyErr_Occurred()) SWIG_fail;
32286 }
4f89f6a3
RD
32287 {
32288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32289 }
d14a1e28
RD
32290 return resultobj;
32291 fail:
32292 return NULL;
32293}
32294
32295
c32bde28 32296static PyObject *_wrap_Window_LineDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32297 PyObject *resultobj = NULL;
d14a1e28
RD
32298 wxWindow *arg1 = (wxWindow *) 0 ;
32299 bool result;
32300 PyObject * obj0 = 0 ;
32301 char *kwnames[] = {
32302 (char *) "self", NULL
32303 };
32304
32305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
32306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32307 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32308 {
32309 PyThreadState* __tstate = wxPyBeginAllowThreads();
32310 result = (bool)(arg1)->LineDown();
32311
32312 wxPyEndAllowThreads(__tstate);
32313 if (PyErr_Occurred()) SWIG_fail;
32314 }
4f89f6a3
RD
32315 {
32316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32317 }
d14a1e28
RD
32318 return resultobj;
32319 fail:
32320 return NULL;
32321}
32322
32323
c32bde28 32324static PyObject *_wrap_Window_PageUp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32325 PyObject *resultobj = NULL;
d14a1e28
RD
32326 wxWindow *arg1 = (wxWindow *) 0 ;
32327 bool result;
32328 PyObject * obj0 = 0 ;
32329 char *kwnames[] = {
32330 (char *) "self", NULL
32331 };
32332
32333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageUp",kwnames,&obj0)) goto fail;
093d3ff1
RD
32334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32335 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32336 {
32337 PyThreadState* __tstate = wxPyBeginAllowThreads();
32338 result = (bool)(arg1)->PageUp();
32339
32340 wxPyEndAllowThreads(__tstate);
32341 if (PyErr_Occurred()) SWIG_fail;
32342 }
4f89f6a3
RD
32343 {
32344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32345 }
d14a1e28
RD
32346 return resultobj;
32347 fail:
32348 return NULL;
32349}
32350
32351
c32bde28 32352static PyObject *_wrap_Window_PageDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32353 PyObject *resultobj = NULL;
d14a1e28
RD
32354 wxWindow *arg1 = (wxWindow *) 0 ;
32355 bool result;
32356 PyObject * obj0 = 0 ;
32357 char *kwnames[] = {
32358 (char *) "self", NULL
32359 };
32360
32361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageDown",kwnames,&obj0)) goto fail;
093d3ff1
RD
32362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32363 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32364 {
32365 PyThreadState* __tstate = wxPyBeginAllowThreads();
32366 result = (bool)(arg1)->PageDown();
32367
32368 wxPyEndAllowThreads(__tstate);
32369 if (PyErr_Occurred()) SWIG_fail;
32370 }
4f89f6a3
RD
32371 {
32372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32373 }
d14a1e28
RD
32374 return resultobj;
32375 fail:
32376 return NULL;
32377}
32378
32379
c32bde28 32380static PyObject *_wrap_Window_SetHelpText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32381 PyObject *resultobj = NULL;
d14a1e28
RD
32382 wxWindow *arg1 = (wxWindow *) 0 ;
32383 wxString *arg2 = 0 ;
ae8162c8 32384 bool temp2 = false ;
d14a1e28
RD
32385 PyObject * obj0 = 0 ;
32386 PyObject * obj1 = 0 ;
32387 char *kwnames[] = {
32388 (char *) "self",(char *) "text", NULL
32389 };
32390
32391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32393 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32394 {
32395 arg2 = wxString_in_helper(obj1);
32396 if (arg2 == NULL) SWIG_fail;
ae8162c8 32397 temp2 = true;
d14a1e28
RD
32398 }
32399 {
32400 PyThreadState* __tstate = wxPyBeginAllowThreads();
32401 (arg1)->SetHelpText((wxString const &)*arg2);
32402
32403 wxPyEndAllowThreads(__tstate);
32404 if (PyErr_Occurred()) SWIG_fail;
32405 }
32406 Py_INCREF(Py_None); resultobj = Py_None;
32407 {
32408 if (temp2)
32409 delete arg2;
32410 }
32411 return resultobj;
32412 fail:
32413 {
32414 if (temp2)
32415 delete arg2;
32416 }
32417 return NULL;
32418}
32419
32420
c32bde28 32421static PyObject *_wrap_Window_SetHelpTextForId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32422 PyObject *resultobj = NULL;
d14a1e28
RD
32423 wxWindow *arg1 = (wxWindow *) 0 ;
32424 wxString *arg2 = 0 ;
ae8162c8 32425 bool temp2 = false ;
d14a1e28
RD
32426 PyObject * obj0 = 0 ;
32427 PyObject * obj1 = 0 ;
32428 char *kwnames[] = {
32429 (char *) "self",(char *) "text", NULL
32430 };
32431
32432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32434 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32435 {
32436 arg2 = wxString_in_helper(obj1);
32437 if (arg2 == NULL) SWIG_fail;
ae8162c8 32438 temp2 = true;
d14a1e28
RD
32439 }
32440 {
32441 PyThreadState* __tstate = wxPyBeginAllowThreads();
32442 (arg1)->SetHelpTextForId((wxString const &)*arg2);
32443
32444 wxPyEndAllowThreads(__tstate);
32445 if (PyErr_Occurred()) SWIG_fail;
32446 }
32447 Py_INCREF(Py_None); resultobj = Py_None;
32448 {
32449 if (temp2)
32450 delete arg2;
32451 }
32452 return resultobj;
32453 fail:
32454 {
32455 if (temp2)
32456 delete arg2;
32457 }
32458 return NULL;
32459}
32460
32461
c32bde28 32462static PyObject *_wrap_Window_GetHelpText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32463 PyObject *resultobj = NULL;
d14a1e28
RD
32464 wxWindow *arg1 = (wxWindow *) 0 ;
32465 wxString result;
32466 PyObject * obj0 = 0 ;
32467 char *kwnames[] = {
32468 (char *) "self", NULL
32469 };
32470
32471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHelpText",kwnames,&obj0)) goto fail;
093d3ff1
RD
32472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32473 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32474 {
32475 PyThreadState* __tstate = wxPyBeginAllowThreads();
32476 result = ((wxWindow const *)arg1)->GetHelpText();
32477
32478 wxPyEndAllowThreads(__tstate);
32479 if (PyErr_Occurred()) SWIG_fail;
32480 }
32481 {
32482#if wxUSE_UNICODE
32483 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32484#else
32485 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32486#endif
32487 }
32488 return resultobj;
32489 fail:
32490 return NULL;
32491}
32492
32493
c32bde28 32494static PyObject *_wrap_Window_SetToolTipString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32495 PyObject *resultobj = NULL;
d14a1e28
RD
32496 wxWindow *arg1 = (wxWindow *) 0 ;
32497 wxString *arg2 = 0 ;
ae8162c8 32498 bool temp2 = false ;
d14a1e28
RD
32499 PyObject * obj0 = 0 ;
32500 PyObject * obj1 = 0 ;
32501 char *kwnames[] = {
32502 (char *) "self",(char *) "tip", NULL
32503 };
32504
32505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTipString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32507 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32508 {
32509 arg2 = wxString_in_helper(obj1);
32510 if (arg2 == NULL) SWIG_fail;
ae8162c8 32511 temp2 = true;
d14a1e28
RD
32512 }
32513 {
32514 PyThreadState* __tstate = wxPyBeginAllowThreads();
32515 (arg1)->SetToolTip((wxString const &)*arg2);
32516
32517 wxPyEndAllowThreads(__tstate);
32518 if (PyErr_Occurred()) SWIG_fail;
32519 }
32520 Py_INCREF(Py_None); resultobj = Py_None;
32521 {
32522 if (temp2)
32523 delete arg2;
32524 }
32525 return resultobj;
32526 fail:
32527 {
32528 if (temp2)
32529 delete arg2;
32530 }
32531 return NULL;
32532}
32533
32534
c32bde28 32535static PyObject *_wrap_Window_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32536 PyObject *resultobj = NULL;
d14a1e28
RD
32537 wxWindow *arg1 = (wxWindow *) 0 ;
32538 wxToolTip *arg2 = (wxToolTip *) 0 ;
32539 PyObject * obj0 = 0 ;
32540 PyObject * obj1 = 0 ;
32541 char *kwnames[] = {
32542 (char *) "self",(char *) "tip", NULL
32543 };
32544
32545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32547 if (SWIG_arg_fail(1)) SWIG_fail;
7e08d4ef 32548 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 32549 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
32550 {
32551 PyThreadState* __tstate = wxPyBeginAllowThreads();
32552 (arg1)->SetToolTip(arg2);
32553
32554 wxPyEndAllowThreads(__tstate);
32555 if (PyErr_Occurred()) SWIG_fail;
32556 }
32557 Py_INCREF(Py_None); resultobj = Py_None;
32558 return resultobj;
32559 fail:
32560 return NULL;
32561}
32562
32563
c32bde28 32564static PyObject *_wrap_Window_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32565 PyObject *resultobj = NULL;
d14a1e28
RD
32566 wxWindow *arg1 = (wxWindow *) 0 ;
32567 wxToolTip *result;
32568 PyObject * obj0 = 0 ;
32569 char *kwnames[] = {
32570 (char *) "self", NULL
32571 };
32572
32573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetToolTip",kwnames,&obj0)) goto fail;
093d3ff1
RD
32574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32575 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32576 {
32577 PyThreadState* __tstate = wxPyBeginAllowThreads();
32578 result = (wxToolTip *)((wxWindow const *)arg1)->GetToolTip();
32579
32580 wxPyEndAllowThreads(__tstate);
32581 if (PyErr_Occurred()) SWIG_fail;
32582 }
32583 {
7e08d4ef 32584 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
32585 }
32586 return resultobj;
32587 fail:
32588 return NULL;
32589}
32590
32591
c32bde28 32592static PyObject *_wrap_Window_SetDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32593 PyObject *resultobj = NULL;
d14a1e28 32594 wxWindow *arg1 = (wxWindow *) 0 ;
7722248d 32595 wxPyDropTarget *arg2 = (wxPyDropTarget *) 0 ;
d14a1e28
RD
32596 PyObject * obj0 = 0 ;
32597 PyObject * obj1 = 0 ;
32598 char *kwnames[] = {
32599 (char *) "self",(char *) "dropTarget", NULL
32600 };
32601
32602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDropTarget",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32604 if (SWIG_arg_fail(1)) SWIG_fail;
32605 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
32606 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
32607 {
32608 PyThreadState* __tstate = wxPyBeginAllowThreads();
32609 (arg1)->SetDropTarget(arg2);
32610
32611 wxPyEndAllowThreads(__tstate);
32612 if (PyErr_Occurred()) SWIG_fail;
32613 }
32614 Py_INCREF(Py_None); resultobj = Py_None;
32615 return resultobj;
32616 fail:
32617 return NULL;
32618}
32619
32620
c32bde28 32621static PyObject *_wrap_Window_GetDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32622 PyObject *resultobj = NULL;
d14a1e28 32623 wxWindow *arg1 = (wxWindow *) 0 ;
7722248d 32624 wxPyDropTarget *result;
d14a1e28
RD
32625 PyObject * obj0 = 0 ;
32626 char *kwnames[] = {
32627 (char *) "self", NULL
32628 };
32629
32630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDropTarget",kwnames,&obj0)) goto fail;
093d3ff1
RD
32631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32632 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32633 {
32634 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722248d 32635 result = (wxPyDropTarget *)((wxWindow const *)arg1)->GetDropTarget();
d14a1e28
RD
32636
32637 wxPyEndAllowThreads(__tstate);
32638 if (PyErr_Occurred()) SWIG_fail;
32639 }
15afbcd0 32640 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 0);
d14a1e28
RD
32641 return resultobj;
32642 fail:
32643 return NULL;
32644}
32645
32646
5ba5649b 32647static PyObject *_wrap_Window_DragAcceptFiles(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32648 PyObject *resultobj = NULL;
5ba5649b
RD
32649 wxWindow *arg1 = (wxWindow *) 0 ;
32650 bool arg2 ;
32651 PyObject * obj0 = 0 ;
32652 PyObject * obj1 = 0 ;
32653 char *kwnames[] = {
32654 (char *) "self",(char *) "accept", NULL
32655 };
32656
32657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DragAcceptFiles",kwnames,&obj0,&obj1)) goto fail;
32658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32659 if (SWIG_arg_fail(1)) SWIG_fail;
32660 {
32fe5131 32661 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
5ba5649b
RD
32662 if (SWIG_arg_fail(2)) SWIG_fail;
32663 }
32664 {
32665 PyThreadState* __tstate = wxPyBeginAllowThreads();
32666 wxWindow_DragAcceptFiles(arg1,arg2);
32667
32668 wxPyEndAllowThreads(__tstate);
32669 if (PyErr_Occurred()) SWIG_fail;
32670 }
32671 Py_INCREF(Py_None); resultobj = Py_None;
32672 return resultobj;
32673 fail:
32674 return NULL;
32675}
32676
32677
c32bde28 32678static PyObject *_wrap_Window_SetConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32679 PyObject *resultobj = NULL;
d14a1e28
RD
32680 wxWindow *arg1 = (wxWindow *) 0 ;
32681 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
32682 PyObject * obj0 = 0 ;
32683 PyObject * obj1 = 0 ;
32684 char *kwnames[] = {
32685 (char *) "self",(char *) "constraints", NULL
32686 };
32687
32688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetConstraints",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32690 if (SWIG_arg_fail(1)) SWIG_fail;
32691 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
32692 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
32693 {
32694 PyThreadState* __tstate = wxPyBeginAllowThreads();
32695 (arg1)->SetConstraints(arg2);
32696
32697 wxPyEndAllowThreads(__tstate);
32698 if (PyErr_Occurred()) SWIG_fail;
32699 }
32700 Py_INCREF(Py_None); resultobj = Py_None;
32701 return resultobj;
32702 fail:
32703 return NULL;
32704}
32705
32706
c32bde28 32707static PyObject *_wrap_Window_GetConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32708 PyObject *resultobj = NULL;
d14a1e28
RD
32709 wxWindow *arg1 = (wxWindow *) 0 ;
32710 wxLayoutConstraints *result;
32711 PyObject * obj0 = 0 ;
32712 char *kwnames[] = {
32713 (char *) "self", NULL
32714 };
32715
32716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetConstraints",kwnames,&obj0)) goto fail;
093d3ff1
RD
32717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32718 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32719 {
32720 PyThreadState* __tstate = wxPyBeginAllowThreads();
32721 result = (wxLayoutConstraints *)((wxWindow const *)arg1)->GetConstraints();
32722
32723 wxPyEndAllowThreads(__tstate);
32724 if (PyErr_Occurred()) SWIG_fail;
32725 }
15afbcd0 32726 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 0);
d14a1e28
RD
32727 return resultobj;
32728 fail:
32729 return NULL;
32730}
32731
32732
c32bde28 32733static PyObject *_wrap_Window_SetAutoLayout(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32734 PyObject *resultobj = NULL;
d14a1e28
RD
32735 wxWindow *arg1 = (wxWindow *) 0 ;
32736 bool arg2 ;
32737 PyObject * obj0 = 0 ;
32738 PyObject * obj1 = 0 ;
32739 char *kwnames[] = {
32740 (char *) "self",(char *) "autoLayout", NULL
32741 };
32742
32743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32745 if (SWIG_arg_fail(1)) SWIG_fail;
32746 {
32fe5131 32747 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
32748 if (SWIG_arg_fail(2)) SWIG_fail;
32749 }
d14a1e28
RD
32750 {
32751 PyThreadState* __tstate = wxPyBeginAllowThreads();
32752 (arg1)->SetAutoLayout(arg2);
32753
32754 wxPyEndAllowThreads(__tstate);
32755 if (PyErr_Occurred()) SWIG_fail;
32756 }
32757 Py_INCREF(Py_None); resultobj = Py_None;
32758 return resultobj;
32759 fail:
32760 return NULL;
32761}
32762
32763
c32bde28 32764static PyObject *_wrap_Window_GetAutoLayout(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32765 PyObject *resultobj = NULL;
d14a1e28
RD
32766 wxWindow *arg1 = (wxWindow *) 0 ;
32767 bool result;
32768 PyObject * obj0 = 0 ;
32769 char *kwnames[] = {
32770 (char *) "self", NULL
32771 };
32772
32773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAutoLayout",kwnames,&obj0)) goto fail;
093d3ff1
RD
32774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32775 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32776 {
32777 PyThreadState* __tstate = wxPyBeginAllowThreads();
32778 result = (bool)((wxWindow const *)arg1)->GetAutoLayout();
32779
32780 wxPyEndAllowThreads(__tstate);
32781 if (PyErr_Occurred()) SWIG_fail;
32782 }
4f89f6a3
RD
32783 {
32784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32785 }
d14a1e28
RD
32786 return resultobj;
32787 fail:
32788 return NULL;
32789}
32790
32791
c32bde28 32792static PyObject *_wrap_Window_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32793 PyObject *resultobj = NULL;
d14a1e28
RD
32794 wxWindow *arg1 = (wxWindow *) 0 ;
32795 bool result;
32796 PyObject * obj0 = 0 ;
32797 char *kwnames[] = {
32798 (char *) "self", NULL
32799 };
32800
32801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Layout",kwnames,&obj0)) goto fail;
093d3ff1
RD
32802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32803 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32804 {
32805 PyThreadState* __tstate = wxPyBeginAllowThreads();
32806 result = (bool)(arg1)->Layout();
32807
32808 wxPyEndAllowThreads(__tstate);
32809 if (PyErr_Occurred()) SWIG_fail;
32810 }
4f89f6a3
RD
32811 {
32812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32813 }
d14a1e28
RD
32814 return resultobj;
32815 fail:
32816 return NULL;
32817}
32818
32819
c32bde28 32820static PyObject *_wrap_Window_SetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32821 PyObject *resultobj = NULL;
d14a1e28
RD
32822 wxWindow *arg1 = (wxWindow *) 0 ;
32823 wxSizer *arg2 = (wxSizer *) 0 ;
ae8162c8 32824 bool arg3 = (bool) true ;
d14a1e28
RD
32825 PyObject * obj0 = 0 ;
32826 PyObject * obj1 = 0 ;
32827 PyObject * obj2 = 0 ;
32828 char *kwnames[] = {
32829 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
32830 };
32831
32832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32834 if (SWIG_arg_fail(1)) SWIG_fail;
7e08d4ef 32835 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 32836 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 32837 if (obj2) {
093d3ff1 32838 {
32fe5131 32839 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
32840 if (SWIG_arg_fail(3)) SWIG_fail;
32841 }
d14a1e28
RD
32842 }
32843 {
32844 PyThreadState* __tstate = wxPyBeginAllowThreads();
32845 (arg1)->SetSizer(arg2,arg3);
32846
32847 wxPyEndAllowThreads(__tstate);
32848 if (PyErr_Occurred()) SWIG_fail;
32849 }
32850 Py_INCREF(Py_None); resultobj = Py_None;
32851 return resultobj;
32852 fail:
32853 return NULL;
32854}
32855
32856
c32bde28 32857static PyObject *_wrap_Window_SetSizerAndFit(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32858 PyObject *resultobj = NULL;
d14a1e28
RD
32859 wxWindow *arg1 = (wxWindow *) 0 ;
32860 wxSizer *arg2 = (wxSizer *) 0 ;
ae8162c8 32861 bool arg3 = (bool) true ;
d14a1e28
RD
32862 PyObject * obj0 = 0 ;
32863 PyObject * obj1 = 0 ;
32864 PyObject * obj2 = 0 ;
32865 char *kwnames[] = {
32866 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
32867 };
32868
32869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
32870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32871 if (SWIG_arg_fail(1)) SWIG_fail;
7e08d4ef 32872 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 32873 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 32874 if (obj2) {
093d3ff1 32875 {
32fe5131 32876 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
32877 if (SWIG_arg_fail(3)) SWIG_fail;
32878 }
d14a1e28
RD
32879 }
32880 {
32881 PyThreadState* __tstate = wxPyBeginAllowThreads();
32882 (arg1)->SetSizerAndFit(arg2,arg3);
32883
32884 wxPyEndAllowThreads(__tstate);
32885 if (PyErr_Occurred()) SWIG_fail;
32886 }
32887 Py_INCREF(Py_None); resultobj = Py_None;
32888 return resultobj;
32889 fail:
32890 return NULL;
32891}
32892
32893
c32bde28 32894static PyObject *_wrap_Window_GetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32895 PyObject *resultobj = NULL;
d14a1e28
RD
32896 wxWindow *arg1 = (wxWindow *) 0 ;
32897 wxSizer *result;
32898 PyObject * obj0 = 0 ;
32899 char *kwnames[] = {
32900 (char *) "self", NULL
32901 };
32902
32903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizer",kwnames,&obj0)) goto fail;
093d3ff1
RD
32904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32905 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32906 {
32907 PyThreadState* __tstate = wxPyBeginAllowThreads();
32908 result = (wxSizer *)((wxWindow const *)arg1)->GetSizer();
32909
32910 wxPyEndAllowThreads(__tstate);
32911 if (PyErr_Occurred()) SWIG_fail;
32912 }
32913 {
7e08d4ef 32914 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
32915 }
32916 return resultobj;
32917 fail:
32918 return NULL;
32919}
32920
32921
c32bde28 32922static PyObject *_wrap_Window_SetContainingSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32923 PyObject *resultobj = NULL;
d14a1e28
RD
32924 wxWindow *arg1 = (wxWindow *) 0 ;
32925 wxSizer *arg2 = (wxSizer *) 0 ;
32926 PyObject * obj0 = 0 ;
32927 PyObject * obj1 = 0 ;
32928 char *kwnames[] = {
32929 (char *) "self",(char *) "sizer", NULL
32930 };
32931
32932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32934 if (SWIG_arg_fail(1)) SWIG_fail;
32935 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
32936 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
32937 {
32938 PyThreadState* __tstate = wxPyBeginAllowThreads();
32939 (arg1)->SetContainingSizer(arg2);
32940
32941 wxPyEndAllowThreads(__tstate);
32942 if (PyErr_Occurred()) SWIG_fail;
32943 }
32944 Py_INCREF(Py_None); resultobj = Py_None;
32945 return resultobj;
32946 fail:
32947 return NULL;
32948}
32949
32950
c32bde28 32951static PyObject *_wrap_Window_GetContainingSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32952 PyObject *resultobj = NULL;
d14a1e28
RD
32953 wxWindow *arg1 = (wxWindow *) 0 ;
32954 wxSizer *result;
32955 PyObject * obj0 = 0 ;
32956 char *kwnames[] = {
32957 (char *) "self", NULL
32958 };
32959
32960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetContainingSizer",kwnames,&obj0)) goto fail;
093d3ff1
RD
32961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32962 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
32963 {
32964 PyThreadState* __tstate = wxPyBeginAllowThreads();
32965 result = (wxSizer *)((wxWindow const *)arg1)->GetContainingSizer();
32966
32967 wxPyEndAllowThreads(__tstate);
32968 if (PyErr_Occurred()) SWIG_fail;
32969 }
32970 {
7e08d4ef 32971 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
32972 }
32973 return resultobj;
32974 fail:
32975 return NULL;
32976}
32977
32978
c32bde28 32979static PyObject *_wrap_Window_InheritAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32980 PyObject *resultobj = NULL;
a95a7133
RD
32981 wxWindow *arg1 = (wxWindow *) 0 ;
32982 PyObject * obj0 = 0 ;
32983 char *kwnames[] = {
32984 (char *) "self", NULL
32985 };
32986
32987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InheritAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
32988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32989 if (SWIG_arg_fail(1)) SWIG_fail;
a95a7133
RD
32990 {
32991 PyThreadState* __tstate = wxPyBeginAllowThreads();
32992 (arg1)->InheritAttributes();
32993
32994 wxPyEndAllowThreads(__tstate);
32995 if (PyErr_Occurred()) SWIG_fail;
32996 }
32997 Py_INCREF(Py_None); resultobj = Py_None;
32998 return resultobj;
32999 fail:
33000 return NULL;
33001}
33002
33003
c32bde28 33004static PyObject *_wrap_Window_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33005 PyObject *resultobj = NULL;
a95a7133
RD
33006 wxWindow *arg1 = (wxWindow *) 0 ;
33007 bool result;
33008 PyObject * obj0 = 0 ;
33009 char *kwnames[] = {
33010 (char *) "self", NULL
33011 };
33012
33013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
33014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33015 if (SWIG_arg_fail(1)) SWIG_fail;
a95a7133
RD
33016 {
33017 PyThreadState* __tstate = wxPyBeginAllowThreads();
33018 result = (bool)((wxWindow const *)arg1)->ShouldInheritColours();
33019
33020 wxPyEndAllowThreads(__tstate);
33021 if (PyErr_Occurred()) SWIG_fail;
33022 }
33023 {
33024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33025 }
33026 return resultobj;
33027 fail:
33028 return NULL;
33029}
33030
33031
c32bde28 33032static PyObject * Window_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
33033 PyObject *obj;
33034 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33035 SWIG_TypeClientData(SWIGTYPE_p_wxWindow, obj);
33036 Py_INCREF(obj);
33037 return Py_BuildValue((char *)"");
33038}
c32bde28 33039static PyObject *_wrap_FindWindowById(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33040 PyObject *resultobj = NULL;
d14a1e28
RD
33041 long arg1 ;
33042 wxWindow *arg2 = (wxWindow *) NULL ;
33043 wxWindow *result;
994141e6 33044 PyObject * obj0 = 0 ;
d14a1e28
RD
33045 PyObject * obj1 = 0 ;
33046 char *kwnames[] = {
33047 (char *) "id",(char *) "parent", NULL
33048 };
33049
994141e6 33050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowById",kwnames,&obj0,&obj1)) goto fail;
093d3ff1 33051 {
32fe5131 33052 arg1 = static_cast<long >(SWIG_As_long(obj0));
093d3ff1
RD
33053 if (SWIG_arg_fail(1)) SWIG_fail;
33054 }
d14a1e28 33055 if (obj1) {
093d3ff1
RD
33056 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33057 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
33058 }
33059 {
e3b71cb8 33060 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
33061 PyThreadState* __tstate = wxPyBeginAllowThreads();
33062 result = (wxWindow *)wxFindWindowById(arg1,(wxWindow const *)arg2);
33063
33064 wxPyEndAllowThreads(__tstate);
110da5b0 33065 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33066 }
33067 {
412d302d 33068 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
33069 }
33070 return resultobj;
33071 fail:
33072 return NULL;
33073}
33074
33075
c32bde28 33076static PyObject *_wrap_FindWindowByName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33077 PyObject *resultobj = NULL;
d14a1e28
RD
33078 wxString *arg1 = 0 ;
33079 wxWindow *arg2 = (wxWindow *) NULL ;
33080 wxWindow *result;
ae8162c8 33081 bool temp1 = false ;
d14a1e28
RD
33082 PyObject * obj0 = 0 ;
33083 PyObject * obj1 = 0 ;
33084 char *kwnames[] = {
33085 (char *) "name",(char *) "parent", NULL
33086 };
33087
33088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
33089 {
33090 arg1 = wxString_in_helper(obj0);
33091 if (arg1 == NULL) SWIG_fail;
ae8162c8 33092 temp1 = true;
d14a1e28
RD
33093 }
33094 if (obj1) {
093d3ff1
RD
33095 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33096 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
33097 }
33098 {
e3b71cb8 33099 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
33100 PyThreadState* __tstate = wxPyBeginAllowThreads();
33101 result = (wxWindow *)wxFindWindowByName((wxString const &)*arg1,(wxWindow const *)arg2);
33102
33103 wxPyEndAllowThreads(__tstate);
110da5b0 33104 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33105 }
33106 {
412d302d 33107 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
33108 }
33109 {
33110 if (temp1)
33111 delete arg1;
33112 }
33113 return resultobj;
33114 fail:
33115 {
33116 if (temp1)
33117 delete arg1;
33118 }
33119 return NULL;
33120}
33121
33122
c32bde28 33123static PyObject *_wrap_FindWindowByLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33124 PyObject *resultobj = NULL;
d14a1e28
RD
33125 wxString *arg1 = 0 ;
33126 wxWindow *arg2 = (wxWindow *) NULL ;
33127 wxWindow *result;
ae8162c8 33128 bool temp1 = false ;
d14a1e28
RD
33129 PyObject * obj0 = 0 ;
33130 PyObject * obj1 = 0 ;
33131 char *kwnames[] = {
33132 (char *) "label",(char *) "parent", NULL
33133 };
33134
33135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByLabel",kwnames,&obj0,&obj1)) goto fail;
33136 {
33137 arg1 = wxString_in_helper(obj0);
33138 if (arg1 == NULL) SWIG_fail;
ae8162c8 33139 temp1 = true;
d14a1e28
RD
33140 }
33141 if (obj1) {
093d3ff1
RD
33142 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33143 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
33144 }
33145 {
e3b71cb8 33146 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
33147 PyThreadState* __tstate = wxPyBeginAllowThreads();
33148 result = (wxWindow *)wxFindWindowByLabel((wxString const &)*arg1,(wxWindow const *)arg2);
33149
33150 wxPyEndAllowThreads(__tstate);
110da5b0 33151 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33152 }
33153 {
412d302d 33154 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
33155 }
33156 {
33157 if (temp1)
33158 delete arg1;
33159 }
33160 return resultobj;
33161 fail:
33162 {
33163 if (temp1)
33164 delete arg1;
33165 }
33166 return NULL;
33167}
33168
33169
c32bde28 33170static PyObject *_wrap_Window_FromHWND(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33171 PyObject *resultobj = NULL;
4276dc52
RD
33172 wxWindow *arg1 = (wxWindow *) 0 ;
33173 unsigned long arg2 ;
d14a1e28
RD
33174 wxWindow *result;
33175 PyObject * obj0 = 0 ;
4276dc52 33176 PyObject * obj1 = 0 ;
d14a1e28 33177 char *kwnames[] = {
4276dc52 33178 (char *) "parent",(char *) "_hWnd", NULL
d14a1e28
RD
33179 };
33180
4276dc52 33181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FromHWND",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33183 if (SWIG_arg_fail(1)) SWIG_fail;
33184 {
32fe5131 33185 arg2 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
33186 if (SWIG_arg_fail(2)) SWIG_fail;
33187 }
d14a1e28
RD
33188 {
33189 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 33190 result = (wxWindow *)wxWindow_FromHWND(arg1,arg2);
d14a1e28
RD
33191
33192 wxPyEndAllowThreads(__tstate);
33193 if (PyErr_Occurred()) SWIG_fail;
33194 }
33195 {
412d302d 33196 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
33197 }
33198 return resultobj;
33199 fail:
33200 return NULL;
33201}
33202
33203
b6b0383e 33204static PyObject *_wrap_GetTopLevelWindows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33205 PyObject *resultobj = NULL;
b6b0383e
RD
33206 PyObject *result;
33207 char *kwnames[] = {
33208 NULL
33209 };
33210
33211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetTopLevelWindows",kwnames)) goto fail;
33212 {
33213 PyThreadState* __tstate = wxPyBeginAllowThreads();
33214 result = (PyObject *)GetTopLevelWindows();
33215
33216 wxPyEndAllowThreads(__tstate);
33217 if (PyErr_Occurred()) SWIG_fail;
33218 }
33219 resultobj = result;
33220 return resultobj;
33221 fail:
33222 return NULL;
33223}
33224
33225
c32bde28 33226static PyObject *_wrap_new_Validator(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33227 PyObject *resultobj = NULL;
d14a1e28
RD
33228 wxValidator *result;
33229 char *kwnames[] = {
33230 NULL
33231 };
33232
33233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Validator",kwnames)) goto fail;
33234 {
33235 PyThreadState* __tstate = wxPyBeginAllowThreads();
33236 result = (wxValidator *)new wxValidator();
33237
33238 wxPyEndAllowThreads(__tstate);
33239 if (PyErr_Occurred()) SWIG_fail;
33240 }
b0f7404b 33241 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxValidator, 1);
d14a1e28
RD
33242 return resultobj;
33243 fail:
33244 return NULL;
33245}
33246
33247
c32bde28 33248static PyObject *_wrap_Validator_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33249 PyObject *resultobj = NULL;
d14a1e28
RD
33250 wxValidator *arg1 = (wxValidator *) 0 ;
33251 wxValidator *result;
33252 PyObject * obj0 = 0 ;
33253 char *kwnames[] = {
33254 (char *) "self", NULL
33255 };
33256
33257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_Clone",kwnames,&obj0)) goto fail;
093d3ff1
RD
33258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
33259 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33260 {
33261 PyThreadState* __tstate = wxPyBeginAllowThreads();
33262 result = (wxValidator *)(arg1)->Clone();
33263
33264 wxPyEndAllowThreads(__tstate);
33265 if (PyErr_Occurred()) SWIG_fail;
33266 }
33267 {
412d302d 33268 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
33269 }
33270 return resultobj;
33271 fail:
33272 return NULL;
33273}
33274
33275
c32bde28 33276static PyObject *_wrap_Validator_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33277 PyObject *resultobj = NULL;
d14a1e28
RD
33278 wxValidator *arg1 = (wxValidator *) 0 ;
33279 wxWindow *arg2 = (wxWindow *) 0 ;
33280 bool result;
33281 PyObject * obj0 = 0 ;
33282 PyObject * obj1 = 0 ;
33283 char *kwnames[] = {
33284 (char *) "self",(char *) "parent", NULL
33285 };
33286
33287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_Validate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
33289 if (SWIG_arg_fail(1)) SWIG_fail;
33290 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33291 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
33292 {
33293 PyThreadState* __tstate = wxPyBeginAllowThreads();
33294 result = (bool)(arg1)->Validate(arg2);
33295
33296 wxPyEndAllowThreads(__tstate);
33297 if (PyErr_Occurred()) SWIG_fail;
33298 }
4f89f6a3
RD
33299 {
33300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33301 }
d14a1e28
RD
33302 return resultobj;
33303 fail:
33304 return NULL;
33305}
33306
33307
c32bde28 33308static PyObject *_wrap_Validator_TransferToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33309 PyObject *resultobj = NULL;
d14a1e28
RD
33310 wxValidator *arg1 = (wxValidator *) 0 ;
33311 bool result;
33312 PyObject * obj0 = 0 ;
33313 char *kwnames[] = {
33314 (char *) "self", NULL
33315 };
33316
33317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
33318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
33319 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33320 {
33321 PyThreadState* __tstate = wxPyBeginAllowThreads();
33322 result = (bool)(arg1)->TransferToWindow();
33323
33324 wxPyEndAllowThreads(__tstate);
33325 if (PyErr_Occurred()) SWIG_fail;
33326 }
4f89f6a3
RD
33327 {
33328 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33329 }
d14a1e28
RD
33330 return resultobj;
33331 fail:
33332 return NULL;
33333}
33334
33335
c32bde28 33336static PyObject *_wrap_Validator_TransferFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33337 PyObject *resultobj = NULL;
d14a1e28
RD
33338 wxValidator *arg1 = (wxValidator *) 0 ;
33339 bool result;
33340 PyObject * obj0 = 0 ;
33341 char *kwnames[] = {
33342 (char *) "self", NULL
33343 };
33344
33345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
33346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
33347 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33348 {
33349 PyThreadState* __tstate = wxPyBeginAllowThreads();
33350 result = (bool)(arg1)->TransferFromWindow();
33351
33352 wxPyEndAllowThreads(__tstate);
33353 if (PyErr_Occurred()) SWIG_fail;
33354 }
4f89f6a3
RD
33355 {
33356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33357 }
d14a1e28
RD
33358 return resultobj;
33359 fail:
33360 return NULL;
33361}
33362
33363
c32bde28 33364static PyObject *_wrap_Validator_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33365 PyObject *resultobj = NULL;
d14a1e28
RD
33366 wxValidator *arg1 = (wxValidator *) 0 ;
33367 wxWindow *result;
33368 PyObject * obj0 = 0 ;
33369 char *kwnames[] = {
33370 (char *) "self", NULL
33371 };
33372
33373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_GetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
33374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
33375 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33376 {
33377 PyThreadState* __tstate = wxPyBeginAllowThreads();
33378 result = (wxWindow *)(arg1)->GetWindow();
33379
33380 wxPyEndAllowThreads(__tstate);
33381 if (PyErr_Occurred()) SWIG_fail;
33382 }
33383 {
412d302d 33384 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
33385 }
33386 return resultobj;
33387 fail:
33388 return NULL;
33389}
33390
33391
c32bde28 33392static PyObject *_wrap_Validator_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33393 PyObject *resultobj = NULL;
d14a1e28
RD
33394 wxValidator *arg1 = (wxValidator *) 0 ;
33395 wxWindow *arg2 = (wxWindow *) 0 ;
33396 PyObject * obj0 = 0 ;
33397 PyObject * obj1 = 0 ;
33398 char *kwnames[] = {
33399 (char *) "self",(char *) "window", NULL
33400 };
33401
33402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_SetWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
33404 if (SWIG_arg_fail(1)) SWIG_fail;
33405 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33406 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
33407 {
33408 PyThreadState* __tstate = wxPyBeginAllowThreads();
33409 (arg1)->SetWindow(arg2);
33410
33411 wxPyEndAllowThreads(__tstate);
33412 if (PyErr_Occurred()) SWIG_fail;
33413 }
33414 Py_INCREF(Py_None); resultobj = Py_None;
33415 return resultobj;
33416 fail:
33417 return NULL;
33418}
33419
33420
c32bde28 33421static PyObject *_wrap_Validator_IsSilent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33422 PyObject *resultobj = NULL;
d14a1e28
RD
33423 bool result;
33424 char *kwnames[] = {
33425 NULL
33426 };
33427
33428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Validator_IsSilent",kwnames)) goto fail;
33429 {
33430 PyThreadState* __tstate = wxPyBeginAllowThreads();
33431 result = (bool)wxValidator::IsSilent();
33432
33433 wxPyEndAllowThreads(__tstate);
33434 if (PyErr_Occurred()) SWIG_fail;
33435 }
4f89f6a3
RD
33436 {
33437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33438 }
d14a1e28
RD
33439 return resultobj;
33440 fail:
33441 return NULL;
33442}
33443
33444
c32bde28 33445static PyObject *_wrap_Validator_SetBellOnError(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33446 PyObject *resultobj = NULL;
ae8162c8 33447 int arg1 = (int) true ;
994141e6 33448 PyObject * obj0 = 0 ;
d14a1e28
RD
33449 char *kwnames[] = {
33450 (char *) "doIt", NULL
33451 };
33452
994141e6
RD
33453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Validator_SetBellOnError",kwnames,&obj0)) goto fail;
33454 if (obj0) {
093d3ff1 33455 {
32fe5131 33456 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
33457 if (SWIG_arg_fail(1)) SWIG_fail;
33458 }
994141e6 33459 }
d14a1e28
RD
33460 {
33461 PyThreadState* __tstate = wxPyBeginAllowThreads();
33462 wxValidator::SetBellOnError(arg1);
33463
33464 wxPyEndAllowThreads(__tstate);
33465 if (PyErr_Occurred()) SWIG_fail;
33466 }
33467 Py_INCREF(Py_None); resultobj = Py_None;
33468 return resultobj;
33469 fail:
33470 return NULL;
33471}
33472
33473
c32bde28 33474static PyObject * Validator_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
33475 PyObject *obj;
33476 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33477 SWIG_TypeClientData(SWIGTYPE_p_wxValidator, obj);
33478 Py_INCREF(obj);
33479 return Py_BuildValue((char *)"");
33480}
c32bde28 33481static PyObject *_wrap_new_PyValidator(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33482 PyObject *resultobj = NULL;
d14a1e28
RD
33483 wxPyValidator *result;
33484 char *kwnames[] = {
33485 NULL
33486 };
33487
33488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyValidator",kwnames)) goto fail;
33489 {
33490 PyThreadState* __tstate = wxPyBeginAllowThreads();
33491 result = (wxPyValidator *)new wxPyValidator();
33492
33493 wxPyEndAllowThreads(__tstate);
33494 if (PyErr_Occurred()) SWIG_fail;
33495 }
15afbcd0 33496 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyValidator, 1);
d14a1e28
RD
33497 return resultobj;
33498 fail:
33499 return NULL;
33500}
33501
33502
c32bde28 33503static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33504 PyObject *resultobj = NULL;
d14a1e28
RD
33505 wxPyValidator *arg1 = (wxPyValidator *) 0 ;
33506 PyObject *arg2 = (PyObject *) 0 ;
33507 PyObject *arg3 = (PyObject *) 0 ;
ae8162c8 33508 int arg4 = (int) true ;
d14a1e28
RD
33509 PyObject * obj0 = 0 ;
33510 PyObject * obj1 = 0 ;
33511 PyObject * obj2 = 0 ;
994141e6 33512 PyObject * obj3 = 0 ;
d14a1e28
RD
33513 char *kwnames[] = {
33514 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
33515 };
33516
994141e6 33517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
33518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyValidator, SWIG_POINTER_EXCEPTION | 0);
33519 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33520 arg2 = obj1;
33521 arg3 = obj2;
994141e6 33522 if (obj3) {
093d3ff1 33523 {
32fe5131 33524 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
33525 if (SWIG_arg_fail(4)) SWIG_fail;
33526 }
994141e6 33527 }
d14a1e28
RD
33528 {
33529 PyThreadState* __tstate = wxPyBeginAllowThreads();
33530 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
33531
33532 wxPyEndAllowThreads(__tstate);
33533 if (PyErr_Occurred()) SWIG_fail;
33534 }
33535 Py_INCREF(Py_None); resultobj = Py_None;
33536 return resultobj;
33537 fail:
33538 return NULL;
33539}
33540
33541
c32bde28 33542static PyObject * PyValidator_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
33543 PyObject *obj;
33544 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33545 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator, obj);
33546 Py_INCREF(obj);
33547 return Py_BuildValue((char *)"");
33548}
c32bde28 33549static int _wrap_DefaultValidator_set(PyObject *) {
d14a1e28
RD
33550 PyErr_SetString(PyExc_TypeError,"Variable DefaultValidator is read-only.");
33551 return 1;
33552}
33553
33554
093d3ff1 33555static PyObject *_wrap_DefaultValidator_get(void) {
32fe5131 33556 PyObject *pyobj = NULL;
d14a1e28 33557
15afbcd0 33558 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultValidator), SWIGTYPE_p_wxValidator, 0);
d14a1e28
RD
33559 return pyobj;
33560}
33561
33562
c32bde28 33563static PyObject *_wrap_new_Menu(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33564 PyObject *resultobj = NULL;
d14a1e28
RD
33565 wxString const &arg1_defvalue = wxPyEmptyString ;
33566 wxString *arg1 = (wxString *) &arg1_defvalue ;
33567 long arg2 = (long) 0 ;
33568 wxMenu *result;
ae8162c8 33569 bool temp1 = false ;
d14a1e28 33570 PyObject * obj0 = 0 ;
994141e6 33571 PyObject * obj1 = 0 ;
d14a1e28
RD
33572 char *kwnames[] = {
33573 (char *) "title",(char *) "style", NULL
33574 };
33575
994141e6 33576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Menu",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
33577 if (obj0) {
33578 {
33579 arg1 = wxString_in_helper(obj0);
33580 if (arg1 == NULL) SWIG_fail;
ae8162c8 33581 temp1 = true;
d14a1e28
RD
33582 }
33583 }
994141e6 33584 if (obj1) {
093d3ff1 33585 {
32fe5131 33586 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
33587 if (SWIG_arg_fail(2)) SWIG_fail;
33588 }
994141e6 33589 }
d14a1e28 33590 {
e3b71cb8 33591 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
33592 PyThreadState* __tstate = wxPyBeginAllowThreads();
33593 result = (wxMenu *)new wxMenu((wxString const &)*arg1,arg2);
33594
33595 wxPyEndAllowThreads(__tstate);
110da5b0 33596 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 33597 }
b0f7404b 33598 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenu, 1);
d14a1e28
RD
33599 {
33600 if (temp1)
33601 delete arg1;
33602 }
33603 return resultobj;
33604 fail:
33605 {
33606 if (temp1)
33607 delete arg1;
33608 }
33609 return NULL;
33610}
33611
33612
c32bde28 33613static PyObject *_wrap_Menu_Append(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33614 PyObject *resultobj = NULL;
d14a1e28
RD
33615 wxMenu *arg1 = (wxMenu *) 0 ;
33616 int arg2 ;
33617 wxString *arg3 = 0 ;
33618 wxString const &arg4_defvalue = wxPyEmptyString ;
33619 wxString *arg4 = (wxString *) &arg4_defvalue ;
093d3ff1 33620 wxItemKind arg5 = (wxItemKind) wxITEM_NORMAL ;
a41e16b6 33621 wxMenuItem *result;
ae8162c8
RD
33622 bool temp3 = false ;
33623 bool temp4 = false ;
d14a1e28 33624 PyObject * obj0 = 0 ;
994141e6 33625 PyObject * obj1 = 0 ;
d14a1e28
RD
33626 PyObject * obj2 = 0 ;
33627 PyObject * obj3 = 0 ;
994141e6 33628 PyObject * obj4 = 0 ;
d14a1e28 33629 char *kwnames[] = {
242b7b46 33630 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
33631 };
33632
994141e6 33633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Append",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
33634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33635 if (SWIG_arg_fail(1)) SWIG_fail;
33636 {
32fe5131 33637 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
33638 if (SWIG_arg_fail(2)) SWIG_fail;
33639 }
d14a1e28
RD
33640 {
33641 arg3 = wxString_in_helper(obj2);
33642 if (arg3 == NULL) SWIG_fail;
ae8162c8 33643 temp3 = true;
d14a1e28
RD
33644 }
33645 if (obj3) {
33646 {
33647 arg4 = wxString_in_helper(obj3);
33648 if (arg4 == NULL) SWIG_fail;
ae8162c8 33649 temp4 = true;
d14a1e28
RD
33650 }
33651 }
994141e6 33652 if (obj4) {
093d3ff1 33653 {
32fe5131 33654 arg5 = static_cast<wxItemKind >(SWIG_As_int(obj4));
093d3ff1
RD
33655 if (SWIG_arg_fail(5)) SWIG_fail;
33656 }
994141e6 33657 }
d14a1e28
RD
33658 {
33659 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 33660 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
d14a1e28
RD
33661
33662 wxPyEndAllowThreads(__tstate);
33663 if (PyErr_Occurred()) SWIG_fail;
33664 }
a41e16b6 33665 {
7e08d4ef 33666 resultobj = wxPyMake_wxObject(result, (bool)0);
a41e16b6 33667 }
d14a1e28
RD
33668 {
33669 if (temp3)
33670 delete arg3;
33671 }
33672 {
33673 if (temp4)
33674 delete arg4;
33675 }
33676 return resultobj;
33677 fail:
33678 {
33679 if (temp3)
33680 delete arg3;
33681 }
33682 {
33683 if (temp4)
33684 delete arg4;
33685 }
33686 return NULL;
33687}
33688
33689
c32bde28 33690static PyObject *_wrap_Menu_AppendSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33691 PyObject *resultobj = NULL;
d14a1e28 33692 wxMenu *arg1 = (wxMenu *) 0 ;
a41e16b6 33693 wxMenuItem *result;
d14a1e28
RD
33694 PyObject * obj0 = 0 ;
33695 char *kwnames[] = {
33696 (char *) "self", NULL
33697 };
33698
33699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_AppendSeparator",kwnames,&obj0)) goto fail;
093d3ff1
RD
33700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33701 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33702 {
33703 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 33704 result = (wxMenuItem *)(arg1)->AppendSeparator();
d14a1e28
RD
33705
33706 wxPyEndAllowThreads(__tstate);
33707 if (PyErr_Occurred()) SWIG_fail;
33708 }
a41e16b6 33709 {
7e08d4ef 33710 resultobj = wxPyMake_wxObject(result, (bool)0);
a41e16b6 33711 }
d14a1e28
RD
33712 return resultobj;
33713 fail:
33714 return NULL;
33715}
33716
33717
c32bde28 33718static PyObject *_wrap_Menu_AppendCheckItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33719 PyObject *resultobj = NULL;
d14a1e28
RD
33720 wxMenu *arg1 = (wxMenu *) 0 ;
33721 int arg2 ;
33722 wxString *arg3 = 0 ;
33723 wxString const &arg4_defvalue = wxPyEmptyString ;
33724 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 33725 wxMenuItem *result;
ae8162c8
RD
33726 bool temp3 = false ;
33727 bool temp4 = false ;
d14a1e28 33728 PyObject * obj0 = 0 ;
994141e6 33729 PyObject * obj1 = 0 ;
d14a1e28
RD
33730 PyObject * obj2 = 0 ;
33731 PyObject * obj3 = 0 ;
33732 char *kwnames[] = {
242b7b46 33733 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
33734 };
33735
994141e6 33736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
33737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33738 if (SWIG_arg_fail(1)) SWIG_fail;
33739 {
32fe5131 33740 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
33741 if (SWIG_arg_fail(2)) SWIG_fail;
33742 }
d14a1e28
RD
33743 {
33744 arg3 = wxString_in_helper(obj2);
33745 if (arg3 == NULL) SWIG_fail;
ae8162c8 33746 temp3 = true;
d14a1e28
RD
33747 }
33748 if (obj3) {
33749 {
33750 arg4 = wxString_in_helper(obj3);
33751 if (arg4 == NULL) SWIG_fail;
ae8162c8 33752 temp4 = true;
d14a1e28
RD
33753 }
33754 }
33755 {
33756 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 33757 result = (wxMenuItem *)(arg1)->AppendCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
33758
33759 wxPyEndAllowThreads(__tstate);
33760 if (PyErr_Occurred()) SWIG_fail;
33761 }
a41e16b6 33762 {
7e08d4ef 33763 resultobj = wxPyMake_wxObject(result, (bool)0);
a41e16b6 33764 }
d14a1e28
RD
33765 {
33766 if (temp3)
33767 delete arg3;
33768 }
33769 {
33770 if (temp4)
33771 delete arg4;
33772 }
33773 return resultobj;
33774 fail:
33775 {
33776 if (temp3)
33777 delete arg3;
33778 }
33779 {
33780 if (temp4)
33781 delete arg4;
33782 }
33783 return NULL;
33784}
33785
33786
c32bde28 33787static PyObject *_wrap_Menu_AppendRadioItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33788 PyObject *resultobj = NULL;
d14a1e28
RD
33789 wxMenu *arg1 = (wxMenu *) 0 ;
33790 int arg2 ;
33791 wxString *arg3 = 0 ;
33792 wxString const &arg4_defvalue = wxPyEmptyString ;
33793 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 33794 wxMenuItem *result;
ae8162c8
RD
33795 bool temp3 = false ;
33796 bool temp4 = false ;
d14a1e28 33797 PyObject * obj0 = 0 ;
994141e6 33798 PyObject * obj1 = 0 ;
d14a1e28
RD
33799 PyObject * obj2 = 0 ;
33800 PyObject * obj3 = 0 ;
33801 char *kwnames[] = {
242b7b46 33802 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
33803 };
33804
994141e6 33805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
33806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33807 if (SWIG_arg_fail(1)) SWIG_fail;
33808 {
32fe5131 33809 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
33810 if (SWIG_arg_fail(2)) SWIG_fail;
33811 }
d14a1e28
RD
33812 {
33813 arg3 = wxString_in_helper(obj2);
33814 if (arg3 == NULL) SWIG_fail;
ae8162c8 33815 temp3 = true;
d14a1e28
RD
33816 }
33817 if (obj3) {
33818 {
33819 arg4 = wxString_in_helper(obj3);
33820 if (arg4 == NULL) SWIG_fail;
ae8162c8 33821 temp4 = true;
d14a1e28
RD
33822 }
33823 }
33824 {
33825 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 33826 result = (wxMenuItem *)(arg1)->AppendRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
33827
33828 wxPyEndAllowThreads(__tstate);
33829 if (PyErr_Occurred()) SWIG_fail;
33830 }
a41e16b6 33831 {
7e08d4ef 33832 resultobj = wxPyMake_wxObject(result, (bool)0);
a41e16b6 33833 }
d14a1e28
RD
33834 {
33835 if (temp3)
33836 delete arg3;
33837 }
33838 {
33839 if (temp4)
33840 delete arg4;
33841 }
33842 return resultobj;
33843 fail:
33844 {
33845 if (temp3)
33846 delete arg3;
33847 }
33848 {
33849 if (temp4)
33850 delete arg4;
33851 }
33852 return NULL;
33853}
33854
33855
c32bde28 33856static PyObject *_wrap_Menu_AppendMenu(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33857 PyObject *resultobj = NULL;
d14a1e28
RD
33858 wxMenu *arg1 = (wxMenu *) 0 ;
33859 int arg2 ;
33860 wxString *arg3 = 0 ;
33861 wxMenu *arg4 = (wxMenu *) 0 ;
33862 wxString const &arg5_defvalue = wxPyEmptyString ;
33863 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 33864 wxMenuItem *result;
ae8162c8
RD
33865 bool temp3 = false ;
33866 bool temp5 = false ;
d14a1e28 33867 PyObject * obj0 = 0 ;
994141e6 33868 PyObject * obj1 = 0 ;
d14a1e28
RD
33869 PyObject * obj2 = 0 ;
33870 PyObject * obj3 = 0 ;
33871 PyObject * obj4 = 0 ;
33872 char *kwnames[] = {
242b7b46 33873 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
33874 };
33875
994141e6 33876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_AppendMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
33877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33878 if (SWIG_arg_fail(1)) SWIG_fail;
33879 {
32fe5131 33880 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
33881 if (SWIG_arg_fail(2)) SWIG_fail;
33882 }
d14a1e28
RD
33883 {
33884 arg3 = wxString_in_helper(obj2);
33885 if (arg3 == NULL) SWIG_fail;
ae8162c8 33886 temp3 = true;
d14a1e28 33887 }
093d3ff1
RD
33888 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33889 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
33890 if (obj4) {
33891 {
33892 arg5 = wxString_in_helper(obj4);
33893 if (arg5 == NULL) SWIG_fail;
ae8162c8 33894 temp5 = true;
d14a1e28
RD
33895 }
33896 }
33897 {
33898 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 33899 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
d14a1e28
RD
33900
33901 wxPyEndAllowThreads(__tstate);
33902 if (PyErr_Occurred()) SWIG_fail;
33903 }
a41e16b6 33904 {
7e08d4ef 33905 resultobj = wxPyMake_wxObject(result, (bool)0);
a41e16b6 33906 }
d14a1e28
RD
33907 {
33908 if (temp3)
33909 delete arg3;
33910 }
33911 {
33912 if (temp5)
33913 delete arg5;
33914 }
33915 return resultobj;
33916 fail:
33917 {
33918 if (temp3)
33919 delete arg3;
33920 }
33921 {
33922 if (temp5)
33923 delete arg5;
33924 }
33925 return NULL;
33926}
33927
33928
c32bde28 33929static PyObject *_wrap_Menu_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33930 PyObject *resultobj = NULL;
d14a1e28
RD
33931 wxMenu *arg1 = (wxMenu *) 0 ;
33932 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
a41e16b6 33933 wxMenuItem *result;
d14a1e28
RD
33934 PyObject * obj0 = 0 ;
33935 PyObject * obj1 = 0 ;
33936 char *kwnames[] = {
33937 (char *) "self",(char *) "item", NULL
33938 };
33939
33940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_AppendItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
33941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33942 if (SWIG_arg_fail(1)) SWIG_fail;
33943 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
33944 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
33945 {
33946 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 33947 result = (wxMenuItem *)(arg1)->Append(arg2);
d14a1e28
RD
33948
33949 wxPyEndAllowThreads(__tstate);
33950 if (PyErr_Occurred()) SWIG_fail;
33951 }
a41e16b6 33952 {
7e08d4ef 33953 resultobj = wxPyMake_wxObject(result, (bool)0);
a41e16b6 33954 }
d14a1e28
RD
33955 return resultobj;
33956 fail:
33957 return NULL;
33958}
33959
33960
c32bde28 33961static PyObject *_wrap_Menu_Break(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33962 PyObject *resultobj = NULL;
d14a1e28
RD
33963 wxMenu *arg1 = (wxMenu *) 0 ;
33964 PyObject * obj0 = 0 ;
33965 char *kwnames[] = {
33966 (char *) "self", NULL
33967 };
33968
33969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Break",kwnames,&obj0)) goto fail;
093d3ff1
RD
33970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
33971 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
33972 {
33973 PyThreadState* __tstate = wxPyBeginAllowThreads();
33974 (arg1)->Break();
33975
33976 wxPyEndAllowThreads(__tstate);
33977 if (PyErr_Occurred()) SWIG_fail;
33978 }
33979 Py_INCREF(Py_None); resultobj = Py_None;
33980 return resultobj;
33981 fail:
33982 return NULL;
33983}
33984
33985
c32bde28 33986static PyObject *_wrap_Menu_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 33987 PyObject *resultobj = NULL;
d14a1e28
RD
33988 wxMenu *arg1 = (wxMenu *) 0 ;
33989 size_t arg2 ;
33990 wxMenuItem *arg3 = (wxMenuItem *) 0 ;
a41e16b6 33991 wxMenuItem *result;
d14a1e28
RD
33992 PyObject * obj0 = 0 ;
33993 PyObject * obj1 = 0 ;
33994 PyObject * obj2 = 0 ;
33995 char *kwnames[] = {
33996 (char *) "self",(char *) "pos",(char *) "item", NULL
33997 };
33998
33999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
34000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34001 if (SWIG_arg_fail(1)) SWIG_fail;
34002 {
32fe5131 34003 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
34004 if (SWIG_arg_fail(2)) SWIG_fail;
34005 }
34006 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
34007 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
34008 {
34009 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 34010 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3);
d14a1e28
RD
34011
34012 wxPyEndAllowThreads(__tstate);
34013 if (PyErr_Occurred()) SWIG_fail;
34014 }
a41e16b6 34015 {
7e08d4ef 34016 resultobj = wxPyMake_wxObject(result, (bool)0);
a41e16b6 34017 }
d14a1e28
RD
34018 return resultobj;
34019 fail:
34020 return NULL;
34021}
34022
34023
c32bde28 34024static PyObject *_wrap_Menu_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34025 PyObject *resultobj = NULL;
d14a1e28
RD
34026 wxMenu *arg1 = (wxMenu *) 0 ;
34027 size_t arg2 ;
34028 int arg3 ;
34029 wxString *arg4 = 0 ;
34030 wxString const &arg5_defvalue = wxPyEmptyString ;
34031 wxString *arg5 = (wxString *) &arg5_defvalue ;
093d3ff1 34032 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
a41e16b6 34033 wxMenuItem *result;
ae8162c8
RD
34034 bool temp4 = false ;
34035 bool temp5 = false ;
d14a1e28
RD
34036 PyObject * obj0 = 0 ;
34037 PyObject * obj1 = 0 ;
994141e6 34038 PyObject * obj2 = 0 ;
d14a1e28
RD
34039 PyObject * obj3 = 0 ;
34040 PyObject * obj4 = 0 ;
994141e6 34041 PyObject * obj5 = 0 ;
d14a1e28 34042 char *kwnames[] = {
242b7b46 34043 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
34044 };
34045
994141e6 34046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Menu_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
34047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34048 if (SWIG_arg_fail(1)) SWIG_fail;
34049 {
32fe5131 34050 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
34051 if (SWIG_arg_fail(2)) SWIG_fail;
34052 }
34053 {
32fe5131 34054 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
34055 if (SWIG_arg_fail(3)) SWIG_fail;
34056 }
d14a1e28
RD
34057 {
34058 arg4 = wxString_in_helper(obj3);
34059 if (arg4 == NULL) SWIG_fail;
ae8162c8 34060 temp4 = true;
d14a1e28
RD
34061 }
34062 if (obj4) {
34063 {
34064 arg5 = wxString_in_helper(obj4);
34065 if (arg5 == NULL) SWIG_fail;
ae8162c8 34066 temp5 = true;
d14a1e28
RD
34067 }
34068 }
994141e6 34069 if (obj5) {
093d3ff1 34070 {
32fe5131 34071 arg6 = static_cast<wxItemKind >(SWIG_As_int(obj5));
093d3ff1
RD
34072 if (SWIG_arg_fail(6)) SWIG_fail;
34073 }
994141e6 34074 }
d14a1e28
RD
34075 {
34076 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 34077 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6);
d14a1e28
RD
34078
34079 wxPyEndAllowThreads(__tstate);
34080 if (PyErr_Occurred()) SWIG_fail;
34081 }
a41e16b6 34082 {
7e08d4ef 34083 resultobj = wxPyMake_wxObject(result, (bool)0);
a41e16b6 34084 }
d14a1e28
RD
34085 {
34086 if (temp4)
34087 delete arg4;
34088 }
34089 {
34090 if (temp5)
34091 delete arg5;
34092 }
34093 return resultobj;
34094 fail:
34095 {
34096 if (temp4)
34097 delete arg4;
34098 }
34099 {
34100 if (temp5)
34101 delete arg5;
34102 }
34103 return NULL;
34104}
34105
34106
c32bde28 34107static PyObject *_wrap_Menu_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34108 PyObject *resultobj = NULL;
d14a1e28
RD
34109 wxMenu *arg1 = (wxMenu *) 0 ;
34110 size_t arg2 ;
a41e16b6 34111 wxMenuItem *result;
d14a1e28
RD
34112 PyObject * obj0 = 0 ;
34113 PyObject * obj1 = 0 ;
34114 char *kwnames[] = {
34115 (char *) "self",(char *) "pos", NULL
34116 };
34117
34118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34120 if (SWIG_arg_fail(1)) SWIG_fail;
34121 {
32fe5131 34122 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
34123 if (SWIG_arg_fail(2)) SWIG_fail;
34124 }
d14a1e28
RD
34125 {
34126 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 34127 result = (wxMenuItem *)(arg1)->InsertSeparator(arg2);
d14a1e28
RD
34128
34129 wxPyEndAllowThreads(__tstate);
34130 if (PyErr_Occurred()) SWIG_fail;
34131 }
a41e16b6 34132 {
7e08d4ef 34133 resultobj = wxPyMake_wxObject(result, (bool)0);
a41e16b6 34134 }
d14a1e28
RD
34135 return resultobj;
34136 fail:
34137 return NULL;
34138}
34139
34140
c32bde28 34141static PyObject *_wrap_Menu_InsertCheckItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34142 PyObject *resultobj = NULL;
d14a1e28
RD
34143 wxMenu *arg1 = (wxMenu *) 0 ;
34144 size_t arg2 ;
34145 int arg3 ;
34146 wxString *arg4 = 0 ;
34147 wxString const &arg5_defvalue = wxPyEmptyString ;
34148 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 34149 wxMenuItem *result;
ae8162c8
RD
34150 bool temp4 = false ;
34151 bool temp5 = false ;
d14a1e28
RD
34152 PyObject * obj0 = 0 ;
34153 PyObject * obj1 = 0 ;
994141e6 34154 PyObject * obj2 = 0 ;
d14a1e28
RD
34155 PyObject * obj3 = 0 ;
34156 PyObject * obj4 = 0 ;
34157 char *kwnames[] = {
242b7b46 34158 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
34159 };
34160
994141e6 34161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
34162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34163 if (SWIG_arg_fail(1)) SWIG_fail;
34164 {
32fe5131 34165 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
34166 if (SWIG_arg_fail(2)) SWIG_fail;
34167 }
34168 {
32fe5131 34169 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
34170 if (SWIG_arg_fail(3)) SWIG_fail;
34171 }
d14a1e28
RD
34172 {
34173 arg4 = wxString_in_helper(obj3);
34174 if (arg4 == NULL) SWIG_fail;
ae8162c8 34175 temp4 = true;
d14a1e28
RD
34176 }
34177 if (obj4) {
34178 {
34179 arg5 = wxString_in_helper(obj4);
34180 if (arg5 == NULL) SWIG_fail;
ae8162c8 34181 temp5 = true;
d14a1e28
RD
34182 }
34183 }
34184 {
34185 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 34186 result = (wxMenuItem *)(arg1)->InsertCheckItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
d14a1e28
RD
34187
34188 wxPyEndAllowThreads(__tstate);
34189 if (PyErr_Occurred()) SWIG_fail;
34190 }
a41e16b6 34191 {
7e08d4ef 34192 resultobj = wxPyMake_wxObject(result, (bool)0);
a41e16b6 34193 }
d14a1e28
RD
34194 {
34195 if (temp4)
34196 delete arg4;
34197 }
34198 {
34199 if (temp5)
34200 delete arg5;
34201 }
34202 return resultobj;
34203 fail:
34204 {
34205 if (temp4)
34206 delete arg4;
34207 }
34208 {
34209 if (temp5)
34210 delete arg5;
34211 }
34212 return NULL;
34213}
34214
34215
c32bde28 34216static PyObject *_wrap_Menu_InsertRadioItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34217 PyObject *resultobj = NULL;
d14a1e28
RD
34218 wxMenu *arg1 = (wxMenu *) 0 ;
34219 size_t arg2 ;
34220 int arg3 ;
34221 wxString *arg4 = 0 ;
34222 wxString const &arg5_defvalue = wxPyEmptyString ;
34223 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 34224 wxMenuItem *result;
ae8162c8
RD
34225 bool temp4 = false ;
34226 bool temp5 = false ;
d14a1e28
RD
34227 PyObject * obj0 = 0 ;
34228 PyObject * obj1 = 0 ;
994141e6 34229 PyObject * obj2 = 0 ;
d14a1e28
RD
34230 PyObject * obj3 = 0 ;
34231 PyObject * obj4 = 0 ;
34232 char *kwnames[] = {
242b7b46 34233 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
34234 };
34235
994141e6 34236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
34237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34238 if (SWIG_arg_fail(1)) SWIG_fail;
34239 {
32fe5131 34240 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
34241 if (SWIG_arg_fail(2)) SWIG_fail;
34242 }
34243 {
32fe5131 34244 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
34245 if (SWIG_arg_fail(3)) SWIG_fail;
34246 }
d14a1e28
RD
34247 {
34248 arg4 = wxString_in_helper(obj3);
34249 if (arg4 == NULL) SWIG_fail;
ae8162c8 34250 temp4 = true;
d14a1e28
RD
34251 }
34252 if (obj4) {
34253 {
34254 arg5 = wxString_in_helper(obj4);
34255 if (arg5 == NULL) SWIG_fail;
ae8162c8 34256 temp5 = true;
d14a1e28
RD
34257 }
34258 }
34259 {
34260 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 34261 result = (wxMenuItem *)(arg1)->InsertRadioItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
d14a1e28
RD
34262
34263 wxPyEndAllowThreads(__tstate);
34264 if (PyErr_Occurred()) SWIG_fail;
34265 }
a41e16b6 34266 {
7e08d4ef 34267 resultobj = wxPyMake_wxObject(result, (bool)0);
a41e16b6 34268 }
d14a1e28
RD
34269 {
34270 if (temp4)
34271 delete arg4;
34272 }
34273 {
34274 if (temp5)
34275 delete arg5;
34276 }
34277 return resultobj;
34278 fail:
34279 {
34280 if (temp4)
34281 delete arg4;
34282 }
34283 {
34284 if (temp5)
34285 delete arg5;
34286 }
34287 return NULL;
34288}
34289
34290
c32bde28 34291static PyObject *_wrap_Menu_InsertMenu(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34292 PyObject *resultobj = NULL;
d14a1e28
RD
34293 wxMenu *arg1 = (wxMenu *) 0 ;
34294 size_t arg2 ;
34295 int arg3 ;
34296 wxString *arg4 = 0 ;
34297 wxMenu *arg5 = (wxMenu *) 0 ;
34298 wxString const &arg6_defvalue = wxPyEmptyString ;
34299 wxString *arg6 = (wxString *) &arg6_defvalue ;
a41e16b6 34300 wxMenuItem *result;
ae8162c8
RD
34301 bool temp4 = false ;
34302 bool temp6 = false ;
d14a1e28
RD
34303 PyObject * obj0 = 0 ;
34304 PyObject * obj1 = 0 ;
994141e6 34305 PyObject * obj2 = 0 ;
d14a1e28
RD
34306 PyObject * obj3 = 0 ;
34307 PyObject * obj4 = 0 ;
34308 PyObject * obj5 = 0 ;
34309 char *kwnames[] = {
242b7b46 34310 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
34311 };
34312
994141e6 34313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Menu_InsertMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
34314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34315 if (SWIG_arg_fail(1)) SWIG_fail;
34316 {
32fe5131 34317 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
34318 if (SWIG_arg_fail(2)) SWIG_fail;
34319 }
34320 {
32fe5131 34321 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
34322 if (SWIG_arg_fail(3)) SWIG_fail;
34323 }
d14a1e28
RD
34324 {
34325 arg4 = wxString_in_helper(obj3);
34326 if (arg4 == NULL) SWIG_fail;
ae8162c8 34327 temp4 = true;
d14a1e28 34328 }
093d3ff1
RD
34329 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34330 if (SWIG_arg_fail(5)) SWIG_fail;
d14a1e28
RD
34331 if (obj5) {
34332 {
34333 arg6 = wxString_in_helper(obj5);
34334 if (arg6 == NULL) SWIG_fail;
ae8162c8 34335 temp6 = true;
d14a1e28
RD
34336 }
34337 }
34338 {
34339 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 34340 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,arg5,(wxString const &)*arg6);
d14a1e28
RD
34341
34342 wxPyEndAllowThreads(__tstate);
34343 if (PyErr_Occurred()) SWIG_fail;
34344 }
a41e16b6 34345 {
7e08d4ef 34346 resultobj = wxPyMake_wxObject(result, (bool)0);
a41e16b6 34347 }
d14a1e28
RD
34348 {
34349 if (temp4)
34350 delete arg4;
34351 }
34352 {
34353 if (temp6)
34354 delete arg6;
34355 }
34356 return resultobj;
34357 fail:
34358 {
34359 if (temp4)
34360 delete arg4;
34361 }
34362 {
34363 if (temp6)
34364 delete arg6;
34365 }
34366 return NULL;
34367}
34368
34369
c32bde28 34370static PyObject *_wrap_Menu_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34371 PyObject *resultobj = NULL;
d14a1e28
RD
34372 wxMenu *arg1 = (wxMenu *) 0 ;
34373 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
a41e16b6 34374 wxMenuItem *result;
d14a1e28
RD
34375 PyObject * obj0 = 0 ;
34376 PyObject * obj1 = 0 ;
34377 char *kwnames[] = {
34378 (char *) "self",(char *) "item", NULL
34379 };
34380
34381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_PrependItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34383 if (SWIG_arg_fail(1)) SWIG_fail;
34384 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
34385 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
34386 {
34387 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 34388 result = (wxMenuItem *)(arg1)->Prepend(arg2);
d14a1e28
RD
34389
34390 wxPyEndAllowThreads(__tstate);
34391 if (PyErr_Occurred()) SWIG_fail;
34392 }
a41e16b6 34393 {
7e08d4ef 34394 resultobj = wxPyMake_wxObject(result, (bool)0);
a41e16b6 34395 }
d14a1e28
RD
34396 return resultobj;
34397 fail:
34398 return NULL;
34399}
34400
34401
c32bde28 34402static PyObject *_wrap_Menu_Prepend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34403 PyObject *resultobj = NULL;
d14a1e28
RD
34404 wxMenu *arg1 = (wxMenu *) 0 ;
34405 int arg2 ;
34406 wxString *arg3 = 0 ;
34407 wxString const &arg4_defvalue = wxPyEmptyString ;
34408 wxString *arg4 = (wxString *) &arg4_defvalue ;
093d3ff1 34409 wxItemKind arg5 = (wxItemKind) wxITEM_NORMAL ;
a41e16b6 34410 wxMenuItem *result;
ae8162c8
RD
34411 bool temp3 = false ;
34412 bool temp4 = false ;
d14a1e28 34413 PyObject * obj0 = 0 ;
994141e6 34414 PyObject * obj1 = 0 ;
d14a1e28
RD
34415 PyObject * obj2 = 0 ;
34416 PyObject * obj3 = 0 ;
994141e6 34417 PyObject * obj4 = 0 ;
d14a1e28 34418 char *kwnames[] = {
242b7b46 34419 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
34420 };
34421
994141e6 34422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
34423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34424 if (SWIG_arg_fail(1)) SWIG_fail;
34425 {
32fe5131 34426 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
34427 if (SWIG_arg_fail(2)) SWIG_fail;
34428 }
d14a1e28
RD
34429 {
34430 arg3 = wxString_in_helper(obj2);
34431 if (arg3 == NULL) SWIG_fail;
ae8162c8 34432 temp3 = true;
d14a1e28
RD
34433 }
34434 if (obj3) {
34435 {
34436 arg4 = wxString_in_helper(obj3);
34437 if (arg4 == NULL) SWIG_fail;
ae8162c8 34438 temp4 = true;
d14a1e28
RD
34439 }
34440 }
994141e6 34441 if (obj4) {
093d3ff1 34442 {
32fe5131 34443 arg5 = static_cast<wxItemKind >(SWIG_As_int(obj4));
093d3ff1
RD
34444 if (SWIG_arg_fail(5)) SWIG_fail;
34445 }
994141e6 34446 }
d14a1e28
RD
34447 {
34448 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 34449 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
d14a1e28
RD
34450
34451 wxPyEndAllowThreads(__tstate);
34452 if (PyErr_Occurred()) SWIG_fail;
34453 }
a41e16b6 34454 {
7e08d4ef 34455 resultobj = wxPyMake_wxObject(result, (bool)0);
a41e16b6 34456 }
d14a1e28
RD
34457 {
34458 if (temp3)
34459 delete arg3;
34460 }
34461 {
34462 if (temp4)
34463 delete arg4;
34464 }
34465 return resultobj;
34466 fail:
34467 {
34468 if (temp3)
34469 delete arg3;
34470 }
34471 {
34472 if (temp4)
34473 delete arg4;
34474 }
34475 return NULL;
34476}
34477
34478
c32bde28 34479static PyObject *_wrap_Menu_PrependSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34480 PyObject *resultobj = NULL;
d14a1e28 34481 wxMenu *arg1 = (wxMenu *) 0 ;
a41e16b6 34482 wxMenuItem *result;
d14a1e28
RD
34483 PyObject * obj0 = 0 ;
34484 char *kwnames[] = {
34485 (char *) "self", NULL
34486 };
34487
34488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_PrependSeparator",kwnames,&obj0)) goto fail;
093d3ff1
RD
34489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34490 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
34491 {
34492 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 34493 result = (wxMenuItem *)(arg1)->PrependSeparator();
d14a1e28
RD
34494
34495 wxPyEndAllowThreads(__tstate);
34496 if (PyErr_Occurred()) SWIG_fail;
34497 }
a41e16b6 34498 {
7e08d4ef 34499 resultobj = wxPyMake_wxObject(result, (bool)0);
a41e16b6 34500 }
d14a1e28
RD
34501 return resultobj;
34502 fail:
34503 return NULL;
34504}
34505
34506
c32bde28 34507static PyObject *_wrap_Menu_PrependCheckItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34508 PyObject *resultobj = NULL;
d14a1e28
RD
34509 wxMenu *arg1 = (wxMenu *) 0 ;
34510 int arg2 ;
34511 wxString *arg3 = 0 ;
34512 wxString const &arg4_defvalue = wxPyEmptyString ;
34513 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 34514 wxMenuItem *result;
ae8162c8
RD
34515 bool temp3 = false ;
34516 bool temp4 = false ;
d14a1e28 34517 PyObject * obj0 = 0 ;
994141e6 34518 PyObject * obj1 = 0 ;
d14a1e28
RD
34519 PyObject * obj2 = 0 ;
34520 PyObject * obj3 = 0 ;
34521 char *kwnames[] = {
242b7b46 34522 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
34523 };
34524
994141e6 34525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
34526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34527 if (SWIG_arg_fail(1)) SWIG_fail;
34528 {
32fe5131 34529 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
34530 if (SWIG_arg_fail(2)) SWIG_fail;
34531 }
d14a1e28
RD
34532 {
34533 arg3 = wxString_in_helper(obj2);
34534 if (arg3 == NULL) SWIG_fail;
ae8162c8 34535 temp3 = true;
d14a1e28
RD
34536 }
34537 if (obj3) {
34538 {
34539 arg4 = wxString_in_helper(obj3);
34540 if (arg4 == NULL) SWIG_fail;
ae8162c8 34541 temp4 = true;
d14a1e28
RD
34542 }
34543 }
34544 {
34545 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 34546 result = (wxMenuItem *)(arg1)->PrependCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
34547
34548 wxPyEndAllowThreads(__tstate);
34549 if (PyErr_Occurred()) SWIG_fail;
34550 }
a41e16b6 34551 {
7e08d4ef 34552 resultobj = wxPyMake_wxObject(result, (bool)0);
a41e16b6 34553 }
d14a1e28
RD
34554 {
34555 if (temp3)
34556 delete arg3;
34557 }
34558 {
34559 if (temp4)
34560 delete arg4;
34561 }
34562 return resultobj;
34563 fail:
34564 {
34565 if (temp3)
34566 delete arg3;
34567 }
34568 {
34569 if (temp4)
34570 delete arg4;
34571 }
34572 return NULL;
34573}
34574
34575
c32bde28 34576static PyObject *_wrap_Menu_PrependRadioItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34577 PyObject *resultobj = NULL;
d14a1e28
RD
34578 wxMenu *arg1 = (wxMenu *) 0 ;
34579 int arg2 ;
34580 wxString *arg3 = 0 ;
34581 wxString const &arg4_defvalue = wxPyEmptyString ;
34582 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 34583 wxMenuItem *result;
ae8162c8
RD
34584 bool temp3 = false ;
34585 bool temp4 = false ;
d14a1e28 34586 PyObject * obj0 = 0 ;
994141e6 34587 PyObject * obj1 = 0 ;
d14a1e28
RD
34588 PyObject * obj2 = 0 ;
34589 PyObject * obj3 = 0 ;
34590 char *kwnames[] = {
242b7b46 34591 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
34592 };
34593
994141e6 34594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
34595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34596 if (SWIG_arg_fail(1)) SWIG_fail;
34597 {
32fe5131 34598 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
34599 if (SWIG_arg_fail(2)) SWIG_fail;
34600 }
d14a1e28
RD
34601 {
34602 arg3 = wxString_in_helper(obj2);
34603 if (arg3 == NULL) SWIG_fail;
ae8162c8 34604 temp3 = true;
d14a1e28
RD
34605 }
34606 if (obj3) {
34607 {
34608 arg4 = wxString_in_helper(obj3);
34609 if (arg4 == NULL) SWIG_fail;
ae8162c8 34610 temp4 = true;
d14a1e28
RD
34611 }
34612 }
34613 {
34614 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 34615 result = (wxMenuItem *)(arg1)->PrependRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
34616
34617 wxPyEndAllowThreads(__tstate);
34618 if (PyErr_Occurred()) SWIG_fail;
34619 }
a41e16b6 34620 {
7e08d4ef 34621 resultobj = wxPyMake_wxObject(result, (bool)0);
a41e16b6 34622 }
d14a1e28
RD
34623 {
34624 if (temp3)
34625 delete arg3;
34626 }
34627 {
34628 if (temp4)
34629 delete arg4;
34630 }
34631 return resultobj;
34632 fail:
34633 {
34634 if (temp3)
34635 delete arg3;
34636 }
34637 {
34638 if (temp4)
34639 delete arg4;
34640 }
34641 return NULL;
34642}
34643
34644
c32bde28 34645static PyObject *_wrap_Menu_PrependMenu(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34646 PyObject *resultobj = NULL;
d14a1e28
RD
34647 wxMenu *arg1 = (wxMenu *) 0 ;
34648 int arg2 ;
34649 wxString *arg3 = 0 ;
34650 wxMenu *arg4 = (wxMenu *) 0 ;
34651 wxString const &arg5_defvalue = wxPyEmptyString ;
34652 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 34653 wxMenuItem *result;
ae8162c8
RD
34654 bool temp3 = false ;
34655 bool temp5 = false ;
d14a1e28 34656 PyObject * obj0 = 0 ;
994141e6 34657 PyObject * obj1 = 0 ;
d14a1e28
RD
34658 PyObject * obj2 = 0 ;
34659 PyObject * obj3 = 0 ;
34660 PyObject * obj4 = 0 ;
34661 char *kwnames[] = {
242b7b46 34662 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
34663 };
34664
994141e6 34665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_PrependMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
34666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34667 if (SWIG_arg_fail(1)) SWIG_fail;
34668 {
32fe5131 34669 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
34670 if (SWIG_arg_fail(2)) SWIG_fail;
34671 }
d14a1e28
RD
34672 {
34673 arg3 = wxString_in_helper(obj2);
34674 if (arg3 == NULL) SWIG_fail;
ae8162c8 34675 temp3 = true;
d14a1e28 34676 }
093d3ff1
RD
34677 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34678 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
34679 if (obj4) {
34680 {
34681 arg5 = wxString_in_helper(obj4);
34682 if (arg5 == NULL) SWIG_fail;
ae8162c8 34683 temp5 = true;
d14a1e28
RD
34684 }
34685 }
34686 {
34687 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 34688 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
d14a1e28
RD
34689
34690 wxPyEndAllowThreads(__tstate);
34691 if (PyErr_Occurred()) SWIG_fail;
34692 }
a41e16b6 34693 {
7e08d4ef 34694 resultobj = wxPyMake_wxObject(result, (bool)0);
a41e16b6 34695 }
d14a1e28
RD
34696 {
34697 if (temp3)
34698 delete arg3;
34699 }
34700 {
34701 if (temp5)
34702 delete arg5;
34703 }
34704 return resultobj;
34705 fail:
34706 {
34707 if (temp3)
34708 delete arg3;
34709 }
34710 {
34711 if (temp5)
34712 delete arg5;
34713 }
34714 return NULL;
34715}
34716
34717
c32bde28 34718static PyObject *_wrap_Menu_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34719 PyObject *resultobj = NULL;
d14a1e28
RD
34720 wxMenu *arg1 = (wxMenu *) 0 ;
34721 int arg2 ;
34722 wxMenuItem *result;
34723 PyObject * obj0 = 0 ;
994141e6 34724 PyObject * obj1 = 0 ;
d14a1e28 34725 char *kwnames[] = {
242b7b46 34726 (char *) "self",(char *) "id", NULL
d14a1e28
RD
34727 };
34728
994141e6 34729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Remove",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34731 if (SWIG_arg_fail(1)) SWIG_fail;
34732 {
32fe5131 34733 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
34734 if (SWIG_arg_fail(2)) SWIG_fail;
34735 }
d14a1e28
RD
34736 {
34737 PyThreadState* __tstate = wxPyBeginAllowThreads();
34738 result = (wxMenuItem *)(arg1)->Remove(arg2);
34739
34740 wxPyEndAllowThreads(__tstate);
34741 if (PyErr_Occurred()) SWIG_fail;
34742 }
34743 {
7e08d4ef 34744 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
34745 }
34746 return resultobj;
34747 fail:
34748 return NULL;
34749}
34750
34751
c32bde28 34752static PyObject *_wrap_Menu_RemoveItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34753 PyObject *resultobj = NULL;
d14a1e28
RD
34754 wxMenu *arg1 = (wxMenu *) 0 ;
34755 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
34756 wxMenuItem *result;
34757 PyObject * obj0 = 0 ;
34758 PyObject * obj1 = 0 ;
34759 char *kwnames[] = {
34760 (char *) "self",(char *) "item", NULL
34761 };
34762
34763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_RemoveItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34765 if (SWIG_arg_fail(1)) SWIG_fail;
34766 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
34767 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
34768 {
34769 PyThreadState* __tstate = wxPyBeginAllowThreads();
34770 result = (wxMenuItem *)(arg1)->Remove(arg2);
34771
34772 wxPyEndAllowThreads(__tstate);
34773 if (PyErr_Occurred()) SWIG_fail;
34774 }
34775 {
7e08d4ef 34776 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
34777 }
34778 return resultobj;
34779 fail:
34780 return NULL;
34781}
34782
34783
c32bde28 34784static PyObject *_wrap_Menu_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34785 PyObject *resultobj = NULL;
d14a1e28
RD
34786 wxMenu *arg1 = (wxMenu *) 0 ;
34787 int arg2 ;
34788 bool result;
34789 PyObject * obj0 = 0 ;
994141e6 34790 PyObject * obj1 = 0 ;
d14a1e28 34791 char *kwnames[] = {
242b7b46 34792 (char *) "self",(char *) "id", NULL
d14a1e28
RD
34793 };
34794
994141e6 34795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Delete",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34797 if (SWIG_arg_fail(1)) SWIG_fail;
34798 {
32fe5131 34799 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
34800 if (SWIG_arg_fail(2)) SWIG_fail;
34801 }
d14a1e28
RD
34802 {
34803 PyThreadState* __tstate = wxPyBeginAllowThreads();
34804 result = (bool)(arg1)->Delete(arg2);
34805
34806 wxPyEndAllowThreads(__tstate);
34807 if (PyErr_Occurred()) SWIG_fail;
34808 }
4f89f6a3
RD
34809 {
34810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34811 }
d14a1e28
RD
34812 return resultobj;
34813 fail:
34814 return NULL;
34815}
34816
34817
c32bde28 34818static PyObject *_wrap_Menu_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34819 PyObject *resultobj = NULL;
d14a1e28
RD
34820 wxMenu *arg1 = (wxMenu *) 0 ;
34821 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
34822 bool result;
34823 PyObject * obj0 = 0 ;
34824 PyObject * obj1 = 0 ;
34825 char *kwnames[] = {
34826 (char *) "self",(char *) "item", NULL
34827 };
34828
34829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34831 if (SWIG_arg_fail(1)) SWIG_fail;
34832 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
34833 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
34834 {
34835 PyThreadState* __tstate = wxPyBeginAllowThreads();
34836 result = (bool)(arg1)->Delete(arg2);
34837
34838 wxPyEndAllowThreads(__tstate);
34839 if (PyErr_Occurred()) SWIG_fail;
34840 }
4f89f6a3
RD
34841 {
34842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34843 }
d14a1e28
RD
34844 return resultobj;
34845 fail:
34846 return NULL;
34847}
34848
34849
c32bde28 34850static PyObject *_wrap_Menu_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34851 PyObject *resultobj = NULL;
d14a1e28
RD
34852 wxMenu *arg1 = (wxMenu *) 0 ;
34853 PyObject * obj0 = 0 ;
34854 char *kwnames[] = {
34855 (char *) "self", NULL
34856 };
34857
34858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
34859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34860 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
34861 {
34862 PyThreadState* __tstate = wxPyBeginAllowThreads();
34863 wxMenu_Destroy(arg1);
34864
34865 wxPyEndAllowThreads(__tstate);
34866 if (PyErr_Occurred()) SWIG_fail;
34867 }
34868 Py_INCREF(Py_None); resultobj = Py_None;
34869 return resultobj;
34870 fail:
34871 return NULL;
34872}
34873
34874
c32bde28 34875static PyObject *_wrap_Menu_DestroyId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34876 PyObject *resultobj = NULL;
d14a1e28
RD
34877 wxMenu *arg1 = (wxMenu *) 0 ;
34878 int arg2 ;
34879 bool result;
34880 PyObject * obj0 = 0 ;
994141e6 34881 PyObject * obj1 = 0 ;
d14a1e28 34882 char *kwnames[] = {
242b7b46 34883 (char *) "self",(char *) "id", NULL
d14a1e28
RD
34884 };
34885
994141e6 34886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34888 if (SWIG_arg_fail(1)) SWIG_fail;
34889 {
32fe5131 34890 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
34891 if (SWIG_arg_fail(2)) SWIG_fail;
34892 }
d14a1e28
RD
34893 {
34894 PyThreadState* __tstate = wxPyBeginAllowThreads();
34895 result = (bool)(arg1)->Destroy(arg2);
34896
34897 wxPyEndAllowThreads(__tstate);
34898 if (PyErr_Occurred()) SWIG_fail;
34899 }
4f89f6a3
RD
34900 {
34901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34902 }
d14a1e28
RD
34903 return resultobj;
34904 fail:
34905 return NULL;
34906}
34907
34908
c32bde28 34909static PyObject *_wrap_Menu_DestroyItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34910 PyObject *resultobj = NULL;
d14a1e28
RD
34911 wxMenu *arg1 = (wxMenu *) 0 ;
34912 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
34913 bool result;
34914 PyObject * obj0 = 0 ;
34915 PyObject * obj1 = 0 ;
34916 char *kwnames[] = {
34917 (char *) "self",(char *) "item", NULL
34918 };
34919
34920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
34921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34922 if (SWIG_arg_fail(1)) SWIG_fail;
34923 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
34924 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
34925 {
34926 PyThreadState* __tstate = wxPyBeginAllowThreads();
34927 result = (bool)(arg1)->Destroy(arg2);
34928
34929 wxPyEndAllowThreads(__tstate);
34930 if (PyErr_Occurred()) SWIG_fail;
34931 }
4f89f6a3
RD
34932 {
34933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34934 }
d14a1e28
RD
34935 return resultobj;
34936 fail:
34937 return NULL;
34938}
34939
34940
c32bde28 34941static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34942 PyObject *resultobj = NULL;
d14a1e28
RD
34943 wxMenu *arg1 = (wxMenu *) 0 ;
34944 size_t result;
34945 PyObject * obj0 = 0 ;
34946 char *kwnames[] = {
34947 (char *) "self", NULL
34948 };
34949
34950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItemCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
34951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34952 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
34953 {
34954 PyThreadState* __tstate = wxPyBeginAllowThreads();
34955 result = (size_t)((wxMenu const *)arg1)->GetMenuItemCount();
34956
34957 wxPyEndAllowThreads(__tstate);
34958 if (PyErr_Occurred()) SWIG_fail;
34959 }
093d3ff1 34960 {
32fe5131 34961 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 34962 }
d14a1e28
RD
34963 return resultobj;
34964 fail:
34965 return NULL;
34966}
34967
34968
c32bde28 34969static PyObject *_wrap_Menu_GetMenuItems(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34970 PyObject *resultobj = NULL;
d14a1e28
RD
34971 wxMenu *arg1 = (wxMenu *) 0 ;
34972 PyObject *result;
34973 PyObject * obj0 = 0 ;
34974 char *kwnames[] = {
34975 (char *) "self", NULL
34976 };
34977
34978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItems",kwnames,&obj0)) goto fail;
093d3ff1
RD
34979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
34980 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
34981 {
34982 PyThreadState* __tstate = wxPyBeginAllowThreads();
34983 result = (PyObject *)wxMenu_GetMenuItems(arg1);
34984
34985 wxPyEndAllowThreads(__tstate);
34986 if (PyErr_Occurred()) SWIG_fail;
34987 }
34988 resultobj = result;
34989 return resultobj;
34990 fail:
34991 return NULL;
34992}
34993
34994
c32bde28 34995static PyObject *_wrap_Menu_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 34996 PyObject *resultobj = NULL;
d14a1e28
RD
34997 wxMenu *arg1 = (wxMenu *) 0 ;
34998 wxString *arg2 = 0 ;
34999 int result;
ae8162c8 35000 bool temp2 = false ;
d14a1e28
RD
35001 PyObject * obj0 = 0 ;
35002 PyObject * obj1 = 0 ;
35003 char *kwnames[] = {
35004 (char *) "self",(char *) "item", NULL
35005 };
35006
35007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35009 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
35010 {
35011 arg2 = wxString_in_helper(obj1);
35012 if (arg2 == NULL) SWIG_fail;
ae8162c8 35013 temp2 = true;
d14a1e28
RD
35014 }
35015 {
35016 PyThreadState* __tstate = wxPyBeginAllowThreads();
35017 result = (int)((wxMenu const *)arg1)->FindItem((wxString const &)*arg2);
35018
35019 wxPyEndAllowThreads(__tstate);
35020 if (PyErr_Occurred()) SWIG_fail;
35021 }
093d3ff1 35022 {
32fe5131 35023 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 35024 }
d14a1e28
RD
35025 {
35026 if (temp2)
35027 delete arg2;
35028 }
35029 return resultobj;
35030 fail:
35031 {
35032 if (temp2)
35033 delete arg2;
35034 }
35035 return NULL;
35036}
35037
35038
c32bde28 35039static PyObject *_wrap_Menu_FindItemById(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35040 PyObject *resultobj = NULL;
d14a1e28
RD
35041 wxMenu *arg1 = (wxMenu *) 0 ;
35042 int arg2 ;
35043 wxMenuItem *result;
35044 PyObject * obj0 = 0 ;
994141e6 35045 PyObject * obj1 = 0 ;
d14a1e28 35046 char *kwnames[] = {
242b7b46 35047 (char *) "self",(char *) "id", NULL
d14a1e28
RD
35048 };
35049
994141e6 35050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemById",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35052 if (SWIG_arg_fail(1)) SWIG_fail;
35053 {
32fe5131 35054 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
35055 if (SWIG_arg_fail(2)) SWIG_fail;
35056 }
d14a1e28
RD
35057 {
35058 PyThreadState* __tstate = wxPyBeginAllowThreads();
35059 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItem(arg2);
35060
35061 wxPyEndAllowThreads(__tstate);
35062 if (PyErr_Occurred()) SWIG_fail;
35063 }
35064 {
7e08d4ef 35065 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
35066 }
35067 return resultobj;
35068 fail:
35069 return NULL;
35070}
35071
35072
c32bde28 35073static PyObject *_wrap_Menu_FindItemByPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35074 PyObject *resultobj = NULL;
d14a1e28
RD
35075 wxMenu *arg1 = (wxMenu *) 0 ;
35076 size_t arg2 ;
35077 wxMenuItem *result;
35078 PyObject * obj0 = 0 ;
35079 PyObject * obj1 = 0 ;
35080 char *kwnames[] = {
35081 (char *) "self",(char *) "position", NULL
35082 };
35083
35084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35086 if (SWIG_arg_fail(1)) SWIG_fail;
35087 {
32fe5131 35088 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
35089 if (SWIG_arg_fail(2)) SWIG_fail;
35090 }
d14a1e28
RD
35091 {
35092 PyThreadState* __tstate = wxPyBeginAllowThreads();
35093 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItemByPosition(arg2);
35094
35095 wxPyEndAllowThreads(__tstate);
35096 if (PyErr_Occurred()) SWIG_fail;
35097 }
35098 {
7e08d4ef 35099 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
35100 }
35101 return resultobj;
35102 fail:
35103 return NULL;
35104}
35105
35106
c32bde28 35107static PyObject *_wrap_Menu_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35108 PyObject *resultobj = NULL;
d14a1e28
RD
35109 wxMenu *arg1 = (wxMenu *) 0 ;
35110 int arg2 ;
35111 bool arg3 ;
35112 PyObject * obj0 = 0 ;
994141e6 35113 PyObject * obj1 = 0 ;
d14a1e28
RD
35114 PyObject * obj2 = 0 ;
35115 char *kwnames[] = {
242b7b46 35116 (char *) "self",(char *) "id",(char *) "enable", NULL
d14a1e28
RD
35117 };
35118
994141e6 35119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
35120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35121 if (SWIG_arg_fail(1)) SWIG_fail;
35122 {
32fe5131 35123 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
35124 if (SWIG_arg_fail(2)) SWIG_fail;
35125 }
35126 {
32fe5131 35127 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
35128 if (SWIG_arg_fail(3)) SWIG_fail;
35129 }
d14a1e28
RD
35130 {
35131 PyThreadState* __tstate = wxPyBeginAllowThreads();
35132 (arg1)->Enable(arg2,arg3);
35133
35134 wxPyEndAllowThreads(__tstate);
35135 if (PyErr_Occurred()) SWIG_fail;
35136 }
35137 Py_INCREF(Py_None); resultobj = Py_None;
35138 return resultobj;
35139 fail:
35140 return NULL;
35141}
35142
35143
c32bde28 35144static PyObject *_wrap_Menu_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35145 PyObject *resultobj = NULL;
d14a1e28
RD
35146 wxMenu *arg1 = (wxMenu *) 0 ;
35147 int arg2 ;
35148 bool result;
35149 PyObject * obj0 = 0 ;
994141e6 35150 PyObject * obj1 = 0 ;
d14a1e28 35151 char *kwnames[] = {
242b7b46 35152 (char *) "self",(char *) "id", NULL
d14a1e28
RD
35153 };
35154
994141e6 35155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35157 if (SWIG_arg_fail(1)) SWIG_fail;
35158 {
32fe5131 35159 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
35160 if (SWIG_arg_fail(2)) SWIG_fail;
35161 }
d14a1e28
RD
35162 {
35163 PyThreadState* __tstate = wxPyBeginAllowThreads();
35164 result = (bool)((wxMenu const *)arg1)->IsEnabled(arg2);
35165
35166 wxPyEndAllowThreads(__tstate);
35167 if (PyErr_Occurred()) SWIG_fail;
35168 }
4f89f6a3
RD
35169 {
35170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35171 }
d14a1e28
RD
35172 return resultobj;
35173 fail:
35174 return NULL;
35175}
35176
35177
c32bde28 35178static PyObject *_wrap_Menu_Check(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35179 PyObject *resultobj = NULL;
d14a1e28
RD
35180 wxMenu *arg1 = (wxMenu *) 0 ;
35181 int arg2 ;
35182 bool arg3 ;
35183 PyObject * obj0 = 0 ;
994141e6 35184 PyObject * obj1 = 0 ;
d14a1e28
RD
35185 PyObject * obj2 = 0 ;
35186 char *kwnames[] = {
242b7b46 35187 (char *) "self",(char *) "id",(char *) "check", NULL
d14a1e28
RD
35188 };
35189
994141e6 35190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
35191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35192 if (SWIG_arg_fail(1)) SWIG_fail;
35193 {
32fe5131 35194 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
35195 if (SWIG_arg_fail(2)) SWIG_fail;
35196 }
35197 {
32fe5131 35198 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
35199 if (SWIG_arg_fail(3)) SWIG_fail;
35200 }
d14a1e28
RD
35201 {
35202 PyThreadState* __tstate = wxPyBeginAllowThreads();
35203 (arg1)->Check(arg2,arg3);
35204
35205 wxPyEndAllowThreads(__tstate);
35206 if (PyErr_Occurred()) SWIG_fail;
35207 }
35208 Py_INCREF(Py_None); resultobj = Py_None;
35209 return resultobj;
35210 fail:
35211 return NULL;
35212}
35213
35214
c32bde28 35215static PyObject *_wrap_Menu_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35216 PyObject *resultobj = NULL;
d14a1e28
RD
35217 wxMenu *arg1 = (wxMenu *) 0 ;
35218 int arg2 ;
35219 bool result;
35220 PyObject * obj0 = 0 ;
994141e6 35221 PyObject * obj1 = 0 ;
d14a1e28 35222 char *kwnames[] = {
242b7b46 35223 (char *) "self",(char *) "id", NULL
d14a1e28
RD
35224 };
35225
994141e6 35226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsChecked",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35228 if (SWIG_arg_fail(1)) SWIG_fail;
35229 {
32fe5131 35230 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
35231 if (SWIG_arg_fail(2)) SWIG_fail;
35232 }
d14a1e28
RD
35233 {
35234 PyThreadState* __tstate = wxPyBeginAllowThreads();
35235 result = (bool)((wxMenu const *)arg1)->IsChecked(arg2);
35236
35237 wxPyEndAllowThreads(__tstate);
35238 if (PyErr_Occurred()) SWIG_fail;
35239 }
4f89f6a3
RD
35240 {
35241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35242 }
d14a1e28
RD
35243 return resultobj;
35244 fail:
35245 return NULL;
35246}
35247
35248
c32bde28 35249static PyObject *_wrap_Menu_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35250 PyObject *resultobj = NULL;
d14a1e28
RD
35251 wxMenu *arg1 = (wxMenu *) 0 ;
35252 int arg2 ;
35253 wxString *arg3 = 0 ;
ae8162c8 35254 bool temp3 = false ;
d14a1e28 35255 PyObject * obj0 = 0 ;
994141e6 35256 PyObject * obj1 = 0 ;
d14a1e28
RD
35257 PyObject * obj2 = 0 ;
35258 char *kwnames[] = {
242b7b46 35259 (char *) "self",(char *) "id",(char *) "label", NULL
d14a1e28
RD
35260 };
35261
994141e6 35262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
35263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35264 if (SWIG_arg_fail(1)) SWIG_fail;
35265 {
32fe5131 35266 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
35267 if (SWIG_arg_fail(2)) SWIG_fail;
35268 }
d14a1e28
RD
35269 {
35270 arg3 = wxString_in_helper(obj2);
35271 if (arg3 == NULL) SWIG_fail;
ae8162c8 35272 temp3 = true;
d14a1e28
RD
35273 }
35274 {
35275 PyThreadState* __tstate = wxPyBeginAllowThreads();
35276 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
35277
35278 wxPyEndAllowThreads(__tstate);
35279 if (PyErr_Occurred()) SWIG_fail;
35280 }
35281 Py_INCREF(Py_None); resultobj = Py_None;
35282 {
35283 if (temp3)
35284 delete arg3;
35285 }
35286 return resultobj;
35287 fail:
35288 {
35289 if (temp3)
35290 delete arg3;
35291 }
35292 return NULL;
35293}
35294
35295
c32bde28 35296static PyObject *_wrap_Menu_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35297 PyObject *resultobj = NULL;
d14a1e28
RD
35298 wxMenu *arg1 = (wxMenu *) 0 ;
35299 int arg2 ;
35300 wxString result;
35301 PyObject * obj0 = 0 ;
994141e6 35302 PyObject * obj1 = 0 ;
d14a1e28 35303 char *kwnames[] = {
242b7b46 35304 (char *) "self",(char *) "id", NULL
d14a1e28
RD
35305 };
35306
994141e6 35307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35309 if (SWIG_arg_fail(1)) SWIG_fail;
35310 {
32fe5131 35311 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
35312 if (SWIG_arg_fail(2)) SWIG_fail;
35313 }
d14a1e28
RD
35314 {
35315 PyThreadState* __tstate = wxPyBeginAllowThreads();
35316 result = ((wxMenu const *)arg1)->GetLabel(arg2);
35317
35318 wxPyEndAllowThreads(__tstate);
35319 if (PyErr_Occurred()) SWIG_fail;
35320 }
35321 {
35322#if wxUSE_UNICODE
35323 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
35324#else
35325 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
35326#endif
35327 }
35328 return resultobj;
35329 fail:
35330 return NULL;
35331}
35332
35333
c32bde28 35334static PyObject *_wrap_Menu_SetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35335 PyObject *resultobj = NULL;
d14a1e28
RD
35336 wxMenu *arg1 = (wxMenu *) 0 ;
35337 int arg2 ;
35338 wxString *arg3 = 0 ;
ae8162c8 35339 bool temp3 = false ;
d14a1e28 35340 PyObject * obj0 = 0 ;
994141e6 35341 PyObject * obj1 = 0 ;
d14a1e28
RD
35342 PyObject * obj2 = 0 ;
35343 char *kwnames[] = {
242b7b46 35344 (char *) "self",(char *) "id",(char *) "helpString", NULL
d14a1e28
RD
35345 };
35346
994141e6 35347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
35348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35349 if (SWIG_arg_fail(1)) SWIG_fail;
35350 {
32fe5131 35351 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
35352 if (SWIG_arg_fail(2)) SWIG_fail;
35353 }
d14a1e28
RD
35354 {
35355 arg3 = wxString_in_helper(obj2);
35356 if (arg3 == NULL) SWIG_fail;
ae8162c8 35357 temp3 = true;
d14a1e28
RD
35358 }
35359 {
35360 PyThreadState* __tstate = wxPyBeginAllowThreads();
35361 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
35362
35363 wxPyEndAllowThreads(__tstate);
35364 if (PyErr_Occurred()) SWIG_fail;
35365 }
35366 Py_INCREF(Py_None); resultobj = Py_None;
35367 {
35368 if (temp3)
35369 delete arg3;
35370 }
35371 return resultobj;
35372 fail:
35373 {
35374 if (temp3)
35375 delete arg3;
35376 }
35377 return NULL;
35378}
35379
35380
c32bde28 35381static PyObject *_wrap_Menu_GetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35382 PyObject *resultobj = NULL;
d14a1e28
RD
35383 wxMenu *arg1 = (wxMenu *) 0 ;
35384 int arg2 ;
35385 wxString result;
35386 PyObject * obj0 = 0 ;
994141e6 35387 PyObject * obj1 = 0 ;
d14a1e28 35388 char *kwnames[] = {
242b7b46 35389 (char *) "self",(char *) "id", NULL
d14a1e28
RD
35390 };
35391
994141e6 35392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35394 if (SWIG_arg_fail(1)) SWIG_fail;
35395 {
32fe5131 35396 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
35397 if (SWIG_arg_fail(2)) SWIG_fail;
35398 }
d14a1e28
RD
35399 {
35400 PyThreadState* __tstate = wxPyBeginAllowThreads();
35401 result = ((wxMenu const *)arg1)->GetHelpString(arg2);
35402
35403 wxPyEndAllowThreads(__tstate);
35404 if (PyErr_Occurred()) SWIG_fail;
35405 }
35406 {
35407#if wxUSE_UNICODE
35408 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
35409#else
35410 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
35411#endif
35412 }
35413 return resultobj;
35414 fail:
35415 return NULL;
35416}
35417
35418
c32bde28 35419static PyObject *_wrap_Menu_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35420 PyObject *resultobj = NULL;
d14a1e28
RD
35421 wxMenu *arg1 = (wxMenu *) 0 ;
35422 wxString *arg2 = 0 ;
ae8162c8 35423 bool temp2 = false ;
d14a1e28
RD
35424 PyObject * obj0 = 0 ;
35425 PyObject * obj1 = 0 ;
35426 char *kwnames[] = {
35427 (char *) "self",(char *) "title", NULL
35428 };
35429
35430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetTitle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35432 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
35433 {
35434 arg2 = wxString_in_helper(obj1);
35435 if (arg2 == NULL) SWIG_fail;
ae8162c8 35436 temp2 = true;
d14a1e28
RD
35437 }
35438 {
35439 PyThreadState* __tstate = wxPyBeginAllowThreads();
35440 (arg1)->SetTitle((wxString const &)*arg2);
35441
35442 wxPyEndAllowThreads(__tstate);
35443 if (PyErr_Occurred()) SWIG_fail;
35444 }
35445 Py_INCREF(Py_None); resultobj = Py_None;
35446 {
35447 if (temp2)
35448 delete arg2;
35449 }
35450 return resultobj;
35451 fail:
35452 {
35453 if (temp2)
35454 delete arg2;
35455 }
35456 return NULL;
35457}
35458
35459
c32bde28 35460static PyObject *_wrap_Menu_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35461 PyObject *resultobj = NULL;
d14a1e28
RD
35462 wxMenu *arg1 = (wxMenu *) 0 ;
35463 wxString result;
35464 PyObject * obj0 = 0 ;
35465 char *kwnames[] = {
35466 (char *) "self", NULL
35467 };
35468
35469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetTitle",kwnames,&obj0)) goto fail;
093d3ff1
RD
35470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35471 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
35472 {
35473 PyThreadState* __tstate = wxPyBeginAllowThreads();
35474 result = ((wxMenu const *)arg1)->GetTitle();
35475
35476 wxPyEndAllowThreads(__tstate);
35477 if (PyErr_Occurred()) SWIG_fail;
35478 }
35479 {
35480#if wxUSE_UNICODE
35481 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
35482#else
35483 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
35484#endif
35485 }
35486 return resultobj;
35487 fail:
35488 return NULL;
35489}
35490
35491
c32bde28 35492static PyObject *_wrap_Menu_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35493 PyObject *resultobj = NULL;
d14a1e28
RD
35494 wxMenu *arg1 = (wxMenu *) 0 ;
35495 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
35496 PyObject * obj0 = 0 ;
35497 PyObject * obj1 = 0 ;
35498 char *kwnames[] = {
35499 (char *) "self",(char *) "handler", NULL
35500 };
35501
35502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35504 if (SWIG_arg_fail(1)) SWIG_fail;
35505 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
35506 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
35507 {
35508 PyThreadState* __tstate = wxPyBeginAllowThreads();
35509 (arg1)->SetEventHandler(arg2);
35510
35511 wxPyEndAllowThreads(__tstate);
35512 if (PyErr_Occurred()) SWIG_fail;
35513 }
35514 Py_INCREF(Py_None); resultobj = Py_None;
35515 return resultobj;
35516 fail:
35517 return NULL;
35518}
35519
35520
c32bde28 35521static PyObject *_wrap_Menu_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35522 PyObject *resultobj = NULL;
d14a1e28
RD
35523 wxMenu *arg1 = (wxMenu *) 0 ;
35524 wxEvtHandler *result;
35525 PyObject * obj0 = 0 ;
35526 char *kwnames[] = {
35527 (char *) "self", NULL
35528 };
35529
35530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetEventHandler",kwnames,&obj0)) goto fail;
093d3ff1
RD
35531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35532 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
35533 {
35534 PyThreadState* __tstate = wxPyBeginAllowThreads();
35535 result = (wxEvtHandler *)((wxMenu const *)arg1)->GetEventHandler();
35536
35537 wxPyEndAllowThreads(__tstate);
35538 if (PyErr_Occurred()) SWIG_fail;
35539 }
35540 {
412d302d 35541 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
35542 }
35543 return resultobj;
35544 fail:
35545 return NULL;
35546}
35547
35548
c32bde28 35549static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35550 PyObject *resultobj = NULL;
d14a1e28
RD
35551 wxMenu *arg1 = (wxMenu *) 0 ;
35552 wxWindow *arg2 = (wxWindow *) 0 ;
35553 PyObject * obj0 = 0 ;
35554 PyObject * obj1 = 0 ;
35555 char *kwnames[] = {
35556 (char *) "self",(char *) "win", NULL
35557 };
35558
35559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35561 if (SWIG_arg_fail(1)) SWIG_fail;
35562 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
35563 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
35564 {
35565 PyThreadState* __tstate = wxPyBeginAllowThreads();
35566 (arg1)->SetInvokingWindow(arg2);
35567
35568 wxPyEndAllowThreads(__tstate);
35569 if (PyErr_Occurred()) SWIG_fail;
35570 }
35571 Py_INCREF(Py_None); resultobj = Py_None;
35572 return resultobj;
35573 fail:
35574 return NULL;
35575}
35576
35577
c32bde28 35578static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35579 PyObject *resultobj = NULL;
d14a1e28
RD
35580 wxMenu *arg1 = (wxMenu *) 0 ;
35581 wxWindow *result;
35582 PyObject * obj0 = 0 ;
35583 char *kwnames[] = {
35584 (char *) "self", NULL
35585 };
35586
35587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetInvokingWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
35588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35589 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
35590 {
35591 PyThreadState* __tstate = wxPyBeginAllowThreads();
35592 result = (wxWindow *)((wxMenu const *)arg1)->GetInvokingWindow();
35593
35594 wxPyEndAllowThreads(__tstate);
35595 if (PyErr_Occurred()) SWIG_fail;
35596 }
35597 {
412d302d 35598 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
35599 }
35600 return resultobj;
35601 fail:
35602 return NULL;
35603}
35604
35605
c32bde28 35606static PyObject *_wrap_Menu_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35607 PyObject *resultobj = NULL;
d14a1e28
RD
35608 wxMenu *arg1 = (wxMenu *) 0 ;
35609 long result;
35610 PyObject * obj0 = 0 ;
35611 char *kwnames[] = {
35612 (char *) "self", NULL
35613 };
35614
35615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
35616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35617 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
35618 {
35619 PyThreadState* __tstate = wxPyBeginAllowThreads();
35620 result = (long)((wxMenu const *)arg1)->GetStyle();
35621
35622 wxPyEndAllowThreads(__tstate);
35623 if (PyErr_Occurred()) SWIG_fail;
35624 }
093d3ff1 35625 {
32fe5131 35626 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 35627 }
d14a1e28
RD
35628 return resultobj;
35629 fail:
35630 return NULL;
35631}
35632
35633
c32bde28 35634static PyObject *_wrap_Menu_UpdateUI(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35635 PyObject *resultobj = NULL;
d14a1e28
RD
35636 wxMenu *arg1 = (wxMenu *) 0 ;
35637 wxEvtHandler *arg2 = (wxEvtHandler *) NULL ;
35638 PyObject * obj0 = 0 ;
35639 PyObject * obj1 = 0 ;
35640 char *kwnames[] = {
35641 (char *) "self",(char *) "source", NULL
35642 };
35643
35644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Menu_UpdateUI",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35646 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 35647 if (obj1) {
093d3ff1
RD
35648 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
35649 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
35650 }
35651 {
35652 PyThreadState* __tstate = wxPyBeginAllowThreads();
35653 (arg1)->UpdateUI(arg2);
35654
35655 wxPyEndAllowThreads(__tstate);
35656 if (PyErr_Occurred()) SWIG_fail;
35657 }
35658 Py_INCREF(Py_None); resultobj = Py_None;
35659 return resultobj;
35660 fail:
35661 return NULL;
35662}
35663
35664
c32bde28 35665static PyObject *_wrap_Menu_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35666 PyObject *resultobj = NULL;
d14a1e28
RD
35667 wxMenu *arg1 = (wxMenu *) 0 ;
35668 wxMenuBar *result;
35669 PyObject * obj0 = 0 ;
35670 char *kwnames[] = {
35671 (char *) "self", NULL
35672 };
35673
35674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
35675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35676 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
35677 {
35678 PyThreadState* __tstate = wxPyBeginAllowThreads();
35679 result = (wxMenuBar *)((wxMenu const *)arg1)->GetMenuBar();
35680
35681 wxPyEndAllowThreads(__tstate);
35682 if (PyErr_Occurred()) SWIG_fail;
35683 }
35684 {
7e08d4ef 35685 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
35686 }
35687 return resultobj;
35688 fail:
35689 return NULL;
35690}
35691
35692
c32bde28 35693static PyObject *_wrap_Menu_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35694 PyObject *resultobj = NULL;
d14a1e28
RD
35695 wxMenu *arg1 = (wxMenu *) 0 ;
35696 wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ;
35697 PyObject * obj0 = 0 ;
35698 PyObject * obj1 = 0 ;
35699 char *kwnames[] = {
35700 (char *) "self",(char *) "menubar", NULL
35701 };
35702
35703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Attach",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35705 if (SWIG_arg_fail(1)) SWIG_fail;
35706 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBarBase, SWIG_POINTER_EXCEPTION | 0);
35707 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
35708 {
35709 PyThreadState* __tstate = wxPyBeginAllowThreads();
35710 (arg1)->Attach(arg2);
35711
35712 wxPyEndAllowThreads(__tstate);
35713 if (PyErr_Occurred()) SWIG_fail;
35714 }
35715 Py_INCREF(Py_None); resultobj = Py_None;
35716 return resultobj;
35717 fail:
35718 return NULL;
35719}
35720
35721
c32bde28 35722static PyObject *_wrap_Menu_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35723 PyObject *resultobj = NULL;
d14a1e28
RD
35724 wxMenu *arg1 = (wxMenu *) 0 ;
35725 PyObject * obj0 = 0 ;
35726 char *kwnames[] = {
35727 (char *) "self", NULL
35728 };
35729
35730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Detach",kwnames,&obj0)) goto fail;
093d3ff1
RD
35731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35732 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
35733 {
35734 PyThreadState* __tstate = wxPyBeginAllowThreads();
35735 (arg1)->Detach();
35736
35737 wxPyEndAllowThreads(__tstate);
35738 if (PyErr_Occurred()) SWIG_fail;
35739 }
35740 Py_INCREF(Py_None); resultobj = Py_None;
35741 return resultobj;
35742 fail:
35743 return NULL;
35744}
35745
35746
c32bde28 35747static PyObject *_wrap_Menu_IsAttached(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35748 PyObject *resultobj = NULL;
d14a1e28
RD
35749 wxMenu *arg1 = (wxMenu *) 0 ;
35750 bool result;
35751 PyObject * obj0 = 0 ;
35752 char *kwnames[] = {
35753 (char *) "self", NULL
35754 };
35755
35756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_IsAttached",kwnames,&obj0)) goto fail;
093d3ff1
RD
35757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35758 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
35759 {
35760 PyThreadState* __tstate = wxPyBeginAllowThreads();
35761 result = (bool)((wxMenu const *)arg1)->IsAttached();
35762
35763 wxPyEndAllowThreads(__tstate);
35764 if (PyErr_Occurred()) SWIG_fail;
35765 }
4f89f6a3
RD
35766 {
35767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35768 }
d14a1e28
RD
35769 return resultobj;
35770 fail:
35771 return NULL;
35772}
35773
35774
c32bde28 35775static PyObject *_wrap_Menu_SetParent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35776 PyObject *resultobj = NULL;
d14a1e28
RD
35777 wxMenu *arg1 = (wxMenu *) 0 ;
35778 wxMenu *arg2 = (wxMenu *) 0 ;
35779 PyObject * obj0 = 0 ;
35780 PyObject * obj1 = 0 ;
35781 char *kwnames[] = {
35782 (char *) "self",(char *) "parent", NULL
35783 };
35784
35785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetParent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
35786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35787 if (SWIG_arg_fail(1)) SWIG_fail;
35788 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35789 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
35790 {
35791 PyThreadState* __tstate = wxPyBeginAllowThreads();
35792 (arg1)->SetParent(arg2);
35793
35794 wxPyEndAllowThreads(__tstate);
35795 if (PyErr_Occurred()) SWIG_fail;
35796 }
35797 Py_INCREF(Py_None); resultobj = Py_None;
35798 return resultobj;
35799 fail:
35800 return NULL;
35801}
35802
35803
c32bde28 35804static PyObject *_wrap_Menu_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35805 PyObject *resultobj = NULL;
d14a1e28
RD
35806 wxMenu *arg1 = (wxMenu *) 0 ;
35807 wxMenu *result;
35808 PyObject * obj0 = 0 ;
35809 char *kwnames[] = {
35810 (char *) "self", NULL
35811 };
35812
35813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetParent",kwnames,&obj0)) goto fail;
093d3ff1
RD
35814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35815 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
35816 {
35817 PyThreadState* __tstate = wxPyBeginAllowThreads();
35818 result = (wxMenu *)((wxMenu const *)arg1)->GetParent();
35819
35820 wxPyEndAllowThreads(__tstate);
35821 if (PyErr_Occurred()) SWIG_fail;
35822 }
35823 {
412d302d 35824 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
35825 }
35826 return resultobj;
35827 fail:
35828 return NULL;
35829}
35830
35831
c32bde28 35832static PyObject * Menu_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
35833 PyObject *obj;
35834 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35835 SWIG_TypeClientData(SWIGTYPE_p_wxMenu, obj);
35836 Py_INCREF(obj);
35837 return Py_BuildValue((char *)"");
35838}
c32bde28 35839static PyObject *_wrap_new_MenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35840 PyObject *resultobj = NULL;
d14a1e28
RD
35841 long arg1 = (long) 0 ;
35842 wxMenuBar *result;
994141e6 35843 PyObject * obj0 = 0 ;
d14a1e28
RD
35844 char *kwnames[] = {
35845 (char *) "style", NULL
35846 };
35847
994141e6
RD
35848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MenuBar",kwnames,&obj0)) goto fail;
35849 if (obj0) {
093d3ff1 35850 {
32fe5131 35851 arg1 = static_cast<long >(SWIG_As_long(obj0));
093d3ff1
RD
35852 if (SWIG_arg_fail(1)) SWIG_fail;
35853 }
994141e6 35854 }
d14a1e28 35855 {
e3b71cb8 35856 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
35857 PyThreadState* __tstate = wxPyBeginAllowThreads();
35858 result = (wxMenuBar *)new wxMenuBar(arg1);
35859
35860 wxPyEndAllowThreads(__tstate);
110da5b0 35861 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 35862 }
b0f7404b 35863 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenuBar, 1);
d14a1e28
RD
35864 return resultobj;
35865 fail:
35866 return NULL;
35867}
35868
35869
c32bde28 35870static PyObject *_wrap_MenuBar_Append(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35871 PyObject *resultobj = NULL;
d14a1e28
RD
35872 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35873 wxMenu *arg2 = (wxMenu *) 0 ;
35874 wxString *arg3 = 0 ;
35875 bool result;
ae8162c8 35876 bool temp3 = false ;
d14a1e28
RD
35877 PyObject * obj0 = 0 ;
35878 PyObject * obj1 = 0 ;
35879 PyObject * obj2 = 0 ;
35880 char *kwnames[] = {
35881 (char *) "self",(char *) "menu",(char *) "title", NULL
35882 };
35883
35884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
35885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35886 if (SWIG_arg_fail(1)) SWIG_fail;
35887 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35888 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
35889 {
35890 arg3 = wxString_in_helper(obj2);
35891 if (arg3 == NULL) SWIG_fail;
ae8162c8 35892 temp3 = true;
d14a1e28
RD
35893 }
35894 {
35895 PyThreadState* __tstate = wxPyBeginAllowThreads();
35896 result = (bool)(arg1)->Append(arg2,(wxString const &)*arg3);
35897
35898 wxPyEndAllowThreads(__tstate);
35899 if (PyErr_Occurred()) SWIG_fail;
35900 }
4f89f6a3
RD
35901 {
35902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35903 }
d14a1e28
RD
35904 {
35905 if (temp3)
35906 delete arg3;
35907 }
35908 return resultobj;
35909 fail:
35910 {
35911 if (temp3)
35912 delete arg3;
35913 }
35914 return NULL;
35915}
35916
35917
c32bde28 35918static PyObject *_wrap_MenuBar_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35919 PyObject *resultobj = NULL;
d14a1e28
RD
35920 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35921 size_t arg2 ;
35922 wxMenu *arg3 = (wxMenu *) 0 ;
35923 wxString *arg4 = 0 ;
35924 bool result;
ae8162c8 35925 bool temp4 = false ;
d14a1e28
RD
35926 PyObject * obj0 = 0 ;
35927 PyObject * obj1 = 0 ;
35928 PyObject * obj2 = 0 ;
35929 PyObject * obj3 = 0 ;
35930 char *kwnames[] = {
35931 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35932 };
35933
35934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
35935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35936 if (SWIG_arg_fail(1)) SWIG_fail;
35937 {
32fe5131 35938 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
35939 if (SWIG_arg_fail(2)) SWIG_fail;
35940 }
35941 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
35942 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
35943 {
35944 arg4 = wxString_in_helper(obj3);
35945 if (arg4 == NULL) SWIG_fail;
ae8162c8 35946 temp4 = true;
d14a1e28
RD
35947 }
35948 {
35949 PyThreadState* __tstate = wxPyBeginAllowThreads();
35950 result = (bool)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4);
35951
35952 wxPyEndAllowThreads(__tstate);
35953 if (PyErr_Occurred()) SWIG_fail;
35954 }
4f89f6a3
RD
35955 {
35956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35957 }
d14a1e28
RD
35958 {
35959 if (temp4)
35960 delete arg4;
35961 }
35962 return resultobj;
35963 fail:
35964 {
35965 if (temp4)
35966 delete arg4;
35967 }
35968 return NULL;
35969}
35970
35971
c32bde28 35972static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 35973 PyObject *resultobj = NULL;
d14a1e28
RD
35974 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
35975 size_t result;
35976 PyObject * obj0 = 0 ;
35977 char *kwnames[] = {
35978 (char *) "self", NULL
35979 };
35980
35981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetMenuCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
35982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
35983 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
35984 {
35985 PyThreadState* __tstate = wxPyBeginAllowThreads();
35986 result = (size_t)((wxMenuBar const *)arg1)->GetMenuCount();
35987
35988 wxPyEndAllowThreads(__tstate);
35989 if (PyErr_Occurred()) SWIG_fail;
35990 }
093d3ff1 35991 {
32fe5131 35992 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 35993 }
d14a1e28
RD
35994 return resultobj;
35995 fail:
35996 return NULL;
35997}
35998
35999
c32bde28 36000static PyObject *_wrap_MenuBar_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36001 PyObject *resultobj = NULL;
d14a1e28
RD
36002 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
36003 size_t arg2 ;
36004 wxMenu *result;
36005 PyObject * obj0 = 0 ;
36006 PyObject * obj1 = 0 ;
36007 char *kwnames[] = {
36008 (char *) "self",(char *) "pos", NULL
36009 };
36010
36011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
36012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
36013 if (SWIG_arg_fail(1)) SWIG_fail;
36014 {
32fe5131 36015 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
36016 if (SWIG_arg_fail(2)) SWIG_fail;
36017 }
d14a1e28
RD
36018 {
36019 PyThreadState* __tstate = wxPyBeginAllowThreads();
36020 result = (wxMenu *)((wxMenuBar const *)arg1)->GetMenu(arg2);
36021
36022 wxPyEndAllowThreads(__tstate);
36023 if (PyErr_Occurred()) SWIG_fail;
36024 }
36025 {
412d302d 36026 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
36027 }
36028 return resultobj;
36029 fail:
36030 return NULL;
36031}
36032
36033
c32bde28 36034static PyObject *_wrap_MenuBar_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36035 PyObject *resultobj = NULL;
d14a1e28
RD
36036 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
36037 size_t arg2 ;
36038 wxMenu *arg3 = (wxMenu *) 0 ;
36039 wxString *arg4 = 0 ;
36040 wxMenu *result;
ae8162c8 36041 bool temp4 = false ;
d14a1e28
RD
36042 PyObject * obj0 = 0 ;
36043 PyObject * obj1 = 0 ;
36044 PyObject * obj2 = 0 ;
36045 PyObject * obj3 = 0 ;
36046 char *kwnames[] = {
36047 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
36048 };
36049
36050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
36051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
36052 if (SWIG_arg_fail(1)) SWIG_fail;
36053 {
32fe5131 36054 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
36055 if (SWIG_arg_fail(2)) SWIG_fail;
36056 }
36057 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
36058 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
36059 {
36060 arg4 = wxString_in_helper(obj3);
36061 if (arg4 == NULL) SWIG_fail;
ae8162c8 36062 temp4 = true;
d14a1e28
RD
36063 }
36064 {
36065 PyThreadState* __tstate = wxPyBeginAllowThreads();
36066 result = (wxMenu *)(arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
36067
36068 wxPyEndAllowThreads(__tstate);
36069 if (PyErr_Occurred()) SWIG_fail;
36070 }
36071 {
412d302d 36072 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
36073 }
36074 {
36075 if (temp4)
36076 delete arg4;
36077 }
36078 return resultobj;
36079 fail:
36080 {
36081 if (temp4)
36082 delete arg4;
36083 }
36084 return NULL;
36085}
36086
36087
c32bde28 36088static PyObject *_wrap_MenuBar_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36089 PyObject *resultobj = NULL;
d14a1e28
RD
36090 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
36091 size_t arg2 ;
36092 wxMenu *result;
36093 PyObject * obj0 = 0 ;
36094 PyObject * obj1 = 0 ;
36095 char *kwnames[] = {
36096 (char *) "self",(char *) "pos", NULL
36097 };
36098
36099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Remove",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
36100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
36101 if (SWIG_arg_fail(1)) SWIG_fail;
36102 {
32fe5131 36103 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
36104 if (SWIG_arg_fail(2)) SWIG_fail;
36105 }
d14a1e28
RD
36106 {
36107 PyThreadState* __tstate = wxPyBeginAllowThreads();
36108 result = (wxMenu *)(arg1)->Remove(arg2);
36109
36110 wxPyEndAllowThreads(__tstate);
36111 if (PyErr_Occurred()) SWIG_fail;
36112 }
36113 {
412d302d 36114 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
36115 }
36116 return resultobj;
36117 fail:
36118 return NULL;
36119}
36120
36121
c32bde28 36122static PyObject *_wrap_MenuBar_EnableTop(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36123 PyObject *resultobj = NULL;
d14a1e28
RD
36124 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
36125 size_t arg2 ;
36126 bool arg3 ;
36127 PyObject * obj0 = 0 ;
36128 PyObject * obj1 = 0 ;
36129 PyObject * obj2 = 0 ;
36130 char *kwnames[] = {
36131 (char *) "self",(char *) "pos",(char *) "enable", NULL
36132 };
36133
36134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
36135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
36136 if (SWIG_arg_fail(1)) SWIG_fail;
36137 {
32fe5131 36138 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
36139 if (SWIG_arg_fail(2)) SWIG_fail;
36140 }
36141 {
32fe5131 36142 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
36143 if (SWIG_arg_fail(3)) SWIG_fail;
36144 }
d14a1e28
RD
36145 {
36146 PyThreadState* __tstate = wxPyBeginAllowThreads();
36147 (arg1)->EnableTop(arg2,arg3);
36148
36149 wxPyEndAllowThreads(__tstate);
36150 if (PyErr_Occurred()) SWIG_fail;
36151 }
36152 Py_INCREF(Py_None); resultobj = Py_None;
36153 return resultobj;
36154 fail:
36155 return NULL;
36156}
36157
36158
c32bde28 36159static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36160 PyObject *resultobj = NULL;
d14a1e28
RD
36161 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
36162 size_t arg2 ;
36163 bool result;
36164 PyObject * obj0 = 0 ;
36165 PyObject * obj1 = 0 ;
36166 char *kwnames[] = {
36167 (char *) "self",(char *) "pos", NULL
36168 };
36169
36170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabledTop",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
36171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
36172 if (SWIG_arg_fail(1)) SWIG_fail;
36173 {
32fe5131 36174 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
36175 if (SWIG_arg_fail(2)) SWIG_fail;
36176 }
d14a1e28
RD
36177 {
36178 PyThreadState* __tstate = wxPyBeginAllowThreads();
36179 result = (bool)((wxMenuBar const *)arg1)->IsEnabledTop(arg2);
36180
36181 wxPyEndAllowThreads(__tstate);
36182 if (PyErr_Occurred()) SWIG_fail;
36183 }
4f89f6a3
RD
36184 {
36185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36186 }
d14a1e28
RD
36187 return resultobj;
36188 fail:
36189 return NULL;
36190}
36191
36192
c32bde28 36193static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36194 PyObject *resultobj = NULL;
d14a1e28
RD
36195 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
36196 size_t arg2 ;
36197 wxString *arg3 = 0 ;
ae8162c8 36198 bool temp3 = false ;
d14a1e28
RD
36199 PyObject * obj0 = 0 ;
36200 PyObject * obj1 = 0 ;
36201 PyObject * obj2 = 0 ;
36202 char *kwnames[] = {
36203 (char *) "self",(char *) "pos",(char *) "label", NULL
36204 };
36205
36206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
36207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
36208 if (SWIG_arg_fail(1)) SWIG_fail;
36209 {
32fe5131 36210 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
36211 if (SWIG_arg_fail(2)) SWIG_fail;
36212 }
d14a1e28
RD
36213 {
36214 arg3 = wxString_in_helper(obj2);
36215 if (arg3 == NULL) SWIG_fail;
ae8162c8 36216 temp3 = true;
d14a1e28
RD
36217 }
36218 {
36219 PyThreadState* __tstate = wxPyBeginAllowThreads();
36220 (arg1)->SetLabelTop(arg2,(wxString const &)*arg3);
36221
36222 wxPyEndAllowThreads(__tstate);
36223 if (PyErr_Occurred()) SWIG_fail;
36224 }
36225 Py_INCREF(Py_None); resultobj = Py_None;
36226 {
36227 if (temp3)
36228 delete arg3;
36229 }
36230 return resultobj;
36231 fail:
36232 {
36233 if (temp3)
36234 delete arg3;
36235 }
36236 return NULL;
36237}
36238
36239
c32bde28 36240static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36241 PyObject *resultobj = NULL;
d14a1e28
RD
36242 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
36243 size_t arg2 ;
36244 wxString result;
36245 PyObject * obj0 = 0 ;
36246 PyObject * obj1 = 0 ;
36247 char *kwnames[] = {
36248 (char *) "self",(char *) "pos", NULL
36249 };
36250
36251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
36252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
36253 if (SWIG_arg_fail(1)) SWIG_fail;
36254 {
32fe5131 36255 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
36256 if (SWIG_arg_fail(2)) SWIG_fail;
36257 }
d14a1e28
RD
36258 {
36259 PyThreadState* __tstate = wxPyBeginAllowThreads();
36260 result = ((wxMenuBar const *)arg1)->GetLabelTop(arg2);
36261
36262 wxPyEndAllowThreads(__tstate);
36263 if (PyErr_Occurred()) SWIG_fail;
36264 }
36265 {
36266#if wxUSE_UNICODE
36267 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
36268#else
36269 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
36270#endif
36271 }
36272 return resultobj;
36273 fail:
36274 return NULL;
36275}
36276
36277
c32bde28 36278static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36279 PyObject *resultobj = NULL;
d14a1e28
RD
36280 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
36281 wxString *arg2 = 0 ;
36282 wxString *arg3 = 0 ;
36283 int result;
ae8162c8
RD
36284 bool temp2 = false ;
36285 bool temp3 = false ;
d14a1e28
RD
36286 PyObject * obj0 = 0 ;
36287 PyObject * obj1 = 0 ;
36288 PyObject * obj2 = 0 ;
36289 char *kwnames[] = {
36290 (char *) "self",(char *) "menu",(char *) "item", NULL
36291 };
36292
36293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
36294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
36295 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
36296 {
36297 arg2 = wxString_in_helper(obj1);
36298 if (arg2 == NULL) SWIG_fail;
ae8162c8 36299 temp2 = true;
d14a1e28
RD
36300 }
36301 {
36302 arg3 = wxString_in_helper(obj2);
36303 if (arg3 == NULL) SWIG_fail;
ae8162c8 36304 temp3 = true;
d14a1e28
RD
36305 }
36306 {
36307 PyThreadState* __tstate = wxPyBeginAllowThreads();
36308 result = (int)((wxMenuBar const *)arg1)->FindMenuItem((wxString const &)*arg2,(wxString const &)*arg3);
36309
36310 wxPyEndAllowThreads(__tstate);
36311 if (PyErr_Occurred()) SWIG_fail;
36312 }
093d3ff1 36313 {
32fe5131 36314 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 36315 }
d14a1e28
RD
36316 {
36317 if (temp2)
36318 delete arg2;
36319 }
36320 {
36321 if (temp3)
36322 delete arg3;
36323 }
36324 return resultobj;
36325 fail:
36326 {
36327 if (temp2)
36328 delete arg2;
36329 }
36330 {
36331 if (temp3)
36332 delete arg3;
36333 }
36334 return NULL;
36335}
36336
36337
c32bde28 36338static PyObject *_wrap_MenuBar_FindItemById(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36339 PyObject *resultobj = NULL;
d14a1e28
RD
36340 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
36341 int arg2 ;
36342 wxMenuItem *result;
36343 PyObject * obj0 = 0 ;
994141e6 36344 PyObject * obj1 = 0 ;
d14a1e28 36345 char *kwnames[] = {
242b7b46 36346 (char *) "self",(char *) "id", NULL
d14a1e28
RD
36347 };
36348
994141e6 36349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindItemById",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
36350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
36351 if (SWIG_arg_fail(1)) SWIG_fail;
36352 {
32fe5131 36353 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
36354 if (SWIG_arg_fail(2)) SWIG_fail;
36355 }
d14a1e28
RD
36356 {
36357 PyThreadState* __tstate = wxPyBeginAllowThreads();
36358 result = (wxMenuItem *)((wxMenuBar const *)arg1)->FindItem(arg2);
36359
36360 wxPyEndAllowThreads(__tstate);
36361 if (PyErr_Occurred()) SWIG_fail;
36362 }
36363 {
7e08d4ef 36364 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
36365 }
36366 return resultobj;
36367 fail:
36368 return NULL;
36369}
36370
36371
c32bde28 36372static PyObject *_wrap_MenuBar_FindMenu(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36373 PyObject *resultobj = NULL;
d14a1e28
RD
36374 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
36375 wxString *arg2 = 0 ;
36376 int result;
ae8162c8 36377 bool temp2 = false ;
d14a1e28
RD
36378 PyObject * obj0 = 0 ;
36379 PyObject * obj1 = 0 ;
36380 char *kwnames[] = {
36381 (char *) "self",(char *) "title", NULL
36382 };
36383
36384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
36385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
36386 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
36387 {
36388 arg2 = wxString_in_helper(obj1);
36389 if (arg2 == NULL) SWIG_fail;
ae8162c8 36390 temp2 = true;
d14a1e28
RD
36391 }
36392 {
36393 PyThreadState* __tstate = wxPyBeginAllowThreads();
7a27cf7c 36394 result = (int)(arg1)->FindMenu((wxString const &)*arg2);
d14a1e28
RD
36395
36396 wxPyEndAllowThreads(__tstate);
36397 if (PyErr_Occurred()) SWIG_fail;
36398 }
093d3ff1 36399 {
32fe5131 36400 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 36401 }
d14a1e28
RD
36402 {
36403 if (temp2)
36404 delete arg2;
36405 }
36406 return resultobj;
36407 fail:
36408 {
36409 if (temp2)
36410 delete arg2;
36411 }
36412 return NULL;
36413}
36414
36415
c32bde28 36416static PyObject *_wrap_MenuBar_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36417 PyObject *resultobj = NULL;
d14a1e28
RD
36418 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
36419 int arg2 ;
36420 bool arg3 ;
36421 PyObject * obj0 = 0 ;
994141e6 36422 PyObject * obj1 = 0 ;
d14a1e28
RD
36423 PyObject * obj2 = 0 ;
36424 char *kwnames[] = {
242b7b46 36425 (char *) "self",(char *) "id",(char *) "enable", NULL
d14a1e28
RD
36426 };
36427
994141e6 36428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
36429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
36430 if (SWIG_arg_fail(1)) SWIG_fail;
36431 {
32fe5131 36432 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
36433 if (SWIG_arg_fail(2)) SWIG_fail;
36434 }
36435 {
32fe5131 36436 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
36437 if (SWIG_arg_fail(3)) SWIG_fail;
36438 }
d14a1e28
RD
36439 {
36440 PyThreadState* __tstate = wxPyBeginAllowThreads();
36441 (arg1)->Enable(arg2,arg3);
36442
36443 wxPyEndAllowThreads(__tstate);
36444 if (PyErr_Occurred()) SWIG_fail;
36445 }
36446 Py_INCREF(Py_None); resultobj = Py_None;
36447 return resultobj;
36448 fail:
36449 return NULL;
36450}
36451
36452
c32bde28 36453static PyObject *_wrap_MenuBar_Check(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36454 PyObject *resultobj = NULL;
d14a1e28
RD
36455 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
36456 int arg2 ;
36457 bool arg3 ;
36458 PyObject * obj0 = 0 ;
994141e6 36459 PyObject * obj1 = 0 ;
d14a1e28
RD
36460 PyObject * obj2 = 0 ;
36461 char *kwnames[] = {
242b7b46 36462 (char *) "self",(char *) "id",(char *) "check", NULL
d14a1e28
RD
36463 };
36464
994141e6 36465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
36466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
36467 if (SWIG_arg_fail(1)) SWIG_fail;
36468 {
32fe5131 36469 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
36470 if (SWIG_arg_fail(2)) SWIG_fail;
36471 }
36472 {
32fe5131 36473 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
36474 if (SWIG_arg_fail(3)) SWIG_fail;
36475 }
d14a1e28
RD
36476 {
36477 PyThreadState* __tstate = wxPyBeginAllowThreads();
36478 (arg1)->Check(arg2,arg3);
36479
36480 wxPyEndAllowThreads(__tstate);
36481 if (PyErr_Occurred()) SWIG_fail;
36482 }
36483 Py_INCREF(Py_None); resultobj = Py_None;
36484 return resultobj;
36485 fail:
36486 return NULL;
36487}
36488
36489
c32bde28 36490static PyObject *_wrap_MenuBar_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36491 PyObject *resultobj = NULL;
d14a1e28
RD
36492 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
36493 int arg2 ;
36494 bool result;
36495 PyObject * obj0 = 0 ;
994141e6 36496 PyObject * obj1 = 0 ;
d14a1e28 36497 char *kwnames[] = {
242b7b46 36498 (char *) "self",(char *) "id", NULL
d14a1e28
RD
36499 };
36500
994141e6 36501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsChecked",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
36502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
36503 if (SWIG_arg_fail(1)) SWIG_fail;
36504 {
32fe5131 36505 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
36506 if (SWIG_arg_fail(2)) SWIG_fail;
36507 }
d14a1e28
RD
36508 {
36509 PyThreadState* __tstate = wxPyBeginAllowThreads();
36510 result = (bool)((wxMenuBar const *)arg1)->IsChecked(arg2);
36511
36512 wxPyEndAllowThreads(__tstate);
36513 if (PyErr_Occurred()) SWIG_fail;
36514 }
4f89f6a3
RD
36515 {
36516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36517 }
d14a1e28
RD
36518 return resultobj;
36519 fail:
36520 return NULL;
36521}
36522
36523
c32bde28 36524static PyObject *_wrap_MenuBar_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36525 PyObject *resultobj = NULL;
d14a1e28
RD
36526 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
36527 int arg2 ;
36528 bool result;
36529 PyObject * obj0 = 0 ;
994141e6 36530 PyObject * obj1 = 0 ;
d14a1e28 36531 char *kwnames[] = {
242b7b46 36532 (char *) "self",(char *) "id", NULL
d14a1e28
RD
36533 };
36534
994141e6 36535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
36536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
36537 if (SWIG_arg_fail(1)) SWIG_fail;
36538 {
32fe5131 36539 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
36540 if (SWIG_arg_fail(2)) SWIG_fail;
36541 }
d14a1e28
RD
36542 {
36543 PyThreadState* __tstate = wxPyBeginAllowThreads();
36544 result = (bool)((wxMenuBar const *)arg1)->IsEnabled(arg2);
36545
36546 wxPyEndAllowThreads(__tstate);
36547 if (PyErr_Occurred()) SWIG_fail;
36548 }
4f89f6a3
RD
36549 {
36550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36551 }
d14a1e28
RD
36552 return resultobj;
36553 fail:
36554 return NULL;
36555}
36556
36557
c32bde28 36558static PyObject *_wrap_MenuBar_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36559 PyObject *resultobj = NULL;
d14a1e28
RD
36560 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
36561 int arg2 ;
36562 wxString *arg3 = 0 ;
ae8162c8 36563 bool temp3 = false ;
d14a1e28 36564 PyObject * obj0 = 0 ;
994141e6 36565 PyObject * obj1 = 0 ;
d14a1e28
RD
36566 PyObject * obj2 = 0 ;
36567 char *kwnames[] = {
242b7b46 36568 (char *) "self",(char *) "id",(char *) "label", NULL
d14a1e28
RD
36569 };
36570
994141e6 36571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
36572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
36573 if (SWIG_arg_fail(1)) SWIG_fail;
36574 {
32fe5131 36575 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
36576 if (SWIG_arg_fail(2)) SWIG_fail;
36577 }
d14a1e28
RD
36578 {
36579 arg3 = wxString_in_helper(obj2);
36580 if (arg3 == NULL) SWIG_fail;
ae8162c8 36581 temp3 = true;
d14a1e28
RD
36582 }
36583 {
36584 PyThreadState* __tstate = wxPyBeginAllowThreads();
36585 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
36586
36587 wxPyEndAllowThreads(__tstate);
36588 if (PyErr_Occurred()) SWIG_fail;
36589 }
36590 Py_INCREF(Py_None); resultobj = Py_None;
36591 {
36592 if (temp3)
36593 delete arg3;
36594 }
36595 return resultobj;
36596 fail:
36597 {
36598 if (temp3)
36599 delete arg3;
36600 }
36601 return NULL;
36602}
36603
36604
c32bde28 36605static PyObject *_wrap_MenuBar_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36606 PyObject *resultobj = NULL;
d14a1e28
RD
36607 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
36608 int arg2 ;
36609 wxString result;
36610 PyObject * obj0 = 0 ;
994141e6 36611 PyObject * obj1 = 0 ;
d14a1e28 36612 char *kwnames[] = {
242b7b46 36613 (char *) "self",(char *) "id", NULL
d14a1e28
RD
36614 };
36615
994141e6 36616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
36617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
36618 if (SWIG_arg_fail(1)) SWIG_fail;
36619 {
32fe5131 36620 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
36621 if (SWIG_arg_fail(2)) SWIG_fail;
36622 }
d14a1e28
RD
36623 {
36624 PyThreadState* __tstate = wxPyBeginAllowThreads();
36625 result = ((wxMenuBar const *)arg1)->GetLabel(arg2);
36626
36627 wxPyEndAllowThreads(__tstate);
36628 if (PyErr_Occurred()) SWIG_fail;
36629 }
36630 {
36631#if wxUSE_UNICODE
36632 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
36633#else
36634 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
36635#endif
36636 }
36637 return resultobj;
36638 fail:
36639 return NULL;
36640}
36641
36642
c32bde28 36643static PyObject *_wrap_MenuBar_SetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36644 PyObject *resultobj = NULL;
d14a1e28
RD
36645 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
36646 int arg2 ;
36647 wxString *arg3 = 0 ;
ae8162c8 36648 bool temp3 = false ;
d14a1e28 36649 PyObject * obj0 = 0 ;
994141e6 36650 PyObject * obj1 = 0 ;
d14a1e28
RD
36651 PyObject * obj2 = 0 ;
36652 char *kwnames[] = {
242b7b46 36653 (char *) "self",(char *) "id",(char *) "helpString", NULL
d14a1e28
RD
36654 };
36655
994141e6 36656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
36657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
36658 if (SWIG_arg_fail(1)) SWIG_fail;
36659 {
32fe5131 36660 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
36661 if (SWIG_arg_fail(2)) SWIG_fail;
36662 }
d14a1e28
RD
36663 {
36664 arg3 = wxString_in_helper(obj2);
36665 if (arg3 == NULL) SWIG_fail;
ae8162c8 36666 temp3 = true;
d14a1e28
RD
36667 }
36668 {
36669 PyThreadState* __tstate = wxPyBeginAllowThreads();
36670 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
36671
36672 wxPyEndAllowThreads(__tstate);
36673 if (PyErr_Occurred()) SWIG_fail;
36674 }
36675 Py_INCREF(Py_None); resultobj = Py_None;
36676 {
36677 if (temp3)
36678 delete arg3;
36679 }
36680 return resultobj;
36681 fail:
36682 {
36683 if (temp3)
36684 delete arg3;
36685 }
36686 return NULL;
36687}
36688
36689
c32bde28 36690static PyObject *_wrap_MenuBar_GetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36691 PyObject *resultobj = NULL;
d14a1e28
RD
36692 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
36693 int arg2 ;
36694 wxString result;
36695 PyObject * obj0 = 0 ;
994141e6 36696 PyObject * obj1 = 0 ;
d14a1e28 36697 char *kwnames[] = {
242b7b46 36698 (char *) "self",(char *) "id", NULL
d14a1e28
RD
36699 };
36700
994141e6 36701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
36702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
36703 if (SWIG_arg_fail(1)) SWIG_fail;
36704 {
32fe5131 36705 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
36706 if (SWIG_arg_fail(2)) SWIG_fail;
36707 }
d14a1e28
RD
36708 {
36709 PyThreadState* __tstate = wxPyBeginAllowThreads();
36710 result = ((wxMenuBar const *)arg1)->GetHelpString(arg2);
36711
36712 wxPyEndAllowThreads(__tstate);
36713 if (PyErr_Occurred()) SWIG_fail;
36714 }
36715 {
36716#if wxUSE_UNICODE
36717 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
36718#else
36719 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
36720#endif
36721 }
36722 return resultobj;
36723 fail:
36724 return NULL;
36725}
36726
36727
c32bde28 36728static PyObject *_wrap_MenuBar_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36729 PyObject *resultobj = NULL;
d14a1e28
RD
36730 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
36731 wxFrame *result;
36732 PyObject * obj0 = 0 ;
36733 char *kwnames[] = {
36734 (char *) "self", NULL
36735 };
36736
36737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetFrame",kwnames,&obj0)) goto fail;
093d3ff1
RD
36738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
36739 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
36740 {
36741 PyThreadState* __tstate = wxPyBeginAllowThreads();
36742 result = (wxFrame *)((wxMenuBar const *)arg1)->GetFrame();
36743
36744 wxPyEndAllowThreads(__tstate);
36745 if (PyErr_Occurred()) SWIG_fail;
36746 }
36747 {
7e08d4ef 36748 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
36749 }
36750 return resultobj;
36751 fail:
36752 return NULL;
36753}
36754
36755
c32bde28 36756static PyObject *_wrap_MenuBar_IsAttached(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36757 PyObject *resultobj = NULL;
d14a1e28
RD
36758 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
36759 bool result;
36760 PyObject * obj0 = 0 ;
36761 char *kwnames[] = {
36762 (char *) "self", NULL
36763 };
36764
36765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_IsAttached",kwnames,&obj0)) goto fail;
093d3ff1
RD
36766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
36767 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
36768 {
36769 PyThreadState* __tstate = wxPyBeginAllowThreads();
36770 result = (bool)((wxMenuBar const *)arg1)->IsAttached();
36771
36772 wxPyEndAllowThreads(__tstate);
36773 if (PyErr_Occurred()) SWIG_fail;
36774 }
4f89f6a3
RD
36775 {
36776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36777 }
d14a1e28
RD
36778 return resultobj;
36779 fail:
36780 return NULL;
36781}
36782
36783
c32bde28 36784static PyObject *_wrap_MenuBar_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36785 PyObject *resultobj = NULL;
d14a1e28
RD
36786 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
36787 wxFrame *arg2 = (wxFrame *) 0 ;
36788 PyObject * obj0 = 0 ;
36789 PyObject * obj1 = 0 ;
36790 char *kwnames[] = {
36791 (char *) "self",(char *) "frame", NULL
36792 };
36793
36794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Attach",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
36795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
36796 if (SWIG_arg_fail(1)) SWIG_fail;
36797 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
36798 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
36799 {
36800 PyThreadState* __tstate = wxPyBeginAllowThreads();
36801 (arg1)->Attach(arg2);
36802
36803 wxPyEndAllowThreads(__tstate);
36804 if (PyErr_Occurred()) SWIG_fail;
36805 }
36806 Py_INCREF(Py_None); resultobj = Py_None;
36807 return resultobj;
36808 fail:
36809 return NULL;
36810}
36811
36812
c32bde28 36813static PyObject *_wrap_MenuBar_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36814 PyObject *resultobj = NULL;
d14a1e28
RD
36815 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
36816 PyObject * obj0 = 0 ;
36817 char *kwnames[] = {
36818 (char *) "self", NULL
36819 };
36820
36821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_Detach",kwnames,&obj0)) goto fail;
093d3ff1
RD
36822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
36823 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
36824 {
36825 PyThreadState* __tstate = wxPyBeginAllowThreads();
36826 (arg1)->Detach();
36827
36828 wxPyEndAllowThreads(__tstate);
36829 if (PyErr_Occurred()) SWIG_fail;
36830 }
36831 Py_INCREF(Py_None); resultobj = Py_None;
36832 return resultobj;
36833 fail:
36834 return NULL;
36835}
36836
36837
4f433fef 36838static PyObject *_wrap_MenuBar_SetAutoWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36839 PyObject *resultobj = NULL;
4f433fef
RD
36840 bool arg1 ;
36841 PyObject * obj0 = 0 ;
36842 char *kwnames[] = {
36843 (char *) "enable", NULL
36844 };
36845
36846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_SetAutoWindowMenu",kwnames,&obj0)) goto fail;
36847 {
32fe5131 36848 arg1 = static_cast<bool >(SWIG_As_bool(obj0));
4f433fef
RD
36849 if (SWIG_arg_fail(1)) SWIG_fail;
36850 }
36851 {
36852 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 36853 wxMenuBar_SetAutoWindowMenu(arg1);
4f433fef
RD
36854
36855 wxPyEndAllowThreads(__tstate);
36856 if (PyErr_Occurred()) SWIG_fail;
36857 }
36858 Py_INCREF(Py_None); resultobj = Py_None;
36859 return resultobj;
36860 fail:
36861 return NULL;
36862}
36863
36864
36865static PyObject *_wrap_MenuBar_GetAutoWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36866 PyObject *resultobj = NULL;
4f433fef
RD
36867 bool result;
36868 char *kwnames[] = {
36869 NULL
36870 };
36871
36872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuBar_GetAutoWindowMenu",kwnames)) goto fail;
36873 {
36874 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 36875 result = (bool)wxMenuBar_GetAutoWindowMenu();
4f433fef
RD
36876
36877 wxPyEndAllowThreads(__tstate);
36878 if (PyErr_Occurred()) SWIG_fail;
36879 }
36880 {
36881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36882 }
36883 return resultobj;
36884 fail:
36885 return NULL;
36886}
36887
36888
c32bde28 36889static PyObject * MenuBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
36890 PyObject *obj;
36891 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36892 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar, obj);
36893 Py_INCREF(obj);
36894 return Py_BuildValue((char *)"");
36895}
c32bde28 36896static PyObject *_wrap_new_MenuItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36897 PyObject *resultobj = NULL;
d14a1e28 36898 wxMenu *arg1 = (wxMenu *) NULL ;
a95a7133 36899 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
36900 wxString const &arg3_defvalue = wxPyEmptyString ;
36901 wxString *arg3 = (wxString *) &arg3_defvalue ;
36902 wxString const &arg4_defvalue = wxPyEmptyString ;
36903 wxString *arg4 = (wxString *) &arg4_defvalue ;
093d3ff1 36904 wxItemKind arg5 = (wxItemKind) wxITEM_NORMAL ;
d14a1e28
RD
36905 wxMenu *arg6 = (wxMenu *) NULL ;
36906 wxMenuItem *result;
ae8162c8
RD
36907 bool temp3 = false ;
36908 bool temp4 = false ;
d14a1e28 36909 PyObject * obj0 = 0 ;
994141e6 36910 PyObject * obj1 = 0 ;
d14a1e28
RD
36911 PyObject * obj2 = 0 ;
36912 PyObject * obj3 = 0 ;
994141e6 36913 PyObject * obj4 = 0 ;
d14a1e28
RD
36914 PyObject * obj5 = 0 ;
36915 char *kwnames[] = {
36916 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
36917 };
36918
994141e6 36919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_MenuItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 36920 if (obj0) {
093d3ff1
RD
36921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
36922 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 36923 }
994141e6 36924 if (obj1) {
093d3ff1 36925 {
32fe5131 36926 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
36927 if (SWIG_arg_fail(2)) SWIG_fail;
36928 }
994141e6 36929 }
d14a1e28
RD
36930 if (obj2) {
36931 {
36932 arg3 = wxString_in_helper(obj2);
36933 if (arg3 == NULL) SWIG_fail;
ae8162c8 36934 temp3 = true;
d14a1e28
RD
36935 }
36936 }
36937 if (obj3) {
36938 {
36939 arg4 = wxString_in_helper(obj3);
36940 if (arg4 == NULL) SWIG_fail;
ae8162c8 36941 temp4 = true;
d14a1e28
RD
36942 }
36943 }
994141e6 36944 if (obj4) {
093d3ff1 36945 {
32fe5131 36946 arg5 = static_cast<wxItemKind >(SWIG_As_int(obj4));
093d3ff1
RD
36947 if (SWIG_arg_fail(5)) SWIG_fail;
36948 }
994141e6 36949 }
d14a1e28 36950 if (obj5) {
093d3ff1
RD
36951 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
36952 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
36953 }
36954 {
36955 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 36956 result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6);
d14a1e28
RD
36957
36958 wxPyEndAllowThreads(__tstate);
36959 if (PyErr_Occurred()) SWIG_fail;
36960 }
36961 {
7e08d4ef 36962 resultobj = wxPyMake_wxObject(result, (bool)1);
d14a1e28
RD
36963 }
36964 {
36965 if (temp3)
36966 delete arg3;
36967 }
36968 {
36969 if (temp4)
36970 delete arg4;
36971 }
36972 return resultobj;
36973 fail:
36974 {
36975 if (temp3)
36976 delete arg3;
36977 }
36978 {
36979 if (temp4)
36980 delete arg4;
36981 }
36982 return NULL;
36983}
36984
36985
c32bde28 36986static PyObject *_wrap_MenuItem_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 36987 PyObject *resultobj = NULL;
d14a1e28
RD
36988 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
36989 wxMenu *result;
36990 PyObject * obj0 = 0 ;
36991 char *kwnames[] = {
36992 (char *) "self", NULL
36993 };
36994
36995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMenu",kwnames,&obj0)) goto fail;
093d3ff1
RD
36996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
36997 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
36998 {
36999 PyThreadState* __tstate = wxPyBeginAllowThreads();
37000 result = (wxMenu *)((wxMenuItem const *)arg1)->GetMenu();
37001
37002 wxPyEndAllowThreads(__tstate);
37003 if (PyErr_Occurred()) SWIG_fail;
37004 }
37005 {
412d302d 37006 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
37007 }
37008 return resultobj;
37009 fail:
37010 return NULL;
37011}
37012
37013
c32bde28 37014static PyObject *_wrap_MenuItem_SetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37015 PyObject *resultobj = NULL;
d14a1e28
RD
37016 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37017 wxMenu *arg2 = (wxMenu *) 0 ;
37018 PyObject * obj0 = 0 ;
37019 PyObject * obj1 = 0 ;
37020 char *kwnames[] = {
37021 (char *) "self",(char *) "menu", NULL
37022 };
37023
37024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
37025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37026 if (SWIG_arg_fail(1)) SWIG_fail;
37027 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
37028 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
37029 {
37030 PyThreadState* __tstate = wxPyBeginAllowThreads();
37031 (arg1)->SetMenu(arg2);
37032
37033 wxPyEndAllowThreads(__tstate);
37034 if (PyErr_Occurred()) SWIG_fail;
37035 }
37036 Py_INCREF(Py_None); resultobj = Py_None;
37037 return resultobj;
37038 fail:
37039 return NULL;
37040}
37041
37042
c32bde28 37043static PyObject *_wrap_MenuItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37044 PyObject *resultobj = NULL;
d14a1e28
RD
37045 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37046 int arg2 ;
37047 PyObject * obj0 = 0 ;
994141e6 37048 PyObject * obj1 = 0 ;
d14a1e28 37049 char *kwnames[] = {
242b7b46 37050 (char *) "self",(char *) "id", NULL
d14a1e28
RD
37051 };
37052
994141e6 37053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
37054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37055 if (SWIG_arg_fail(1)) SWIG_fail;
37056 {
32fe5131 37057 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
37058 if (SWIG_arg_fail(2)) SWIG_fail;
37059 }
d14a1e28
RD
37060 {
37061 PyThreadState* __tstate = wxPyBeginAllowThreads();
37062 (arg1)->SetId(arg2);
37063
37064 wxPyEndAllowThreads(__tstate);
37065 if (PyErr_Occurred()) SWIG_fail;
37066 }
37067 Py_INCREF(Py_None); resultobj = Py_None;
37068 return resultobj;
37069 fail:
37070 return NULL;
37071}
37072
37073
c32bde28 37074static PyObject *_wrap_MenuItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37075 PyObject *resultobj = NULL;
d14a1e28
RD
37076 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37077 int result;
37078 PyObject * obj0 = 0 ;
37079 char *kwnames[] = {
37080 (char *) "self", NULL
37081 };
37082
37083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
37084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37085 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
37086 {
37087 PyThreadState* __tstate = wxPyBeginAllowThreads();
37088 result = (int)((wxMenuItem const *)arg1)->GetId();
37089
37090 wxPyEndAllowThreads(__tstate);
37091 if (PyErr_Occurred()) SWIG_fail;
37092 }
093d3ff1 37093 {
32fe5131 37094 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 37095 }
d14a1e28
RD
37096 return resultobj;
37097 fail:
37098 return NULL;
37099}
37100
37101
c32bde28 37102static PyObject *_wrap_MenuItem_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37103 PyObject *resultobj = NULL;
d14a1e28
RD
37104 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37105 bool result;
37106 PyObject * obj0 = 0 ;
37107 char *kwnames[] = {
37108 (char *) "self", NULL
37109 };
37110
37111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSeparator",kwnames,&obj0)) goto fail;
093d3ff1
RD
37112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37113 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
37114 {
37115 PyThreadState* __tstate = wxPyBeginAllowThreads();
37116 result = (bool)((wxMenuItem const *)arg1)->IsSeparator();
37117
37118 wxPyEndAllowThreads(__tstate);
37119 if (PyErr_Occurred()) SWIG_fail;
37120 }
4f89f6a3
RD
37121 {
37122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37123 }
d14a1e28
RD
37124 return resultobj;
37125 fail:
37126 return NULL;
37127}
37128
37129
c32bde28 37130static PyObject *_wrap_MenuItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37131 PyObject *resultobj = NULL;
d14a1e28
RD
37132 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37133 wxString *arg2 = 0 ;
ae8162c8 37134 bool temp2 = false ;
d14a1e28
RD
37135 PyObject * obj0 = 0 ;
37136 PyObject * obj1 = 0 ;
37137 char *kwnames[] = {
37138 (char *) "self",(char *) "str", NULL
37139 };
37140
37141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
37142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37143 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
37144 {
37145 arg2 = wxString_in_helper(obj1);
37146 if (arg2 == NULL) SWIG_fail;
ae8162c8 37147 temp2 = true;
d14a1e28
RD
37148 }
37149 {
37150 PyThreadState* __tstate = wxPyBeginAllowThreads();
37151 (arg1)->SetText((wxString const &)*arg2);
37152
37153 wxPyEndAllowThreads(__tstate);
37154 if (PyErr_Occurred()) SWIG_fail;
37155 }
37156 Py_INCREF(Py_None); resultobj = Py_None;
37157 {
37158 if (temp2)
37159 delete arg2;
37160 }
37161 return resultobj;
37162 fail:
37163 {
37164 if (temp2)
37165 delete arg2;
37166 }
37167 return NULL;
37168}
37169
37170
c32bde28 37171static PyObject *_wrap_MenuItem_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37172 PyObject *resultobj = NULL;
d14a1e28
RD
37173 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37174 wxString result;
37175 PyObject * obj0 = 0 ;
37176 char *kwnames[] = {
37177 (char *) "self", NULL
37178 };
37179
37180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
37181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37182 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
37183 {
37184 PyThreadState* __tstate = wxPyBeginAllowThreads();
37185 result = ((wxMenuItem const *)arg1)->GetLabel();
37186
37187 wxPyEndAllowThreads(__tstate);
37188 if (PyErr_Occurred()) SWIG_fail;
37189 }
37190 {
37191#if wxUSE_UNICODE
37192 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37193#else
37194 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37195#endif
37196 }
37197 return resultobj;
37198 fail:
37199 return NULL;
37200}
37201
37202
c32bde28 37203static PyObject *_wrap_MenuItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37204 PyObject *resultobj = NULL;
d14a1e28
RD
37205 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37206 wxString *result;
37207 PyObject * obj0 = 0 ;
37208 char *kwnames[] = {
37209 (char *) "self", NULL
37210 };
37211
37212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetText",kwnames,&obj0)) goto fail;
093d3ff1
RD
37213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37214 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
37215 {
37216 PyThreadState* __tstate = wxPyBeginAllowThreads();
37217 {
37218 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetText();
37219 result = (wxString *) &_result_ref;
37220 }
37221
37222 wxPyEndAllowThreads(__tstate);
37223 if (PyErr_Occurred()) SWIG_fail;
37224 }
cc6dd355
RD
37225 {
37226#if wxUSE_UNICODE
37227 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
37228#else
37229 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
37230#endif
37231 }
d14a1e28
RD
37232 return resultobj;
37233 fail:
37234 return NULL;
37235}
37236
37237
c32bde28 37238static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37239 PyObject *resultobj = NULL;
d14a1e28
RD
37240 wxString *arg1 = 0 ;
37241 wxString result;
ae8162c8 37242 bool temp1 = false ;
d14a1e28
RD
37243 PyObject * obj0 = 0 ;
37244 char *kwnames[] = {
37245 (char *) "text", NULL
37246 };
37247
37248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabelFromText",kwnames,&obj0)) goto fail;
37249 {
37250 arg1 = wxString_in_helper(obj0);
37251 if (arg1 == NULL) SWIG_fail;
ae8162c8 37252 temp1 = true;
d14a1e28
RD
37253 }
37254 {
37255 PyThreadState* __tstate = wxPyBeginAllowThreads();
37256 result = wxMenuItem::GetLabelFromText((wxString const &)*arg1);
37257
37258 wxPyEndAllowThreads(__tstate);
37259 if (PyErr_Occurred()) SWIG_fail;
37260 }
37261 {
37262#if wxUSE_UNICODE
37263 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37264#else
37265 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37266#endif
37267 }
37268 {
37269 if (temp1)
37270 delete arg1;
37271 }
37272 return resultobj;
37273 fail:
37274 {
37275 if (temp1)
37276 delete arg1;
37277 }
37278 return NULL;
37279}
37280
37281
c32bde28 37282static PyObject *_wrap_MenuItem_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37283 PyObject *resultobj = NULL;
d14a1e28 37284 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
093d3ff1 37285 wxItemKind result;
d14a1e28
RD
37286 PyObject * obj0 = 0 ;
37287 char *kwnames[] = {
37288 (char *) "self", NULL
37289 };
37290
37291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetKind",kwnames,&obj0)) goto fail;
093d3ff1
RD
37292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37293 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
37294 {
37295 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 37296 result = (wxItemKind)((wxMenuItem const *)arg1)->GetKind();
d14a1e28
RD
37297
37298 wxPyEndAllowThreads(__tstate);
37299 if (PyErr_Occurred()) SWIG_fail;
37300 }
093d3ff1 37301 resultobj = SWIG_From_int((result));
d14a1e28
RD
37302 return resultobj;
37303 fail:
37304 return NULL;
37305}
37306
37307
c32bde28 37308static PyObject *_wrap_MenuItem_SetKind(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37309 PyObject *resultobj = NULL;
a95a7133 37310 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
093d3ff1 37311 wxItemKind arg2 ;
a95a7133
RD
37312 PyObject * obj0 = 0 ;
37313 PyObject * obj1 = 0 ;
37314 char *kwnames[] = {
37315 (char *) "self",(char *) "kind", NULL
37316 };
37317
37318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetKind",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
37319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37320 if (SWIG_arg_fail(1)) SWIG_fail;
37321 {
32fe5131 37322 arg2 = static_cast<wxItemKind >(SWIG_As_int(obj1));
093d3ff1
RD
37323 if (SWIG_arg_fail(2)) SWIG_fail;
37324 }
a95a7133
RD
37325 {
37326 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 37327 (arg1)->SetKind(arg2);
a95a7133
RD
37328
37329 wxPyEndAllowThreads(__tstate);
37330 if (PyErr_Occurred()) SWIG_fail;
37331 }
37332 Py_INCREF(Py_None); resultobj = Py_None;
37333 return resultobj;
37334 fail:
37335 return NULL;
37336}
37337
37338
c32bde28 37339static PyObject *_wrap_MenuItem_SetCheckable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37340 PyObject *resultobj = NULL;
d14a1e28
RD
37341 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37342 bool arg2 ;
37343 PyObject * obj0 = 0 ;
37344 PyObject * obj1 = 0 ;
37345 char *kwnames[] = {
37346 (char *) "self",(char *) "checkable", NULL
37347 };
37348
37349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
37350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37351 if (SWIG_arg_fail(1)) SWIG_fail;
37352 {
32fe5131 37353 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
37354 if (SWIG_arg_fail(2)) SWIG_fail;
37355 }
d14a1e28
RD
37356 {
37357 PyThreadState* __tstate = wxPyBeginAllowThreads();
37358 (arg1)->SetCheckable(arg2);
37359
37360 wxPyEndAllowThreads(__tstate);
37361 if (PyErr_Occurred()) SWIG_fail;
37362 }
37363 Py_INCREF(Py_None); resultobj = Py_None;
37364 return resultobj;
37365 fail:
37366 return NULL;
37367}
37368
37369
c32bde28 37370static PyObject *_wrap_MenuItem_IsCheckable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37371 PyObject *resultobj = NULL;
d14a1e28
RD
37372 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37373 bool result;
37374 PyObject * obj0 = 0 ;
37375 char *kwnames[] = {
37376 (char *) "self", NULL
37377 };
37378
37379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsCheckable",kwnames,&obj0)) goto fail;
093d3ff1
RD
37380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37381 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
37382 {
37383 PyThreadState* __tstate = wxPyBeginAllowThreads();
37384 result = (bool)((wxMenuItem const *)arg1)->IsCheckable();
37385
37386 wxPyEndAllowThreads(__tstate);
37387 if (PyErr_Occurred()) SWIG_fail;
37388 }
4f89f6a3
RD
37389 {
37390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37391 }
d14a1e28
RD
37392 return resultobj;
37393 fail:
37394 return NULL;
37395}
37396
37397
c32bde28 37398static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37399 PyObject *resultobj = NULL;
d14a1e28
RD
37400 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37401 bool result;
37402 PyObject * obj0 = 0 ;
37403 char *kwnames[] = {
37404 (char *) "self", NULL
37405 };
37406
37407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSubMenu",kwnames,&obj0)) goto fail;
093d3ff1
RD
37408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37409 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
37410 {
37411 PyThreadState* __tstate = wxPyBeginAllowThreads();
37412 result = (bool)((wxMenuItem const *)arg1)->IsSubMenu();
37413
37414 wxPyEndAllowThreads(__tstate);
37415 if (PyErr_Occurred()) SWIG_fail;
37416 }
4f89f6a3
RD
37417 {
37418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37419 }
d14a1e28
RD
37420 return resultobj;
37421 fail:
37422 return NULL;
37423}
37424
37425
c32bde28 37426static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37427 PyObject *resultobj = NULL;
d14a1e28
RD
37428 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37429 wxMenu *arg2 = (wxMenu *) 0 ;
37430 PyObject * obj0 = 0 ;
37431 PyObject * obj1 = 0 ;
37432 char *kwnames[] = {
37433 (char *) "self",(char *) "menu", NULL
37434 };
37435
37436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
37437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37438 if (SWIG_arg_fail(1)) SWIG_fail;
37439 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
37440 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
37441 {
37442 PyThreadState* __tstate = wxPyBeginAllowThreads();
37443 (arg1)->SetSubMenu(arg2);
37444
37445 wxPyEndAllowThreads(__tstate);
37446 if (PyErr_Occurred()) SWIG_fail;
37447 }
37448 Py_INCREF(Py_None); resultobj = Py_None;
37449 return resultobj;
37450 fail:
37451 return NULL;
37452}
37453
37454
c32bde28 37455static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37456 PyObject *resultobj = NULL;
d14a1e28
RD
37457 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37458 wxMenu *result;
37459 PyObject * obj0 = 0 ;
37460 char *kwnames[] = {
37461 (char *) "self", NULL
37462 };
37463
37464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetSubMenu",kwnames,&obj0)) goto fail;
093d3ff1
RD
37465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37466 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
37467 {
37468 PyThreadState* __tstate = wxPyBeginAllowThreads();
37469 result = (wxMenu *)((wxMenuItem const *)arg1)->GetSubMenu();
37470
37471 wxPyEndAllowThreads(__tstate);
37472 if (PyErr_Occurred()) SWIG_fail;
37473 }
37474 {
412d302d 37475 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
37476 }
37477 return resultobj;
37478 fail:
37479 return NULL;
37480}
37481
37482
c32bde28 37483static PyObject *_wrap_MenuItem_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37484 PyObject *resultobj = NULL;
d14a1e28 37485 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
ae8162c8 37486 bool arg2 = (bool) true ;
d14a1e28
RD
37487 PyObject * obj0 = 0 ;
37488 PyObject * obj1 = 0 ;
37489 char *kwnames[] = {
37490 (char *) "self",(char *) "enable", NULL
37491 };
37492
37493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Enable",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
37494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37495 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 37496 if (obj1) {
093d3ff1 37497 {
32fe5131 37498 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
37499 if (SWIG_arg_fail(2)) SWIG_fail;
37500 }
d14a1e28
RD
37501 }
37502 {
37503 PyThreadState* __tstate = wxPyBeginAllowThreads();
37504 (arg1)->Enable(arg2);
37505
37506 wxPyEndAllowThreads(__tstate);
37507 if (PyErr_Occurred()) SWIG_fail;
37508 }
37509 Py_INCREF(Py_None); resultobj = Py_None;
37510 return resultobj;
37511 fail:
37512 return NULL;
37513}
37514
37515
c32bde28 37516static PyObject *_wrap_MenuItem_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37517 PyObject *resultobj = NULL;
d14a1e28
RD
37518 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37519 bool result;
37520 PyObject * obj0 = 0 ;
37521 char *kwnames[] = {
37522 (char *) "self", NULL
37523 };
37524
37525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsEnabled",kwnames,&obj0)) goto fail;
093d3ff1
RD
37526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37527 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
37528 {
37529 PyThreadState* __tstate = wxPyBeginAllowThreads();
37530 result = (bool)((wxMenuItem const *)arg1)->IsEnabled();
37531
37532 wxPyEndAllowThreads(__tstate);
37533 if (PyErr_Occurred()) SWIG_fail;
37534 }
4f89f6a3
RD
37535 {
37536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37537 }
d14a1e28
RD
37538 return resultobj;
37539 fail:
37540 return NULL;
37541}
37542
37543
c32bde28 37544static PyObject *_wrap_MenuItem_Check(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37545 PyObject *resultobj = NULL;
d14a1e28 37546 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
ae8162c8 37547 bool arg2 = (bool) true ;
d14a1e28
RD
37548 PyObject * obj0 = 0 ;
37549 PyObject * obj1 = 0 ;
37550 char *kwnames[] = {
37551 (char *) "self",(char *) "check", NULL
37552 };
37553
37554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Check",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
37555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37556 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 37557 if (obj1) {
093d3ff1 37558 {
32fe5131 37559 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
37560 if (SWIG_arg_fail(2)) SWIG_fail;
37561 }
d14a1e28
RD
37562 }
37563 {
37564 PyThreadState* __tstate = wxPyBeginAllowThreads();
37565 (arg1)->Check(arg2);
37566
37567 wxPyEndAllowThreads(__tstate);
37568 if (PyErr_Occurred()) SWIG_fail;
37569 }
37570 Py_INCREF(Py_None); resultobj = Py_None;
37571 return resultobj;
37572 fail:
37573 return NULL;
37574}
37575
37576
c32bde28 37577static PyObject *_wrap_MenuItem_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37578 PyObject *resultobj = NULL;
d14a1e28
RD
37579 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37580 bool result;
37581 PyObject * obj0 = 0 ;
37582 char *kwnames[] = {
37583 (char *) "self", NULL
37584 };
37585
37586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsChecked",kwnames,&obj0)) goto fail;
093d3ff1
RD
37587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37588 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
37589 {
37590 PyThreadState* __tstate = wxPyBeginAllowThreads();
37591 result = (bool)((wxMenuItem const *)arg1)->IsChecked();
37592
37593 wxPyEndAllowThreads(__tstate);
37594 if (PyErr_Occurred()) SWIG_fail;
37595 }
4f89f6a3
RD
37596 {
37597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37598 }
d14a1e28
RD
37599 return resultobj;
37600 fail:
37601 return NULL;
37602}
37603
37604
c32bde28 37605static PyObject *_wrap_MenuItem_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37606 PyObject *resultobj = NULL;
d14a1e28
RD
37607 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37608 PyObject * obj0 = 0 ;
37609 char *kwnames[] = {
37610 (char *) "self", NULL
37611 };
37612
37613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_Toggle",kwnames,&obj0)) goto fail;
093d3ff1
RD
37614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37615 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
37616 {
37617 PyThreadState* __tstate = wxPyBeginAllowThreads();
37618 (arg1)->Toggle();
37619
37620 wxPyEndAllowThreads(__tstate);
37621 if (PyErr_Occurred()) SWIG_fail;
37622 }
37623 Py_INCREF(Py_None); resultobj = Py_None;
37624 return resultobj;
37625 fail:
37626 return NULL;
37627}
37628
37629
c32bde28 37630static PyObject *_wrap_MenuItem_SetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37631 PyObject *resultobj = NULL;
d14a1e28
RD
37632 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37633 wxString *arg2 = 0 ;
ae8162c8 37634 bool temp2 = false ;
d14a1e28
RD
37635 PyObject * obj0 = 0 ;
37636 PyObject * obj1 = 0 ;
37637 char *kwnames[] = {
37638 (char *) "self",(char *) "str", NULL
37639 };
37640
37641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
37642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37643 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
37644 {
37645 arg2 = wxString_in_helper(obj1);
37646 if (arg2 == NULL) SWIG_fail;
ae8162c8 37647 temp2 = true;
d14a1e28
RD
37648 }
37649 {
37650 PyThreadState* __tstate = wxPyBeginAllowThreads();
37651 (arg1)->SetHelp((wxString const &)*arg2);
37652
37653 wxPyEndAllowThreads(__tstate);
37654 if (PyErr_Occurred()) SWIG_fail;
37655 }
37656 Py_INCREF(Py_None); resultobj = Py_None;
37657 {
37658 if (temp2)
37659 delete arg2;
37660 }
37661 return resultobj;
37662 fail:
37663 {
37664 if (temp2)
37665 delete arg2;
37666 }
37667 return NULL;
37668}
37669
37670
c32bde28 37671static PyObject *_wrap_MenuItem_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37672 PyObject *resultobj = NULL;
d14a1e28
RD
37673 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37674 wxString *result;
37675 PyObject * obj0 = 0 ;
37676 char *kwnames[] = {
37677 (char *) "self", NULL
37678 };
37679
37680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
37681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37682 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
37683 {
37684 PyThreadState* __tstate = wxPyBeginAllowThreads();
37685 {
37686 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetHelp();
37687 result = (wxString *) &_result_ref;
37688 }
37689
37690 wxPyEndAllowThreads(__tstate);
37691 if (PyErr_Occurred()) SWIG_fail;
37692 }
cc6dd355
RD
37693 {
37694#if wxUSE_UNICODE
37695 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
37696#else
37697 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
37698#endif
37699 }
d14a1e28
RD
37700 return resultobj;
37701 fail:
37702 return NULL;
37703}
37704
37705
c32bde28 37706static PyObject *_wrap_MenuItem_GetAccel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37707 PyObject *resultobj = NULL;
d14a1e28
RD
37708 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37709 wxAcceleratorEntry *result;
37710 PyObject * obj0 = 0 ;
37711 char *kwnames[] = {
37712 (char *) "self", NULL
37713 };
37714
37715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetAccel",kwnames,&obj0)) goto fail;
093d3ff1
RD
37716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37717 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
37718 {
37719 PyThreadState* __tstate = wxPyBeginAllowThreads();
37720 result = (wxAcceleratorEntry *)((wxMenuItem const *)arg1)->GetAccel();
37721
37722 wxPyEndAllowThreads(__tstate);
37723 if (PyErr_Occurred()) SWIG_fail;
37724 }
15afbcd0 37725 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
d14a1e28
RD
37726 return resultobj;
37727 fail:
37728 return NULL;
37729}
37730
37731
c32bde28 37732static PyObject *_wrap_MenuItem_SetAccel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37733 PyObject *resultobj = NULL;
d14a1e28
RD
37734 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37735 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
37736 PyObject * obj0 = 0 ;
37737 PyObject * obj1 = 0 ;
37738 char *kwnames[] = {
37739 (char *) "self",(char *) "accel", NULL
37740 };
37741
37742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
37743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37744 if (SWIG_arg_fail(1)) SWIG_fail;
37745 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxAcceleratorEntry, SWIG_POINTER_EXCEPTION | 0);
37746 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
37747 {
37748 PyThreadState* __tstate = wxPyBeginAllowThreads();
37749 (arg1)->SetAccel(arg2);
37750
37751 wxPyEndAllowThreads(__tstate);
37752 if (PyErr_Occurred()) SWIG_fail;
37753 }
37754 Py_INCREF(Py_None); resultobj = Py_None;
37755 return resultobj;
37756 fail:
37757 return NULL;
37758}
37759
37760
091f5bed 37761static PyObject *_wrap_MenuItem_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37762 PyObject *resultobj = NULL;
091f5bed
RD
37763 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37764 wxBitmap *arg2 = 0 ;
37765 PyObject * obj0 = 0 ;
37766 PyObject * obj1 = 0 ;
37767 char *kwnames[] = {
37768 (char *) "self",(char *) "bitmap", NULL
37769 };
37770
37771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
37772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37773 if (SWIG_arg_fail(1)) SWIG_fail;
37774 {
37775 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
37776 if (SWIG_arg_fail(2)) SWIG_fail;
37777 if (arg2 == NULL) {
37778 SWIG_null_ref("wxBitmap");
37779 }
37780 if (SWIG_arg_fail(2)) SWIG_fail;
37781 }
37782 {
37783 PyThreadState* __tstate = wxPyBeginAllowThreads();
37784 (arg1)->SetBitmap((wxBitmap const &)*arg2);
37785
37786 wxPyEndAllowThreads(__tstate);
37787 if (PyErr_Occurred()) SWIG_fail;
37788 }
37789 Py_INCREF(Py_None); resultobj = Py_None;
37790 return resultobj;
37791 fail:
37792 return NULL;
37793}
37794
37795
37796static PyObject *_wrap_MenuItem_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37797 PyObject *resultobj = NULL;
091f5bed
RD
37798 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37799 wxBitmap *result;
37800 PyObject * obj0 = 0 ;
37801 char *kwnames[] = {
37802 (char *) "self", NULL
37803 };
37804
37805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
37806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37807 if (SWIG_arg_fail(1)) SWIG_fail;
37808 {
37809 PyThreadState* __tstate = wxPyBeginAllowThreads();
37810 {
37811 wxBitmap const &_result_ref = (arg1)->GetBitmap();
37812 result = (wxBitmap *) &_result_ref;
37813 }
37814
37815 wxPyEndAllowThreads(__tstate);
37816 if (PyErr_Occurred()) SWIG_fail;
37817 }
37818 {
37819 wxBitmap* resultptr = new wxBitmap(*result);
37820 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
37821 }
37822 return resultobj;
37823 fail:
37824 return NULL;
37825}
37826
37827
c1280d1e 37828static PyObject *_wrap_MenuItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37829 PyObject *resultobj = NULL;
c1280d1e
RD
37830 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37831 wxFont *arg2 = 0 ;
37832 PyObject * obj0 = 0 ;
37833 PyObject * obj1 = 0 ;
37834 char *kwnames[] = {
37835 (char *) "self",(char *) "font", NULL
37836 };
37837
37838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
37839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37840 if (SWIG_arg_fail(1)) SWIG_fail;
37841 {
37842 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
37843 if (SWIG_arg_fail(2)) SWIG_fail;
37844 if (arg2 == NULL) {
37845 SWIG_null_ref("wxFont");
37846 }
37847 if (SWIG_arg_fail(2)) SWIG_fail;
37848 }
37849 {
37850 PyThreadState* __tstate = wxPyBeginAllowThreads();
37851 wxMenuItem_SetFont(arg1,(wxFont const &)*arg2);
37852
37853 wxPyEndAllowThreads(__tstate);
37854 if (PyErr_Occurred()) SWIG_fail;
37855 }
37856 Py_INCREF(Py_None); resultobj = Py_None;
37857 return resultobj;
37858 fail:
37859 return NULL;
37860}
37861
37862
37863static PyObject *_wrap_MenuItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37864 PyObject *resultobj = NULL;
c1280d1e
RD
37865 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37866 wxFont result;
37867 PyObject * obj0 = 0 ;
37868 char *kwnames[] = {
37869 (char *) "self", NULL
37870 };
37871
37872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetFont",kwnames,&obj0)) goto fail;
37873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37874 if (SWIG_arg_fail(1)) SWIG_fail;
37875 {
37876 PyThreadState* __tstate = wxPyBeginAllowThreads();
37877 result = wxMenuItem_GetFont(arg1);
37878
37879 wxPyEndAllowThreads(__tstate);
37880 if (PyErr_Occurred()) SWIG_fail;
37881 }
37882 {
37883 wxFont * resultptr;
32fe5131 37884 resultptr = new wxFont(static_cast<wxFont & >(result));
c1280d1e
RD
37885 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
37886 }
37887 return resultobj;
37888 fail:
37889 return NULL;
37890}
37891
37892
37893static PyObject *_wrap_MenuItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37894 PyObject *resultobj = NULL;
c1280d1e
RD
37895 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37896 wxColour *arg2 = 0 ;
37897 wxColour temp2 ;
37898 PyObject * obj0 = 0 ;
37899 PyObject * obj1 = 0 ;
37900 char *kwnames[] = {
37901 (char *) "self",(char *) "colText", NULL
37902 };
37903
37904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
37905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37906 if (SWIG_arg_fail(1)) SWIG_fail;
37907 {
37908 arg2 = &temp2;
37909 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
37910 }
37911 {
37912 PyThreadState* __tstate = wxPyBeginAllowThreads();
37913 wxMenuItem_SetTextColour(arg1,(wxColour const &)*arg2);
37914
37915 wxPyEndAllowThreads(__tstate);
37916 if (PyErr_Occurred()) SWIG_fail;
37917 }
37918 Py_INCREF(Py_None); resultobj = Py_None;
37919 return resultobj;
37920 fail:
37921 return NULL;
37922}
37923
37924
37925static PyObject *_wrap_MenuItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37926 PyObject *resultobj = NULL;
c1280d1e
RD
37927 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37928 wxColour result;
37929 PyObject * obj0 = 0 ;
37930 char *kwnames[] = {
37931 (char *) "self", NULL
37932 };
37933
37934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetTextColour",kwnames,&obj0)) goto fail;
37935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37936 if (SWIG_arg_fail(1)) SWIG_fail;
37937 {
37938 PyThreadState* __tstate = wxPyBeginAllowThreads();
37939 result = wxMenuItem_GetTextColour(arg1);
37940
37941 wxPyEndAllowThreads(__tstate);
37942 if (PyErr_Occurred()) SWIG_fail;
37943 }
37944 {
37945 wxColour * resultptr;
32fe5131 37946 resultptr = new wxColour(static_cast<wxColour & >(result));
c1280d1e
RD
37947 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
37948 }
37949 return resultobj;
37950 fail:
37951 return NULL;
37952}
37953
37954
37955static PyObject *_wrap_MenuItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37956 PyObject *resultobj = NULL;
c1280d1e
RD
37957 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37958 wxColour *arg2 = 0 ;
37959 wxColour temp2 ;
37960 PyObject * obj0 = 0 ;
37961 PyObject * obj1 = 0 ;
37962 char *kwnames[] = {
37963 (char *) "self",(char *) "colBack", NULL
37964 };
37965
37966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
37967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37968 if (SWIG_arg_fail(1)) SWIG_fail;
37969 {
37970 arg2 = &temp2;
37971 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
37972 }
37973 {
37974 PyThreadState* __tstate = wxPyBeginAllowThreads();
37975 wxMenuItem_SetBackgroundColour(arg1,(wxColour const &)*arg2);
37976
37977 wxPyEndAllowThreads(__tstate);
37978 if (PyErr_Occurred()) SWIG_fail;
37979 }
37980 Py_INCREF(Py_None); resultobj = Py_None;
37981 return resultobj;
37982 fail:
37983 return NULL;
37984}
37985
37986
37987static PyObject *_wrap_MenuItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 37988 PyObject *resultobj = NULL;
c1280d1e
RD
37989 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
37990 wxColour result;
37991 PyObject * obj0 = 0 ;
37992 char *kwnames[] = {
37993 (char *) "self", NULL
37994 };
37995
37996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
37997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
37998 if (SWIG_arg_fail(1)) SWIG_fail;
37999 {
38000 PyThreadState* __tstate = wxPyBeginAllowThreads();
38001 result = wxMenuItem_GetBackgroundColour(arg1);
38002
38003 wxPyEndAllowThreads(__tstate);
38004 if (PyErr_Occurred()) SWIG_fail;
38005 }
38006 {
38007 wxColour * resultptr;
32fe5131 38008 resultptr = new wxColour(static_cast<wxColour & >(result));
c1280d1e
RD
38009 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
38010 }
38011 return resultobj;
38012 fail:
38013 return NULL;
38014}
38015
38016
38017static PyObject *_wrap_MenuItem_SetBitmaps(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 38018 PyObject *resultobj = NULL;
c1280d1e
RD
38019 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
38020 wxBitmap *arg2 = 0 ;
38021 wxBitmap const &arg3_defvalue = wxNullBitmap ;
38022 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
38023 PyObject * obj0 = 0 ;
38024 PyObject * obj1 = 0 ;
38025 PyObject * obj2 = 0 ;
38026 char *kwnames[] = {
38027 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
38028 };
38029
38030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MenuItem_SetBitmaps",kwnames,&obj0,&obj1,&obj2)) goto fail;
38031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
38032 if (SWIG_arg_fail(1)) SWIG_fail;
38033 {
38034 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
38035 if (SWIG_arg_fail(2)) SWIG_fail;
38036 if (arg2 == NULL) {
38037 SWIG_null_ref("wxBitmap");
38038 }
38039 if (SWIG_arg_fail(2)) SWIG_fail;
38040 }
38041 if (obj2) {
38042 {
38043 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
38044 if (SWIG_arg_fail(3)) SWIG_fail;
38045 if (arg3 == NULL) {
38046 SWIG_null_ref("wxBitmap");
38047 }
38048 if (SWIG_arg_fail(3)) SWIG_fail;
38049 }
38050 }
38051 {
38052 PyThreadState* __tstate = wxPyBeginAllowThreads();
38053 wxMenuItem_SetBitmaps(arg1,(wxBitmap const &)*arg2,(wxBitmap const &)*arg3);
38054
38055 wxPyEndAllowThreads(__tstate);
38056 if (PyErr_Occurred()) SWIG_fail;
38057 }
38058 Py_INCREF(Py_None); resultobj = Py_None;
38059 return resultobj;
38060 fail:
38061 return NULL;
38062}
38063
38064
38065static PyObject *_wrap_MenuItem_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 38066 PyObject *resultobj = NULL;
c1280d1e
RD
38067 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
38068 wxBitmap *arg2 = 0 ;
38069 PyObject * obj0 = 0 ;
38070 PyObject * obj1 = 0 ;
38071 char *kwnames[] = {
38072 (char *) "self",(char *) "bmpDisabled", NULL
38073 };
38074
38075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
38076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
38077 if (SWIG_arg_fail(1)) SWIG_fail;
38078 {
38079 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
38080 if (SWIG_arg_fail(2)) SWIG_fail;
38081 if (arg2 == NULL) {
38082 SWIG_null_ref("wxBitmap");
38083 }
38084 if (SWIG_arg_fail(2)) SWIG_fail;
38085 }
38086 {
38087 PyThreadState* __tstate = wxPyBeginAllowThreads();
38088 wxMenuItem_SetDisabledBitmap(arg1,(wxBitmap const &)*arg2);
38089
38090 wxPyEndAllowThreads(__tstate);
38091 if (PyErr_Occurred()) SWIG_fail;
38092 }
38093 Py_INCREF(Py_None); resultobj = Py_None;
38094 return resultobj;
38095 fail:
38096 return NULL;
38097}
38098
38099
38100static PyObject *_wrap_MenuItem_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 38101 PyObject *resultobj = NULL;
c1280d1e
RD
38102 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
38103 wxBitmap *result;
38104 PyObject * obj0 = 0 ;
38105 char *kwnames[] = {
38106 (char *) "self", NULL
38107 };
38108
38109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetDisabledBitmap",kwnames,&obj0)) goto fail;
38110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
38111 if (SWIG_arg_fail(1)) SWIG_fail;
38112 {
38113 PyThreadState* __tstate = wxPyBeginAllowThreads();
38114 {
38115 wxBitmap const &_result_ref = wxMenuItem_GetDisabledBitmap((wxMenuItem const *)arg1);
38116 result = (wxBitmap *) &_result_ref;
38117 }
38118
38119 wxPyEndAllowThreads(__tstate);
38120 if (PyErr_Occurred()) SWIG_fail;
38121 }
38122 {
38123 wxBitmap* resultptr = new wxBitmap(*result);
38124 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
38125 }
38126 return resultobj;
38127 fail:
38128 return NULL;
38129}
38130
38131
38132static PyObject *_wrap_MenuItem_SetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 38133 PyObject *resultobj = NULL;
c1280d1e
RD
38134 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
38135 int arg2 ;
38136 PyObject * obj0 = 0 ;
38137 PyObject * obj1 = 0 ;
38138 char *kwnames[] = {
38139 (char *) "self",(char *) "nWidth", NULL
38140 };
38141
38142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMarginWidth",kwnames,&obj0,&obj1)) goto fail;
38143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
38144 if (SWIG_arg_fail(1)) SWIG_fail;
38145 {
32fe5131 38146 arg2 = static_cast<int >(SWIG_As_int(obj1));
c1280d1e
RD
38147 if (SWIG_arg_fail(2)) SWIG_fail;
38148 }
38149 {
38150 PyThreadState* __tstate = wxPyBeginAllowThreads();
38151 wxMenuItem_SetMarginWidth(arg1,arg2);
38152
38153 wxPyEndAllowThreads(__tstate);
38154 if (PyErr_Occurred()) SWIG_fail;
38155 }
38156 Py_INCREF(Py_None); resultobj = Py_None;
38157 return resultobj;
38158 fail:
38159 return NULL;
38160}
38161
38162
38163static PyObject *_wrap_MenuItem_GetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 38164 PyObject *resultobj = NULL;
c1280d1e
RD
38165 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
38166 int result;
38167 PyObject * obj0 = 0 ;
38168 char *kwnames[] = {
38169 (char *) "self", NULL
38170 };
38171
38172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMarginWidth",kwnames,&obj0)) goto fail;
38173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
38174 if (SWIG_arg_fail(1)) SWIG_fail;
38175 {
38176 PyThreadState* __tstate = wxPyBeginAllowThreads();
38177 result = (int)wxMenuItem_GetMarginWidth(arg1);
38178
38179 wxPyEndAllowThreads(__tstate);
38180 if (PyErr_Occurred()) SWIG_fail;
38181 }
38182 {
32fe5131 38183 resultobj = SWIG_From_int(static_cast<int >(result));
c1280d1e
RD
38184 }
38185 return resultobj;
38186 fail:
38187 return NULL;
38188}
38189
38190
c32bde28 38191static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 38192 PyObject *resultobj = NULL;
d14a1e28
RD
38193 int result;
38194 char *kwnames[] = {
38195 NULL
38196 };
38197
38198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail;
38199 {
38200 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 38201 result = (int)wxMenuItem_GetDefaultMarginWidth();
d14a1e28
RD
38202
38203 wxPyEndAllowThreads(__tstate);
38204 if (PyErr_Occurred()) SWIG_fail;
38205 }
093d3ff1 38206 {
32fe5131 38207 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 38208 }
d14a1e28
RD
38209 return resultobj;
38210 fail:
38211 return NULL;
38212}
38213
38214
c1280d1e 38215static PyObject *_wrap_MenuItem_IsOwnerDrawn(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 38216 PyObject *resultobj = NULL;
c1280d1e
RD
38217 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
38218 bool result;
38219 PyObject * obj0 = 0 ;
38220 char *kwnames[] = {
38221 (char *) "self", NULL
38222 };
38223
38224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsOwnerDrawn",kwnames,&obj0)) goto fail;
38225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
38226 if (SWIG_arg_fail(1)) SWIG_fail;
38227 {
38228 PyThreadState* __tstate = wxPyBeginAllowThreads();
38229 result = (bool)wxMenuItem_IsOwnerDrawn(arg1);
38230
38231 wxPyEndAllowThreads(__tstate);
38232 if (PyErr_Occurred()) SWIG_fail;
38233 }
38234 {
38235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38236 }
38237 return resultobj;
38238 fail:
38239 return NULL;
38240}
38241
38242
38243static PyObject *_wrap_MenuItem_SetOwnerDrawn(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 38244 PyObject *resultobj = NULL;
c1280d1e
RD
38245 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
38246 bool arg2 = (bool) true ;
38247 PyObject * obj0 = 0 ;
38248 PyObject * obj1 = 0 ;
38249 char *kwnames[] = {
38250 (char *) "self",(char *) "ownerDrawn", NULL
38251 };
38252
38253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames,&obj0,&obj1)) goto fail;
38254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
38255 if (SWIG_arg_fail(1)) SWIG_fail;
38256 if (obj1) {
38257 {
32fe5131 38258 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
c1280d1e
RD
38259 if (SWIG_arg_fail(2)) SWIG_fail;
38260 }
38261 }
38262 {
38263 PyThreadState* __tstate = wxPyBeginAllowThreads();
38264 wxMenuItem_SetOwnerDrawn(arg1,arg2);
38265
38266 wxPyEndAllowThreads(__tstate);
38267 if (PyErr_Occurred()) SWIG_fail;
38268 }
38269 Py_INCREF(Py_None); resultobj = Py_None;
38270 return resultobj;
38271 fail:
38272 return NULL;
38273}
38274
38275
38276static PyObject *_wrap_MenuItem_ResetOwnerDrawn(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 38277 PyObject *resultobj = NULL;
c1280d1e
RD
38278 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
38279 PyObject * obj0 = 0 ;
38280 char *kwnames[] = {
38281 (char *) "self", NULL
38282 };
38283
38284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames,&obj0)) goto fail;
38285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
38286 if (SWIG_arg_fail(1)) SWIG_fail;
38287 {
38288 PyThreadState* __tstate = wxPyBeginAllowThreads();
38289 wxMenuItem_ResetOwnerDrawn(arg1);
38290
38291 wxPyEndAllowThreads(__tstate);
38292 if (PyErr_Occurred()) SWIG_fail;
38293 }
38294 Py_INCREF(Py_None); resultobj = Py_None;
38295 return resultobj;
38296 fail:
38297 return NULL;
38298}
38299
38300
c32bde28 38301static PyObject * MenuItem_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
38302 PyObject *obj;
38303 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
38304 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem, obj);
38305 Py_INCREF(obj);
38306 return Py_BuildValue((char *)"");
38307}
c32bde28 38308static int _wrap_ControlNameStr_set(PyObject *) {
b2dc1044
RD
38309 PyErr_SetString(PyExc_TypeError,"Variable ControlNameStr is read-only.");
38310 return 1;
38311}
38312
38313
093d3ff1 38314static PyObject *_wrap_ControlNameStr_get(void) {
32fe5131 38315 PyObject *pyobj = NULL;
b2dc1044
RD
38316
38317 {
38318#if wxUSE_UNICODE
38319 pyobj = PyUnicode_FromWideChar((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
38320#else
38321 pyobj = PyString_FromStringAndSize((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
38322#endif
38323 }
38324 return pyobj;
38325}
38326
38327
c32bde28 38328static PyObject *_wrap_new_Control(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 38329 PyObject *resultobj = NULL;
d14a1e28 38330 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 38331 int arg2 = (int) -1 ;
d14a1e28
RD
38332 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38333 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38334 wxSize const &arg4_defvalue = wxDefaultSize ;
38335 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38336 long arg5 = (long) 0 ;
38337 wxValidator const &arg6_defvalue = wxDefaultValidator ;
38338 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
38339 wxString const &arg7_defvalue = wxPyControlNameStr ;
38340 wxString *arg7 = (wxString *) &arg7_defvalue ;
38341 wxControl *result;
38342 wxPoint temp3 ;
38343 wxSize temp4 ;
ae8162c8 38344 bool temp7 = false ;
d14a1e28 38345 PyObject * obj0 = 0 ;
994141e6 38346 PyObject * obj1 = 0 ;
d14a1e28
RD
38347 PyObject * obj2 = 0 ;
38348 PyObject * obj3 = 0 ;
994141e6 38349 PyObject * obj4 = 0 ;
d14a1e28
RD
38350 PyObject * obj5 = 0 ;
38351 PyObject * obj6 = 0 ;
38352 char *kwnames[] = {
38353 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38354 };
38355
248ed943 38356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Control",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
38357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
38358 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 38359 if (obj1) {
093d3ff1 38360 {
32fe5131 38361 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
38362 if (SWIG_arg_fail(2)) SWIG_fail;
38363 }
248ed943 38364 }
d14a1e28
RD
38365 if (obj2) {
38366 {
38367 arg3 = &temp3;
38368 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
38369 }
38370 }
38371 if (obj3) {
38372 {
38373 arg4 = &temp4;
38374 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
38375 }
38376 }
994141e6 38377 if (obj4) {
093d3ff1 38378 {
32fe5131 38379 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
38380 if (SWIG_arg_fail(5)) SWIG_fail;
38381 }
994141e6 38382 }
d14a1e28 38383 if (obj5) {
093d3ff1
RD
38384 {
38385 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
38386 if (SWIG_arg_fail(6)) SWIG_fail;
38387 if (arg6 == NULL) {
38388 SWIG_null_ref("wxValidator");
38389 }
38390 if (SWIG_arg_fail(6)) SWIG_fail;
d14a1e28
RD
38391 }
38392 }
38393 if (obj6) {
38394 {
38395 arg7 = wxString_in_helper(obj6);
38396 if (arg7 == NULL) SWIG_fail;
ae8162c8 38397 temp7 = true;
d14a1e28
RD
38398 }
38399 }
38400 {
e3b71cb8 38401 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
38402 PyThreadState* __tstate = wxPyBeginAllowThreads();
38403 result = (wxControl *)new wxControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
38404
38405 wxPyEndAllowThreads(__tstate);
110da5b0 38406 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 38407 }
b0f7404b 38408 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxControl, 1);
d14a1e28
RD
38409 {
38410 if (temp7)
38411 delete arg7;
38412 }
38413 return resultobj;
38414 fail:
38415 {
38416 if (temp7)
38417 delete arg7;
38418 }
38419 return NULL;
38420}
38421
38422
c32bde28 38423static PyObject *_wrap_new_PreControl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 38424 PyObject *resultobj = NULL;
d14a1e28
RD
38425 wxControl *result;
38426 char *kwnames[] = {
38427 NULL
38428 };
38429
38430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreControl",kwnames)) goto fail;
38431 {
e3b71cb8 38432 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
38433 PyThreadState* __tstate = wxPyBeginAllowThreads();
38434 result = (wxControl *)new wxControl();
38435
38436 wxPyEndAllowThreads(__tstate);
110da5b0 38437 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 38438 }
b0f7404b 38439 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxControl, 1);
d14a1e28
RD
38440 return resultobj;
38441 fail:
38442 return NULL;
38443}
38444
38445
c32bde28 38446static PyObject *_wrap_Control_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 38447 PyObject *resultobj = NULL;
d14a1e28
RD
38448 wxControl *arg1 = (wxControl *) 0 ;
38449 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 38450 int arg3 = (int) -1 ;
d14a1e28
RD
38451 wxPoint const &arg4_defvalue = wxDefaultPosition ;
38452 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
38453 wxSize const &arg5_defvalue = wxDefaultSize ;
38454 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
38455 long arg6 = (long) 0 ;
38456 wxValidator const &arg7_defvalue = wxDefaultValidator ;
38457 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
38458 wxString const &arg8_defvalue = wxPyControlNameStr ;
38459 wxString *arg8 = (wxString *) &arg8_defvalue ;
38460 bool result;
38461 wxPoint temp4 ;
38462 wxSize temp5 ;
ae8162c8 38463 bool temp8 = false ;
d14a1e28
RD
38464 PyObject * obj0 = 0 ;
38465 PyObject * obj1 = 0 ;
994141e6 38466 PyObject * obj2 = 0 ;
d14a1e28
RD
38467 PyObject * obj3 = 0 ;
38468 PyObject * obj4 = 0 ;
994141e6 38469 PyObject * obj5 = 0 ;
d14a1e28
RD
38470 PyObject * obj6 = 0 ;
38471 PyObject * obj7 = 0 ;
38472 char *kwnames[] = {
38473 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38474 };
38475
248ed943 38476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Control_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
38477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
38478 if (SWIG_arg_fail(1)) SWIG_fail;
38479 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
38480 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 38481 if (obj2) {
093d3ff1 38482 {
32fe5131 38483 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
38484 if (SWIG_arg_fail(3)) SWIG_fail;
38485 }
248ed943 38486 }
d14a1e28
RD
38487 if (obj3) {
38488 {
38489 arg4 = &temp4;
38490 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
38491 }
38492 }
38493 if (obj4) {
38494 {
38495 arg5 = &temp5;
38496 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
38497 }
38498 }
994141e6 38499 if (obj5) {
093d3ff1 38500 {
32fe5131 38501 arg6 = static_cast<long >(SWIG_As_long(obj5));
093d3ff1
RD
38502 if (SWIG_arg_fail(6)) SWIG_fail;
38503 }
994141e6 38504 }
d14a1e28 38505 if (obj6) {
093d3ff1
RD
38506 {
38507 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
38508 if (SWIG_arg_fail(7)) SWIG_fail;
38509 if (arg7 == NULL) {
38510 SWIG_null_ref("wxValidator");
38511 }
38512 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
38513 }
38514 }
38515 if (obj7) {
38516 {
38517 arg8 = wxString_in_helper(obj7);
38518 if (arg8 == NULL) SWIG_fail;
ae8162c8 38519 temp8 = true;
d14a1e28
RD
38520 }
38521 }
38522 {
38523 PyThreadState* __tstate = wxPyBeginAllowThreads();
38524 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
38525
38526 wxPyEndAllowThreads(__tstate);
38527 if (PyErr_Occurred()) SWIG_fail;
38528 }
4f89f6a3
RD
38529 {
38530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38531 }
d14a1e28
RD
38532 {
38533 if (temp8)
38534 delete arg8;
38535 }
38536 return resultobj;
38537 fail:
38538 {
38539 if (temp8)
38540 delete arg8;
38541 }
38542 return NULL;
38543}
38544
38545
c32bde28 38546static PyObject *_wrap_Control_Command(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 38547 PyObject *resultobj = NULL;
d14a1e28
RD
38548 wxControl *arg1 = (wxControl *) 0 ;
38549 wxCommandEvent *arg2 = 0 ;
38550 PyObject * obj0 = 0 ;
38551 PyObject * obj1 = 0 ;
38552 char *kwnames[] = {
38553 (char *) "self",(char *) "event", NULL
38554 };
38555
38556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_Command",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
38557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
38558 if (SWIG_arg_fail(1)) SWIG_fail;
38559 {
38560 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0);
38561 if (SWIG_arg_fail(2)) SWIG_fail;
38562 if (arg2 == NULL) {
38563 SWIG_null_ref("wxCommandEvent");
38564 }
38565 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
38566 }
38567 {
38568 PyThreadState* __tstate = wxPyBeginAllowThreads();
38569 (arg1)->Command(*arg2);
38570
38571 wxPyEndAllowThreads(__tstate);
38572 if (PyErr_Occurred()) SWIG_fail;
38573 }
38574 Py_INCREF(Py_None); resultobj = Py_None;
38575 return resultobj;
38576 fail:
38577 return NULL;
38578}
38579
38580
c32bde28 38581static PyObject *_wrap_Control_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 38582 PyObject *resultobj = NULL;
d14a1e28
RD
38583 wxControl *arg1 = (wxControl *) 0 ;
38584 wxString result;
38585 PyObject * obj0 = 0 ;
38586 char *kwnames[] = {
38587 (char *) "self", NULL
38588 };
38589
38590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetLabel",kwnames,&obj0)) goto fail;
093d3ff1
RD
38591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
38592 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
38593 {
38594 PyThreadState* __tstate = wxPyBeginAllowThreads();
38595 result = (arg1)->GetLabel();
38596
38597 wxPyEndAllowThreads(__tstate);
38598 if (PyErr_Occurred()) SWIG_fail;
38599 }
38600 {
38601#if wxUSE_UNICODE
38602 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38603#else
38604 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38605#endif
38606 }
38607 return resultobj;
38608 fail:
38609 return NULL;
38610}
38611
38612
c32bde28 38613static PyObject *_wrap_Control_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 38614 PyObject *resultobj = NULL;
d14a1e28
RD
38615 wxControl *arg1 = (wxControl *) 0 ;
38616 wxString *arg2 = 0 ;
ae8162c8 38617 bool temp2 = false ;
d14a1e28
RD
38618 PyObject * obj0 = 0 ;
38619 PyObject * obj1 = 0 ;
38620 char *kwnames[] = {
38621 (char *) "self",(char *) "label", NULL
38622 };
38623
38624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
38625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
38626 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
38627 {
38628 arg2 = wxString_in_helper(obj1);
38629 if (arg2 == NULL) SWIG_fail;
ae8162c8 38630 temp2 = true;
d14a1e28
RD
38631 }
38632 {
38633 PyThreadState* __tstate = wxPyBeginAllowThreads();
38634 (arg1)->SetLabel((wxString const &)*arg2);
38635
38636 wxPyEndAllowThreads(__tstate);
38637 if (PyErr_Occurred()) SWIG_fail;
38638 }
38639 Py_INCREF(Py_None); resultobj = Py_None;
38640 {
38641 if (temp2)
38642 delete arg2;
38643 }
38644 return resultobj;
38645 fail:
38646 {
38647 if (temp2)
38648 delete arg2;
38649 }
38650 return NULL;
38651}
38652
38653
c32bde28 38654static PyObject *_wrap_Control_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 38655 PyObject *resultobj = NULL;
093d3ff1 38656 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
74a57fcd
RD
38657 wxVisualAttributes result;
38658 PyObject * obj0 = 0 ;
38659 char *kwnames[] = {
38660 (char *) "variant", NULL
38661 };
38662
38663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Control_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
38664 if (obj0) {
093d3ff1 38665 {
32fe5131 38666 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
093d3ff1
RD
38667 if (SWIG_arg_fail(1)) SWIG_fail;
38668 }
74a57fcd
RD
38669 }
38670 {
110da5b0 38671 if (!wxPyCheckForApp()) SWIG_fail;
74a57fcd 38672 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 38673 result = wxControl::GetClassDefaultAttributes(arg1);
74a57fcd
RD
38674
38675 wxPyEndAllowThreads(__tstate);
dfbb5885 38676 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
38677 }
38678 {
38679 wxVisualAttributes * resultptr;
32fe5131 38680 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
74a57fcd
RD
38681 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
38682 }
38683 return resultobj;
38684 fail:
38685 return NULL;
38686}
38687
38688
c32bde28 38689static PyObject * Control_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
38690 PyObject *obj;
38691 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
38692 SWIG_TypeClientData(SWIGTYPE_p_wxControl, obj);
38693 Py_INCREF(obj);
38694 return Py_BuildValue((char *)"");
38695}
c32bde28 38696static PyObject *_wrap_ItemContainer_Append(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 38697 PyObject *resultobj = NULL;
d14a1e28
RD
38698 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38699 wxString *arg2 = 0 ;
38700 PyObject *arg3 = (PyObject *) NULL ;
38701 int result;
ae8162c8 38702 bool temp2 = false ;
d14a1e28
RD
38703 PyObject * obj0 = 0 ;
38704 PyObject * obj1 = 0 ;
38705 PyObject * obj2 = 0 ;
38706 char *kwnames[] = {
38707 (char *) "self",(char *) "item",(char *) "clientData", NULL
38708 };
38709
38710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
38711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38712 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
38713 {
38714 arg2 = wxString_in_helper(obj1);
38715 if (arg2 == NULL) SWIG_fail;
ae8162c8 38716 temp2 = true;
d14a1e28
RD
38717 }
38718 if (obj2) {
38719 arg3 = obj2;
38720 }
38721 {
38722 PyThreadState* __tstate = wxPyBeginAllowThreads();
38723 result = (int)wxItemContainer_Append(arg1,(wxString const &)*arg2,arg3);
38724
38725 wxPyEndAllowThreads(__tstate);
38726 if (PyErr_Occurred()) SWIG_fail;
38727 }
093d3ff1 38728 {
32fe5131 38729 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 38730 }
d14a1e28
RD
38731 {
38732 if (temp2)
38733 delete arg2;
38734 }
38735 return resultobj;
38736 fail:
38737 {
38738 if (temp2)
38739 delete arg2;
38740 }
38741 return NULL;
38742}
38743
38744
c32bde28 38745static PyObject *_wrap_ItemContainer_AppendItems(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 38746 PyObject *resultobj = NULL;
d14a1e28
RD
38747 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38748 wxArrayString *arg2 = 0 ;
ae8162c8 38749 bool temp2 = false ;
d14a1e28
RD
38750 PyObject * obj0 = 0 ;
38751 PyObject * obj1 = 0 ;
38752 char *kwnames[] = {
38753 (char *) "self",(char *) "strings", NULL
38754 };
38755
38756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
38757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38758 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
38759 {
38760 if (! PySequence_Check(obj1)) {
38761 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
38762 SWIG_fail;
38763 }
38764 arg2 = new wxArrayString;
ae8162c8 38765 temp2 = true;
d14a1e28
RD
38766 int i, len=PySequence_Length(obj1);
38767 for (i=0; i<len; i++) {
38768 PyObject* item = PySequence_GetItem(obj1, i);
71237536 38769 wxString* s = wxString_in_helper(item);
74a57fcd 38770 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
38771 arg2->Add(*s);
38772 delete s;
d14a1e28 38773 Py_DECREF(item);
d14a1e28
RD
38774 }
38775 }
38776 {
38777 PyThreadState* __tstate = wxPyBeginAllowThreads();
38778 (arg1)->Append((wxArrayString const &)*arg2);
38779
38780 wxPyEndAllowThreads(__tstate);
38781 if (PyErr_Occurred()) SWIG_fail;
38782 }
38783 Py_INCREF(Py_None); resultobj = Py_None;
38784 {
3adfb63b 38785 if (temp2) delete arg2;
d14a1e28
RD
38786 }
38787 return resultobj;
38788 fail:
38789 {
3adfb63b 38790 if (temp2) delete arg2;
d14a1e28
RD
38791 }
38792 return NULL;
38793}
38794
38795
c32bde28 38796static PyObject *_wrap_ItemContainer_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 38797 PyObject *resultobj = NULL;
d14a1e28
RD
38798 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38799 wxString *arg2 = 0 ;
38800 int arg3 ;
38801 PyObject *arg4 = (PyObject *) NULL ;
38802 int result;
ae8162c8 38803 bool temp2 = false ;
d14a1e28
RD
38804 PyObject * obj0 = 0 ;
38805 PyObject * obj1 = 0 ;
994141e6 38806 PyObject * obj2 = 0 ;
d14a1e28
RD
38807 PyObject * obj3 = 0 ;
38808 char *kwnames[] = {
38809 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
38810 };
38811
994141e6 38812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ItemContainer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
38813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38814 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
38815 {
38816 arg2 = wxString_in_helper(obj1);
38817 if (arg2 == NULL) SWIG_fail;
ae8162c8 38818 temp2 = true;
d14a1e28 38819 }
093d3ff1 38820 {
32fe5131 38821 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
38822 if (SWIG_arg_fail(3)) SWIG_fail;
38823 }
d14a1e28
RD
38824 if (obj3) {
38825 arg4 = obj3;
38826 }
38827 {
38828 PyThreadState* __tstate = wxPyBeginAllowThreads();
38829 result = (int)wxItemContainer_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
38830
38831 wxPyEndAllowThreads(__tstate);
38832 if (PyErr_Occurred()) SWIG_fail;
38833 }
093d3ff1 38834 {
32fe5131 38835 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 38836 }
d14a1e28
RD
38837 {
38838 if (temp2)
38839 delete arg2;
38840 }
38841 return resultobj;
38842 fail:
38843 {
38844 if (temp2)
38845 delete arg2;
38846 }
38847 return NULL;
38848}
38849
38850
c32bde28 38851static PyObject *_wrap_ItemContainer_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 38852 PyObject *resultobj = NULL;
d14a1e28
RD
38853 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38854 PyObject * obj0 = 0 ;
38855 char *kwnames[] = {
38856 (char *) "self", NULL
38857 };
38858
38859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
38860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38861 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
38862 {
38863 PyThreadState* __tstate = wxPyBeginAllowThreads();
38864 (arg1)->Clear();
38865
38866 wxPyEndAllowThreads(__tstate);
38867 if (PyErr_Occurred()) SWIG_fail;
38868 }
38869 Py_INCREF(Py_None); resultobj = Py_None;
38870 return resultobj;
38871 fail:
38872 return NULL;
38873}
38874
38875
c32bde28 38876static PyObject *_wrap_ItemContainer_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 38877 PyObject *resultobj = NULL;
d14a1e28
RD
38878 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38879 int arg2 ;
38880 PyObject * obj0 = 0 ;
994141e6 38881 PyObject * obj1 = 0 ;
d14a1e28
RD
38882 char *kwnames[] = {
38883 (char *) "self",(char *) "n", NULL
38884 };
38885
994141e6 38886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Delete",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
38887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38888 if (SWIG_arg_fail(1)) SWIG_fail;
38889 {
32fe5131 38890 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
38891 if (SWIG_arg_fail(2)) SWIG_fail;
38892 }
d14a1e28
RD
38893 {
38894 PyThreadState* __tstate = wxPyBeginAllowThreads();
38895 (arg1)->Delete(arg2);
38896
38897 wxPyEndAllowThreads(__tstate);
38898 if (PyErr_Occurred()) SWIG_fail;
38899 }
38900 Py_INCREF(Py_None); resultobj = Py_None;
38901 return resultobj;
38902 fail:
38903 return NULL;
38904}
38905
38906
53aa7709 38907static PyObject *_wrap_ItemContainer_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 38908 PyObject *resultobj = NULL;
53aa7709
RD
38909 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38910 int arg2 ;
38911 PyObject *result;
38912 PyObject * obj0 = 0 ;
38913 PyObject * obj1 = 0 ;
38914 char *kwnames[] = {
38915 (char *) "self",(char *) "n", NULL
38916 };
38917
38918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetClientData",kwnames,&obj0,&obj1)) goto fail;
38919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38920 if (SWIG_arg_fail(1)) SWIG_fail;
38921 {
32fe5131 38922 arg2 = static_cast<int >(SWIG_As_int(obj1));
53aa7709
RD
38923 if (SWIG_arg_fail(2)) SWIG_fail;
38924 }
38925 {
38926 PyThreadState* __tstate = wxPyBeginAllowThreads();
38927 result = (PyObject *)wxItemContainer_GetClientData(arg1,arg2);
38928
38929 wxPyEndAllowThreads(__tstate);
38930 if (PyErr_Occurred()) SWIG_fail;
38931 }
38932 resultobj = result;
38933 return resultobj;
38934 fail:
38935 return NULL;
38936}
38937
38938
38939static PyObject *_wrap_ItemContainer_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 38940 PyObject *resultobj = NULL;
53aa7709
RD
38941 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38942 int arg2 ;
38943 PyObject *arg3 = (PyObject *) 0 ;
38944 PyObject * obj0 = 0 ;
38945 PyObject * obj1 = 0 ;
38946 PyObject * obj2 = 0 ;
38947 char *kwnames[] = {
38948 (char *) "self",(char *) "n",(char *) "clientData", NULL
38949 };
38950
38951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
38952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38953 if (SWIG_arg_fail(1)) SWIG_fail;
38954 {
32fe5131 38955 arg2 = static_cast<int >(SWIG_As_int(obj1));
53aa7709
RD
38956 if (SWIG_arg_fail(2)) SWIG_fail;
38957 }
38958 arg3 = obj2;
38959 {
38960 PyThreadState* __tstate = wxPyBeginAllowThreads();
38961 wxItemContainer_SetClientData(arg1,arg2,arg3);
38962
38963 wxPyEndAllowThreads(__tstate);
38964 if (PyErr_Occurred()) SWIG_fail;
38965 }
38966 Py_INCREF(Py_None); resultobj = Py_None;
38967 return resultobj;
38968 fail:
38969 return NULL;
38970}
38971
38972
c32bde28 38973static PyObject *_wrap_ItemContainer_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 38974 PyObject *resultobj = NULL;
d14a1e28
RD
38975 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
38976 int result;
38977 PyObject * obj0 = 0 ;
38978 char *kwnames[] = {
38979 (char *) "self", NULL
38980 };
38981
38982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
38983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
38984 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
38985 {
38986 PyThreadState* __tstate = wxPyBeginAllowThreads();
38987 result = (int)((wxItemContainer const *)arg1)->GetCount();
38988
38989 wxPyEndAllowThreads(__tstate);
38990 if (PyErr_Occurred()) SWIG_fail;
38991 }
093d3ff1 38992 {
32fe5131 38993 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 38994 }
d14a1e28
RD
38995 return resultobj;
38996 fail:
38997 return NULL;
38998}
38999
39000
c32bde28 39001static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 39002 PyObject *resultobj = NULL;
d14a1e28
RD
39003 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
39004 bool result;
39005 PyObject * obj0 = 0 ;
39006 char *kwnames[] = {
39007 (char *) "self", NULL
39008 };
39009
39010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_IsEmpty",kwnames,&obj0)) goto fail;
093d3ff1
RD
39011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
39012 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
39013 {
39014 PyThreadState* __tstate = wxPyBeginAllowThreads();
39015 result = (bool)((wxItemContainer const *)arg1)->IsEmpty();
39016
39017 wxPyEndAllowThreads(__tstate);
39018 if (PyErr_Occurred()) SWIG_fail;
39019 }
4f89f6a3
RD
39020 {
39021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39022 }
d14a1e28
RD
39023 return resultobj;
39024 fail:
39025 return NULL;
39026}
39027
39028
c32bde28 39029static PyObject *_wrap_ItemContainer_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 39030 PyObject *resultobj = NULL;
d14a1e28
RD
39031 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
39032 int arg2 ;
39033 wxString result;
39034 PyObject * obj0 = 0 ;
994141e6 39035 PyObject * obj1 = 0 ;
d14a1e28
RD
39036 char *kwnames[] = {
39037 (char *) "self",(char *) "n", NULL
39038 };
39039
994141e6 39040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
39041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
39042 if (SWIG_arg_fail(1)) SWIG_fail;
39043 {
32fe5131 39044 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
39045 if (SWIG_arg_fail(2)) SWIG_fail;
39046 }
d14a1e28
RD
39047 {
39048 PyThreadState* __tstate = wxPyBeginAllowThreads();
39049 result = ((wxItemContainer const *)arg1)->GetString(arg2);
39050
39051 wxPyEndAllowThreads(__tstate);
39052 if (PyErr_Occurred()) SWIG_fail;
39053 }
39054 {
39055#if wxUSE_UNICODE
39056 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
39057#else
39058 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
39059#endif
39060 }
39061 return resultobj;
39062 fail:
39063 return NULL;
39064}
39065
39066
c32bde28 39067static PyObject *_wrap_ItemContainer_GetStrings(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 39068 PyObject *resultobj = NULL;
d14a1e28
RD
39069 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
39070 wxArrayString result;
39071 PyObject * obj0 = 0 ;
39072 char *kwnames[] = {
39073 (char *) "self", NULL
39074 };
39075
39076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStrings",kwnames,&obj0)) goto fail;
093d3ff1
RD
39077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
39078 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
39079 {
39080 PyThreadState* __tstate = wxPyBeginAllowThreads();
39081 result = ((wxItemContainer const *)arg1)->GetStrings();
39082
39083 wxPyEndAllowThreads(__tstate);
39084 if (PyErr_Occurred()) SWIG_fail;
39085 }
39086 {
39087 resultobj = wxArrayString2PyList_helper(result);
39088 }
39089 return resultobj;
39090 fail:
39091 return NULL;
39092}
39093
39094
c32bde28 39095static PyObject *_wrap_ItemContainer_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 39096 PyObject *resultobj = NULL;
d14a1e28
RD
39097 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
39098 int arg2 ;
39099 wxString *arg3 = 0 ;
ae8162c8 39100 bool temp3 = false ;
d14a1e28 39101 PyObject * obj0 = 0 ;
994141e6 39102 PyObject * obj1 = 0 ;
d14a1e28
RD
39103 PyObject * obj2 = 0 ;
39104 char *kwnames[] = {
39105 (char *) "self",(char *) "n",(char *) "s", NULL
39106 };
39107
994141e6 39108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
39109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
39110 if (SWIG_arg_fail(1)) SWIG_fail;
39111 {
32fe5131 39112 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
39113 if (SWIG_arg_fail(2)) SWIG_fail;
39114 }
d14a1e28
RD
39115 {
39116 arg3 = wxString_in_helper(obj2);
39117 if (arg3 == NULL) SWIG_fail;
ae8162c8 39118 temp3 = true;
d14a1e28
RD
39119 }
39120 {
39121 PyThreadState* __tstate = wxPyBeginAllowThreads();
39122 (arg1)->SetString(arg2,(wxString const &)*arg3);
39123
39124 wxPyEndAllowThreads(__tstate);
39125 if (PyErr_Occurred()) SWIG_fail;
39126 }
39127 Py_INCREF(Py_None); resultobj = Py_None;
39128 {
39129 if (temp3)
39130 delete arg3;
39131 }
39132 return resultobj;
39133 fail:
39134 {
39135 if (temp3)
39136 delete arg3;
39137 }
39138 return NULL;
39139}
39140
39141
c32bde28 39142static PyObject *_wrap_ItemContainer_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 39143 PyObject *resultobj = NULL;
d14a1e28
RD
39144 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
39145 wxString *arg2 = 0 ;
39146 int result;
ae8162c8 39147 bool temp2 = false ;
d14a1e28
RD
39148 PyObject * obj0 = 0 ;
39149 PyObject * obj1 = 0 ;
39150 char *kwnames[] = {
39151 (char *) "self",(char *) "s", NULL
39152 };
39153
39154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
39155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
39156 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
39157 {
39158 arg2 = wxString_in_helper(obj1);
39159 if (arg2 == NULL) SWIG_fail;
ae8162c8 39160 temp2 = true;
d14a1e28
RD
39161 }
39162 {
39163 PyThreadState* __tstate = wxPyBeginAllowThreads();
39164 result = (int)((wxItemContainer const *)arg1)->FindString((wxString const &)*arg2);
39165
39166 wxPyEndAllowThreads(__tstate);
39167 if (PyErr_Occurred()) SWIG_fail;
39168 }
093d3ff1 39169 {
32fe5131 39170 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 39171 }
d14a1e28
RD
39172 {
39173 if (temp2)
39174 delete arg2;
39175 }
39176 return resultobj;
39177 fail:
39178 {
39179 if (temp2)
39180 delete arg2;
39181 }
39182 return NULL;
39183}
39184
39185
53aa7709 39186static PyObject *_wrap_ItemContainer_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 39187 PyObject *resultobj = NULL;
d14a1e28
RD
39188 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
39189 int arg2 ;
39190 PyObject * obj0 = 0 ;
994141e6 39191 PyObject * obj1 = 0 ;
d14a1e28
RD
39192 char *kwnames[] = {
39193 (char *) "self",(char *) "n", NULL
39194 };
39195
53aa7709 39196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
39197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
39198 if (SWIG_arg_fail(1)) SWIG_fail;
39199 {
32fe5131 39200 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
39201 if (SWIG_arg_fail(2)) SWIG_fail;
39202 }
d14a1e28
RD
39203 {
39204 PyThreadState* __tstate = wxPyBeginAllowThreads();
53aa7709 39205 (arg1)->SetSelection(arg2);
d14a1e28
RD
39206
39207 wxPyEndAllowThreads(__tstate);
39208 if (PyErr_Occurred()) SWIG_fail;
39209 }
39210 Py_INCREF(Py_None); resultobj = Py_None;
39211 return resultobj;
39212 fail:
39213 return NULL;
39214}
39215
39216
c32bde28 39217static PyObject *_wrap_ItemContainer_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 39218 PyObject *resultobj = NULL;
d14a1e28
RD
39219 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
39220 int result;
39221 PyObject * obj0 = 0 ;
39222 char *kwnames[] = {
39223 (char *) "self", NULL
39224 };
39225
39226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
39227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
39228 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
39229 {
39230 PyThreadState* __tstate = wxPyBeginAllowThreads();
39231 result = (int)((wxItemContainer const *)arg1)->GetSelection();
39232
39233 wxPyEndAllowThreads(__tstate);
39234 if (PyErr_Occurred()) SWIG_fail;
39235 }
093d3ff1 39236 {
32fe5131 39237 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 39238 }
d14a1e28
RD
39239 return resultobj;
39240 fail:
39241 return NULL;
39242}
39243
39244
53aa7709 39245static PyObject *_wrap_ItemContainer_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 39246 PyObject *resultobj = NULL;
d14a1e28 39247 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
53aa7709
RD
39248 wxString *arg2 = 0 ;
39249 bool result;
39250 bool temp2 = false ;
d14a1e28 39251 PyObject * obj0 = 0 ;
53aa7709 39252 PyObject * obj1 = 0 ;
d14a1e28 39253 char *kwnames[] = {
53aa7709 39254 (char *) "self",(char *) "s", NULL
d14a1e28
RD
39255 };
39256
53aa7709 39257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
39258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
39259 if (SWIG_arg_fail(1)) SWIG_fail;
53aa7709
RD
39260 {
39261 arg2 = wxString_in_helper(obj1);
39262 if (arg2 == NULL) SWIG_fail;
39263 temp2 = true;
39264 }
d14a1e28
RD
39265 {
39266 PyThreadState* __tstate = wxPyBeginAllowThreads();
53aa7709 39267 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
d14a1e28
RD
39268
39269 wxPyEndAllowThreads(__tstate);
39270 if (PyErr_Occurred()) SWIG_fail;
39271 }
39272 {
53aa7709
RD
39273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39274 }
39275 {
39276 if (temp2)
39277 delete arg2;
d14a1e28
RD
39278 }
39279 return resultobj;
39280 fail:
53aa7709
RD
39281 {
39282 if (temp2)
39283 delete arg2;
39284 }
d14a1e28
RD
39285 return NULL;
39286}
39287
39288
53aa7709 39289static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 39290 PyObject *resultobj = NULL;
d14a1e28 39291 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
53aa7709 39292 wxString result;
d14a1e28
RD
39293 PyObject * obj0 = 0 ;
39294 char *kwnames[] = {
53aa7709 39295 (char *) "self", NULL
d14a1e28
RD
39296 };
39297
53aa7709 39298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStringSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
39299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
39300 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
39301 {
39302 PyThreadState* __tstate = wxPyBeginAllowThreads();
53aa7709 39303 result = ((wxItemContainer const *)arg1)->GetStringSelection();
d14a1e28
RD
39304
39305 wxPyEndAllowThreads(__tstate);
39306 if (PyErr_Occurred()) SWIG_fail;
39307 }
53aa7709
RD
39308 {
39309#if wxUSE_UNICODE
39310 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
39311#else
39312 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
39313#endif
39314 }
d14a1e28
RD
39315 return resultobj;
39316 fail:
39317 return NULL;
39318}
39319
39320
53aa7709 39321static PyObject *_wrap_ItemContainer_Select(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 39322 PyObject *resultobj = NULL;
d14a1e28
RD
39323 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
39324 int arg2 ;
d14a1e28 39325 PyObject * obj0 = 0 ;
994141e6 39326 PyObject * obj1 = 0 ;
d14a1e28 39327 char *kwnames[] = {
53aa7709 39328 (char *) "self",(char *) "n", NULL
d14a1e28
RD
39329 };
39330
53aa7709 39331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Select",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
39332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0);
39333 if (SWIG_arg_fail(1)) SWIG_fail;
39334 {
32fe5131 39335 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
39336 if (SWIG_arg_fail(2)) SWIG_fail;
39337 }
d14a1e28
RD
39338 {
39339 PyThreadState* __tstate = wxPyBeginAllowThreads();
53aa7709 39340 (arg1)->Select(arg2);
d14a1e28
RD
39341
39342 wxPyEndAllowThreads(__tstate);
39343 if (PyErr_Occurred()) SWIG_fail;
39344 }
39345 Py_INCREF(Py_None); resultobj = Py_None;
39346 return resultobj;
39347 fail:
39348 return NULL;
39349}
39350
39351
c32bde28 39352static PyObject * ItemContainer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
39353 PyObject *obj;
39354 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
39355 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer, obj);
39356 Py_INCREF(obj);
39357 return Py_BuildValue((char *)"");
39358}
c32bde28 39359static PyObject * ControlWithItems_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
39360 PyObject *obj;
39361 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
39362 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems, obj);
39363 Py_INCREF(obj);
39364 return Py_BuildValue((char *)"");
39365}
c32bde28 39366static PyObject *_wrap_new_SizerItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 39367 PyObject *resultobj = NULL;
d14a1e28
RD
39368 wxSizerItem *result;
39369 char *kwnames[] = {
39370 NULL
39371 };
39372
39373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SizerItem",kwnames)) goto fail;
39374 {
39375 PyThreadState* __tstate = wxPyBeginAllowThreads();
39376 result = (wxSizerItem *)new wxSizerItem();
39377
39378 wxPyEndAllowThreads(__tstate);
39379 if (PyErr_Occurred()) SWIG_fail;
39380 }
15afbcd0 39381 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
39382 return resultobj;
39383 fail:
39384 return NULL;
39385}
39386
39387
7e08d4ef
RD
39388static PyObject *_wrap_delete_SizerItem(PyObject *, PyObject *args, PyObject *kwargs) {
39389 PyObject *resultobj = NULL;
39390 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39391 PyObject * obj0 = 0 ;
39392 char *kwnames[] = {
39393 (char *) "self", NULL
39394 };
39395
39396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SizerItem",kwnames,&obj0)) goto fail;
39397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39398 if (SWIG_arg_fail(1)) SWIG_fail;
39399 {
39400 PyThreadState* __tstate = wxPyBeginAllowThreads();
39401 delete arg1;
39402
39403 wxPyEndAllowThreads(__tstate);
39404 if (PyErr_Occurred()) SWIG_fail;
39405 }
39406 Py_INCREF(Py_None); resultobj = Py_None;
39407 return resultobj;
39408 fail:
39409 return NULL;
39410}
39411
39412
c32bde28 39413static PyObject *_wrap_new_SizerItemWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 39414 PyObject *resultobj = NULL;
248ed943 39415 wxWindow *arg1 = (wxWindow *) 0 ;
d14a1e28
RD
39416 int arg2 ;
39417 int arg3 ;
39418 int arg4 ;
248ed943 39419 PyObject *arg5 = (PyObject *) NULL ;
d14a1e28 39420 wxSizerItem *result;
994141e6
RD
39421 PyObject * obj0 = 0 ;
39422 PyObject * obj1 = 0 ;
39423 PyObject * obj2 = 0 ;
39424 PyObject * obj3 = 0 ;
39425 PyObject * obj4 = 0 ;
d14a1e28 39426 char *kwnames[] = {
248ed943 39427 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
d14a1e28
RD
39428 };
39429
248ed943 39430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:new_SizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
39431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
39432 if (SWIG_arg_fail(1)) SWIG_fail;
39433 {
32fe5131 39434 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
39435 if (SWIG_arg_fail(2)) SWIG_fail;
39436 }
39437 {
32fe5131 39438 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
39439 if (SWIG_arg_fail(3)) SWIG_fail;
39440 }
39441 {
32fe5131 39442 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
39443 if (SWIG_arg_fail(4)) SWIG_fail;
39444 }
248ed943
RD
39445 if (obj4) {
39446 arg5 = obj4;
39447 }
d14a1e28
RD
39448 {
39449 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 39450 result = (wxSizerItem *)new_wxSizerItem(arg1,arg2,arg3,arg4,arg5);
d14a1e28
RD
39451
39452 wxPyEndAllowThreads(__tstate);
39453 if (PyErr_Occurred()) SWIG_fail;
39454 }
15afbcd0 39455 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
39456 return resultobj;
39457 fail:
39458 return NULL;
39459}
39460
39461
c32bde28 39462static PyObject *_wrap_new_SizerItemSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 39463 PyObject *resultobj = NULL;
248ed943 39464 int arg1 ;
d14a1e28
RD
39465 int arg2 ;
39466 int arg3 ;
39467 int arg4 ;
248ed943
RD
39468 int arg5 ;
39469 PyObject *arg6 = (PyObject *) NULL ;
d14a1e28
RD
39470 wxSizerItem *result;
39471 PyObject * obj0 = 0 ;
994141e6
RD
39472 PyObject * obj1 = 0 ;
39473 PyObject * obj2 = 0 ;
39474 PyObject * obj3 = 0 ;
d14a1e28 39475 PyObject * obj4 = 0 ;
248ed943 39476 PyObject * obj5 = 0 ;
d14a1e28 39477 char *kwnames[] = {
248ed943 39478 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
d14a1e28
RD
39479 };
39480
248ed943 39481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1 39482 {
32fe5131 39483 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
39484 if (SWIG_arg_fail(1)) SWIG_fail;
39485 }
39486 {
32fe5131 39487 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
39488 if (SWIG_arg_fail(2)) SWIG_fail;
39489 }
39490 {
32fe5131 39491 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
39492 if (SWIG_arg_fail(3)) SWIG_fail;
39493 }
39494 {
32fe5131 39495 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
39496 if (SWIG_arg_fail(4)) SWIG_fail;
39497 }
39498 {
32fe5131 39499 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
39500 if (SWIG_arg_fail(5)) SWIG_fail;
39501 }
248ed943
RD
39502 if (obj5) {
39503 arg6 = obj5;
39504 }
d14a1e28
RD
39505 {
39506 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 39507 result = (wxSizerItem *)new_wxSizerItem(arg1,arg2,arg3,arg4,arg5,arg6);
d14a1e28
RD
39508
39509 wxPyEndAllowThreads(__tstate);
39510 if (PyErr_Occurred()) SWIG_fail;
39511 }
15afbcd0 39512 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
39513 return resultobj;
39514 fail:
39515 return NULL;
39516}
39517
39518
c32bde28 39519static PyObject *_wrap_new_SizerItemSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 39520 PyObject *resultobj = NULL;
d14a1e28
RD
39521 wxSizer *arg1 = (wxSizer *) 0 ;
39522 int arg2 ;
39523 int arg3 ;
39524 int arg4 ;
248ed943 39525 PyObject *arg5 = (PyObject *) NULL ;
d14a1e28
RD
39526 wxSizerItem *result;
39527 PyObject * obj0 = 0 ;
994141e6
RD
39528 PyObject * obj1 = 0 ;
39529 PyObject * obj2 = 0 ;
39530 PyObject * obj3 = 0 ;
d14a1e28
RD
39531 PyObject * obj4 = 0 ;
39532 char *kwnames[] = {
39533 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39534 };
39535
248ed943 39536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:new_SizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
7e08d4ef 39537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1
RD
39538 if (SWIG_arg_fail(1)) SWIG_fail;
39539 {
32fe5131 39540 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
39541 if (SWIG_arg_fail(2)) SWIG_fail;
39542 }
39543 {
32fe5131 39544 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
39545 if (SWIG_arg_fail(3)) SWIG_fail;
39546 }
39547 {
32fe5131 39548 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
39549 if (SWIG_arg_fail(4)) SWIG_fail;
39550 }
248ed943
RD
39551 if (obj4) {
39552 arg5 = obj4;
39553 }
d14a1e28
RD
39554 {
39555 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 39556 result = (wxSizerItem *)new_wxSizerItem(arg1,arg2,arg3,arg4,arg5);
d14a1e28
RD
39557
39558 wxPyEndAllowThreads(__tstate);
39559 if (PyErr_Occurred()) SWIG_fail;
39560 }
15afbcd0 39561 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
39562 return resultobj;
39563 fail:
39564 return NULL;
39565}
39566
39567
c32bde28 39568static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 39569 PyObject *resultobj = NULL;
d14a1e28
RD
39570 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39571 PyObject * obj0 = 0 ;
39572 char *kwnames[] = {
39573 (char *) "self", NULL
39574 };
39575
39576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DeleteWindows",kwnames,&obj0)) goto fail;
093d3ff1
RD
39577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39578 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
39579 {
39580 PyThreadState* __tstate = wxPyBeginAllowThreads();
39581 (arg1)->DeleteWindows();
39582
39583 wxPyEndAllowThreads(__tstate);
39584 if (PyErr_Occurred()) SWIG_fail;
39585 }
39586 Py_INCREF(Py_None); resultobj = Py_None;
39587 return resultobj;
39588 fail:
39589 return NULL;
39590}
39591
39592
c32bde28 39593static PyObject *_wrap_SizerItem_DetachSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 39594 PyObject *resultobj = NULL;
d14a1e28
RD
39595 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39596 PyObject * obj0 = 0 ;
39597 char *kwnames[] = {
39598 (char *) "self", NULL
39599 };
39600
39601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DetachSizer",kwnames,&obj0)) goto fail;
093d3ff1
RD
39602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39603 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
39604 {
39605 PyThreadState* __tstate = wxPyBeginAllowThreads();
39606 (arg1)->DetachSizer();
39607
39608 wxPyEndAllowThreads(__tstate);
39609 if (PyErr_Occurred()) SWIG_fail;
39610 }
39611 Py_INCREF(Py_None); resultobj = Py_None;
39612 return resultobj;
39613 fail:
39614 return NULL;
39615}
39616
39617
c32bde28 39618static PyObject *_wrap_SizerItem_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 39619 PyObject *resultobj = NULL;
d14a1e28
RD
39620 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39621 wxSize result;
39622 PyObject * obj0 = 0 ;
39623 char *kwnames[] = {
39624 (char *) "self", NULL
39625 };
39626
39627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
39628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39629 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
39630 {
39631 PyThreadState* __tstate = wxPyBeginAllowThreads();
39632 result = (arg1)->GetSize();
39633
39634 wxPyEndAllowThreads(__tstate);
39635 if (PyErr_Occurred()) SWIG_fail;
39636 }
39637 {
39638 wxSize * resultptr;
32fe5131 39639 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 39640 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
39641 }
39642 return resultobj;
39643 fail:
39644 return NULL;
39645}
39646
39647
c32bde28 39648static PyObject *_wrap_SizerItem_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 39649 PyObject *resultobj = NULL;
d14a1e28
RD
39650 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39651 wxSize result;
39652 PyObject * obj0 = 0 ;
39653 char *kwnames[] = {
39654 (char *) "self", NULL
39655 };
39656
39657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_CalcMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
39658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39659 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
39660 {
39661 PyThreadState* __tstate = wxPyBeginAllowThreads();
39662 result = (arg1)->CalcMin();
39663
39664 wxPyEndAllowThreads(__tstate);
39665 if (PyErr_Occurred()) SWIG_fail;
39666 }
39667 {
39668 wxSize * resultptr;
32fe5131 39669 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 39670 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
39671 }
39672 return resultobj;
39673 fail:
39674 return NULL;
39675}
39676
39677
c32bde28 39678static PyObject *_wrap_SizerItem_SetDimension(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 39679 PyObject *resultobj = NULL;
d14a1e28 39680 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
7e08d4ef
RD
39681 wxPoint *arg2 = 0 ;
39682 wxSize *arg3 = 0 ;
39683 wxPoint temp2 ;
39684 wxSize temp3 ;
d14a1e28
RD
39685 PyObject * obj0 = 0 ;
39686 PyObject * obj1 = 0 ;
39687 PyObject * obj2 = 0 ;
39688 char *kwnames[] = {
39689 (char *) "self",(char *) "pos",(char *) "size", NULL
39690 };
39691
39692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
39693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39694 if (SWIG_arg_fail(1)) SWIG_fail;
39695 {
7e08d4ef
RD
39696 arg2 = &temp2;
39697 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
093d3ff1
RD
39698 }
39699 {
7e08d4ef
RD
39700 arg3 = &temp3;
39701 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 39702 }
d14a1e28
RD
39703 {
39704 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 39705 (arg1)->SetDimension((wxPoint const &)*arg2,(wxSize const &)*arg3);
d14a1e28
RD
39706
39707 wxPyEndAllowThreads(__tstate);
39708 if (PyErr_Occurred()) SWIG_fail;
39709 }
39710 Py_INCREF(Py_None); resultobj = Py_None;
39711 return resultobj;
39712 fail:
39713 return NULL;
39714}
39715
39716
c32bde28 39717static PyObject *_wrap_SizerItem_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 39718 PyObject *resultobj = NULL;
d14a1e28
RD
39719 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39720 wxSize result;
39721 PyObject * obj0 = 0 ;
39722 char *kwnames[] = {
39723 (char *) "self", NULL
39724 };
39725
39726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
39727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39728 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
39729 {
39730 PyThreadState* __tstate = wxPyBeginAllowThreads();
39731 result = (arg1)->GetMinSize();
39732
39733 wxPyEndAllowThreads(__tstate);
39734 if (PyErr_Occurred()) SWIG_fail;
39735 }
39736 {
39737 wxSize * resultptr;
32fe5131 39738 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 39739 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
39740 }
39741 return resultobj;
39742 fail:
39743 return NULL;
39744}
39745
39746
c32bde28 39747static PyObject *_wrap_SizerItem_GetMinSizeWithBorder(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 39748 PyObject *resultobj = NULL;
dfbb5885
RD
39749 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39750 wxSize result;
39751 PyObject * obj0 = 0 ;
39752 char *kwnames[] = {
39753 (char *) "self", NULL
39754 };
39755
39756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames,&obj0)) goto fail;
093d3ff1
RD
39757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39758 if (SWIG_arg_fail(1)) SWIG_fail;
dfbb5885
RD
39759 {
39760 PyThreadState* __tstate = wxPyBeginAllowThreads();
39761 result = ((wxSizerItem const *)arg1)->GetMinSizeWithBorder();
39762
39763 wxPyEndAllowThreads(__tstate);
39764 if (PyErr_Occurred()) SWIG_fail;
39765 }
39766 {
39767 wxSize * resultptr;
32fe5131 39768 resultptr = new wxSize(static_cast<wxSize & >(result));
dfbb5885
RD
39769 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
39770 }
39771 return resultobj;
39772 fail:
39773 return NULL;
39774}
39775
39776
c32bde28 39777static PyObject *_wrap_SizerItem_SetInitSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 39778 PyObject *resultobj = NULL;
d14a1e28
RD
39779 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39780 int arg2 ;
39781 int arg3 ;
39782 PyObject * obj0 = 0 ;
994141e6
RD
39783 PyObject * obj1 = 0 ;
39784 PyObject * obj2 = 0 ;
d14a1e28
RD
39785 char *kwnames[] = {
39786 (char *) "self",(char *) "x",(char *) "y", NULL
39787 };
39788
994141e6 39789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetInitSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
39790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39791 if (SWIG_arg_fail(1)) SWIG_fail;
39792 {
32fe5131 39793 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
39794 if (SWIG_arg_fail(2)) SWIG_fail;
39795 }
39796 {
32fe5131 39797 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
39798 if (SWIG_arg_fail(3)) SWIG_fail;
39799 }
d14a1e28
RD
39800 {
39801 PyThreadState* __tstate = wxPyBeginAllowThreads();
39802 (arg1)->SetInitSize(arg2,arg3);
39803
39804 wxPyEndAllowThreads(__tstate);
39805 if (PyErr_Occurred()) SWIG_fail;
39806 }
39807 Py_INCREF(Py_None); resultobj = Py_None;
39808 return resultobj;
39809 fail:
39810 return NULL;
39811}
39812
39813
c32bde28 39814static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 39815 PyObject *resultobj = NULL;
d14a1e28
RD
39816 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39817 int arg2 ;
39818 int arg3 ;
39819 PyObject * obj0 = 0 ;
994141e6
RD
39820 PyObject * obj1 = 0 ;
39821 PyObject * obj2 = 0 ;
d14a1e28
RD
39822 char *kwnames[] = {
39823 (char *) "self",(char *) "width",(char *) "height", NULL
39824 };
39825
994141e6 39826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetRatioWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
39827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39828 if (SWIG_arg_fail(1)) SWIG_fail;
39829 {
32fe5131 39830 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
39831 if (SWIG_arg_fail(2)) SWIG_fail;
39832 }
39833 {
32fe5131 39834 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
39835 if (SWIG_arg_fail(3)) SWIG_fail;
39836 }
d14a1e28
RD
39837 {
39838 PyThreadState* __tstate = wxPyBeginAllowThreads();
39839 (arg1)->SetRatio(arg2,arg3);
39840
39841 wxPyEndAllowThreads(__tstate);
39842 if (PyErr_Occurred()) SWIG_fail;
39843 }
39844 Py_INCREF(Py_None); resultobj = Py_None;
39845 return resultobj;
39846 fail:
39847 return NULL;
39848}
39849
39850
c32bde28 39851static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 39852 PyObject *resultobj = NULL;
d14a1e28 39853 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
88c6b281
RD
39854 wxSize *arg2 = 0 ;
39855 wxSize temp2 ;
d14a1e28
RD
39856 PyObject * obj0 = 0 ;
39857 PyObject * obj1 = 0 ;
39858 char *kwnames[] = {
39859 (char *) "self",(char *) "size", NULL
39860 };
39861
39862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
39863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39864 if (SWIG_arg_fail(1)) SWIG_fail;
39865 {
88c6b281
RD
39866 arg2 = &temp2;
39867 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
093d3ff1 39868 }
d14a1e28
RD
39869 {
39870 PyThreadState* __tstate = wxPyBeginAllowThreads();
88c6b281 39871 (arg1)->SetRatio((wxSize const &)*arg2);
d14a1e28
RD
39872
39873 wxPyEndAllowThreads(__tstate);
39874 if (PyErr_Occurred()) SWIG_fail;
39875 }
39876 Py_INCREF(Py_None); resultobj = Py_None;
39877 return resultobj;
39878 fail:
39879 return NULL;
39880}
39881
39882
c32bde28 39883static PyObject *_wrap_SizerItem_SetRatio(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 39884 PyObject *resultobj = NULL;
d14a1e28
RD
39885 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39886 float arg2 ;
39887 PyObject * obj0 = 0 ;
994141e6 39888 PyObject * obj1 = 0 ;
d14a1e28
RD
39889 char *kwnames[] = {
39890 (char *) "self",(char *) "ratio", NULL
39891 };
39892
994141e6 39893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatio",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
39894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39895 if (SWIG_arg_fail(1)) SWIG_fail;
39896 {
32fe5131 39897 arg2 = static_cast<float >(SWIG_As_float(obj1));
093d3ff1
RD
39898 if (SWIG_arg_fail(2)) SWIG_fail;
39899 }
d14a1e28
RD
39900 {
39901 PyThreadState* __tstate = wxPyBeginAllowThreads();
39902 (arg1)->SetRatio(arg2);
39903
39904 wxPyEndAllowThreads(__tstate);
39905 if (PyErr_Occurred()) SWIG_fail;
39906 }
39907 Py_INCREF(Py_None); resultobj = Py_None;
39908 return resultobj;
39909 fail:
39910 return NULL;
39911}
39912
39913
c32bde28 39914static PyObject *_wrap_SizerItem_GetRatio(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 39915 PyObject *resultobj = NULL;
d14a1e28
RD
39916 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39917 float result;
39918 PyObject * obj0 = 0 ;
39919 char *kwnames[] = {
39920 (char *) "self", NULL
39921 };
39922
39923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRatio",kwnames,&obj0)) goto fail;
093d3ff1
RD
39924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39925 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
39926 {
39927 PyThreadState* __tstate = wxPyBeginAllowThreads();
39928 result = (float)(arg1)->GetRatio();
39929
39930 wxPyEndAllowThreads(__tstate);
39931 if (PyErr_Occurred()) SWIG_fail;
39932 }
093d3ff1 39933 {
32fe5131 39934 resultobj = SWIG_From_float(static_cast<float >(result));
093d3ff1 39935 }
d14a1e28
RD
39936 return resultobj;
39937 fail:
39938 return NULL;
39939}
39940
39941
d3b6e4ff 39942static PyObject *_wrap_SizerItem_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 39943 PyObject *resultobj = NULL;
d3b6e4ff
RD
39944 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39945 wxRect result;
39946 PyObject * obj0 = 0 ;
39947 char *kwnames[] = {
39948 (char *) "self", NULL
39949 };
39950
39951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
39952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39953 if (SWIG_arg_fail(1)) SWIG_fail;
d3b6e4ff
RD
39954 {
39955 PyThreadState* __tstate = wxPyBeginAllowThreads();
39956 result = (arg1)->GetRect();
39957
39958 wxPyEndAllowThreads(__tstate);
39959 if (PyErr_Occurred()) SWIG_fail;
39960 }
39961 {
39962 wxRect * resultptr;
32fe5131 39963 resultptr = new wxRect(static_cast<wxRect & >(result));
d3b6e4ff
RD
39964 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
39965 }
39966 return resultobj;
39967 fail:
39968 return NULL;
39969}
39970
39971
c32bde28 39972static PyObject *_wrap_SizerItem_IsWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 39973 PyObject *resultobj = NULL;
d14a1e28
RD
39974 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
39975 bool result;
39976 PyObject * obj0 = 0 ;
39977 char *kwnames[] = {
39978 (char *) "self", NULL
39979 };
39980
39981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
39982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
39983 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
39984 {
39985 PyThreadState* __tstate = wxPyBeginAllowThreads();
39986 result = (bool)(arg1)->IsWindow();
39987
39988 wxPyEndAllowThreads(__tstate);
39989 if (PyErr_Occurred()) SWIG_fail;
39990 }
4f89f6a3
RD
39991 {
39992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39993 }
d14a1e28
RD
39994 return resultobj;
39995 fail:
39996 return NULL;
39997}
39998
39999
c32bde28 40000static PyObject *_wrap_SizerItem_IsSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 40001 PyObject *resultobj = NULL;
d14a1e28
RD
40002 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
40003 bool result;
40004 PyObject * obj0 = 0 ;
40005 char *kwnames[] = {
40006 (char *) "self", NULL
40007 };
40008
40009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSizer",kwnames,&obj0)) goto fail;
093d3ff1
RD
40010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
40011 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
40012 {
40013 PyThreadState* __tstate = wxPyBeginAllowThreads();
40014 result = (bool)(arg1)->IsSizer();
40015
40016 wxPyEndAllowThreads(__tstate);
40017 if (PyErr_Occurred()) SWIG_fail;
40018 }
4f89f6a3
RD
40019 {
40020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40021 }
d14a1e28
RD
40022 return resultobj;
40023 fail:
40024 return NULL;
40025}
40026
40027
c32bde28 40028static PyObject *_wrap_SizerItem_IsSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 40029 PyObject *resultobj = NULL;
d14a1e28
RD
40030 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
40031 bool result;
40032 PyObject * obj0 = 0 ;
40033 char *kwnames[] = {
40034 (char *) "self", NULL
40035 };
40036
40037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSpacer",kwnames,&obj0)) goto fail;
093d3ff1
RD
40038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
40039 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
40040 {
40041 PyThreadState* __tstate = wxPyBeginAllowThreads();
40042 result = (bool)(arg1)->IsSpacer();
40043
40044 wxPyEndAllowThreads(__tstate);
40045 if (PyErr_Occurred()) SWIG_fail;
40046 }
4f89f6a3
RD
40047 {
40048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40049 }
d14a1e28
RD
40050 return resultobj;
40051 fail:
40052 return NULL;
40053}
40054
40055
c32bde28 40056static PyObject *_wrap_SizerItem_SetProportion(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 40057 PyObject *resultobj = NULL;
d14a1e28
RD
40058 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
40059 int arg2 ;
40060 PyObject * obj0 = 0 ;
994141e6 40061 PyObject * obj1 = 0 ;
d14a1e28
RD
40062 char *kwnames[] = {
40063 (char *) "self",(char *) "proportion", NULL
40064 };
40065
994141e6 40066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetProportion",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
40067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
40068 if (SWIG_arg_fail(1)) SWIG_fail;
40069 {
32fe5131 40070 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
40071 if (SWIG_arg_fail(2)) SWIG_fail;
40072 }
d14a1e28
RD
40073 {
40074 PyThreadState* __tstate = wxPyBeginAllowThreads();
40075 (arg1)->SetProportion(arg2);
40076
40077 wxPyEndAllowThreads(__tstate);
40078 if (PyErr_Occurred()) SWIG_fail;
40079 }
40080 Py_INCREF(Py_None); resultobj = Py_None;
40081 return resultobj;
40082 fail:
40083 return NULL;
40084}
40085
40086
c32bde28 40087static PyObject *_wrap_SizerItem_GetProportion(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 40088 PyObject *resultobj = NULL;
d14a1e28
RD
40089 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
40090 int result;
40091 PyObject * obj0 = 0 ;
40092 char *kwnames[] = {
40093 (char *) "self", NULL
40094 };
40095
40096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetProportion",kwnames,&obj0)) goto fail;
093d3ff1
RD
40097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
40098 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
40099 {
40100 PyThreadState* __tstate = wxPyBeginAllowThreads();
40101 result = (int)(arg1)->GetProportion();
40102
40103 wxPyEndAllowThreads(__tstate);
40104 if (PyErr_Occurred()) SWIG_fail;
40105 }
093d3ff1 40106 {
32fe5131 40107 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 40108 }
d14a1e28
RD
40109 return resultobj;
40110 fail:
40111 return NULL;
40112}
40113
40114
c32bde28 40115static PyObject *_wrap_SizerItem_SetFlag(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 40116 PyObject *resultobj = NULL;
d14a1e28
RD
40117 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
40118 int arg2 ;
40119 PyObject * obj0 = 0 ;
994141e6 40120 PyObject * obj1 = 0 ;
d14a1e28
RD
40121 char *kwnames[] = {
40122 (char *) "self",(char *) "flag", NULL
40123 };
40124
994141e6 40125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetFlag",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
40126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
40127 if (SWIG_arg_fail(1)) SWIG_fail;
40128 {
32fe5131 40129 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
40130 if (SWIG_arg_fail(2)) SWIG_fail;
40131 }
d14a1e28
RD
40132 {
40133 PyThreadState* __tstate = wxPyBeginAllowThreads();
40134 (arg1)->SetFlag(arg2);
40135
40136 wxPyEndAllowThreads(__tstate);
40137 if (PyErr_Occurred()) SWIG_fail;
40138 }
40139 Py_INCREF(Py_None); resultobj = Py_None;
40140 return resultobj;
40141 fail:
40142 return NULL;
40143}
40144
40145
c32bde28 40146static PyObject *_wrap_SizerItem_GetFlag(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 40147 PyObject *resultobj = NULL;
d14a1e28
RD
40148 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
40149 int result;
40150 PyObject * obj0 = 0 ;
40151 char *kwnames[] = {
40152 (char *) "self", NULL
40153 };
40154
40155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetFlag",kwnames,&obj0)) goto fail;
093d3ff1
RD
40156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
40157 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
40158 {
40159 PyThreadState* __tstate = wxPyBeginAllowThreads();
40160 result = (int)(arg1)->GetFlag();
40161
40162 wxPyEndAllowThreads(__tstate);
40163 if (PyErr_Occurred()) SWIG_fail;
40164 }
093d3ff1 40165 {
32fe5131 40166 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 40167 }
d14a1e28
RD
40168 return resultobj;
40169 fail:
40170 return NULL;
40171}
40172
40173
c32bde28 40174static PyObject *_wrap_SizerItem_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 40175 PyObject *resultobj = NULL;
d14a1e28
RD
40176 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
40177 int arg2 ;
40178 PyObject * obj0 = 0 ;
994141e6 40179 PyObject * obj1 = 0 ;
d14a1e28
RD
40180 char *kwnames[] = {
40181 (char *) "self",(char *) "border", NULL
40182 };
40183
994141e6 40184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetBorder",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
40185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
40186 if (SWIG_arg_fail(1)) SWIG_fail;
40187 {
32fe5131 40188 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
40189 if (SWIG_arg_fail(2)) SWIG_fail;
40190 }
d14a1e28
RD
40191 {
40192 PyThreadState* __tstate = wxPyBeginAllowThreads();
40193 (arg1)->SetBorder(arg2);
40194
40195 wxPyEndAllowThreads(__tstate);
40196 if (PyErr_Occurred()) SWIG_fail;
40197 }
40198 Py_INCREF(Py_None); resultobj = Py_None;
40199 return resultobj;
40200 fail:
40201 return NULL;
40202}
40203
40204
c32bde28 40205static PyObject *_wrap_SizerItem_GetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 40206 PyObject *resultobj = NULL;
d14a1e28
RD
40207 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
40208 int result;
40209 PyObject * obj0 = 0 ;
40210 char *kwnames[] = {
40211 (char *) "self", NULL
40212 };
40213
40214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetBorder",kwnames,&obj0)) goto fail;
093d3ff1
RD
40215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
40216 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
40217 {
40218 PyThreadState* __tstate = wxPyBeginAllowThreads();
40219 result = (int)(arg1)->GetBorder();
40220
40221 wxPyEndAllowThreads(__tstate);
40222 if (PyErr_Occurred()) SWIG_fail;
40223 }
093d3ff1 40224 {
32fe5131 40225 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 40226 }
d14a1e28
RD
40227 return resultobj;
40228 fail:
40229 return NULL;
40230}
40231
40232
c32bde28 40233static PyObject *_wrap_SizerItem_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 40234 PyObject *resultobj = NULL;
d14a1e28
RD
40235 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
40236 wxWindow *result;
40237 PyObject * obj0 = 0 ;
40238 char *kwnames[] = {
40239 (char *) "self", NULL
40240 };
40241
40242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
40243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
40244 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
40245 {
40246 PyThreadState* __tstate = wxPyBeginAllowThreads();
40247 result = (wxWindow *)(arg1)->GetWindow();
40248
40249 wxPyEndAllowThreads(__tstate);
40250 if (PyErr_Occurred()) SWIG_fail;
40251 }
40252 {
412d302d 40253 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
40254 }
40255 return resultobj;
40256 fail:
40257 return NULL;
40258}
40259
40260
c32bde28 40261static PyObject *_wrap_SizerItem_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 40262 PyObject *resultobj = NULL;
d14a1e28
RD
40263 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
40264 wxWindow *arg2 = (wxWindow *) 0 ;
40265 PyObject * obj0 = 0 ;
40266 PyObject * obj1 = 0 ;
40267 char *kwnames[] = {
40268 (char *) "self",(char *) "window", NULL
40269 };
40270
40271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
40272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
40273 if (SWIG_arg_fail(1)) SWIG_fail;
40274 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
40275 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
40276 {
40277 PyThreadState* __tstate = wxPyBeginAllowThreads();
40278 (arg1)->SetWindow(arg2);
40279
40280 wxPyEndAllowThreads(__tstate);
40281 if (PyErr_Occurred()) SWIG_fail;
40282 }
40283 Py_INCREF(Py_None); resultobj = Py_None;
40284 return resultobj;
40285 fail:
40286 return NULL;
40287}
40288
40289
c32bde28 40290static PyObject *_wrap_SizerItem_GetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 40291 PyObject *resultobj = NULL;
d14a1e28
RD
40292 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
40293 wxSizer *result;
40294 PyObject * obj0 = 0 ;
40295 char *kwnames[] = {
40296 (char *) "self", NULL
40297 };
40298
40299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSizer",kwnames,&obj0)) goto fail;
093d3ff1
RD
40300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
40301 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
40302 {
40303 PyThreadState* __tstate = wxPyBeginAllowThreads();
40304 result = (wxSizer *)(arg1)->GetSizer();
40305
40306 wxPyEndAllowThreads(__tstate);
40307 if (PyErr_Occurred()) SWIG_fail;
40308 }
40309 {
7e08d4ef 40310 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
40311 }
40312 return resultobj;
40313 fail:
40314 return NULL;
40315}
40316
40317
c32bde28 40318static PyObject *_wrap_SizerItem_SetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 40319 PyObject *resultobj = NULL;
d14a1e28
RD
40320 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
40321 wxSizer *arg2 = (wxSizer *) 0 ;
40322 PyObject * obj0 = 0 ;
40323 PyObject * obj1 = 0 ;
40324 char *kwnames[] = {
40325 (char *) "self",(char *) "sizer", NULL
40326 };
40327
40328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
40329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
40330 if (SWIG_arg_fail(1)) SWIG_fail;
7e08d4ef 40331 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 40332 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
40333 {
40334 PyThreadState* __tstate = wxPyBeginAllowThreads();
40335 (arg1)->SetSizer(arg2);
40336
40337 wxPyEndAllowThreads(__tstate);
40338 if (PyErr_Occurred()) SWIG_fail;
40339 }
40340 Py_INCREF(Py_None); resultobj = Py_None;
40341 return resultobj;
40342 fail:
40343 return NULL;
40344}
40345
40346
c32bde28 40347static PyObject *_wrap_SizerItem_GetSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 40348 PyObject *resultobj = NULL;
d14a1e28
RD
40349 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
40350 wxSize *result;
40351 PyObject * obj0 = 0 ;
40352 char *kwnames[] = {
40353 (char *) "self", NULL
40354 };
40355
40356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSpacer",kwnames,&obj0)) goto fail;
093d3ff1
RD
40357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
40358 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
40359 {
40360 PyThreadState* __tstate = wxPyBeginAllowThreads();
40361 {
40362 wxSize const &_result_ref = (arg1)->GetSpacer();
40363 result = (wxSize *) &_result_ref;
40364 }
40365
40366 wxPyEndAllowThreads(__tstate);
40367 if (PyErr_Occurred()) SWIG_fail;
40368 }
15afbcd0 40369 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
40370 return resultobj;
40371 fail:
40372 return NULL;
40373}
40374
40375
c32bde28 40376static PyObject *_wrap_SizerItem_SetSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 40377 PyObject *resultobj = NULL;
d14a1e28
RD
40378 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
40379 wxSize *arg2 = 0 ;
40380 wxSize temp2 ;
40381 PyObject * obj0 = 0 ;
40382 PyObject * obj1 = 0 ;
40383 char *kwnames[] = {
40384 (char *) "self",(char *) "size", NULL
40385 };
40386
40387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
40388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
40389 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
40390 {
40391 arg2 = &temp2;
40392 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
40393 }
40394 {
40395 PyThreadState* __tstate = wxPyBeginAllowThreads();
40396 (arg1)->SetSpacer((wxSize const &)*arg2);
40397
40398 wxPyEndAllowThreads(__tstate);
40399 if (PyErr_Occurred()) SWIG_fail;
40400 }
40401 Py_INCREF(Py_None); resultobj = Py_None;
40402 return resultobj;
40403 fail:
40404 return NULL;
40405}
40406
40407
c32bde28 40408static PyObject *_wrap_SizerItem_Show(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 40409 PyObject *resultobj = NULL;
d14a1e28
RD
40410 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
40411 bool arg2 ;
40412 PyObject * obj0 = 0 ;
40413 PyObject * obj1 = 0 ;
40414 char *kwnames[] = {
40415 (char *) "self",(char *) "show", NULL
40416 };
40417
40418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_Show",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
40419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
40420 if (SWIG_arg_fail(1)) SWIG_fail;
40421 {
32fe5131 40422 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
40423 if (SWIG_arg_fail(2)) SWIG_fail;
40424 }
d14a1e28
RD
40425 {
40426 PyThreadState* __tstate = wxPyBeginAllowThreads();
40427 (arg1)->Show(arg2);
40428
40429 wxPyEndAllowThreads(__tstate);
40430 if (PyErr_Occurred()) SWIG_fail;
40431 }
40432 Py_INCREF(Py_None); resultobj = Py_None;
40433 return resultobj;
40434 fail:
40435 return NULL;
40436}
40437
40438
c32bde28 40439static PyObject *_wrap_SizerItem_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 40440 PyObject *resultobj = NULL;
d14a1e28
RD
40441 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
40442 bool result;
40443 PyObject * obj0 = 0 ;
40444 char *kwnames[] = {
40445 (char *) "self", NULL
40446 };
40447
40448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsShown",kwnames,&obj0)) goto fail;
093d3ff1
RD
40449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
40450 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
40451 {
40452 PyThreadState* __tstate = wxPyBeginAllowThreads();
40453 result = (bool)(arg1)->IsShown();
40454
40455 wxPyEndAllowThreads(__tstate);
40456 if (PyErr_Occurred()) SWIG_fail;
40457 }
4f89f6a3
RD
40458 {
40459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40460 }
d14a1e28
RD
40461 return resultobj;
40462 fail:
40463 return NULL;
40464}
40465
40466
c32bde28 40467static PyObject *_wrap_SizerItem_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 40468 PyObject *resultobj = NULL;
d14a1e28
RD
40469 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
40470 wxPoint result;
40471 PyObject * obj0 = 0 ;
40472 char *kwnames[] = {
40473 (char *) "self", NULL
40474 };
40475
40476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
40477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
40478 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
40479 {
40480 PyThreadState* __tstate = wxPyBeginAllowThreads();
40481 result = (arg1)->GetPosition();
40482
40483 wxPyEndAllowThreads(__tstate);
40484 if (PyErr_Occurred()) SWIG_fail;
40485 }
40486 {
40487 wxPoint * resultptr;
32fe5131 40488 resultptr = new wxPoint(static_cast<wxPoint & >(result));
15afbcd0 40489 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
40490 }
40491 return resultobj;
40492 fail:
40493 return NULL;
40494}
40495
40496
c32bde28 40497static PyObject *_wrap_SizerItem_GetUserData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 40498 PyObject *resultobj = NULL;
d14a1e28
RD
40499 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
40500 PyObject *result;
40501 PyObject * obj0 = 0 ;
40502 char *kwnames[] = {
40503 (char *) "self", NULL
40504 };
40505
40506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetUserData",kwnames,&obj0)) goto fail;
093d3ff1
RD
40507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
40508 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
40509 {
40510 PyThreadState* __tstate = wxPyBeginAllowThreads();
40511 result = (PyObject *)wxSizerItem_GetUserData(arg1);
40512
40513 wxPyEndAllowThreads(__tstate);
40514 if (PyErr_Occurred()) SWIG_fail;
40515 }
40516 resultobj = result;
40517 return resultobj;
40518 fail:
40519 return NULL;
40520}
40521
40522
091f5bed 40523static PyObject *_wrap_SizerItem_SetUserData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 40524 PyObject *resultobj = NULL;
091f5bed
RD
40525 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
40526 PyObject *arg2 = (PyObject *) 0 ;
40527 PyObject * obj0 = 0 ;
40528 PyObject * obj1 = 0 ;
40529 char *kwnames[] = {
40530 (char *) "self",(char *) "userData", NULL
40531 };
40532
40533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetUserData",kwnames,&obj0,&obj1)) goto fail;
40534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
40535 if (SWIG_arg_fail(1)) SWIG_fail;
40536 arg2 = obj1;
40537 {
40538 PyThreadState* __tstate = wxPyBeginAllowThreads();
40539 wxSizerItem_SetUserData(arg1,arg2);
40540
40541 wxPyEndAllowThreads(__tstate);
40542 if (PyErr_Occurred()) SWIG_fail;
40543 }
40544 Py_INCREF(Py_None); resultobj = Py_None;
40545 return resultobj;
40546 fail:
40547 return NULL;
40548}
40549
40550
c32bde28 40551static PyObject * SizerItem_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
40552 PyObject *obj;
40553 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
40554 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem, obj);
40555 Py_INCREF(obj);
40556 return Py_BuildValue((char *)"");
40557}
7e08d4ef
RD
40558static PyObject *_wrap_delete_Sizer(PyObject *, PyObject *args, PyObject *kwargs) {
40559 PyObject *resultobj = NULL;
40560 wxSizer *arg1 = (wxSizer *) 0 ;
40561 PyObject * obj0 = 0 ;
40562 char *kwnames[] = {
40563 (char *) "self", NULL
40564 };
40565
40566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sizer",kwnames,&obj0)) goto fail;
40567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40568 if (SWIG_arg_fail(1)) SWIG_fail;
40569 {
40570 PyThreadState* __tstate = wxPyBeginAllowThreads();
40571 delete arg1;
40572
40573 wxPyEndAllowThreads(__tstate);
40574 if (PyErr_Occurred()) SWIG_fail;
40575 }
40576 Py_INCREF(Py_None); resultobj = Py_None;
40577 return resultobj;
40578 fail:
40579 return NULL;
40580}
40581
40582
c32bde28 40583static PyObject *_wrap_Sizer__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 40584 PyObject *resultobj = NULL;
d14a1e28
RD
40585 wxSizer *arg1 = (wxSizer *) 0 ;
40586 PyObject *arg2 = (PyObject *) 0 ;
40587 PyObject * obj0 = 0 ;
40588 PyObject * obj1 = 0 ;
40589 char *kwnames[] = {
40590 (char *) "self",(char *) "_self", NULL
40591 };
40592
40593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
40594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40595 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
40596 arg2 = obj1;
40597 {
40598 PyThreadState* __tstate = wxPyBeginAllowThreads();
40599 wxSizer__setOORInfo(arg1,arg2);
40600
40601 wxPyEndAllowThreads(__tstate);
40602 if (PyErr_Occurred()) SWIG_fail;
40603 }
40604 Py_INCREF(Py_None); resultobj = Py_None;
40605 return resultobj;
40606 fail:
40607 return NULL;
40608}
40609
40610
c32bde28 40611static PyObject *_wrap_Sizer_Add(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 40612 PyObject *resultobj = NULL;
d14a1e28
RD
40613 wxSizer *arg1 = (wxSizer *) 0 ;
40614 PyObject *arg2 = (PyObject *) 0 ;
40615 int arg3 = (int) 0 ;
40616 int arg4 = (int) 0 ;
40617 int arg5 = (int) 0 ;
40618 PyObject *arg6 = (PyObject *) NULL ;
d3b6e4ff 40619 wxSizerItem *result;
d14a1e28
RD
40620 PyObject * obj0 = 0 ;
40621 PyObject * obj1 = 0 ;
994141e6
RD
40622 PyObject * obj2 = 0 ;
40623 PyObject * obj3 = 0 ;
40624 PyObject * obj4 = 0 ;
d14a1e28
RD
40625 PyObject * obj5 = 0 ;
40626 char *kwnames[] = {
40627 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
40628 };
40629
994141e6 40630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
40631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40632 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 40633 arg2 = obj1;
994141e6 40634 if (obj2) {
093d3ff1 40635 {
32fe5131 40636 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
40637 if (SWIG_arg_fail(3)) SWIG_fail;
40638 }
994141e6
RD
40639 }
40640 if (obj3) {
093d3ff1 40641 {
32fe5131 40642 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
40643 if (SWIG_arg_fail(4)) SWIG_fail;
40644 }
994141e6
RD
40645 }
40646 if (obj4) {
093d3ff1 40647 {
32fe5131 40648 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
40649 if (SWIG_arg_fail(5)) SWIG_fail;
40650 }
994141e6 40651 }
d14a1e28
RD
40652 if (obj5) {
40653 arg6 = obj5;
40654 }
40655 {
40656 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 40657 result = (wxSizerItem *)wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
d14a1e28
RD
40658
40659 wxPyEndAllowThreads(__tstate);
40660 if (PyErr_Occurred()) SWIG_fail;
40661 }
d3b6e4ff 40662 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
d14a1e28
RD
40663 return resultobj;
40664 fail:
40665 return NULL;
40666}
40667
40668
c32bde28 40669static PyObject *_wrap_Sizer_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 40670 PyObject *resultobj = NULL;
d14a1e28
RD
40671 wxSizer *arg1 = (wxSizer *) 0 ;
40672 int arg2 ;
40673 PyObject *arg3 = (PyObject *) 0 ;
40674 int arg4 = (int) 0 ;
40675 int arg5 = (int) 0 ;
40676 int arg6 = (int) 0 ;
40677 PyObject *arg7 = (PyObject *) NULL ;
d3b6e4ff 40678 wxSizerItem *result;
d14a1e28 40679 PyObject * obj0 = 0 ;
994141e6 40680 PyObject * obj1 = 0 ;
d14a1e28 40681 PyObject * obj2 = 0 ;
994141e6
RD
40682 PyObject * obj3 = 0 ;
40683 PyObject * obj4 = 0 ;
40684 PyObject * obj5 = 0 ;
d14a1e28
RD
40685 PyObject * obj6 = 0 ;
40686 char *kwnames[] = {
40687 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
40688 };
40689
994141e6 40690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Sizer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
40691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40692 if (SWIG_arg_fail(1)) SWIG_fail;
40693 {
32fe5131 40694 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
40695 if (SWIG_arg_fail(2)) SWIG_fail;
40696 }
d14a1e28 40697 arg3 = obj2;
994141e6 40698 if (obj3) {
093d3ff1 40699 {
32fe5131 40700 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
40701 if (SWIG_arg_fail(4)) SWIG_fail;
40702 }
994141e6
RD
40703 }
40704 if (obj4) {
093d3ff1 40705 {
32fe5131 40706 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
40707 if (SWIG_arg_fail(5)) SWIG_fail;
40708 }
994141e6
RD
40709 }
40710 if (obj5) {
093d3ff1 40711 {
32fe5131 40712 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
40713 if (SWIG_arg_fail(6)) SWIG_fail;
40714 }
994141e6 40715 }
d14a1e28
RD
40716 if (obj6) {
40717 arg7 = obj6;
40718 }
40719 {
40720 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 40721 result = (wxSizerItem *)wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
d14a1e28
RD
40722
40723 wxPyEndAllowThreads(__tstate);
40724 if (PyErr_Occurred()) SWIG_fail;
40725 }
d3b6e4ff 40726 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
d14a1e28
RD
40727 return resultobj;
40728 fail:
40729 return NULL;
40730}
40731
40732
c32bde28 40733static PyObject *_wrap_Sizer_Prepend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 40734 PyObject *resultobj = NULL;
d14a1e28
RD
40735 wxSizer *arg1 = (wxSizer *) 0 ;
40736 PyObject *arg2 = (PyObject *) 0 ;
40737 int arg3 = (int) 0 ;
40738 int arg4 = (int) 0 ;
40739 int arg5 = (int) 0 ;
40740 PyObject *arg6 = (PyObject *) NULL ;
d3b6e4ff 40741 wxSizerItem *result;
d14a1e28
RD
40742 PyObject * obj0 = 0 ;
40743 PyObject * obj1 = 0 ;
994141e6
RD
40744 PyObject * obj2 = 0 ;
40745 PyObject * obj3 = 0 ;
40746 PyObject * obj4 = 0 ;
d14a1e28
RD
40747 PyObject * obj5 = 0 ;
40748 char *kwnames[] = {
40749 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
40750 };
40751
994141e6 40752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
40753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40754 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 40755 arg2 = obj1;
994141e6 40756 if (obj2) {
093d3ff1 40757 {
32fe5131 40758 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
40759 if (SWIG_arg_fail(3)) SWIG_fail;
40760 }
994141e6
RD
40761 }
40762 if (obj3) {
093d3ff1 40763 {
32fe5131 40764 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
40765 if (SWIG_arg_fail(4)) SWIG_fail;
40766 }
994141e6
RD
40767 }
40768 if (obj4) {
093d3ff1 40769 {
32fe5131 40770 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
40771 if (SWIG_arg_fail(5)) SWIG_fail;
40772 }
994141e6 40773 }
d14a1e28
RD
40774 if (obj5) {
40775 arg6 = obj5;
40776 }
40777 {
40778 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 40779 result = (wxSizerItem *)wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
d14a1e28
RD
40780
40781 wxPyEndAllowThreads(__tstate);
40782 if (PyErr_Occurred()) SWIG_fail;
40783 }
d3b6e4ff 40784 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
d14a1e28
RD
40785 return resultobj;
40786 fail:
40787 return NULL;
40788}
40789
40790
c32bde28 40791static PyObject *_wrap_Sizer_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 40792 PyObject *resultobj = NULL;
d14a1e28
RD
40793 wxSizer *arg1 = (wxSizer *) 0 ;
40794 PyObject *arg2 = (PyObject *) 0 ;
40795 bool result;
40796 PyObject * obj0 = 0 ;
40797 PyObject * obj1 = 0 ;
40798 char *kwnames[] = {
40799 (char *) "self",(char *) "item", NULL
40800 };
40801
40802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Remove",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
40803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40804 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
40805 arg2 = obj1;
40806 {
40807 PyThreadState* __tstate = wxPyBeginAllowThreads();
40808 result = (bool)wxSizer_Remove(arg1,arg2);
40809
40810 wxPyEndAllowThreads(__tstate);
40811 if (PyErr_Occurred()) SWIG_fail;
40812 }
4f89f6a3
RD
40813 {
40814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40815 }
d14a1e28
RD
40816 return resultobj;
40817 fail:
40818 return NULL;
40819}
40820
40821
c32bde28 40822static PyObject *_wrap_Sizer_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 40823 PyObject *resultobj = NULL;
1c0f361b
RD
40824 wxSizer *arg1 = (wxSizer *) 0 ;
40825 PyObject *arg2 = (PyObject *) 0 ;
40826 bool result;
40827 PyObject * obj0 = 0 ;
40828 PyObject * obj1 = 0 ;
40829 char *kwnames[] = {
40830 (char *) "self",(char *) "item", NULL
40831 };
40832
40833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Detach",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
40834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40835 if (SWIG_arg_fail(1)) SWIG_fail;
1c0f361b
RD
40836 arg2 = obj1;
40837 {
40838 PyThreadState* __tstate = wxPyBeginAllowThreads();
40839 result = (bool)wxSizer_Detach(arg1,arg2);
40840
40841 wxPyEndAllowThreads(__tstate);
40842 if (PyErr_Occurred()) SWIG_fail;
40843 }
40844 {
40845 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40846 }
40847 return resultobj;
40848 fail:
40849 return NULL;
40850}
40851
40852
d3b6e4ff 40853static PyObject *_wrap_Sizer_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 40854 PyObject *resultobj = NULL;
d3b6e4ff
RD
40855 wxSizer *arg1 = (wxSizer *) 0 ;
40856 PyObject *arg2 = (PyObject *) 0 ;
40857 wxSizerItem *result;
40858 PyObject * obj0 = 0 ;
40859 PyObject * obj1 = 0 ;
40860 char *kwnames[] = {
40861 (char *) "self",(char *) "item", NULL
40862 };
40863
40864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_GetItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
40865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40866 if (SWIG_arg_fail(1)) SWIG_fail;
d3b6e4ff
RD
40867 arg2 = obj1;
40868 {
40869 PyThreadState* __tstate = wxPyBeginAllowThreads();
40870 result = (wxSizerItem *)wxSizer_GetItem(arg1,arg2);
40871
40872 wxPyEndAllowThreads(__tstate);
40873 if (PyErr_Occurred()) SWIG_fail;
40874 }
40875 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
40876 return resultobj;
40877 fail:
40878 return NULL;
40879}
40880
40881
c32bde28 40882static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 40883 PyObject *resultobj = NULL;
d14a1e28
RD
40884 wxSizer *arg1 = (wxSizer *) 0 ;
40885 PyObject *arg2 = (PyObject *) 0 ;
e811c8ce
RD
40886 wxSize *arg3 = 0 ;
40887 wxSize temp3 ;
d14a1e28
RD
40888 PyObject * obj0 = 0 ;
40889 PyObject * obj1 = 0 ;
40890 PyObject * obj2 = 0 ;
40891 char *kwnames[] = {
40892 (char *) "self",(char *) "item",(char *) "size", NULL
40893 };
40894
40895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
40896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40897 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 40898 arg2 = obj1;
e811c8ce
RD
40899 {
40900 arg3 = &temp3;
40901 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
40902 }
d14a1e28
RD
40903 {
40904 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 40905 wxSizer__SetItemMinSize(arg1,arg2,(wxSize const &)*arg3);
d14a1e28
RD
40906
40907 wxPyEndAllowThreads(__tstate);
40908 if (PyErr_Occurred()) SWIG_fail;
40909 }
40910 Py_INCREF(Py_None); resultobj = Py_None;
40911 return resultobj;
40912 fail:
40913 return NULL;
40914}
40915
40916
c32bde28 40917static PyObject *_wrap_Sizer_AddItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 40918 PyObject *resultobj = NULL;
d14a1e28
RD
40919 wxSizer *arg1 = (wxSizer *) 0 ;
40920 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
d3b6e4ff 40921 wxSizerItem *result;
d14a1e28
RD
40922 PyObject * obj0 = 0 ;
40923 PyObject * obj1 = 0 ;
40924 char *kwnames[] = {
40925 (char *) "self",(char *) "item", NULL
40926 };
40927
40928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
40929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40930 if (SWIG_arg_fail(1)) SWIG_fail;
7e08d4ef 40931 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 40932 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
40933 {
40934 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 40935 result = (wxSizerItem *)(arg1)->Add(arg2);
d14a1e28
RD
40936
40937 wxPyEndAllowThreads(__tstate);
40938 if (PyErr_Occurred()) SWIG_fail;
40939 }
d3b6e4ff 40940 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
d14a1e28
RD
40941 return resultobj;
40942 fail:
40943 return NULL;
40944}
40945
40946
c32bde28 40947static PyObject *_wrap_Sizer_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 40948 PyObject *resultobj = NULL;
d14a1e28
RD
40949 wxSizer *arg1 = (wxSizer *) 0 ;
40950 size_t arg2 ;
40951 wxSizerItem *arg3 = (wxSizerItem *) 0 ;
d3b6e4ff 40952 wxSizerItem *result;
d14a1e28
RD
40953 PyObject * obj0 = 0 ;
40954 PyObject * obj1 = 0 ;
40955 PyObject * obj2 = 0 ;
40956 char *kwnames[] = {
40957 (char *) "self",(char *) "index",(char *) "item", NULL
40958 };
40959
40960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
40961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40962 if (SWIG_arg_fail(1)) SWIG_fail;
40963 {
32fe5131 40964 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
40965 if (SWIG_arg_fail(2)) SWIG_fail;
40966 }
7e08d4ef 40967 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 40968 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
40969 {
40970 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 40971 result = (wxSizerItem *)(arg1)->Insert(arg2,arg3);
d14a1e28
RD
40972
40973 wxPyEndAllowThreads(__tstate);
40974 if (PyErr_Occurred()) SWIG_fail;
40975 }
d3b6e4ff 40976 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
d14a1e28
RD
40977 return resultobj;
40978 fail:
40979 return NULL;
40980}
40981
40982
c32bde28 40983static PyObject *_wrap_Sizer_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 40984 PyObject *resultobj = NULL;
d14a1e28
RD
40985 wxSizer *arg1 = (wxSizer *) 0 ;
40986 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
d3b6e4ff 40987 wxSizerItem *result;
d14a1e28
RD
40988 PyObject * obj0 = 0 ;
40989 PyObject * obj1 = 0 ;
40990 char *kwnames[] = {
40991 (char *) "self",(char *) "item", NULL
40992 };
40993
40994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_PrependItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
40995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
40996 if (SWIG_arg_fail(1)) SWIG_fail;
7e08d4ef 40997 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 40998 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
40999 {
41000 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 41001 result = (wxSizerItem *)(arg1)->Prepend(arg2);
d14a1e28
RD
41002
41003 wxPyEndAllowThreads(__tstate);
41004 if (PyErr_Occurred()) SWIG_fail;
41005 }
d3b6e4ff 41006 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
d14a1e28
RD
41007 return resultobj;
41008 fail:
41009 return NULL;
41010}
41011
41012
c32bde28 41013static PyObject *_wrap_Sizer_SetDimension(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 41014 PyObject *resultobj = NULL;
d14a1e28
RD
41015 wxSizer *arg1 = (wxSizer *) 0 ;
41016 int arg2 ;
41017 int arg3 ;
41018 int arg4 ;
41019 int arg5 ;
41020 PyObject * obj0 = 0 ;
994141e6
RD
41021 PyObject * obj1 = 0 ;
41022 PyObject * obj2 = 0 ;
41023 PyObject * obj3 = 0 ;
41024 PyObject * obj4 = 0 ;
d14a1e28
RD
41025 char *kwnames[] = {
41026 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
41027 };
41028
994141e6 41029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Sizer_SetDimension",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
41030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
41031 if (SWIG_arg_fail(1)) SWIG_fail;
41032 {
32fe5131 41033 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
41034 if (SWIG_arg_fail(2)) SWIG_fail;
41035 }
41036 {
32fe5131 41037 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
41038 if (SWIG_arg_fail(3)) SWIG_fail;
41039 }
41040 {
32fe5131 41041 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
41042 if (SWIG_arg_fail(4)) SWIG_fail;
41043 }
41044 {
32fe5131 41045 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
41046 if (SWIG_arg_fail(5)) SWIG_fail;
41047 }
d14a1e28
RD
41048 {
41049 PyThreadState* __tstate = wxPyBeginAllowThreads();
41050 (arg1)->SetDimension(arg2,arg3,arg4,arg5);
41051
41052 wxPyEndAllowThreads(__tstate);
41053 if (PyErr_Occurred()) SWIG_fail;
41054 }
41055 Py_INCREF(Py_None); resultobj = Py_None;
41056 return resultobj;
41057 fail:
41058 return NULL;
41059}
41060
41061
c32bde28 41062static PyObject *_wrap_Sizer_SetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 41063 PyObject *resultobj = NULL;
d14a1e28 41064 wxSizer *arg1 = (wxSizer *) 0 ;
1fc9204a
RD
41065 wxSize *arg2 = 0 ;
41066 wxSize temp2 ;
d14a1e28
RD
41067 PyObject * obj0 = 0 ;
41068 PyObject * obj1 = 0 ;
41069 char *kwnames[] = {
41070 (char *) "self",(char *) "size", NULL
41071 };
41072
41073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
41074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
41075 if (SWIG_arg_fail(1)) SWIG_fail;
1fc9204a
RD
41076 {
41077 arg2 = &temp2;
41078 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
41079 }
d14a1e28
RD
41080 {
41081 PyThreadState* __tstate = wxPyBeginAllowThreads();
1fc9204a 41082 (arg1)->SetMinSize((wxSize const &)*arg2);
d14a1e28
RD
41083
41084 wxPyEndAllowThreads(__tstate);
41085 if (PyErr_Occurred()) SWIG_fail;
41086 }
41087 Py_INCREF(Py_None); resultobj = Py_None;
41088 return resultobj;
41089 fail:
41090 return NULL;
41091}
41092
41093
c32bde28 41094static PyObject *_wrap_Sizer_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 41095 PyObject *resultobj = NULL;
d14a1e28
RD
41096 wxSizer *arg1 = (wxSizer *) 0 ;
41097 wxSize result;
41098 PyObject * obj0 = 0 ;
41099 char *kwnames[] = {
41100 (char *) "self", NULL
41101 };
41102
41103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
41104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
41105 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
41106 {
41107 PyThreadState* __tstate = wxPyBeginAllowThreads();
41108 result = (arg1)->GetSize();
41109
41110 wxPyEndAllowThreads(__tstate);
41111 if (PyErr_Occurred()) SWIG_fail;
41112 }
41113 {
41114 wxSize * resultptr;
32fe5131 41115 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 41116 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
41117 }
41118 return resultobj;
41119 fail:
41120 return NULL;
41121}
41122
41123
c32bde28 41124static PyObject *_wrap_Sizer_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 41125 PyObject *resultobj = NULL;
d14a1e28
RD
41126 wxSizer *arg1 = (wxSizer *) 0 ;
41127 wxPoint result;
41128 PyObject * obj0 = 0 ;
41129 char *kwnames[] = {
41130 (char *) "self", NULL
41131 };
41132
41133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
41134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
41135 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
41136 {
41137 PyThreadState* __tstate = wxPyBeginAllowThreads();
41138 result = (arg1)->GetPosition();
41139
41140 wxPyEndAllowThreads(__tstate);
41141 if (PyErr_Occurred()) SWIG_fail;
41142 }
41143 {
41144 wxPoint * resultptr;
32fe5131 41145 resultptr = new wxPoint(static_cast<wxPoint & >(result));
15afbcd0 41146 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
41147 }
41148 return resultobj;
41149 fail:
41150 return NULL;
41151}
41152
41153
c32bde28 41154static PyObject *_wrap_Sizer_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 41155 PyObject *resultobj = NULL;
d14a1e28
RD
41156 wxSizer *arg1 = (wxSizer *) 0 ;
41157 wxSize result;
41158 PyObject * obj0 = 0 ;
41159 char *kwnames[] = {
41160 (char *) "self", NULL
41161 };
41162
41163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetMinSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
41164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
41165 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
41166 {
41167 PyThreadState* __tstate = wxPyBeginAllowThreads();
41168 result = (arg1)->GetMinSize();
41169
41170 wxPyEndAllowThreads(__tstate);
41171 if (PyErr_Occurred()) SWIG_fail;
41172 }
41173 {
41174 wxSize * resultptr;
32fe5131 41175 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 41176 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
41177 }
41178 return resultobj;
41179 fail:
41180 return NULL;
41181}
41182
41183
c32bde28 41184static PyObject *_wrap_Sizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 41185 PyObject *resultobj = NULL;
d14a1e28
RD
41186 wxSizer *arg1 = (wxSizer *) 0 ;
41187 PyObject * obj0 = 0 ;
41188 char *kwnames[] = {
41189 (char *) "self", NULL
41190 };
41191
41192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_RecalcSizes",kwnames,&obj0)) goto fail;
093d3ff1
RD
41193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
41194 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
41195 {
41196 PyThreadState* __tstate = wxPyBeginAllowThreads();
41197 (arg1)->RecalcSizes();
41198
41199 wxPyEndAllowThreads(__tstate);
41200 if (PyErr_Occurred()) SWIG_fail;
41201 }
41202 Py_INCREF(Py_None); resultobj = Py_None;
41203 return resultobj;
41204 fail:
41205 return NULL;
41206}
41207
41208
c32bde28 41209static PyObject *_wrap_Sizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 41210 PyObject *resultobj = NULL;
d14a1e28
RD
41211 wxSizer *arg1 = (wxSizer *) 0 ;
41212 wxSize result;
41213 PyObject * obj0 = 0 ;
41214 char *kwnames[] = {
41215 (char *) "self", NULL
41216 };
41217
41218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_CalcMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
41219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
41220 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
41221 {
41222 PyThreadState* __tstate = wxPyBeginAllowThreads();
41223 result = (arg1)->CalcMin();
41224
41225 wxPyEndAllowThreads(__tstate);
41226 if (PyErr_Occurred()) SWIG_fail;
41227 }
41228 {
41229 wxSize * resultptr;
32fe5131 41230 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 41231 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
41232 }
41233 return resultobj;
41234 fail:
41235 return NULL;
41236}
41237
41238
c32bde28 41239static PyObject *_wrap_Sizer_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 41240 PyObject *resultobj = NULL;
d14a1e28
RD
41241 wxSizer *arg1 = (wxSizer *) 0 ;
41242 PyObject * obj0 = 0 ;
41243 char *kwnames[] = {
41244 (char *) "self", NULL
41245 };
41246
41247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_Layout",kwnames,&obj0)) goto fail;
093d3ff1
RD
41248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
41249 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
41250 {
41251 PyThreadState* __tstate = wxPyBeginAllowThreads();
41252 (arg1)->Layout();
41253
41254 wxPyEndAllowThreads(__tstate);
41255 if (PyErr_Occurred()) SWIG_fail;
41256 }
41257 Py_INCREF(Py_None); resultobj = Py_None;
41258 return resultobj;
41259 fail:
41260 return NULL;
41261}
41262
41263
c32bde28 41264static PyObject *_wrap_Sizer_Fit(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 41265 PyObject *resultobj = NULL;
d14a1e28
RD
41266 wxSizer *arg1 = (wxSizer *) 0 ;
41267 wxWindow *arg2 = (wxWindow *) 0 ;
41268 wxSize result;
41269 PyObject * obj0 = 0 ;
41270 PyObject * obj1 = 0 ;
41271 char *kwnames[] = {
41272 (char *) "self",(char *) "window", NULL
41273 };
41274
41275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Fit",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
41276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
41277 if (SWIG_arg_fail(1)) SWIG_fail;
41278 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
41279 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
41280 {
41281 PyThreadState* __tstate = wxPyBeginAllowThreads();
41282 result = (arg1)->Fit(arg2);
41283
41284 wxPyEndAllowThreads(__tstate);
41285 if (PyErr_Occurred()) SWIG_fail;
41286 }
41287 {
41288 wxSize * resultptr;
32fe5131 41289 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 41290 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
41291 }
41292 return resultobj;
41293 fail:
41294 return NULL;
41295}
41296
41297
c32bde28 41298static PyObject *_wrap_Sizer_FitInside(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 41299 PyObject *resultobj = NULL;
d14a1e28
RD
41300 wxSizer *arg1 = (wxSizer *) 0 ;
41301 wxWindow *arg2 = (wxWindow *) 0 ;
41302 PyObject * obj0 = 0 ;
41303 PyObject * obj1 = 0 ;
41304 char *kwnames[] = {
41305 (char *) "self",(char *) "window", NULL
41306 };
41307
41308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_FitInside",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
41309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
41310 if (SWIG_arg_fail(1)) SWIG_fail;
41311 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
41312 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
41313 {
41314 PyThreadState* __tstate = wxPyBeginAllowThreads();
41315 (arg1)->FitInside(arg2);
41316
41317 wxPyEndAllowThreads(__tstate);
41318 if (PyErr_Occurred()) SWIG_fail;
41319 }
41320 Py_INCREF(Py_None); resultobj = Py_None;
41321 return resultobj;
41322 fail:
41323 return NULL;
41324}
41325
41326
c32bde28 41327static PyObject *_wrap_Sizer_SetSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 41328 PyObject *resultobj = NULL;
d14a1e28
RD
41329 wxSizer *arg1 = (wxSizer *) 0 ;
41330 wxWindow *arg2 = (wxWindow *) 0 ;
41331 PyObject * obj0 = 0 ;
41332 PyObject * obj1 = 0 ;
41333 char *kwnames[] = {
41334 (char *) "self",(char *) "window", NULL
41335 };
41336
41337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
41338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
41339 if (SWIG_arg_fail(1)) SWIG_fail;
41340 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
41341 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
41342 {
41343 PyThreadState* __tstate = wxPyBeginAllowThreads();
41344 (arg1)->SetSizeHints(arg2);
41345
41346 wxPyEndAllowThreads(__tstate);
41347 if (PyErr_Occurred()) SWIG_fail;
41348 }
41349 Py_INCREF(Py_None); resultobj = Py_None;
41350 return resultobj;
41351 fail:
41352 return NULL;
41353}
41354
41355
c32bde28 41356static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 41357 PyObject *resultobj = NULL;
d14a1e28
RD
41358 wxSizer *arg1 = (wxSizer *) 0 ;
41359 wxWindow *arg2 = (wxWindow *) 0 ;
41360 PyObject * obj0 = 0 ;
41361 PyObject * obj1 = 0 ;
41362 char *kwnames[] = {
41363 (char *) "self",(char *) "window", NULL
41364 };
41365
41366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
41367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
41368 if (SWIG_arg_fail(1)) SWIG_fail;
41369 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
41370 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
41371 {
41372 PyThreadState* __tstate = wxPyBeginAllowThreads();
41373 (arg1)->SetVirtualSizeHints(arg2);
41374
41375 wxPyEndAllowThreads(__tstate);
41376 if (PyErr_Occurred()) SWIG_fail;
41377 }
41378 Py_INCREF(Py_None); resultobj = Py_None;
41379 return resultobj;
41380 fail:
41381 return NULL;
41382}
41383
41384
c32bde28 41385static PyObject *_wrap_Sizer_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 41386 PyObject *resultobj = NULL;
d14a1e28 41387 wxSizer *arg1 = (wxSizer *) 0 ;
ae8162c8 41388 bool arg2 = (bool) false ;
d14a1e28
RD
41389 PyObject * obj0 = 0 ;
41390 PyObject * obj1 = 0 ;
41391 char *kwnames[] = {
248ed943 41392 (char *) "self",(char *) "deleteWindows", NULL
d14a1e28
RD
41393 };
41394
41395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sizer_Clear",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
41396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
41397 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 41398 if (obj1) {
093d3ff1 41399 {
32fe5131 41400 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
41401 if (SWIG_arg_fail(2)) SWIG_fail;
41402 }
d14a1e28
RD
41403 }
41404 {
41405 PyThreadState* __tstate = wxPyBeginAllowThreads();
41406 (arg1)->Clear(arg2);
41407
41408 wxPyEndAllowThreads(__tstate);
41409 if (PyErr_Occurred()) SWIG_fail;
41410 }
41411 Py_INCREF(Py_None); resultobj = Py_None;
41412 return resultobj;
41413 fail:
41414 return NULL;
41415}
41416
41417
c32bde28 41418static PyObject *_wrap_Sizer_DeleteWindows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 41419 PyObject *resultobj = NULL;
d14a1e28
RD
41420 wxSizer *arg1 = (wxSizer *) 0 ;
41421 PyObject * obj0 = 0 ;
41422 char *kwnames[] = {
41423 (char *) "self", NULL
41424 };
41425
41426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_DeleteWindows",kwnames,&obj0)) goto fail;
093d3ff1
RD
41427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
41428 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
41429 {
41430 PyThreadState* __tstate = wxPyBeginAllowThreads();
41431 (arg1)->DeleteWindows();
41432
41433 wxPyEndAllowThreads(__tstate);
41434 if (PyErr_Occurred()) SWIG_fail;
41435 }
41436 Py_INCREF(Py_None); resultobj = Py_None;
41437 return resultobj;
41438 fail:
41439 return NULL;
41440}
41441
41442
c32bde28 41443static PyObject *_wrap_Sizer_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 41444 PyObject *resultobj = NULL;
d14a1e28
RD
41445 wxSizer *arg1 = (wxSizer *) 0 ;
41446 PyObject *result;
41447 PyObject * obj0 = 0 ;
41448 char *kwnames[] = {
41449 (char *) "self", NULL
41450 };
41451
41452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetChildren",kwnames,&obj0)) goto fail;
093d3ff1
RD
41453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
41454 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
41455 {
41456 PyThreadState* __tstate = wxPyBeginAllowThreads();
41457 result = (PyObject *)wxSizer_GetChildren(arg1);
41458
41459 wxPyEndAllowThreads(__tstate);
41460 if (PyErr_Occurred()) SWIG_fail;
41461 }
41462 resultobj = result;
41463 return resultobj;
41464 fail:
41465 return NULL;
41466}
41467
41468
c32bde28 41469static PyObject *_wrap_Sizer_Show(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 41470 PyObject *resultobj = NULL;
d14a1e28
RD
41471 wxSizer *arg1 = (wxSizer *) 0 ;
41472 PyObject *arg2 = (PyObject *) 0 ;
ae8162c8
RD
41473 bool arg3 = (bool) true ;
41474 bool arg4 = (bool) false ;
7e63a440 41475 bool result;
d14a1e28
RD
41476 PyObject * obj0 = 0 ;
41477 PyObject * obj1 = 0 ;
41478 PyObject * obj2 = 0 ;
7e63a440 41479 PyObject * obj3 = 0 ;
d14a1e28 41480 char *kwnames[] = {
7e63a440 41481 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
d14a1e28
RD
41482 };
41483
7e63a440 41484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Sizer_Show",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
41485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
41486 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
41487 arg2 = obj1;
41488 if (obj2) {
093d3ff1 41489 {
32fe5131 41490 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
41491 if (SWIG_arg_fail(3)) SWIG_fail;
41492 }
d14a1e28 41493 }
7e63a440 41494 if (obj3) {
093d3ff1 41495 {
32fe5131 41496 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
093d3ff1
RD
41497 if (SWIG_arg_fail(4)) SWIG_fail;
41498 }
7e63a440 41499 }
d14a1e28
RD
41500 {
41501 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e63a440 41502 result = (bool)wxSizer_Show(arg1,arg2,arg3,arg4);
d14a1e28
RD
41503
41504 wxPyEndAllowThreads(__tstate);
41505 if (PyErr_Occurred()) SWIG_fail;
41506 }
7e63a440
RD
41507 {
41508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41509 }
d14a1e28
RD
41510 return resultobj;
41511 fail:
41512 return NULL;
41513}
41514
41515
c32bde28 41516static PyObject *_wrap_Sizer_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 41517 PyObject *resultobj = NULL;
d14a1e28
RD
41518 wxSizer *arg1 = (wxSizer *) 0 ;
41519 PyObject *arg2 = (PyObject *) 0 ;
41520 bool result;
41521 PyObject * obj0 = 0 ;
41522 PyObject * obj1 = 0 ;
41523 char *kwnames[] = {
41524 (char *) "self",(char *) "item", NULL
41525 };
41526
41527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_IsShown",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
41528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
41529 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
41530 arg2 = obj1;
41531 {
41532 PyThreadState* __tstate = wxPyBeginAllowThreads();
41533 result = (bool)wxSizer_IsShown(arg1,arg2);
41534
41535 wxPyEndAllowThreads(__tstate);
41536 if (PyErr_Occurred()) SWIG_fail;
41537 }
4f89f6a3
RD
41538 {
41539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41540 }
d14a1e28
RD
41541 return resultobj;
41542 fail:
41543 return NULL;
41544}
41545
41546
c32bde28 41547static PyObject *_wrap_Sizer_ShowItems(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 41548 PyObject *resultobj = NULL;
d14a1e28
RD
41549 wxSizer *arg1 = (wxSizer *) 0 ;
41550 bool arg2 ;
41551 PyObject * obj0 = 0 ;
41552 PyObject * obj1 = 0 ;
41553 char *kwnames[] = {
41554 (char *) "self",(char *) "show", NULL
41555 };
41556
41557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_ShowItems",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
41558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
41559 if (SWIG_arg_fail(1)) SWIG_fail;
41560 {
32fe5131 41561 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
41562 if (SWIG_arg_fail(2)) SWIG_fail;
41563 }
d14a1e28
RD
41564 {
41565 PyThreadState* __tstate = wxPyBeginAllowThreads();
41566 (arg1)->ShowItems(arg2);
41567
41568 wxPyEndAllowThreads(__tstate);
41569 if (PyErr_Occurred()) SWIG_fail;
41570 }
41571 Py_INCREF(Py_None); resultobj = Py_None;
41572 return resultobj;
41573 fail:
41574 return NULL;
41575}
41576
41577
c32bde28 41578static PyObject * Sizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
41579 PyObject *obj;
41580 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
41581 SWIG_TypeClientData(SWIGTYPE_p_wxSizer, obj);
41582 Py_INCREF(obj);
41583 return Py_BuildValue((char *)"");
41584}
c32bde28 41585static PyObject *_wrap_new_PySizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 41586 PyObject *resultobj = NULL;
d14a1e28
RD
41587 wxPySizer *result;
41588 char *kwnames[] = {
41589 NULL
41590 };
41591
41592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PySizer",kwnames)) goto fail;
41593 {
41594 PyThreadState* __tstate = wxPyBeginAllowThreads();
41595 result = (wxPySizer *)new wxPySizer();
41596
41597 wxPyEndAllowThreads(__tstate);
41598 if (PyErr_Occurred()) SWIG_fail;
41599 }
15afbcd0 41600 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPySizer, 1);
d14a1e28
RD
41601 return resultobj;
41602 fail:
41603 return NULL;
41604}
41605
41606
c32bde28 41607static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 41608 PyObject *resultobj = NULL;
d14a1e28
RD
41609 wxPySizer *arg1 = (wxPySizer *) 0 ;
41610 PyObject *arg2 = (PyObject *) 0 ;
41611 PyObject *arg3 = (PyObject *) 0 ;
41612 PyObject * obj0 = 0 ;
41613 PyObject * obj1 = 0 ;
41614 PyObject * obj2 = 0 ;
41615 char *kwnames[] = {
41616 (char *) "self",(char *) "self",(char *) "_class", NULL
41617 };
41618
41619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
41620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPySizer, SWIG_POINTER_EXCEPTION | 0);
41621 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
41622 arg2 = obj1;
41623 arg3 = obj2;
41624 {
41625 PyThreadState* __tstate = wxPyBeginAllowThreads();
41626 (arg1)->_setCallbackInfo(arg2,arg3);
41627
41628 wxPyEndAllowThreads(__tstate);
41629 if (PyErr_Occurred()) SWIG_fail;
41630 }
41631 Py_INCREF(Py_None); resultobj = Py_None;
41632 return resultobj;
41633 fail:
41634 return NULL;
41635}
41636
41637
c32bde28 41638static PyObject * PySizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
41639 PyObject *obj;
41640 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
41641 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer, obj);
41642 Py_INCREF(obj);
41643 return Py_BuildValue((char *)"");
41644}
c32bde28 41645static PyObject *_wrap_new_BoxSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 41646 PyObject *resultobj = NULL;
d14a1e28
RD
41647 int arg1 = (int) wxHORIZONTAL ;
41648 wxBoxSizer *result;
994141e6 41649 PyObject * obj0 = 0 ;
d14a1e28
RD
41650 char *kwnames[] = {
41651 (char *) "orient", NULL
41652 };
41653
994141e6
RD
41654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BoxSizer",kwnames,&obj0)) goto fail;
41655 if (obj0) {
093d3ff1 41656 {
32fe5131 41657 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
41658 if (SWIG_arg_fail(1)) SWIG_fail;
41659 }
994141e6 41660 }
d14a1e28
RD
41661 {
41662 PyThreadState* __tstate = wxPyBeginAllowThreads();
41663 result = (wxBoxSizer *)new wxBoxSizer(arg1);
41664
41665 wxPyEndAllowThreads(__tstate);
41666 if (PyErr_Occurred()) SWIG_fail;
41667 }
15afbcd0 41668 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBoxSizer, 1);
d14a1e28
RD
41669 return resultobj;
41670 fail:
41671 return NULL;
41672}
41673
41674
c32bde28 41675static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 41676 PyObject *resultobj = NULL;
d14a1e28
RD
41677 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
41678 int result;
41679 PyObject * obj0 = 0 ;
41680 char *kwnames[] = {
41681 (char *) "self", NULL
41682 };
41683
41684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_GetOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
41685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBoxSizer, SWIG_POINTER_EXCEPTION | 0);
41686 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
41687 {
41688 PyThreadState* __tstate = wxPyBeginAllowThreads();
41689 result = (int)(arg1)->GetOrientation();
41690
41691 wxPyEndAllowThreads(__tstate);
41692 if (PyErr_Occurred()) SWIG_fail;
41693 }
093d3ff1 41694 {
32fe5131 41695 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 41696 }
d14a1e28
RD
41697 return resultobj;
41698 fail:
41699 return NULL;
41700}
41701
41702
c32bde28 41703static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 41704 PyObject *resultobj = NULL;
d14a1e28
RD
41705 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
41706 int arg2 ;
41707 PyObject * obj0 = 0 ;
994141e6 41708 PyObject * obj1 = 0 ;
d14a1e28
RD
41709 char *kwnames[] = {
41710 (char *) "self",(char *) "orient", NULL
41711 };
41712
994141e6 41713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BoxSizer_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
41714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBoxSizer, SWIG_POINTER_EXCEPTION | 0);
41715 if (SWIG_arg_fail(1)) SWIG_fail;
41716 {
32fe5131 41717 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
41718 if (SWIG_arg_fail(2)) SWIG_fail;
41719 }
d14a1e28
RD
41720 {
41721 PyThreadState* __tstate = wxPyBeginAllowThreads();
41722 (arg1)->SetOrientation(arg2);
41723
41724 wxPyEndAllowThreads(__tstate);
41725 if (PyErr_Occurred()) SWIG_fail;
41726 }
41727 Py_INCREF(Py_None); resultobj = Py_None;
41728 return resultobj;
41729 fail:
41730 return NULL;
41731}
41732
41733
c32bde28 41734static PyObject * BoxSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
41735 PyObject *obj;
41736 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
41737 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer, obj);
41738 Py_INCREF(obj);
41739 return Py_BuildValue((char *)"");
41740}
c32bde28 41741static PyObject *_wrap_new_StaticBoxSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 41742 PyObject *resultobj = NULL;
d14a1e28
RD
41743 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
41744 int arg2 = (int) wxHORIZONTAL ;
41745 wxStaticBoxSizer *result;
41746 PyObject * obj0 = 0 ;
994141e6 41747 PyObject * obj1 = 0 ;
d14a1e28
RD
41748 char *kwnames[] = {
41749 (char *) "box",(char *) "orient", NULL
41750 };
41751
994141e6 41752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_StaticBoxSizer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
41753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
41754 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 41755 if (obj1) {
093d3ff1 41756 {
32fe5131 41757 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
41758 if (SWIG_arg_fail(2)) SWIG_fail;
41759 }
994141e6 41760 }
d14a1e28
RD
41761 {
41762 PyThreadState* __tstate = wxPyBeginAllowThreads();
41763 result = (wxStaticBoxSizer *)new wxStaticBoxSizer(arg1,arg2);
41764
41765 wxPyEndAllowThreads(__tstate);
41766 if (PyErr_Occurred()) SWIG_fail;
41767 }
15afbcd0 41768 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBoxSizer, 1);
d14a1e28
RD
41769 return resultobj;
41770 fail:
41771 return NULL;
41772}
41773
41774
c32bde28 41775static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 41776 PyObject *resultobj = NULL;
d14a1e28
RD
41777 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
41778 wxStaticBox *result;
41779 PyObject * obj0 = 0 ;
41780 char *kwnames[] = {
41781 (char *) "self", NULL
41782 };
41783
41784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail;
093d3ff1
RD
41785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBoxSizer, SWIG_POINTER_EXCEPTION | 0);
41786 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
41787 {
41788 PyThreadState* __tstate = wxPyBeginAllowThreads();
41789 result = (wxStaticBox *)(arg1)->GetStaticBox();
41790
41791 wxPyEndAllowThreads(__tstate);
41792 if (PyErr_Occurred()) SWIG_fail;
41793 }
41794 {
7e08d4ef 41795 resultobj = wxPyMake_wxObject(result, (bool)0);
d14a1e28
RD
41796 }
41797 return resultobj;
41798 fail:
41799 return NULL;
41800}
41801
41802
c32bde28 41803static PyObject * StaticBoxSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
41804 PyObject *obj;
41805 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
41806 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer, obj);
41807 Py_INCREF(obj);
41808 return Py_BuildValue((char *)"");
41809}
c32bde28 41810static PyObject *_wrap_new_GridSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 41811 PyObject *resultobj = NULL;
d14a1e28
RD
41812 int arg1 = (int) 1 ;
41813 int arg2 = (int) 0 ;
41814 int arg3 = (int) 0 ;
41815 int arg4 = (int) 0 ;
41816 wxGridSizer *result;
994141e6
RD
41817 PyObject * obj0 = 0 ;
41818 PyObject * obj1 = 0 ;
41819 PyObject * obj2 = 0 ;
41820 PyObject * obj3 = 0 ;
d14a1e28
RD
41821 char *kwnames[] = {
41822 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
41823 };
41824
994141e6
RD
41825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_GridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
41826 if (obj0) {
093d3ff1 41827 {
32fe5131 41828 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
41829 if (SWIG_arg_fail(1)) SWIG_fail;
41830 }
994141e6
RD
41831 }
41832 if (obj1) {
093d3ff1 41833 {
32fe5131 41834 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
41835 if (SWIG_arg_fail(2)) SWIG_fail;
41836 }
994141e6
RD
41837 }
41838 if (obj2) {
093d3ff1 41839 {
32fe5131 41840 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
41841 if (SWIG_arg_fail(3)) SWIG_fail;
41842 }
994141e6
RD
41843 }
41844 if (obj3) {
093d3ff1 41845 {
32fe5131 41846 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
41847 if (SWIG_arg_fail(4)) SWIG_fail;
41848 }
994141e6 41849 }
d14a1e28
RD
41850 {
41851 PyThreadState* __tstate = wxPyBeginAllowThreads();
41852 result = (wxGridSizer *)new wxGridSizer(arg1,arg2,arg3,arg4);
41853
41854 wxPyEndAllowThreads(__tstate);
41855 if (PyErr_Occurred()) SWIG_fail;
41856 }
15afbcd0 41857 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridSizer, 1);
d14a1e28
RD
41858 return resultobj;
41859 fail:
41860 return NULL;
41861}
41862
41863
c32bde28 41864static PyObject *_wrap_GridSizer_SetCols(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 41865 PyObject *resultobj = NULL;
d14a1e28
RD
41866 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
41867 int arg2 ;
41868 PyObject * obj0 = 0 ;
994141e6 41869 PyObject * obj1 = 0 ;
d14a1e28
RD
41870 char *kwnames[] = {
41871 (char *) "self",(char *) "cols", NULL
41872 };
41873
994141e6 41874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetCols",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
41875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0);
41876 if (SWIG_arg_fail(1)) SWIG_fail;
41877 {
32fe5131 41878 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
41879 if (SWIG_arg_fail(2)) SWIG_fail;
41880 }
d14a1e28
RD
41881 {
41882 PyThreadState* __tstate = wxPyBeginAllowThreads();
41883 (arg1)->SetCols(arg2);
41884
41885 wxPyEndAllowThreads(__tstate);
41886 if (PyErr_Occurred()) SWIG_fail;
41887 }
41888 Py_INCREF(Py_None); resultobj = Py_None;
41889 return resultobj;
41890 fail:
41891 return NULL;
41892}
41893
41894
c32bde28 41895static PyObject *_wrap_GridSizer_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 41896 PyObject *resultobj = NULL;
d14a1e28
RD
41897 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
41898 int arg2 ;
41899 PyObject * obj0 = 0 ;
994141e6 41900 PyObject * obj1 = 0 ;
d14a1e28
RD
41901 char *kwnames[] = {
41902 (char *) "self",(char *) "rows", NULL
41903 };
41904
994141e6 41905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetRows",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
41906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0);
41907 if (SWIG_arg_fail(1)) SWIG_fail;
41908 {
32fe5131 41909 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
41910 if (SWIG_arg_fail(2)) SWIG_fail;
41911 }
d14a1e28
RD
41912 {
41913 PyThreadState* __tstate = wxPyBeginAllowThreads();
41914 (arg1)->SetRows(arg2);
41915
41916 wxPyEndAllowThreads(__tstate);
41917 if (PyErr_Occurred()) SWIG_fail;
41918 }
41919 Py_INCREF(Py_None); resultobj = Py_None;
41920 return resultobj;
41921 fail:
41922 return NULL;
41923}
41924
41925
c32bde28 41926static PyObject *_wrap_GridSizer_SetVGap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 41927 PyObject *resultobj = NULL;
d14a1e28
RD
41928 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
41929 int arg2 ;
41930 PyObject * obj0 = 0 ;
994141e6 41931 PyObject * obj1 = 0 ;
d14a1e28
RD
41932 char *kwnames[] = {
41933 (char *) "self",(char *) "gap", NULL
41934 };
41935
994141e6 41936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetVGap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
41937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0);
41938 if (SWIG_arg_fail(1)) SWIG_fail;
41939 {
32fe5131 41940 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
41941 if (SWIG_arg_fail(2)) SWIG_fail;
41942 }
d14a1e28
RD
41943 {
41944 PyThreadState* __tstate = wxPyBeginAllowThreads();
41945 (arg1)->SetVGap(arg2);
41946
41947 wxPyEndAllowThreads(__tstate);
41948 if (PyErr_Occurred()) SWIG_fail;
41949 }
41950 Py_INCREF(Py_None); resultobj = Py_None;
41951 return resultobj;
41952 fail:
41953 return NULL;
41954}
41955
41956
c32bde28 41957static PyObject *_wrap_GridSizer_SetHGap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 41958 PyObject *resultobj = NULL;
d14a1e28
RD
41959 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
41960 int arg2 ;
41961 PyObject * obj0 = 0 ;
994141e6 41962 PyObject * obj1 = 0 ;
d14a1e28
RD
41963 char *kwnames[] = {
41964 (char *) "self",(char *) "gap", NULL
41965 };
41966
994141e6 41967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetHGap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
41968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0);
41969 if (SWIG_arg_fail(1)) SWIG_fail;
41970 {
32fe5131 41971 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
41972 if (SWIG_arg_fail(2)) SWIG_fail;
41973 }
d14a1e28
RD
41974 {
41975 PyThreadState* __tstate = wxPyBeginAllowThreads();
41976 (arg1)->SetHGap(arg2);
41977
41978 wxPyEndAllowThreads(__tstate);
41979 if (PyErr_Occurred()) SWIG_fail;
41980 }
41981 Py_INCREF(Py_None); resultobj = Py_None;
41982 return resultobj;
41983 fail:
41984 return NULL;
41985}
41986
41987
c32bde28 41988static PyObject *_wrap_GridSizer_GetCols(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 41989 PyObject *resultobj = NULL;
d14a1e28
RD
41990 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
41991 int result;
41992 PyObject * obj0 = 0 ;
41993 char *kwnames[] = {
41994 (char *) "self", NULL
41995 };
41996
41997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetCols",kwnames,&obj0)) goto fail;
093d3ff1
RD
41998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0);
41999 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
42000 {
42001 PyThreadState* __tstate = wxPyBeginAllowThreads();
42002 result = (int)(arg1)->GetCols();
42003
42004 wxPyEndAllowThreads(__tstate);
42005 if (PyErr_Occurred()) SWIG_fail;
42006 }
093d3ff1 42007 {
32fe5131 42008 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 42009 }
d14a1e28
RD
42010 return resultobj;
42011 fail:
42012 return NULL;
42013}
42014
42015
c32bde28 42016static PyObject *_wrap_GridSizer_GetRows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 42017 PyObject *resultobj = NULL;
d14a1e28
RD
42018 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
42019 int result;
42020 PyObject * obj0 = 0 ;
42021 char *kwnames[] = {
42022 (char *) "self", NULL
42023 };
42024
42025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetRows",kwnames,&obj0)) goto fail;
093d3ff1
RD
42026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0);
42027 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
42028 {
42029 PyThreadState* __tstate = wxPyBeginAllowThreads();
42030 result = (int)(arg1)->GetRows();
42031
42032 wxPyEndAllowThreads(__tstate);
42033 if (PyErr_Occurred()) SWIG_fail;
42034 }
093d3ff1 42035 {
32fe5131 42036 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 42037 }
d14a1e28
RD
42038 return resultobj;
42039 fail:
42040 return NULL;
42041}
42042
42043
c32bde28 42044static PyObject *_wrap_GridSizer_GetVGap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 42045 PyObject *resultobj = NULL;
d14a1e28
RD
42046 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
42047 int result;
42048 PyObject * obj0 = 0 ;
42049 char *kwnames[] = {
42050 (char *) "self", NULL
42051 };
42052
42053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetVGap",kwnames,&obj0)) goto fail;
093d3ff1
RD
42054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0);
42055 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
42056 {
42057 PyThreadState* __tstate = wxPyBeginAllowThreads();
42058 result = (int)(arg1)->GetVGap();
42059
42060 wxPyEndAllowThreads(__tstate);
42061 if (PyErr_Occurred()) SWIG_fail;
42062 }
093d3ff1 42063 {
32fe5131 42064 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 42065 }
d14a1e28
RD
42066 return resultobj;
42067 fail:
42068 return NULL;
42069}
42070
42071
c32bde28 42072static PyObject *_wrap_GridSizer_GetHGap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 42073 PyObject *resultobj = NULL;
d14a1e28
RD
42074 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
42075 int result;
42076 PyObject * obj0 = 0 ;
42077 char *kwnames[] = {
42078 (char *) "self", NULL
42079 };
42080
42081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetHGap",kwnames,&obj0)) goto fail;
093d3ff1
RD
42082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0);
42083 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
42084 {
42085 PyThreadState* __tstate = wxPyBeginAllowThreads();
42086 result = (int)(arg1)->GetHGap();
42087
42088 wxPyEndAllowThreads(__tstate);
42089 if (PyErr_Occurred()) SWIG_fail;
42090 }
093d3ff1 42091 {
32fe5131 42092 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 42093 }
d14a1e28
RD
42094 return resultobj;
42095 fail:
42096 return NULL;
42097}
42098
42099
c32bde28 42100static PyObject * GridSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
42101 PyObject *obj;
42102 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
42103 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer, obj);
42104 Py_INCREF(obj);
42105 return Py_BuildValue((char *)"");
42106}
c32bde28 42107static PyObject *_wrap_new_FlexGridSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 42108 PyObject *resultobj = NULL;
d14a1e28
RD
42109 int arg1 = (int) 1 ;
42110 int arg2 = (int) 0 ;
42111 int arg3 = (int) 0 ;
42112 int arg4 = (int) 0 ;
42113 wxFlexGridSizer *result;
994141e6
RD
42114 PyObject * obj0 = 0 ;
42115 PyObject * obj1 = 0 ;
42116 PyObject * obj2 = 0 ;
42117 PyObject * obj3 = 0 ;
d14a1e28
RD
42118 char *kwnames[] = {
42119 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
42120 };
42121
994141e6
RD
42122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_FlexGridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
42123 if (obj0) {
093d3ff1 42124 {
32fe5131 42125 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
42126 if (SWIG_arg_fail(1)) SWIG_fail;
42127 }
994141e6
RD
42128 }
42129 if (obj1) {
093d3ff1 42130 {
32fe5131 42131 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
42132 if (SWIG_arg_fail(2)) SWIG_fail;
42133 }
994141e6
RD
42134 }
42135 if (obj2) {
093d3ff1 42136 {
32fe5131 42137 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
42138 if (SWIG_arg_fail(3)) SWIG_fail;
42139 }
994141e6
RD
42140 }
42141 if (obj3) {
093d3ff1 42142 {
32fe5131 42143 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
42144 if (SWIG_arg_fail(4)) SWIG_fail;
42145 }
994141e6 42146 }
d14a1e28
RD
42147 {
42148 PyThreadState* __tstate = wxPyBeginAllowThreads();
42149 result = (wxFlexGridSizer *)new wxFlexGridSizer(arg1,arg2,arg3,arg4);
42150
42151 wxPyEndAllowThreads(__tstate);
42152 if (PyErr_Occurred()) SWIG_fail;
42153 }
15afbcd0 42154 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFlexGridSizer, 1);
d14a1e28
RD
42155 return resultobj;
42156 fail:
42157 return NULL;
42158}
42159
42160
c32bde28 42161static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 42162 PyObject *resultobj = NULL;
d14a1e28
RD
42163 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
42164 size_t arg2 ;
42165 int arg3 = (int) 0 ;
42166 PyObject * obj0 = 0 ;
42167 PyObject * obj1 = 0 ;
994141e6 42168 PyObject * obj2 = 0 ;
d14a1e28
RD
42169 char *kwnames[] = {
42170 (char *) "self",(char *) "idx",(char *) "proportion", NULL
42171 };
42172
994141e6 42173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
42174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
42175 if (SWIG_arg_fail(1)) SWIG_fail;
42176 {
32fe5131 42177 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
42178 if (SWIG_arg_fail(2)) SWIG_fail;
42179 }
994141e6 42180 if (obj2) {
093d3ff1 42181 {
32fe5131 42182 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
42183 if (SWIG_arg_fail(3)) SWIG_fail;
42184 }
994141e6 42185 }
d14a1e28
RD
42186 {
42187 PyThreadState* __tstate = wxPyBeginAllowThreads();
42188 (arg1)->AddGrowableRow(arg2,arg3);
42189
42190 wxPyEndAllowThreads(__tstate);
42191 if (PyErr_Occurred()) SWIG_fail;
42192 }
42193 Py_INCREF(Py_None); resultobj = Py_None;
42194 return resultobj;
42195 fail:
42196 return NULL;
42197}
42198
42199
c32bde28 42200static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 42201 PyObject *resultobj = NULL;
d14a1e28
RD
42202 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
42203 size_t arg2 ;
42204 PyObject * obj0 = 0 ;
42205 PyObject * obj1 = 0 ;
42206 char *kwnames[] = {
42207 (char *) "self",(char *) "idx", NULL
42208 };
42209
42210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
42211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
42212 if (SWIG_arg_fail(1)) SWIG_fail;
42213 {
32fe5131 42214 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
42215 if (SWIG_arg_fail(2)) SWIG_fail;
42216 }
d14a1e28
RD
42217 {
42218 PyThreadState* __tstate = wxPyBeginAllowThreads();
42219 (arg1)->RemoveGrowableRow(arg2);
42220
42221 wxPyEndAllowThreads(__tstate);
42222 if (PyErr_Occurred()) SWIG_fail;
42223 }
42224 Py_INCREF(Py_None); resultobj = Py_None;
42225 return resultobj;
42226 fail:
42227 return NULL;
42228}
42229
42230
c32bde28 42231static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 42232 PyObject *resultobj = NULL;
d14a1e28
RD
42233 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
42234 size_t arg2 ;
42235 int arg3 = (int) 0 ;
42236 PyObject * obj0 = 0 ;
42237 PyObject * obj1 = 0 ;
994141e6 42238 PyObject * obj2 = 0 ;
d14a1e28
RD
42239 char *kwnames[] = {
42240 (char *) "self",(char *) "idx",(char *) "proportion", NULL
42241 };
42242
994141e6 42243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
42244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
42245 if (SWIG_arg_fail(1)) SWIG_fail;
42246 {
32fe5131 42247 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
42248 if (SWIG_arg_fail(2)) SWIG_fail;
42249 }
994141e6 42250 if (obj2) {
093d3ff1 42251 {
32fe5131 42252 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
42253 if (SWIG_arg_fail(3)) SWIG_fail;
42254 }
994141e6 42255 }
d14a1e28
RD
42256 {
42257 PyThreadState* __tstate = wxPyBeginAllowThreads();
42258 (arg1)->AddGrowableCol(arg2,arg3);
42259
42260 wxPyEndAllowThreads(__tstate);
42261 if (PyErr_Occurred()) SWIG_fail;
42262 }
42263 Py_INCREF(Py_None); resultobj = Py_None;
42264 return resultobj;
42265 fail:
42266 return NULL;
42267}
42268
42269
c32bde28 42270static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 42271 PyObject *resultobj = NULL;
d14a1e28
RD
42272 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
42273 size_t arg2 ;
42274 PyObject * obj0 = 0 ;
42275 PyObject * obj1 = 0 ;
42276 char *kwnames[] = {
42277 (char *) "self",(char *) "idx", NULL
42278 };
42279
42280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
42281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
42282 if (SWIG_arg_fail(1)) SWIG_fail;
42283 {
32fe5131 42284 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
42285 if (SWIG_arg_fail(2)) SWIG_fail;
42286 }
d14a1e28
RD
42287 {
42288 PyThreadState* __tstate = wxPyBeginAllowThreads();
42289 (arg1)->RemoveGrowableCol(arg2);
42290
42291 wxPyEndAllowThreads(__tstate);
42292 if (PyErr_Occurred()) SWIG_fail;
42293 }
42294 Py_INCREF(Py_None); resultobj = Py_None;
42295 return resultobj;
42296 fail:
42297 return NULL;
42298}
42299
42300
c32bde28 42301static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 42302 PyObject *resultobj = NULL;
d14a1e28
RD
42303 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
42304 int arg2 ;
42305 PyObject * obj0 = 0 ;
994141e6 42306 PyObject * obj1 = 0 ;
d14a1e28
RD
42307 char *kwnames[] = {
42308 (char *) "self",(char *) "direction", NULL
42309 };
42310
994141e6 42311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
42312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
42313 if (SWIG_arg_fail(1)) SWIG_fail;
42314 {
32fe5131 42315 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
42316 if (SWIG_arg_fail(2)) SWIG_fail;
42317 }
d14a1e28
RD
42318 {
42319 PyThreadState* __tstate = wxPyBeginAllowThreads();
42320 (arg1)->SetFlexibleDirection(arg2);
42321
42322 wxPyEndAllowThreads(__tstate);
42323 if (PyErr_Occurred()) SWIG_fail;
42324 }
42325 Py_INCREF(Py_None); resultobj = Py_None;
42326 return resultobj;
42327 fail:
42328 return NULL;
42329}
42330
42331
c32bde28 42332static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 42333 PyObject *resultobj = NULL;
d14a1e28
RD
42334 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
42335 int result;
42336 PyObject * obj0 = 0 ;
42337 char *kwnames[] = {
42338 (char *) "self", NULL
42339 };
42340
42341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail;
093d3ff1
RD
42342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
42343 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
42344 {
42345 PyThreadState* __tstate = wxPyBeginAllowThreads();
42346 result = (int)(arg1)->GetFlexibleDirection();
42347
42348 wxPyEndAllowThreads(__tstate);
42349 if (PyErr_Occurred()) SWIG_fail;
42350 }
093d3ff1 42351 {
32fe5131 42352 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 42353 }
d14a1e28
RD
42354 return resultobj;
42355 fail:
42356 return NULL;
42357}
42358
42359
c32bde28 42360static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 42361 PyObject *resultobj = NULL;
d14a1e28 42362 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
093d3ff1 42363 wxFlexSizerGrowMode arg2 ;
d14a1e28 42364 PyObject * obj0 = 0 ;
994141e6 42365 PyObject * obj1 = 0 ;
d14a1e28
RD
42366 char *kwnames[] = {
42367 (char *) "self",(char *) "mode", NULL
42368 };
42369
994141e6 42370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
42371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
42372 if (SWIG_arg_fail(1)) SWIG_fail;
42373 {
32fe5131 42374 arg2 = static_cast<wxFlexSizerGrowMode >(SWIG_As_int(obj1));
093d3ff1
RD
42375 if (SWIG_arg_fail(2)) SWIG_fail;
42376 }
d14a1e28
RD
42377 {
42378 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 42379 (arg1)->SetNonFlexibleGrowMode(arg2);
d14a1e28
RD
42380
42381 wxPyEndAllowThreads(__tstate);
42382 if (PyErr_Occurred()) SWIG_fail;
42383 }
42384 Py_INCREF(Py_None); resultobj = Py_None;
42385 return resultobj;
42386 fail:
42387 return NULL;
42388}
42389
42390
c32bde28 42391static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 42392 PyObject *resultobj = NULL;
d14a1e28 42393 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
093d3ff1 42394 wxFlexSizerGrowMode result;
d14a1e28
RD
42395 PyObject * obj0 = 0 ;
42396 char *kwnames[] = {
42397 (char *) "self", NULL
42398 };
42399
42400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
42401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
42402 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
42403 {
42404 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 42405 result = (wxFlexSizerGrowMode)(arg1)->GetNonFlexibleGrowMode();
d14a1e28
RD
42406
42407 wxPyEndAllowThreads(__tstate);
42408 if (PyErr_Occurred()) SWIG_fail;
42409 }
093d3ff1 42410 resultobj = SWIG_From_int((result));
d14a1e28
RD
42411 return resultobj;
42412 fail:
42413 return NULL;
42414}
42415
42416
c32bde28 42417static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 42418 PyObject *resultobj = NULL;
e811c8ce
RD
42419 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
42420 wxArrayInt *result;
42421 PyObject * obj0 = 0 ;
42422 char *kwnames[] = {
42423 (char *) "self", NULL
42424 };
42425
42426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail;
093d3ff1
RD
42427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
42428 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
42429 {
42430 PyThreadState* __tstate = wxPyBeginAllowThreads();
42431 {
42432 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetRowHeights();
42433 result = (wxArrayInt *) &_result_ref;
42434 }
42435
42436 wxPyEndAllowThreads(__tstate);
42437 if (PyErr_Occurred()) SWIG_fail;
42438 }
42439 {
42440 resultobj = PyList_New(0);
42441 size_t idx;
42442 for (idx = 0; idx < result->GetCount(); idx += 1) {
42443 PyObject* val = PyInt_FromLong( result->Item(idx) );
42444 PyList_Append(resultobj, val);
42445 Py_DECREF(val);
42446 }
42447 }
42448 return resultobj;
42449 fail:
42450 return NULL;
42451}
42452
42453
c32bde28 42454static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 42455 PyObject *resultobj = NULL;
e811c8ce
RD
42456 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
42457 wxArrayInt *result;
42458 PyObject * obj0 = 0 ;
42459 char *kwnames[] = {
42460 (char *) "self", NULL
42461 };
42462
42463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail;
093d3ff1
RD
42464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0);
42465 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
42466 {
42467 PyThreadState* __tstate = wxPyBeginAllowThreads();
42468 {
42469 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetColWidths();
42470 result = (wxArrayInt *) &_result_ref;
42471 }
42472
42473 wxPyEndAllowThreads(__tstate);
42474 if (PyErr_Occurred()) SWIG_fail;
42475 }
42476 {
42477 resultobj = PyList_New(0);
42478 size_t idx;
42479 for (idx = 0; idx < result->GetCount(); idx += 1) {
42480 PyObject* val = PyInt_FromLong( result->Item(idx) );
42481 PyList_Append(resultobj, val);
42482 Py_DECREF(val);
42483 }
42484 }
42485 return resultobj;
42486 fail:
42487 return NULL;
42488}
42489
42490
c32bde28 42491static PyObject * FlexGridSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
42492 PyObject *obj;
42493 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
42494 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer, obj);
42495 Py_INCREF(obj);
42496 return Py_BuildValue((char *)"");
42497}
e505d15e 42498static PyObject *_wrap_new_StdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 42499 PyObject *resultobj = NULL;
e505d15e
RD
42500 wxStdDialogButtonSizer *result;
42501 char *kwnames[] = {
42502 NULL
42503 };
42504
42505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StdDialogButtonSizer",kwnames)) goto fail;
42506 {
42507 PyThreadState* __tstate = wxPyBeginAllowThreads();
42508 result = (wxStdDialogButtonSizer *)new wxStdDialogButtonSizer();
42509
42510 wxPyEndAllowThreads(__tstate);
42511 if (PyErr_Occurred()) SWIG_fail;
42512 }
42513 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 1);
42514 return resultobj;
42515 fail:
42516 return NULL;
42517}
42518
42519
42520static PyObject *_wrap_StdDialogButtonSizer_AddButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 42521 PyObject *resultobj = NULL;
e505d15e
RD
42522 wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
42523 wxButton *arg2 = (wxButton *) 0 ;
42524 PyObject * obj0 = 0 ;
42525 PyObject * obj1 = 0 ;
42526 char *kwnames[] = {
42527 (char *) "self",(char *) "button", NULL
42528 };
42529
42530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames,&obj0,&obj1)) goto fail;
42531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0);
42532 if (SWIG_arg_fail(1)) SWIG_fail;
42533 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
42534 if (SWIG_arg_fail(2)) SWIG_fail;
42535 {
42536 PyThreadState* __tstate = wxPyBeginAllowThreads();
42537 (arg1)->AddButton(arg2);
42538
42539 wxPyEndAllowThreads(__tstate);
42540 if (PyErr_Occurred()) SWIG_fail;
42541 }
42542 Py_INCREF(Py_None); resultobj = Py_None;
42543 return resultobj;
42544 fail:
42545 return NULL;
42546}
42547
42548
53aa7709 42549static PyObject *_wrap_StdDialogButtonSizer_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 42550 PyObject *resultobj = NULL;
e505d15e
RD
42551 wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
42552 PyObject * obj0 = 0 ;
42553 char *kwnames[] = {
42554 (char *) "self", NULL
42555 };
42556
53aa7709 42557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StdDialogButtonSizer_Realize",kwnames,&obj0)) goto fail;
e505d15e
RD
42558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0);
42559 if (SWIG_arg_fail(1)) SWIG_fail;
42560 {
42561 PyThreadState* __tstate = wxPyBeginAllowThreads();
53aa7709 42562 (arg1)->Realize();
e505d15e
RD
42563
42564 wxPyEndAllowThreads(__tstate);
42565 if (PyErr_Occurred()) SWIG_fail;
42566 }
42567 Py_INCREF(Py_None); resultobj = Py_None;
42568 return resultobj;
42569 fail:
42570 return NULL;
42571}
42572
42573
51b83b37 42574static PyObject *_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 42575 PyObject *resultobj = NULL;
51b83b37
RD
42576 wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
42577 wxButton *arg2 = (wxButton *) 0 ;
42578 PyObject * obj0 = 0 ;
42579 PyObject * obj1 = 0 ;
42580 char *kwnames[] = {
42581 (char *) "self",(char *) "button", NULL
42582 };
42583
42584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames,&obj0,&obj1)) goto fail;
42585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0);
42586 if (SWIG_arg_fail(1)) SWIG_fail;
42587 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
42588 if (SWIG_arg_fail(2)) SWIG_fail;
42589 {
42590 PyThreadState* __tstate = wxPyBeginAllowThreads();
42591 (arg1)->SetAffirmativeButton(arg2);
42592
42593 wxPyEndAllowThreads(__tstate);
42594 if (PyErr_Occurred()) SWIG_fail;
42595 }
42596 Py_INCREF(Py_None); resultobj = Py_None;
42597 return resultobj;
42598 fail:
42599 return NULL;
42600}
42601
42602
42603static PyObject *_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 42604 PyObject *resultobj = NULL;
51b83b37
RD
42605 wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
42606 wxButton *arg2 = (wxButton *) 0 ;
42607 PyObject * obj0 = 0 ;
42608 PyObject * obj1 = 0 ;
42609 char *kwnames[] = {
42610 (char *) "self",(char *) "button", NULL
42611 };
42612
42613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames,&obj0,&obj1)) goto fail;
42614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0);
42615 if (SWIG_arg_fail(1)) SWIG_fail;
42616 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
42617 if (SWIG_arg_fail(2)) SWIG_fail;
42618 {
42619 PyThreadState* __tstate = wxPyBeginAllowThreads();
42620 (arg1)->SetNegativeButton(arg2);
42621
42622 wxPyEndAllowThreads(__tstate);
42623 if (PyErr_Occurred()) SWIG_fail;
42624 }
42625 Py_INCREF(Py_None); resultobj = Py_None;
42626 return resultobj;
42627 fail:
42628 return NULL;
42629}
42630
42631
42632static PyObject *_wrap_StdDialogButtonSizer_SetCancelButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 42633 PyObject *resultobj = NULL;
51b83b37
RD
42634 wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
42635 wxButton *arg2 = (wxButton *) 0 ;
42636 PyObject * obj0 = 0 ;
42637 PyObject * obj1 = 0 ;
42638 char *kwnames[] = {
42639 (char *) "self",(char *) "button", NULL
42640 };
42641
42642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames,&obj0,&obj1)) goto fail;
42643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0);
42644 if (SWIG_arg_fail(1)) SWIG_fail;
42645 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
42646 if (SWIG_arg_fail(2)) SWIG_fail;
42647 {
42648 PyThreadState* __tstate = wxPyBeginAllowThreads();
42649 (arg1)->SetCancelButton(arg2);
42650
42651 wxPyEndAllowThreads(__tstate);
42652 if (PyErr_Occurred()) SWIG_fail;
42653 }
42654 Py_INCREF(Py_None); resultobj = Py_None;
42655 return resultobj;
42656 fail:
42657 return NULL;
42658}
42659
42660
e505d15e 42661static PyObject *_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 42662 PyObject *resultobj = NULL;
e505d15e
RD
42663 wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
42664 wxButton *result;
42665 PyObject * obj0 = 0 ;
42666 char *kwnames[] = {
42667 (char *) "self", NULL
42668 };
42669
42670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames,&obj0)) goto fail;
42671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0);
42672 if (SWIG_arg_fail(1)) SWIG_fail;
42673 {
42674 PyThreadState* __tstate = wxPyBeginAllowThreads();
42675 result = (wxButton *)((wxStdDialogButtonSizer const *)arg1)->GetAffirmativeButton();
42676
42677 wxPyEndAllowThreads(__tstate);
42678 if (PyErr_Occurred()) SWIG_fail;
42679 }
42680 {
7e08d4ef 42681 resultobj = wxPyMake_wxObject(result, (bool)0);
e505d15e
RD
42682 }
42683 return resultobj;
42684 fail:
42685 return NULL;
42686}
42687
42688
42689static PyObject *_wrap_StdDialogButtonSizer_GetApplyButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 42690 PyObject *resultobj = NULL;
e505d15e
RD
42691 wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
42692 wxButton *result;
42693 PyObject * obj0 = 0 ;
42694 char *kwnames[] = {
42695 (char *) "self", NULL
42696 };
42697
42698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames,&obj0)) goto fail;
42699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0);
42700 if (SWIG_arg_fail(1)) SWIG_fail;
42701 {
42702 PyThreadState* __tstate = wxPyBeginAllowThreads();
42703 result = (wxButton *)((wxStdDialogButtonSizer const *)arg1)->GetApplyButton();
42704
42705 wxPyEndAllowThreads(__tstate);
42706 if (PyErr_Occurred()) SWIG_fail;
42707 }
42708 {
7e08d4ef 42709 resultobj = wxPyMake_wxObject(result, (bool)0);
e505d15e
RD
42710 }
42711 return resultobj;
42712 fail:
42713 return NULL;
42714}
42715
42716
42717static PyObject *_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 42718 PyObject *resultobj = NULL;
e505d15e
RD
42719 wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
42720 wxButton *result;
42721 PyObject * obj0 = 0 ;
42722 char *kwnames[] = {
42723 (char *) "self", NULL
42724 };
42725
42726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames,&obj0)) goto fail;
42727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0);
42728 if (SWIG_arg_fail(1)) SWIG_fail;
42729 {
42730 PyThreadState* __tstate = wxPyBeginAllowThreads();
42731 result = (wxButton *)((wxStdDialogButtonSizer const *)arg1)->GetNegativeButton();
42732
42733 wxPyEndAllowThreads(__tstate);
42734 if (PyErr_Occurred()) SWIG_fail;
42735 }
42736 {
7e08d4ef 42737 resultobj = wxPyMake_wxObject(result, (bool)0);
e505d15e
RD
42738 }
42739 return resultobj;
42740 fail:
42741 return NULL;
42742}
42743
42744
42745static PyObject *_wrap_StdDialogButtonSizer_GetCancelButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 42746 PyObject *resultobj = NULL;
e505d15e
RD
42747 wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
42748 wxButton *result;
42749 PyObject * obj0 = 0 ;
42750 char *kwnames[] = {
42751 (char *) "self", NULL
42752 };
42753
42754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames,&obj0)) goto fail;
42755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0);
42756 if (SWIG_arg_fail(1)) SWIG_fail;
42757 {
42758 PyThreadState* __tstate = wxPyBeginAllowThreads();
42759 result = (wxButton *)((wxStdDialogButtonSizer const *)arg1)->GetCancelButton();
42760
42761 wxPyEndAllowThreads(__tstate);
42762 if (PyErr_Occurred()) SWIG_fail;
42763 }
42764 {
7e08d4ef 42765 resultobj = wxPyMake_wxObject(result, (bool)0);
e505d15e
RD
42766 }
42767 return resultobj;
42768 fail:
42769 return NULL;
42770}
42771
42772
42773static PyObject *_wrap_StdDialogButtonSizer_GetHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 42774 PyObject *resultobj = NULL;
e505d15e
RD
42775 wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ;
42776 wxButton *result;
42777 PyObject * obj0 = 0 ;
42778 char *kwnames[] = {
42779 (char *) "self", NULL
42780 };
42781
42782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames,&obj0)) goto fail;
42783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0);
42784 if (SWIG_arg_fail(1)) SWIG_fail;
42785 {
42786 PyThreadState* __tstate = wxPyBeginAllowThreads();
42787 result = (wxButton *)((wxStdDialogButtonSizer const *)arg1)->GetHelpButton();
42788
42789 wxPyEndAllowThreads(__tstate);
42790 if (PyErr_Occurred()) SWIG_fail;
42791 }
42792 {
7e08d4ef 42793 resultobj = wxPyMake_wxObject(result, (bool)0);
e505d15e
RD
42794 }
42795 return resultobj;
42796 fail:
42797 return NULL;
42798}
42799
42800
42801static PyObject * StdDialogButtonSizer_swigregister(PyObject *, PyObject *args) {
42802 PyObject *obj;
42803 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
42804 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer, obj);
42805 Py_INCREF(obj);
42806 return Py_BuildValue((char *)"");
42807}
c32bde28 42808static PyObject *_wrap_new_GBPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 42809 PyObject *resultobj = NULL;
d14a1e28
RD
42810 int arg1 = (int) 0 ;
42811 int arg2 = (int) 0 ;
42812 wxGBPosition *result;
994141e6
RD
42813 PyObject * obj0 = 0 ;
42814 PyObject * obj1 = 0 ;
d14a1e28
RD
42815 char *kwnames[] = {
42816 (char *) "row",(char *) "col", NULL
42817 };
42818
994141e6
RD
42819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBPosition",kwnames,&obj0,&obj1)) goto fail;
42820 if (obj0) {
093d3ff1 42821 {
32fe5131 42822 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
42823 if (SWIG_arg_fail(1)) SWIG_fail;
42824 }
994141e6
RD
42825 }
42826 if (obj1) {
093d3ff1 42827 {
32fe5131 42828 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
42829 if (SWIG_arg_fail(2)) SWIG_fail;
42830 }
994141e6 42831 }
d14a1e28
RD
42832 {
42833 PyThreadState* __tstate = wxPyBeginAllowThreads();
42834 result = (wxGBPosition *)new wxGBPosition(arg1,arg2);
42835
42836 wxPyEndAllowThreads(__tstate);
42837 if (PyErr_Occurred()) SWIG_fail;
42838 }
15afbcd0 42839 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
42840 return resultobj;
42841 fail:
42842 return NULL;
42843}
42844
42845
7e08d4ef
RD
42846static PyObject *_wrap_delete_GBPosition(PyObject *, PyObject *args, PyObject *kwargs) {
42847 PyObject *resultobj = NULL;
42848 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
42849 PyObject * obj0 = 0 ;
42850 char *kwnames[] = {
42851 (char *) "self", NULL
42852 };
42853
42854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GBPosition",kwnames,&obj0)) goto fail;
42855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0);
42856 if (SWIG_arg_fail(1)) SWIG_fail;
42857 {
42858 PyThreadState* __tstate = wxPyBeginAllowThreads();
42859 delete arg1;
42860
42861 wxPyEndAllowThreads(__tstate);
42862 if (PyErr_Occurred()) SWIG_fail;
42863 }
42864 Py_INCREF(Py_None); resultobj = Py_None;
42865 return resultobj;
42866 fail:
42867 return NULL;
42868}
42869
42870
c32bde28 42871static PyObject *_wrap_GBPosition_GetRow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 42872 PyObject *resultobj = NULL;
d14a1e28
RD
42873 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
42874 int result;
42875 PyObject * obj0 = 0 ;
42876 char *kwnames[] = {
42877 (char *) "self", NULL
42878 };
42879
42880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetRow",kwnames,&obj0)) goto fail;
093d3ff1
RD
42881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0);
42882 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
42883 {
42884 PyThreadState* __tstate = wxPyBeginAllowThreads();
42885 result = (int)((wxGBPosition const *)arg1)->GetRow();
42886
42887 wxPyEndAllowThreads(__tstate);
42888 if (PyErr_Occurred()) SWIG_fail;
42889 }
093d3ff1 42890 {
32fe5131 42891 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 42892 }
d14a1e28
RD
42893 return resultobj;
42894 fail:
42895 return NULL;
42896}
42897
42898
c32bde28 42899static PyObject *_wrap_GBPosition_GetCol(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 42900 PyObject *resultobj = NULL;
d14a1e28
RD
42901 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
42902 int result;
42903 PyObject * obj0 = 0 ;
42904 char *kwnames[] = {
42905 (char *) "self", NULL
42906 };
42907
42908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetCol",kwnames,&obj0)) goto fail;
093d3ff1
RD
42909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0);
42910 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
42911 {
42912 PyThreadState* __tstate = wxPyBeginAllowThreads();
42913 result = (int)((wxGBPosition const *)arg1)->GetCol();
42914
42915 wxPyEndAllowThreads(__tstate);
42916 if (PyErr_Occurred()) SWIG_fail;
42917 }
093d3ff1 42918 {
32fe5131 42919 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 42920 }
d14a1e28
RD
42921 return resultobj;
42922 fail:
42923 return NULL;
42924}
42925
42926
c32bde28 42927static PyObject *_wrap_GBPosition_SetRow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 42928 PyObject *resultobj = NULL;
d14a1e28
RD
42929 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
42930 int arg2 ;
42931 PyObject * obj0 = 0 ;
994141e6 42932 PyObject * obj1 = 0 ;
d14a1e28
RD
42933 char *kwnames[] = {
42934 (char *) "self",(char *) "row", NULL
42935 };
42936
994141e6 42937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetRow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
42938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0);
42939 if (SWIG_arg_fail(1)) SWIG_fail;
42940 {
32fe5131 42941 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
42942 if (SWIG_arg_fail(2)) SWIG_fail;
42943 }
d14a1e28
RD
42944 {
42945 PyThreadState* __tstate = wxPyBeginAllowThreads();
42946 (arg1)->SetRow(arg2);
42947
42948 wxPyEndAllowThreads(__tstate);
42949 if (PyErr_Occurred()) SWIG_fail;
42950 }
42951 Py_INCREF(Py_None); resultobj = Py_None;
42952 return resultobj;
42953 fail:
42954 return NULL;
42955}
42956
42957
c32bde28 42958static PyObject *_wrap_GBPosition_SetCol(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 42959 PyObject *resultobj = NULL;
d14a1e28
RD
42960 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
42961 int arg2 ;
42962 PyObject * obj0 = 0 ;
994141e6 42963 PyObject * obj1 = 0 ;
d14a1e28
RD
42964 char *kwnames[] = {
42965 (char *) "self",(char *) "col", NULL
42966 };
42967
994141e6 42968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetCol",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
42969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0);
42970 if (SWIG_arg_fail(1)) SWIG_fail;
42971 {
32fe5131 42972 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
42973 if (SWIG_arg_fail(2)) SWIG_fail;
42974 }
d14a1e28
RD
42975 {
42976 PyThreadState* __tstate = wxPyBeginAllowThreads();
42977 (arg1)->SetCol(arg2);
42978
42979 wxPyEndAllowThreads(__tstate);
42980 if (PyErr_Occurred()) SWIG_fail;
42981 }
42982 Py_INCREF(Py_None); resultobj = Py_None;
42983 return resultobj;
42984 fail:
42985 return NULL;
42986}
42987
42988
c32bde28 42989static PyObject *_wrap_GBPosition___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 42990 PyObject *resultobj = NULL;
d14a1e28 42991 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
4f89f6a3 42992 wxGBPosition *arg2 = 0 ;
d14a1e28 42993 bool result;
4f89f6a3 42994 wxGBPosition temp2 ;
d14a1e28
RD
42995 PyObject * obj0 = 0 ;
42996 PyObject * obj1 = 0 ;
42997 char *kwnames[] = {
22faec7d 42998 (char *) "self",(char *) "other", NULL
d14a1e28
RD
42999 };
43000
43001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
43002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0);
43003 if (SWIG_arg_fail(1)) SWIG_fail;
4f89f6a3
RD
43004 {
43005 arg2 = &temp2;
43006 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
43007 }
d14a1e28
RD
43008 {
43009 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 43010 result = (bool)(arg1)->operator ==((wxGBPosition const &)*arg2);
d14a1e28
RD
43011
43012 wxPyEndAllowThreads(__tstate);
43013 if (PyErr_Occurred()) SWIG_fail;
43014 }
4f89f6a3
RD
43015 {
43016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43017 }
d14a1e28
RD
43018 return resultobj;
43019 fail:
43020 return NULL;
43021}
43022
43023
c32bde28 43024static PyObject *_wrap_GBPosition___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 43025 PyObject *resultobj = NULL;
d14a1e28 43026 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
4f89f6a3 43027 wxGBPosition *arg2 = 0 ;
d14a1e28 43028 bool result;
4f89f6a3 43029 wxGBPosition temp2 ;
d14a1e28
RD
43030 PyObject * obj0 = 0 ;
43031 PyObject * obj1 = 0 ;
43032 char *kwnames[] = {
22faec7d 43033 (char *) "self",(char *) "other", NULL
d14a1e28
RD
43034 };
43035
43036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
43037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0);
43038 if (SWIG_arg_fail(1)) SWIG_fail;
4f89f6a3
RD
43039 {
43040 arg2 = &temp2;
43041 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
43042 }
d14a1e28
RD
43043 {
43044 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 43045 result = (bool)(arg1)->operator !=((wxGBPosition const &)*arg2);
d14a1e28
RD
43046
43047 wxPyEndAllowThreads(__tstate);
43048 if (PyErr_Occurred()) SWIG_fail;
43049 }
4f89f6a3
RD
43050 {
43051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43052 }
d14a1e28
RD
43053 return resultobj;
43054 fail:
43055 return NULL;
43056}
43057
43058
c32bde28 43059static PyObject *_wrap_GBPosition_Set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 43060 PyObject *resultobj = NULL;
e811c8ce
RD
43061 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
43062 int arg2 = (int) 0 ;
43063 int arg3 = (int) 0 ;
43064 PyObject * obj0 = 0 ;
994141e6
RD
43065 PyObject * obj1 = 0 ;
43066 PyObject * obj2 = 0 ;
e811c8ce
RD
43067 char *kwnames[] = {
43068 (char *) "self",(char *) "row",(char *) "col", NULL
43069 };
43070
994141e6 43071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBPosition_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
43072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0);
43073 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 43074 if (obj1) {
093d3ff1 43075 {
32fe5131 43076 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
43077 if (SWIG_arg_fail(2)) SWIG_fail;
43078 }
994141e6
RD
43079 }
43080 if (obj2) {
093d3ff1 43081 {
32fe5131 43082 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
43083 if (SWIG_arg_fail(3)) SWIG_fail;
43084 }
994141e6 43085 }
e811c8ce
RD
43086 {
43087 PyThreadState* __tstate = wxPyBeginAllowThreads();
43088 wxGBPosition_Set(arg1,arg2,arg3);
43089
43090 wxPyEndAllowThreads(__tstate);
43091 if (PyErr_Occurred()) SWIG_fail;
43092 }
43093 Py_INCREF(Py_None); resultobj = Py_None;
43094 return resultobj;
43095 fail:
43096 return NULL;
43097}
43098
43099
c32bde28 43100static PyObject *_wrap_GBPosition_Get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 43101 PyObject *resultobj = NULL;
d14a1e28
RD
43102 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
43103 PyObject *result;
43104 PyObject * obj0 = 0 ;
43105 char *kwnames[] = {
43106 (char *) "self", NULL
43107 };
43108
e811c8ce 43109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail;
093d3ff1
RD
43110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0);
43111 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
43112 {
43113 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 43114 result = (PyObject *)wxGBPosition_Get(arg1);
d14a1e28
RD
43115
43116 wxPyEndAllowThreads(__tstate);
43117 if (PyErr_Occurred()) SWIG_fail;
43118 }
43119 resultobj = result;
43120 return resultobj;
43121 fail:
43122 return NULL;
43123}
43124
43125
c32bde28 43126static PyObject * GBPosition_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
43127 PyObject *obj;
43128 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
43129 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition, obj);
43130 Py_INCREF(obj);
43131 return Py_BuildValue((char *)"");
43132}
c32bde28 43133static PyObject *_wrap_new_GBSpan(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 43134 PyObject *resultobj = NULL;
d14a1e28
RD
43135 int arg1 = (int) 1 ;
43136 int arg2 = (int) 1 ;
43137 wxGBSpan *result;
994141e6
RD
43138 PyObject * obj0 = 0 ;
43139 PyObject * obj1 = 0 ;
d14a1e28
RD
43140 char *kwnames[] = {
43141 (char *) "rowspan",(char *) "colspan", NULL
43142 };
43143
994141e6
RD
43144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBSpan",kwnames,&obj0,&obj1)) goto fail;
43145 if (obj0) {
093d3ff1 43146 {
32fe5131 43147 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
43148 if (SWIG_arg_fail(1)) SWIG_fail;
43149 }
994141e6
RD
43150 }
43151 if (obj1) {
093d3ff1 43152 {
32fe5131 43153 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
43154 if (SWIG_arg_fail(2)) SWIG_fail;
43155 }
994141e6 43156 }
d14a1e28
RD
43157 {
43158 PyThreadState* __tstate = wxPyBeginAllowThreads();
43159 result = (wxGBSpan *)new wxGBSpan(arg1,arg2);
43160
43161 wxPyEndAllowThreads(__tstate);
43162 if (PyErr_Occurred()) SWIG_fail;
43163 }
15afbcd0 43164 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
43165 return resultobj;
43166 fail:
43167 return NULL;
43168}
43169
43170
7e08d4ef
RD
43171static PyObject *_wrap_delete_GBSpan(PyObject *, PyObject *args, PyObject *kwargs) {
43172 PyObject *resultobj = NULL;
43173 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
43174 PyObject * obj0 = 0 ;
43175 char *kwnames[] = {
43176 (char *) "self", NULL
43177 };
43178
43179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GBSpan",kwnames,&obj0)) goto fail;
43180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0);
43181 if (SWIG_arg_fail(1)) SWIG_fail;
43182 {
43183 PyThreadState* __tstate = wxPyBeginAllowThreads();
43184 delete arg1;
43185
43186 wxPyEndAllowThreads(__tstate);
43187 if (PyErr_Occurred()) SWIG_fail;
43188 }
43189 Py_INCREF(Py_None); resultobj = Py_None;
43190 return resultobj;
43191 fail:
43192 return NULL;
43193}
43194
43195
c32bde28 43196static PyObject *_wrap_GBSpan_GetRowspan(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 43197 PyObject *resultobj = NULL;
d14a1e28
RD
43198 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
43199 int result;
43200 PyObject * obj0 = 0 ;
43201 char *kwnames[] = {
43202 (char *) "self", NULL
43203 };
43204
43205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetRowspan",kwnames,&obj0)) goto fail;
093d3ff1
RD
43206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0);
43207 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
43208 {
43209 PyThreadState* __tstate = wxPyBeginAllowThreads();
43210 result = (int)((wxGBSpan const *)arg1)->GetRowspan();
43211
43212 wxPyEndAllowThreads(__tstate);
43213 if (PyErr_Occurred()) SWIG_fail;
43214 }
093d3ff1 43215 {
32fe5131 43216 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 43217 }
d14a1e28
RD
43218 return resultobj;
43219 fail:
43220 return NULL;
43221}
43222
43223
c32bde28 43224static PyObject *_wrap_GBSpan_GetColspan(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 43225 PyObject *resultobj = NULL;
d14a1e28
RD
43226 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
43227 int result;
43228 PyObject * obj0 = 0 ;
43229 char *kwnames[] = {
43230 (char *) "self", NULL
43231 };
43232
43233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetColspan",kwnames,&obj0)) goto fail;
093d3ff1
RD
43234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0);
43235 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
43236 {
43237 PyThreadState* __tstate = wxPyBeginAllowThreads();
43238 result = (int)((wxGBSpan const *)arg1)->GetColspan();
43239
43240 wxPyEndAllowThreads(__tstate);
43241 if (PyErr_Occurred()) SWIG_fail;
43242 }
093d3ff1 43243 {
32fe5131 43244 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 43245 }
d14a1e28
RD
43246 return resultobj;
43247 fail:
43248 return NULL;
43249}
43250
43251
c32bde28 43252static PyObject *_wrap_GBSpan_SetRowspan(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 43253 PyObject *resultobj = NULL;
d14a1e28
RD
43254 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
43255 int arg2 ;
43256 PyObject * obj0 = 0 ;
994141e6 43257 PyObject * obj1 = 0 ;
d14a1e28
RD
43258 char *kwnames[] = {
43259 (char *) "self",(char *) "rowspan", NULL
43260 };
43261
994141e6 43262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetRowspan",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
43263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0);
43264 if (SWIG_arg_fail(1)) SWIG_fail;
43265 {
32fe5131 43266 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
43267 if (SWIG_arg_fail(2)) SWIG_fail;
43268 }
d14a1e28
RD
43269 {
43270 PyThreadState* __tstate = wxPyBeginAllowThreads();
43271 (arg1)->SetRowspan(arg2);
43272
43273 wxPyEndAllowThreads(__tstate);
43274 if (PyErr_Occurred()) SWIG_fail;
43275 }
43276 Py_INCREF(Py_None); resultobj = Py_None;
43277 return resultobj;
43278 fail:
43279 return NULL;
43280}
43281
43282
c32bde28 43283static PyObject *_wrap_GBSpan_SetColspan(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 43284 PyObject *resultobj = NULL;
d14a1e28
RD
43285 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
43286 int arg2 ;
43287 PyObject * obj0 = 0 ;
994141e6 43288 PyObject * obj1 = 0 ;
d14a1e28
RD
43289 char *kwnames[] = {
43290 (char *) "self",(char *) "colspan", NULL
43291 };
43292
994141e6 43293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetColspan",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
43294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0);
43295 if (SWIG_arg_fail(1)) SWIG_fail;
43296 {
32fe5131 43297 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
43298 if (SWIG_arg_fail(2)) SWIG_fail;
43299 }
d14a1e28
RD
43300 {
43301 PyThreadState* __tstate = wxPyBeginAllowThreads();
43302 (arg1)->SetColspan(arg2);
43303
43304 wxPyEndAllowThreads(__tstate);
43305 if (PyErr_Occurred()) SWIG_fail;
43306 }
43307 Py_INCREF(Py_None); resultobj = Py_None;
43308 return resultobj;
43309 fail:
43310 return NULL;
43311}
43312
43313
c32bde28 43314static PyObject *_wrap_GBSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 43315 PyObject *resultobj = NULL;
d14a1e28 43316 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
4f89f6a3 43317 wxGBSpan *arg2 = 0 ;
d14a1e28 43318 bool result;
4f89f6a3 43319 wxGBSpan temp2 ;
d14a1e28
RD
43320 PyObject * obj0 = 0 ;
43321 PyObject * obj1 = 0 ;
43322 char *kwnames[] = {
22faec7d 43323 (char *) "self",(char *) "other", NULL
d14a1e28
RD
43324 };
43325
43326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
43327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0);
43328 if (SWIG_arg_fail(1)) SWIG_fail;
4f89f6a3
RD
43329 {
43330 arg2 = &temp2;
43331 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
43332 }
d14a1e28
RD
43333 {
43334 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 43335 result = (bool)(arg1)->operator ==((wxGBSpan const &)*arg2);
d14a1e28
RD
43336
43337 wxPyEndAllowThreads(__tstate);
43338 if (PyErr_Occurred()) SWIG_fail;
43339 }
4f89f6a3
RD
43340 {
43341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43342 }
d14a1e28
RD
43343 return resultobj;
43344 fail:
43345 return NULL;
43346}
43347
43348
c32bde28 43349static PyObject *_wrap_GBSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 43350 PyObject *resultobj = NULL;
d14a1e28 43351 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
4f89f6a3 43352 wxGBSpan *arg2 = 0 ;
d14a1e28 43353 bool result;
4f89f6a3 43354 wxGBSpan temp2 ;
d14a1e28
RD
43355 PyObject * obj0 = 0 ;
43356 PyObject * obj1 = 0 ;
43357 char *kwnames[] = {
22faec7d 43358 (char *) "self",(char *) "other", NULL
d14a1e28
RD
43359 };
43360
43361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
43362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0);
43363 if (SWIG_arg_fail(1)) SWIG_fail;
4f89f6a3
RD
43364 {
43365 arg2 = &temp2;
43366 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
43367 }
d14a1e28
RD
43368 {
43369 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 43370 result = (bool)(arg1)->operator !=((wxGBSpan const &)*arg2);
d14a1e28
RD
43371
43372 wxPyEndAllowThreads(__tstate);
43373 if (PyErr_Occurred()) SWIG_fail;
43374 }
4f89f6a3
RD
43375 {
43376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43377 }
d14a1e28
RD
43378 return resultobj;
43379 fail:
43380 return NULL;
43381}
43382
43383
c32bde28 43384static PyObject *_wrap_GBSpan_Set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 43385 PyObject *resultobj = NULL;
e811c8ce
RD
43386 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
43387 int arg2 = (int) 1 ;
43388 int arg3 = (int) 1 ;
43389 PyObject * obj0 = 0 ;
994141e6
RD
43390 PyObject * obj1 = 0 ;
43391 PyObject * obj2 = 0 ;
e811c8ce
RD
43392 char *kwnames[] = {
43393 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
43394 };
43395
994141e6 43396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBSpan_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
43397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0);
43398 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 43399 if (obj1) {
093d3ff1 43400 {
32fe5131 43401 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
43402 if (SWIG_arg_fail(2)) SWIG_fail;
43403 }
994141e6
RD
43404 }
43405 if (obj2) {
093d3ff1 43406 {
32fe5131 43407 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
43408 if (SWIG_arg_fail(3)) SWIG_fail;
43409 }
994141e6 43410 }
e811c8ce
RD
43411 {
43412 PyThreadState* __tstate = wxPyBeginAllowThreads();
43413 wxGBSpan_Set(arg1,arg2,arg3);
43414
43415 wxPyEndAllowThreads(__tstate);
43416 if (PyErr_Occurred()) SWIG_fail;
43417 }
43418 Py_INCREF(Py_None); resultobj = Py_None;
43419 return resultobj;
43420 fail:
43421 return NULL;
43422}
43423
43424
c32bde28 43425static PyObject *_wrap_GBSpan_Get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 43426 PyObject *resultobj = NULL;
d14a1e28
RD
43427 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
43428 PyObject *result;
43429 PyObject * obj0 = 0 ;
43430 char *kwnames[] = {
43431 (char *) "self", NULL
43432 };
43433
e811c8ce 43434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail;
093d3ff1
RD
43435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0);
43436 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
43437 {
43438 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 43439 result = (PyObject *)wxGBSpan_Get(arg1);
d14a1e28
RD
43440
43441 wxPyEndAllowThreads(__tstate);
43442 if (PyErr_Occurred()) SWIG_fail;
43443 }
43444 resultobj = result;
43445 return resultobj;
43446 fail:
43447 return NULL;
43448}
43449
43450
c32bde28 43451static PyObject * GBSpan_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
43452 PyObject *obj;
43453 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
43454 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan, obj);
43455 Py_INCREF(obj);
43456 return Py_BuildValue((char *)"");
43457}
c32bde28 43458static int _wrap_DefaultSpan_set(PyObject *) {
d14a1e28
RD
43459 PyErr_SetString(PyExc_TypeError,"Variable DefaultSpan is read-only.");
43460 return 1;
43461}
43462
43463
093d3ff1 43464static PyObject *_wrap_DefaultSpan_get(void) {
32fe5131 43465 PyObject *pyobj = NULL;
d14a1e28 43466
15afbcd0 43467 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSpan), SWIGTYPE_p_wxGBSpan, 0);
d14a1e28
RD
43468 return pyobj;
43469}
43470
43471
c32bde28 43472static PyObject *_wrap_new_GBSizerItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 43473 PyObject *resultobj = NULL;
d14a1e28
RD
43474 wxGBSizerItem *result;
43475 char *kwnames[] = {
43476 NULL
43477 };
43478
43479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GBSizerItem",kwnames)) goto fail;
43480 {
43481 PyThreadState* __tstate = wxPyBeginAllowThreads();
43482 result = (wxGBSizerItem *)new wxGBSizerItem();
43483
43484 wxPyEndAllowThreads(__tstate);
43485 if (PyErr_Occurred()) SWIG_fail;
43486 }
15afbcd0 43487 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
43488 return resultobj;
43489 fail:
43490 return NULL;
43491}
43492
43493
7e08d4ef
RD
43494static PyObject *_wrap_delete_GBSizerItem(PyObject *, PyObject *args, PyObject *kwargs) {
43495 PyObject *resultobj = NULL;
43496 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
43497 PyObject * obj0 = 0 ;
43498 char *kwnames[] = {
43499 (char *) "self", NULL
43500 };
43501
43502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GBSizerItem",kwnames,&obj0)) goto fail;
43503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
43504 if (SWIG_arg_fail(1)) SWIG_fail;
43505 {
43506 PyThreadState* __tstate = wxPyBeginAllowThreads();
43507 delete arg1;
43508
43509 wxPyEndAllowThreads(__tstate);
43510 if (PyErr_Occurred()) SWIG_fail;
43511 }
43512 Py_INCREF(Py_None); resultobj = Py_None;
43513 return resultobj;
43514 fail:
43515 return NULL;
43516}
43517
43518
c32bde28 43519static PyObject *_wrap_new_GBSizerItemWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 43520 PyObject *resultobj = NULL;
d14a1e28
RD
43521 wxWindow *arg1 = (wxWindow *) 0 ;
43522 wxGBPosition *arg2 = 0 ;
43523 wxGBSpan *arg3 = 0 ;
43524 int arg4 ;
43525 int arg5 ;
248ed943 43526 PyObject *arg6 = (PyObject *) NULL ;
d14a1e28
RD
43527 wxGBSizerItem *result;
43528 wxGBPosition temp2 ;
43529 wxGBSpan temp3 ;
43530 PyObject * obj0 = 0 ;
43531 PyObject * obj1 = 0 ;
43532 PyObject * obj2 = 0 ;
994141e6
RD
43533 PyObject * obj3 = 0 ;
43534 PyObject * obj4 = 0 ;
d14a1e28
RD
43535 PyObject * obj5 = 0 ;
43536 char *kwnames[] = {
43537 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
43538 };
43539
248ed943 43540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
43541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
43542 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
43543 {
43544 arg2 = &temp2;
43545 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
43546 }
43547 {
43548 arg3 = &temp3;
43549 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
43550 }
093d3ff1 43551 {
32fe5131 43552 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
43553 if (SWIG_arg_fail(4)) SWIG_fail;
43554 }
43555 {
32fe5131 43556 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
43557 if (SWIG_arg_fail(5)) SWIG_fail;
43558 }
248ed943
RD
43559 if (obj5) {
43560 arg6 = obj5;
43561 }
d14a1e28
RD
43562 {
43563 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 43564 result = (wxGBSizerItem *)new_wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
d14a1e28
RD
43565
43566 wxPyEndAllowThreads(__tstate);
43567 if (PyErr_Occurred()) SWIG_fail;
43568 }
15afbcd0 43569 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
43570 return resultobj;
43571 fail:
43572 return NULL;
43573}
43574
43575
c32bde28 43576static PyObject *_wrap_new_GBSizerItemSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 43577 PyObject *resultobj = NULL;
d14a1e28
RD
43578 wxSizer *arg1 = (wxSizer *) 0 ;
43579 wxGBPosition *arg2 = 0 ;
43580 wxGBSpan *arg3 = 0 ;
43581 int arg4 ;
43582 int arg5 ;
248ed943 43583 PyObject *arg6 = (PyObject *) NULL ;
d14a1e28
RD
43584 wxGBSizerItem *result;
43585 wxGBPosition temp2 ;
43586 wxGBSpan temp3 ;
43587 PyObject * obj0 = 0 ;
43588 PyObject * obj1 = 0 ;
43589 PyObject * obj2 = 0 ;
994141e6
RD
43590 PyObject * obj3 = 0 ;
43591 PyObject * obj4 = 0 ;
d14a1e28
RD
43592 PyObject * obj5 = 0 ;
43593 char *kwnames[] = {
43594 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
43595 };
43596
248ed943 43597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7e08d4ef 43598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 43599 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
43600 {
43601 arg2 = &temp2;
43602 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
43603 }
43604 {
43605 arg3 = &temp3;
43606 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
43607 }
093d3ff1 43608 {
32fe5131 43609 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
43610 if (SWIG_arg_fail(4)) SWIG_fail;
43611 }
43612 {
32fe5131 43613 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
43614 if (SWIG_arg_fail(5)) SWIG_fail;
43615 }
248ed943
RD
43616 if (obj5) {
43617 arg6 = obj5;
43618 }
d14a1e28
RD
43619 {
43620 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 43621 result = (wxGBSizerItem *)new_wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
d14a1e28
RD
43622
43623 wxPyEndAllowThreads(__tstate);
43624 if (PyErr_Occurred()) SWIG_fail;
43625 }
15afbcd0 43626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
43627 return resultobj;
43628 fail:
43629 return NULL;
43630}
43631
43632
c32bde28 43633static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 43634 PyObject *resultobj = NULL;
d14a1e28
RD
43635 int arg1 ;
43636 int arg2 ;
43637 wxGBPosition *arg3 = 0 ;
43638 wxGBSpan *arg4 = 0 ;
43639 int arg5 ;
43640 int arg6 ;
248ed943 43641 PyObject *arg7 = (PyObject *) NULL ;
d14a1e28
RD
43642 wxGBSizerItem *result;
43643 wxGBPosition temp3 ;
43644 wxGBSpan temp4 ;
994141e6
RD
43645 PyObject * obj0 = 0 ;
43646 PyObject * obj1 = 0 ;
d14a1e28
RD
43647 PyObject * obj2 = 0 ;
43648 PyObject * obj3 = 0 ;
994141e6
RD
43649 PyObject * obj4 = 0 ;
43650 PyObject * obj5 = 0 ;
d14a1e28
RD
43651 PyObject * obj6 = 0 ;
43652 char *kwnames[] = {
43653 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
43654 };
43655
248ed943 43656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1 43657 {
32fe5131 43658 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
43659 if (SWIG_arg_fail(1)) SWIG_fail;
43660 }
43661 {
32fe5131 43662 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
43663 if (SWIG_arg_fail(2)) SWIG_fail;
43664 }
d14a1e28
RD
43665 {
43666 arg3 = &temp3;
43667 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
43668 }
43669 {
43670 arg4 = &temp4;
43671 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
43672 }
093d3ff1 43673 {
32fe5131 43674 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
43675 if (SWIG_arg_fail(5)) SWIG_fail;
43676 }
43677 {
32fe5131 43678 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
43679 if (SWIG_arg_fail(6)) SWIG_fail;
43680 }
248ed943
RD
43681 if (obj6) {
43682 arg7 = obj6;
43683 }
d14a1e28
RD
43684 {
43685 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 43686 result = (wxGBSizerItem *)new_wxGBSizerItem(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
d14a1e28
RD
43687
43688 wxPyEndAllowThreads(__tstate);
43689 if (PyErr_Occurred()) SWIG_fail;
43690 }
15afbcd0 43691 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
43692 return resultobj;
43693 fail:
43694 return NULL;
43695}
43696
43697
c32bde28 43698static PyObject *_wrap_GBSizerItem_GetPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 43699 PyObject *resultobj = NULL;
d14a1e28
RD
43700 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
43701 wxGBPosition result;
43702 PyObject * obj0 = 0 ;
43703 char *kwnames[] = {
43704 (char *) "self", NULL
43705 };
43706
43707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
43708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
43709 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
43710 {
43711 PyThreadState* __tstate = wxPyBeginAllowThreads();
43712 result = ((wxGBSizerItem const *)arg1)->GetPos();
43713
43714 wxPyEndAllowThreads(__tstate);
43715 if (PyErr_Occurred()) SWIG_fail;
43716 }
43717 {
43718 wxGBPosition * resultptr;
32fe5131 43719 resultptr = new wxGBPosition(static_cast<wxGBPosition & >(result));
15afbcd0 43720 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
43721 }
43722 return resultobj;
43723 fail:
43724 return NULL;
43725}
43726
43727
c32bde28 43728static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 43729 PyObject *resultobj = NULL;
d14a1e28
RD
43730 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
43731 wxGBSpan result;
43732 PyObject * obj0 = 0 ;
43733 char *kwnames[] = {
43734 (char *) "self", NULL
43735 };
43736
43737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetSpan",kwnames,&obj0)) goto fail;
093d3ff1
RD
43738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
43739 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
43740 {
43741 PyThreadState* __tstate = wxPyBeginAllowThreads();
43742 result = ((wxGBSizerItem const *)arg1)->GetSpan();
43743
43744 wxPyEndAllowThreads(__tstate);
43745 if (PyErr_Occurred()) SWIG_fail;
43746 }
43747 {
43748 wxGBSpan * resultptr;
32fe5131 43749 resultptr = new wxGBSpan(static_cast<wxGBSpan & >(result));
15afbcd0 43750 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
43751 }
43752 return resultobj;
43753 fail:
43754 return NULL;
43755}
43756
43757
c32bde28 43758static PyObject *_wrap_GBSizerItem_SetPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 43759 PyObject *resultobj = NULL;
d14a1e28
RD
43760 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
43761 wxGBPosition *arg2 = 0 ;
43762 bool result;
43763 wxGBPosition temp2 ;
43764 PyObject * obj0 = 0 ;
43765 PyObject * obj1 = 0 ;
43766 char *kwnames[] = {
43767 (char *) "self",(char *) "pos", NULL
43768 };
43769
43770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
43771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
43772 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
43773 {
43774 arg2 = &temp2;
43775 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
43776 }
43777 {
43778 PyThreadState* __tstate = wxPyBeginAllowThreads();
43779 result = (bool)(arg1)->SetPos((wxGBPosition const &)*arg2);
43780
43781 wxPyEndAllowThreads(__tstate);
43782 if (PyErr_Occurred()) SWIG_fail;
43783 }
4f89f6a3
RD
43784 {
43785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43786 }
d14a1e28
RD
43787 return resultobj;
43788 fail:
43789 return NULL;
43790}
43791
43792
c32bde28 43793static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 43794 PyObject *resultobj = NULL;
d14a1e28
RD
43795 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
43796 wxGBSpan *arg2 = 0 ;
43797 bool result;
43798 wxGBSpan temp2 ;
43799 PyObject * obj0 = 0 ;
43800 PyObject * obj1 = 0 ;
43801 char *kwnames[] = {
43802 (char *) "self",(char *) "span", NULL
43803 };
43804
43805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
43806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
43807 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
43808 {
43809 arg2 = &temp2;
43810 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
43811 }
43812 {
43813 PyThreadState* __tstate = wxPyBeginAllowThreads();
43814 result = (bool)(arg1)->SetSpan((wxGBSpan const &)*arg2);
43815
43816 wxPyEndAllowThreads(__tstate);
43817 if (PyErr_Occurred()) SWIG_fail;
43818 }
4f89f6a3
RD
43819 {
43820 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43821 }
d14a1e28
RD
43822 return resultobj;
43823 fail:
43824 return NULL;
43825}
43826
43827
c32bde28 43828static PyObject *_wrap_GBSizerItem_Intersects(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 43829 PyObject *resultobj = NULL;
d14a1e28
RD
43830 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
43831 wxGBSizerItem *arg2 = 0 ;
43832 bool result;
43833 PyObject * obj0 = 0 ;
43834 PyObject * obj1 = 0 ;
248ed943
RD
43835 char *kwnames[] = {
43836 (char *) "self",(char *) "other", NULL
43837 };
d14a1e28 43838
248ed943 43839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_Intersects",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
43840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
43841 if (SWIG_arg_fail(1)) SWIG_fail;
43842 {
43843 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
43844 if (SWIG_arg_fail(2)) SWIG_fail;
43845 if (arg2 == NULL) {
43846 SWIG_null_ref("wxGBSizerItem");
43847 }
43848 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
43849 }
43850 {
43851 PyThreadState* __tstate = wxPyBeginAllowThreads();
43852 result = (bool)(arg1)->Intersects((wxGBSizerItem const &)*arg2);
43853
43854 wxPyEndAllowThreads(__tstate);
43855 if (PyErr_Occurred()) SWIG_fail;
43856 }
4f89f6a3
RD
43857 {
43858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43859 }
d14a1e28
RD
43860 return resultobj;
43861 fail:
43862 return NULL;
43863}
43864
43865
c32bde28 43866static PyObject *_wrap_GBSizerItem_IntersectsPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 43867 PyObject *resultobj = NULL;
d14a1e28
RD
43868 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
43869 wxGBPosition *arg2 = 0 ;
43870 wxGBSpan *arg3 = 0 ;
43871 bool result;
43872 wxGBPosition temp2 ;
43873 wxGBSpan temp3 ;
43874 PyObject * obj0 = 0 ;
43875 PyObject * obj1 = 0 ;
43876 PyObject * obj2 = 0 ;
248ed943
RD
43877 char *kwnames[] = {
43878 (char *) "self",(char *) "pos",(char *) "span", NULL
43879 };
d14a1e28 43880
248ed943 43881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
43882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
43883 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
43884 {
43885 arg2 = &temp2;
43886 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
43887 }
43888 {
43889 arg3 = &temp3;
43890 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
43891 }
43892 {
43893 PyThreadState* __tstate = wxPyBeginAllowThreads();
43894 result = (bool)(arg1)->Intersects((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3);
43895
43896 wxPyEndAllowThreads(__tstate);
43897 if (PyErr_Occurred()) SWIG_fail;
43898 }
4f89f6a3
RD
43899 {
43900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43901 }
d14a1e28
RD
43902 return resultobj;
43903 fail:
43904 return NULL;
43905}
43906
43907
c32bde28 43908static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 43909 PyObject *resultobj = NULL;
d14a1e28 43910 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
248ed943 43911 wxGBPosition result;
d14a1e28 43912 PyObject * obj0 = 0 ;
d14a1e28 43913 char *kwnames[] = {
248ed943 43914 (char *) "self", NULL
d14a1e28
RD
43915 };
43916
248ed943 43917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetEndPos",kwnames,&obj0)) goto fail;
093d3ff1
RD
43918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
43919 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
43920 {
43921 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 43922 result = wxGBSizerItem_GetEndPos(arg1);
d14a1e28
RD
43923
43924 wxPyEndAllowThreads(__tstate);
43925 if (PyErr_Occurred()) SWIG_fail;
43926 }
248ed943
RD
43927 {
43928 wxGBPosition * resultptr;
32fe5131 43929 resultptr = new wxGBPosition(static_cast<wxGBPosition & >(result));
248ed943
RD
43930 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
43931 }
d14a1e28
RD
43932 return resultobj;
43933 fail:
43934 return NULL;
43935}
43936
43937
c32bde28 43938static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 43939 PyObject *resultobj = NULL;
d14a1e28
RD
43940 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
43941 wxGridBagSizer *result;
43942 PyObject * obj0 = 0 ;
43943 char *kwnames[] = {
43944 (char *) "self", NULL
43945 };
43946
43947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail;
093d3ff1
RD
43948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
43949 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
43950 {
43951 PyThreadState* __tstate = wxPyBeginAllowThreads();
43952 result = (wxGridBagSizer *)((wxGBSizerItem const *)arg1)->GetGBSizer();
43953
43954 wxPyEndAllowThreads(__tstate);
43955 if (PyErr_Occurred()) SWIG_fail;
43956 }
15afbcd0 43957 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 0);
d14a1e28
RD
43958 return resultobj;
43959 fail:
43960 return NULL;
43961}
43962
43963
c32bde28 43964static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 43965 PyObject *resultobj = NULL;
d14a1e28
RD
43966 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
43967 wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ;
43968 PyObject * obj0 = 0 ;
43969 PyObject * obj1 = 0 ;
43970 char *kwnames[] = {
43971 (char *) "self",(char *) "sizer", NULL
43972 };
43973
43974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
43975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
43976 if (SWIG_arg_fail(1)) SWIG_fail;
43977 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
43978 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
43979 {
43980 PyThreadState* __tstate = wxPyBeginAllowThreads();
43981 (arg1)->SetGBSizer(arg2);
43982
43983 wxPyEndAllowThreads(__tstate);
43984 if (PyErr_Occurred()) SWIG_fail;
43985 }
43986 Py_INCREF(Py_None); resultobj = Py_None;
43987 return resultobj;
43988 fail:
43989 return NULL;
43990}
43991
43992
c32bde28 43993static PyObject * GBSizerItem_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
43994 PyObject *obj;
43995 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
43996 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem, obj);
43997 Py_INCREF(obj);
43998 return Py_BuildValue((char *)"");
43999}
c32bde28 44000static PyObject *_wrap_new_GridBagSizer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 44001 PyObject *resultobj = NULL;
d14a1e28
RD
44002 int arg1 = (int) 0 ;
44003 int arg2 = (int) 0 ;
44004 wxGridBagSizer *result;
994141e6
RD
44005 PyObject * obj0 = 0 ;
44006 PyObject * obj1 = 0 ;
d14a1e28
RD
44007 char *kwnames[] = {
44008 (char *) "vgap",(char *) "hgap", NULL
44009 };
44010
994141e6
RD
44011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridBagSizer",kwnames,&obj0,&obj1)) goto fail;
44012 if (obj0) {
093d3ff1 44013 {
32fe5131 44014 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
44015 if (SWIG_arg_fail(1)) SWIG_fail;
44016 }
994141e6
RD
44017 }
44018 if (obj1) {
093d3ff1 44019 {
32fe5131 44020 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
44021 if (SWIG_arg_fail(2)) SWIG_fail;
44022 }
994141e6 44023 }
d14a1e28
RD
44024 {
44025 PyThreadState* __tstate = wxPyBeginAllowThreads();
44026 result = (wxGridBagSizer *)new wxGridBagSizer(arg1,arg2);
44027
44028 wxPyEndAllowThreads(__tstate);
44029 if (PyErr_Occurred()) SWIG_fail;
44030 }
15afbcd0 44031 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 1);
d14a1e28
RD
44032 return resultobj;
44033 fail:
44034 return NULL;
44035}
44036
44037
c32bde28 44038static PyObject *_wrap_GridBagSizer_Add(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 44039 PyObject *resultobj = NULL;
d14a1e28
RD
44040 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
44041 PyObject *arg2 = (PyObject *) 0 ;
44042 wxGBPosition *arg3 = 0 ;
44043 wxGBSpan const &arg4_defvalue = wxDefaultSpan ;
44044 wxGBSpan *arg4 = (wxGBSpan *) &arg4_defvalue ;
44045 int arg5 = (int) 0 ;
44046 int arg6 = (int) 0 ;
44047 PyObject *arg7 = (PyObject *) NULL ;
d3b6e4ff 44048 wxGBSizerItem *result;
d14a1e28
RD
44049 wxGBPosition temp3 ;
44050 wxGBSpan temp4 ;
44051 PyObject * obj0 = 0 ;
44052 PyObject * obj1 = 0 ;
44053 PyObject * obj2 = 0 ;
44054 PyObject * obj3 = 0 ;
994141e6
RD
44055 PyObject * obj4 = 0 ;
44056 PyObject * obj5 = 0 ;
d14a1e28
RD
44057 PyObject * obj6 = 0 ;
44058 char *kwnames[] = {
44059 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
44060 };
44061
994141e6 44062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
44063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
44064 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
44065 arg2 = obj1;
44066 {
44067 arg3 = &temp3;
44068 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
44069 }
44070 if (obj3) {
44071 {
44072 arg4 = &temp4;
44073 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
44074 }
44075 }
994141e6 44076 if (obj4) {
093d3ff1 44077 {
32fe5131 44078 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
44079 if (SWIG_arg_fail(5)) SWIG_fail;
44080 }
994141e6
RD
44081 }
44082 if (obj5) {
093d3ff1 44083 {
32fe5131 44084 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
44085 if (SWIG_arg_fail(6)) SWIG_fail;
44086 }
994141e6 44087 }
d14a1e28
RD
44088 if (obj6) {
44089 arg7 = obj6;
44090 }
44091 {
44092 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 44093 result = (wxGBSizerItem *)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
d14a1e28
RD
44094
44095 wxPyEndAllowThreads(__tstate);
44096 if (PyErr_Occurred()) SWIG_fail;
44097 }
d3b6e4ff 44098 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
44099 return resultobj;
44100 fail:
44101 return NULL;
44102}
44103
44104
c32bde28 44105static PyObject *_wrap_GridBagSizer_AddItem(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 44106 PyObject *resultobj = NULL;
d14a1e28
RD
44107 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
44108 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
d3b6e4ff 44109 wxGBSizerItem *result;
d14a1e28
RD
44110 PyObject * obj0 = 0 ;
44111 PyObject * obj1 = 0 ;
44112 char *kwnames[] = {
44113 (char *) "self",(char *) "item", NULL
44114 };
44115
44116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
44117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
44118 if (SWIG_arg_fail(1)) SWIG_fail;
7e08d4ef 44119 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 44120 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
44121 {
44122 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 44123 result = (wxGBSizerItem *)(arg1)->Add(arg2);
d14a1e28
RD
44124
44125 wxPyEndAllowThreads(__tstate);
44126 if (PyErr_Occurred()) SWIG_fail;
44127 }
d3b6e4ff 44128 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
44129 return resultobj;
44130 fail:
44131 return NULL;
44132}
44133
44134
84f85550 44135static PyObject *_wrap_GridBagSizer_GetCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 44136 PyObject *resultobj = NULL;
84f85550
RD
44137 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
44138 int arg2 ;
44139 int arg3 ;
44140 wxSize result;
44141 PyObject * obj0 = 0 ;
44142 PyObject * obj1 = 0 ;
44143 PyObject * obj2 = 0 ;
44144 char *kwnames[] = {
44145 (char *) "self",(char *) "row",(char *) "col", NULL
44146 };
44147
44148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridBagSizer_GetCellSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
44149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
44150 if (SWIG_arg_fail(1)) SWIG_fail;
44151 {
32fe5131 44152 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
44153 if (SWIG_arg_fail(2)) SWIG_fail;
44154 }
44155 {
32fe5131 44156 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
44157 if (SWIG_arg_fail(3)) SWIG_fail;
44158 }
84f85550
RD
44159 {
44160 PyThreadState* __tstate = wxPyBeginAllowThreads();
44161 result = ((wxGridBagSizer const *)arg1)->GetCellSize(arg2,arg3);
44162
44163 wxPyEndAllowThreads(__tstate);
44164 if (PyErr_Occurred()) SWIG_fail;
44165 }
44166 {
44167 wxSize * resultptr;
32fe5131 44168 resultptr = new wxSize(static_cast<wxSize & >(result));
84f85550
RD
44169 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
44170 }
44171 return resultobj;
44172 fail:
44173 return NULL;
44174}
44175
44176
c32bde28 44177static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 44178 PyObject *resultobj = NULL;
d14a1e28
RD
44179 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
44180 wxSize result;
44181 PyObject * obj0 = 0 ;
44182 char *kwnames[] = {
44183 (char *) "self", NULL
44184 };
44185
44186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
44187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
44188 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
44189 {
44190 PyThreadState* __tstate = wxPyBeginAllowThreads();
44191 result = ((wxGridBagSizer const *)arg1)->GetEmptyCellSize();
44192
44193 wxPyEndAllowThreads(__tstate);
44194 if (PyErr_Occurred()) SWIG_fail;
44195 }
44196 {
44197 wxSize * resultptr;
32fe5131 44198 resultptr = new wxSize(static_cast<wxSize & >(result));
15afbcd0 44199 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
44200 }
44201 return resultobj;
44202 fail:
44203 return NULL;
44204}
44205
44206
c32bde28 44207static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 44208 PyObject *resultobj = NULL;
d14a1e28
RD
44209 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
44210 wxSize *arg2 = 0 ;
44211 wxSize temp2 ;
44212 PyObject * obj0 = 0 ;
44213 PyObject * obj1 = 0 ;
44214 char *kwnames[] = {
44215 (char *) "self",(char *) "sz", NULL
44216 };
44217
44218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
44219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
44220 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
44221 {
44222 arg2 = &temp2;
44223 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
44224 }
44225 {
44226 PyThreadState* __tstate = wxPyBeginAllowThreads();
44227 (arg1)->SetEmptyCellSize((wxSize const &)*arg2);
44228
44229 wxPyEndAllowThreads(__tstate);
44230 if (PyErr_Occurred()) SWIG_fail;
44231 }
44232 Py_INCREF(Py_None); resultobj = Py_None;
44233 return resultobj;
44234 fail:
44235 return NULL;
44236}
44237
44238
c32bde28 44239static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *, PyObject *args) {
32fe5131 44240 PyObject *resultobj = NULL;
d14a1e28
RD
44241 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
44242 wxWindow *arg2 = (wxWindow *) 0 ;
44243 wxGBPosition result;
44244 PyObject * obj0 = 0 ;
44245 PyObject * obj1 = 0 ;
44246
44247 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
093d3ff1
RD
44248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
44249 if (SWIG_arg_fail(1)) SWIG_fail;
44250 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
44251 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
44252 {
44253 PyThreadState* __tstate = wxPyBeginAllowThreads();
44254 result = (arg1)->GetItemPosition(arg2);
44255
44256 wxPyEndAllowThreads(__tstate);
44257 if (PyErr_Occurred()) SWIG_fail;
44258 }
44259 {
44260 wxGBPosition * resultptr;
32fe5131 44261 resultptr = new wxGBPosition(static_cast<wxGBPosition & >(result));
15afbcd0 44262 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
44263 }
44264 return resultobj;
44265 fail:
44266 return NULL;
44267}
44268
44269
c32bde28 44270static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *, PyObject *args) {
32fe5131 44271 PyObject *resultobj = NULL;
d14a1e28
RD
44272 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
44273 wxSizer *arg2 = (wxSizer *) 0 ;
44274 wxGBPosition result;
44275 PyObject * obj0 = 0 ;
44276 PyObject * obj1 = 0 ;
44277
44278 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
093d3ff1
RD
44279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
44280 if (SWIG_arg_fail(1)) SWIG_fail;
44281 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
44282 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
44283 {
44284 PyThreadState* __tstate = wxPyBeginAllowThreads();
44285 result = (arg1)->GetItemPosition(arg2);
44286
44287 wxPyEndAllowThreads(__tstate);
44288 if (PyErr_Occurred()) SWIG_fail;
44289 }
44290 {
44291 wxGBPosition * resultptr;
32fe5131 44292 resultptr = new wxGBPosition(static_cast<wxGBPosition & >(result));
15afbcd0 44293 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
44294 }
44295 return resultobj;
44296 fail:
44297 return NULL;
44298}
44299
44300
c32bde28 44301static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *, PyObject *args) {
32fe5131 44302 PyObject *resultobj = NULL;
d14a1e28
RD
44303 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
44304 size_t arg2 ;
44305 wxGBPosition result;
44306 PyObject * obj0 = 0 ;
44307 PyObject * obj1 = 0 ;
44308
44309 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
093d3ff1
RD
44310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
44311 if (SWIG_arg_fail(1)) SWIG_fail;
44312 {
32fe5131 44313 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
44314 if (SWIG_arg_fail(2)) SWIG_fail;
44315 }
d14a1e28
RD
44316 {
44317 PyThreadState* __tstate = wxPyBeginAllowThreads();
44318 result = (arg1)->GetItemPosition(arg2);
44319
44320 wxPyEndAllowThreads(__tstate);
44321 if (PyErr_Occurred()) SWIG_fail;
44322 }
44323 {
44324 wxGBPosition * resultptr;
32fe5131 44325 resultptr = new wxGBPosition(static_cast<wxGBPosition & >(result));
15afbcd0 44326 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
44327 }
44328 return resultobj;
44329 fail:
44330 return NULL;
44331}
44332
44333
44334static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *args) {
44335 int argc;
44336 PyObject *argv[3];
44337 int ii;
44338
44339 argc = PyObject_Length(args);
44340 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
44341 argv[ii] = PyTuple_GetItem(args,ii);
44342 }
44343 if (argc == 2) {
44344 int _v;
44345 {
44346 void *ptr;
15afbcd0 44347 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
44348 _v = 0;
44349 PyErr_Clear();
44350 } else {
44351 _v = 1;
44352 }
44353 }
44354 if (_v) {
44355 {
44356 void *ptr;
15afbcd0 44357 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
44358 _v = 0;
44359 PyErr_Clear();
44360 } else {
44361 _v = 1;
44362 }
44363 }
44364 if (_v) {
44365 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self,args);
44366 }
44367 }
44368 }
44369 if (argc == 2) {
44370 int _v;
44371 {
44372 void *ptr;
15afbcd0 44373 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
44374 _v = 0;
44375 PyErr_Clear();
44376 } else {
44377 _v = 1;
44378 }
44379 }
44380 if (_v) {
44381 {
44382 void *ptr;
15afbcd0 44383 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
44384 _v = 0;
44385 PyErr_Clear();
44386 } else {
44387 _v = 1;
44388 }
44389 }
44390 if (_v) {
44391 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self,args);
44392 }
44393 }
44394 }
44395 if (argc == 2) {
44396 int _v;
44397 {
44398 void *ptr;
15afbcd0 44399 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
44400 _v = 0;
44401 PyErr_Clear();
44402 } else {
44403 _v = 1;
44404 }
44405 }
44406 if (_v) {
c32bde28 44407 _v = SWIG_Check_unsigned_SS_long(argv[1]);
d14a1e28
RD
44408 if (_v) {
44409 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self,args);
44410 }
44411 }
44412 }
44413
093d3ff1 44414 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
d14a1e28
RD
44415 return NULL;
44416}
44417
44418
c32bde28 44419static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *, PyObject *args) {
32fe5131 44420 PyObject *resultobj = NULL;
d14a1e28
RD
44421 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
44422 wxWindow *arg2 = (wxWindow *) 0 ;
44423 wxGBPosition *arg3 = 0 ;
44424 bool result;
44425 wxGBPosition temp3 ;
44426 PyObject * obj0 = 0 ;
44427 PyObject * obj1 = 0 ;
44428 PyObject * obj2 = 0 ;
44429
44430 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
44431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
44432 if (SWIG_arg_fail(1)) SWIG_fail;
44433 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
44434 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
44435 {
44436 arg3 = &temp3;
44437 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
44438 }
44439 {
44440 PyThreadState* __tstate = wxPyBeginAllowThreads();
44441 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
44442
44443 wxPyEndAllowThreads(__tstate);
44444 if (PyErr_Occurred()) SWIG_fail;
44445 }
4f89f6a3
RD
44446 {
44447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44448 }
d14a1e28
RD
44449 return resultobj;
44450 fail:
44451 return NULL;
44452}
44453
44454
c32bde28 44455static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *, PyObject *args) {
32fe5131 44456 PyObject *resultobj = NULL;
d14a1e28
RD
44457 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
44458 wxSizer *arg2 = (wxSizer *) 0 ;
44459 wxGBPosition *arg3 = 0 ;
44460 bool result;
44461 wxGBPosition temp3 ;
44462 PyObject * obj0 = 0 ;
44463 PyObject * obj1 = 0 ;
44464 PyObject * obj2 = 0 ;
44465
44466 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
44467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
44468 if (SWIG_arg_fail(1)) SWIG_fail;
44469 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
44470 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
44471 {
44472 arg3 = &temp3;
44473 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
44474 }
44475 {
44476 PyThreadState* __tstate = wxPyBeginAllowThreads();
44477 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
44478
44479 wxPyEndAllowThreads(__tstate);
44480 if (PyErr_Occurred()) SWIG_fail;
44481 }
4f89f6a3
RD
44482 {
44483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44484 }
d14a1e28
RD
44485 return resultobj;
44486 fail:
44487 return NULL;
44488}
44489
44490
c32bde28 44491static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *, PyObject *args) {
32fe5131 44492 PyObject *resultobj = NULL;
d14a1e28
RD
44493 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
44494 size_t arg2 ;
44495 wxGBPosition *arg3 = 0 ;
44496 bool result;
44497 wxGBPosition temp3 ;
44498 PyObject * obj0 = 0 ;
44499 PyObject * obj1 = 0 ;
44500 PyObject * obj2 = 0 ;
44501
44502 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
44503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
44504 if (SWIG_arg_fail(1)) SWIG_fail;
44505 {
32fe5131 44506 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
44507 if (SWIG_arg_fail(2)) SWIG_fail;
44508 }
d14a1e28
RD
44509 {
44510 arg3 = &temp3;
44511 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
44512 }
44513 {
44514 PyThreadState* __tstate = wxPyBeginAllowThreads();
44515 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
44516
44517 wxPyEndAllowThreads(__tstate);
44518 if (PyErr_Occurred()) SWIG_fail;
44519 }
4f89f6a3
RD
44520 {
44521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44522 }
d14a1e28
RD
44523 return resultobj;
44524 fail:
44525 return NULL;
44526}
44527
44528
44529static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *args) {
44530 int argc;
44531 PyObject *argv[4];
44532 int ii;
44533
44534 argc = PyObject_Length(args);
44535 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
44536 argv[ii] = PyTuple_GetItem(args,ii);
44537 }
44538 if (argc == 3) {
44539 int _v;
44540 {
44541 void *ptr;
15afbcd0 44542 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
44543 _v = 0;
44544 PyErr_Clear();
44545 } else {
44546 _v = 1;
44547 }
44548 }
44549 if (_v) {
44550 {
44551 void *ptr;
15afbcd0 44552 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
44553 _v = 0;
44554 PyErr_Clear();
44555 } else {
44556 _v = 1;
44557 }
44558 }
44559 if (_v) {
44560 {
44561 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
44562 }
44563 if (_v) {
44564 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self,args);
44565 }
44566 }
44567 }
44568 }
44569 if (argc == 3) {
44570 int _v;
44571 {
44572 void *ptr;
15afbcd0 44573 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
44574 _v = 0;
44575 PyErr_Clear();
44576 } else {
44577 _v = 1;
44578 }
44579 }
44580 if (_v) {
44581 {
44582 void *ptr;
15afbcd0 44583 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
44584 _v = 0;
44585 PyErr_Clear();
44586 } else {
44587 _v = 1;
44588 }
44589 }
44590 if (_v) {
44591 {
44592 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
44593 }
44594 if (_v) {
44595 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self,args);
44596 }
44597 }
44598 }
44599 }
44600 if (argc == 3) {
44601 int _v;
44602 {
44603 void *ptr;
15afbcd0 44604 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
44605 _v = 0;
44606 PyErr_Clear();
44607 } else {
44608 _v = 1;
44609 }
44610 }
44611 if (_v) {
c32bde28 44612 _v = SWIG_Check_unsigned_SS_long(argv[1]);
d14a1e28
RD
44613 if (_v) {
44614 {
44615 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
44616 }
44617 if (_v) {
44618 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self,args);
44619 }
44620 }
44621 }
44622 }
44623
093d3ff1 44624 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
d14a1e28
RD
44625 return NULL;
44626}
44627
44628
c32bde28 44629static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *, PyObject *args) {
32fe5131 44630 PyObject *resultobj = NULL;
d14a1e28
RD
44631 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
44632 wxWindow *arg2 = (wxWindow *) 0 ;
44633 wxGBSpan result;
44634 PyObject * obj0 = 0 ;
44635 PyObject * obj1 = 0 ;
44636
44637 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
093d3ff1
RD
44638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
44639 if (SWIG_arg_fail(1)) SWIG_fail;
44640 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
44641 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
44642 {
44643 PyThreadState* __tstate = wxPyBeginAllowThreads();
44644 result = (arg1)->GetItemSpan(arg2);
44645
44646 wxPyEndAllowThreads(__tstate);
44647 if (PyErr_Occurred()) SWIG_fail;
44648 }
44649 {
44650 wxGBSpan * resultptr;
32fe5131 44651 resultptr = new wxGBSpan(static_cast<wxGBSpan & >(result));
15afbcd0 44652 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
44653 }
44654 return resultobj;
44655 fail:
44656 return NULL;
44657}
44658
44659
c32bde28 44660static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *, PyObject *args) {
32fe5131 44661 PyObject *resultobj = NULL;
d14a1e28
RD
44662 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
44663 wxSizer *arg2 = (wxSizer *) 0 ;
44664 wxGBSpan result;
44665 PyObject * obj0 = 0 ;
44666 PyObject * obj1 = 0 ;
44667
44668 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
093d3ff1
RD
44669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
44670 if (SWIG_arg_fail(1)) SWIG_fail;
44671 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
44672 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
44673 {
44674 PyThreadState* __tstate = wxPyBeginAllowThreads();
44675 result = (arg1)->GetItemSpan(arg2);
44676
44677 wxPyEndAllowThreads(__tstate);
44678 if (PyErr_Occurred()) SWIG_fail;
44679 }
44680 {
44681 wxGBSpan * resultptr;
32fe5131 44682 resultptr = new wxGBSpan(static_cast<wxGBSpan & >(result));
15afbcd0 44683 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
44684 }
44685 return resultobj;
44686 fail:
44687 return NULL;
44688}
44689
44690
c32bde28 44691static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *, PyObject *args) {
32fe5131 44692 PyObject *resultobj = NULL;
d14a1e28
RD
44693 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
44694 size_t arg2 ;
44695 wxGBSpan result;
44696 PyObject * obj0 = 0 ;
44697 PyObject * obj1 = 0 ;
44698
44699 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
093d3ff1
RD
44700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
44701 if (SWIG_arg_fail(1)) SWIG_fail;
44702 {
32fe5131 44703 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
44704 if (SWIG_arg_fail(2)) SWIG_fail;
44705 }
d14a1e28
RD
44706 {
44707 PyThreadState* __tstate = wxPyBeginAllowThreads();
44708 result = (arg1)->GetItemSpan(arg2);
44709
44710 wxPyEndAllowThreads(__tstate);
44711 if (PyErr_Occurred()) SWIG_fail;
44712 }
44713 {
44714 wxGBSpan * resultptr;
32fe5131 44715 resultptr = new wxGBSpan(static_cast<wxGBSpan & >(result));
15afbcd0 44716 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
44717 }
44718 return resultobj;
44719 fail:
44720 return NULL;
44721}
44722
44723
44724static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) {
44725 int argc;
44726 PyObject *argv[3];
44727 int ii;
44728
44729 argc = PyObject_Length(args);
44730 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
44731 argv[ii] = PyTuple_GetItem(args,ii);
44732 }
44733 if (argc == 2) {
44734 int _v;
44735 {
44736 void *ptr;
15afbcd0 44737 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
44738 _v = 0;
44739 PyErr_Clear();
44740 } else {
44741 _v = 1;
44742 }
44743 }
44744 if (_v) {
44745 {
44746 void *ptr;
15afbcd0 44747 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
44748 _v = 0;
44749 PyErr_Clear();
44750 } else {
44751 _v = 1;
44752 }
44753 }
44754 if (_v) {
44755 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self,args);
44756 }
44757 }
44758 }
44759 if (argc == 2) {
44760 int _v;
44761 {
44762 void *ptr;
15afbcd0 44763 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
44764 _v = 0;
44765 PyErr_Clear();
44766 } else {
44767 _v = 1;
44768 }
44769 }
44770 if (_v) {
44771 {
44772 void *ptr;
15afbcd0 44773 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
44774 _v = 0;
44775 PyErr_Clear();
44776 } else {
44777 _v = 1;
44778 }
44779 }
44780 if (_v) {
44781 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self,args);
44782 }
44783 }
44784 }
44785 if (argc == 2) {
44786 int _v;
44787 {
44788 void *ptr;
15afbcd0 44789 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
44790 _v = 0;
44791 PyErr_Clear();
44792 } else {
44793 _v = 1;
44794 }
44795 }
44796 if (_v) {
c32bde28 44797 _v = SWIG_Check_unsigned_SS_long(argv[1]);
d14a1e28
RD
44798 if (_v) {
44799 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self,args);
44800 }
44801 }
44802 }
44803
093d3ff1 44804 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
d14a1e28
RD
44805 return NULL;
44806}
44807
44808
c32bde28 44809static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *, PyObject *args) {
32fe5131 44810 PyObject *resultobj = NULL;
d14a1e28
RD
44811 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
44812 wxWindow *arg2 = (wxWindow *) 0 ;
44813 wxGBSpan *arg3 = 0 ;
44814 bool result;
44815 wxGBSpan temp3 ;
44816 PyObject * obj0 = 0 ;
44817 PyObject * obj1 = 0 ;
44818 PyObject * obj2 = 0 ;
44819
44820 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
44821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
44822 if (SWIG_arg_fail(1)) SWIG_fail;
44823 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
44824 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
44825 {
44826 arg3 = &temp3;
44827 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
44828 }
44829 {
44830 PyThreadState* __tstate = wxPyBeginAllowThreads();
44831 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
44832
44833 wxPyEndAllowThreads(__tstate);
44834 if (PyErr_Occurred()) SWIG_fail;
44835 }
4f89f6a3
RD
44836 {
44837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44838 }
d14a1e28
RD
44839 return resultobj;
44840 fail:
44841 return NULL;
44842}
44843
44844
c32bde28 44845static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *, PyObject *args) {
32fe5131 44846 PyObject *resultobj = NULL;
d14a1e28
RD
44847 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
44848 wxSizer *arg2 = (wxSizer *) 0 ;
44849 wxGBSpan *arg3 = 0 ;
44850 bool result;
44851 wxGBSpan temp3 ;
44852 PyObject * obj0 = 0 ;
44853 PyObject * obj1 = 0 ;
44854 PyObject * obj2 = 0 ;
44855
44856 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
44857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
44858 if (SWIG_arg_fail(1)) SWIG_fail;
44859 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
44860 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
44861 {
44862 arg3 = &temp3;
44863 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
44864 }
44865 {
44866 PyThreadState* __tstate = wxPyBeginAllowThreads();
44867 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
44868
44869 wxPyEndAllowThreads(__tstate);
44870 if (PyErr_Occurred()) SWIG_fail;
44871 }
4f89f6a3
RD
44872 {
44873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44874 }
d14a1e28
RD
44875 return resultobj;
44876 fail:
44877 return NULL;
44878}
44879
44880
c32bde28 44881static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *, PyObject *args) {
32fe5131 44882 PyObject *resultobj = NULL;
d14a1e28
RD
44883 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
44884 size_t arg2 ;
44885 wxGBSpan *arg3 = 0 ;
44886 bool result;
44887 wxGBSpan temp3 ;
44888 PyObject * obj0 = 0 ;
44889 PyObject * obj1 = 0 ;
44890 PyObject * obj2 = 0 ;
44891
44892 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
44893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
44894 if (SWIG_arg_fail(1)) SWIG_fail;
44895 {
32fe5131 44896 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
44897 if (SWIG_arg_fail(2)) SWIG_fail;
44898 }
d14a1e28
RD
44899 {
44900 arg3 = &temp3;
44901 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
44902 }
44903 {
44904 PyThreadState* __tstate = wxPyBeginAllowThreads();
44905 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
44906
44907 wxPyEndAllowThreads(__tstate);
44908 if (PyErr_Occurred()) SWIG_fail;
44909 }
4f89f6a3
RD
44910 {
44911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44912 }
d14a1e28
RD
44913 return resultobj;
44914 fail:
44915 return NULL;
44916}
44917
44918
44919static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) {
44920 int argc;
44921 PyObject *argv[4];
44922 int ii;
44923
44924 argc = PyObject_Length(args);
44925 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
44926 argv[ii] = PyTuple_GetItem(args,ii);
44927 }
44928 if (argc == 3) {
44929 int _v;
44930 {
44931 void *ptr;
15afbcd0 44932 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
44933 _v = 0;
44934 PyErr_Clear();
44935 } else {
44936 _v = 1;
44937 }
44938 }
44939 if (_v) {
44940 {
44941 void *ptr;
15afbcd0 44942 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
44943 _v = 0;
44944 PyErr_Clear();
44945 } else {
44946 _v = 1;
44947 }
44948 }
44949 if (_v) {
44950 {
44951 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
44952 }
44953 if (_v) {
44954 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self,args);
44955 }
44956 }
44957 }
44958 }
44959 if (argc == 3) {
44960 int _v;
44961 {
44962 void *ptr;
15afbcd0 44963 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
44964 _v = 0;
44965 PyErr_Clear();
44966 } else {
44967 _v = 1;
44968 }
44969 }
44970 if (_v) {
44971 {
44972 void *ptr;
15afbcd0 44973 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
44974 _v = 0;
44975 PyErr_Clear();
44976 } else {
44977 _v = 1;
44978 }
44979 }
44980 if (_v) {
44981 {
44982 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
44983 }
44984 if (_v) {
44985 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self,args);
44986 }
44987 }
44988 }
44989 }
44990 if (argc == 3) {
44991 int _v;
44992 {
44993 void *ptr;
15afbcd0 44994 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
44995 _v = 0;
44996 PyErr_Clear();
44997 } else {
44998 _v = 1;
44999 }
45000 }
45001 if (_v) {
c32bde28 45002 _v = SWIG_Check_unsigned_SS_long(argv[1]);
d14a1e28
RD
45003 if (_v) {
45004 {
45005 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
45006 }
45007 if (_v) {
45008 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self,args);
45009 }
45010 }
45011 }
45012 }
45013
093d3ff1 45014 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
d14a1e28
RD
45015 return NULL;
45016}
45017
45018
c32bde28 45019static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *, PyObject *args) {
32fe5131 45020 PyObject *resultobj = NULL;
d14a1e28
RD
45021 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
45022 wxWindow *arg2 = (wxWindow *) 0 ;
45023 wxGBSizerItem *result;
45024 PyObject * obj0 = 0 ;
45025 PyObject * obj1 = 0 ;
45026
45027 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
093d3ff1
RD
45028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
45029 if (SWIG_arg_fail(1)) SWIG_fail;
45030 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
45031 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
45032 {
45033 PyThreadState* __tstate = wxPyBeginAllowThreads();
45034 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
45035
45036 wxPyEndAllowThreads(__tstate);
45037 if (PyErr_Occurred()) SWIG_fail;
45038 }
15afbcd0 45039 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
45040 return resultobj;
45041 fail:
45042 return NULL;
45043}
45044
45045
c32bde28 45046static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *, PyObject *args) {
32fe5131 45047 PyObject *resultobj = NULL;
d14a1e28
RD
45048 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
45049 wxSizer *arg2 = (wxSizer *) 0 ;
45050 wxGBSizerItem *result;
45051 PyObject * obj0 = 0 ;
45052 PyObject * obj1 = 0 ;
45053
45054 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
093d3ff1
RD
45055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
45056 if (SWIG_arg_fail(1)) SWIG_fail;
45057 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0);
45058 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
45059 {
45060 PyThreadState* __tstate = wxPyBeginAllowThreads();
45061 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
45062
45063 wxPyEndAllowThreads(__tstate);
45064 if (PyErr_Occurred()) SWIG_fail;
45065 }
15afbcd0 45066 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
45067 return resultobj;
45068 fail:
45069 return NULL;
45070}
45071
45072
45073static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) {
45074 int argc;
45075 PyObject *argv[3];
45076 int ii;
45077
45078 argc = PyObject_Length(args);
45079 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
45080 argv[ii] = PyTuple_GetItem(args,ii);
45081 }
45082 if (argc == 2) {
45083 int _v;
45084 {
45085 void *ptr;
15afbcd0 45086 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
45087 _v = 0;
45088 PyErr_Clear();
45089 } else {
45090 _v = 1;
45091 }
45092 }
45093 if (_v) {
45094 {
45095 void *ptr;
15afbcd0 45096 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
45097 _v = 0;
45098 PyErr_Clear();
45099 } else {
45100 _v = 1;
45101 }
45102 }
45103 if (_v) {
45104 return _wrap_GridBagSizer_FindItem__SWIG_0(self,args);
45105 }
45106 }
45107 }
45108 if (argc == 2) {
45109 int _v;
45110 {
45111 void *ptr;
15afbcd0 45112 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
45113 _v = 0;
45114 PyErr_Clear();
45115 } else {
45116 _v = 1;
45117 }
45118 }
45119 if (_v) {
45120 {
45121 void *ptr;
15afbcd0 45122 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
45123 _v = 0;
45124 PyErr_Clear();
45125 } else {
45126 _v = 1;
45127 }
45128 }
45129 if (_v) {
45130 return _wrap_GridBagSizer_FindItem__SWIG_1(self,args);
45131 }
45132 }
45133 }
45134
093d3ff1 45135 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'GridBagSizer_FindItem'");
d14a1e28
RD
45136 return NULL;
45137}
45138
45139
c32bde28 45140static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 45141 PyObject *resultobj = NULL;
d14a1e28
RD
45142 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
45143 wxGBPosition *arg2 = 0 ;
45144 wxGBSizerItem *result;
45145 wxGBPosition temp2 ;
45146 PyObject * obj0 = 0 ;
45147 PyObject * obj1 = 0 ;
45148 char *kwnames[] = {
45149 (char *) "self",(char *) "pos", NULL
45150 };
45151
45152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
45153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
45154 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
45155 {
45156 arg2 = &temp2;
45157 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
45158 }
45159 {
45160 PyThreadState* __tstate = wxPyBeginAllowThreads();
45161 result = (wxGBSizerItem *)(arg1)->FindItemAtPosition((wxGBPosition const &)*arg2);
45162
45163 wxPyEndAllowThreads(__tstate);
45164 if (PyErr_Occurred()) SWIG_fail;
45165 }
15afbcd0 45166 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
45167 return resultobj;
45168 fail:
45169 return NULL;
45170}
45171
45172
c32bde28 45173static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 45174 PyObject *resultobj = NULL;
e811c8ce
RD
45175 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
45176 wxPoint *arg2 = 0 ;
45177 wxGBSizerItem *result;
45178 wxPoint temp2 ;
45179 PyObject * obj0 = 0 ;
45180 PyObject * obj1 = 0 ;
45181 char *kwnames[] = {
45182 (char *) "self",(char *) "pt", NULL
45183 };
45184
45185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
45186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
45187 if (SWIG_arg_fail(1)) SWIG_fail;
e811c8ce
RD
45188 {
45189 arg2 = &temp2;
45190 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
45191 }
45192 {
45193 PyThreadState* __tstate = wxPyBeginAllowThreads();
45194 result = (wxGBSizerItem *)(arg1)->FindItemAtPoint((wxPoint const &)*arg2);
45195
45196 wxPyEndAllowThreads(__tstate);
45197 if (PyErr_Occurred()) SWIG_fail;
45198 }
15afbcd0 45199 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
e811c8ce
RD
45200 return resultobj;
45201 fail:
45202 return NULL;
45203}
45204
45205
c32bde28 45206static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 45207 PyObject *resultobj = NULL;
d14a1e28
RD
45208 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
45209 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
45210 wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ;
45211 bool result;
45212 PyObject * obj0 = 0 ;
45213 PyObject * obj1 = 0 ;
45214 PyObject * obj2 = 0 ;
248ed943
RD
45215 char *kwnames[] = {
45216 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
45217 };
d14a1e28 45218
248ed943 45219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
45220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
45221 if (SWIG_arg_fail(1)) SWIG_fail;
45222 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
45223 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 45224 if (obj2) {
093d3ff1
RD
45225 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
45226 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
45227 }
45228 {
45229 PyThreadState* __tstate = wxPyBeginAllowThreads();
45230 result = (bool)(arg1)->CheckForIntersection(arg2,arg3);
45231
45232 wxPyEndAllowThreads(__tstate);
45233 if (PyErr_Occurred()) SWIG_fail;
45234 }
4f89f6a3
RD
45235 {
45236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45237 }
d14a1e28
RD
45238 return resultobj;
45239 fail:
45240 return NULL;
45241}
45242
45243
c32bde28 45244static PyObject *_wrap_GridBagSizer_CheckForIntersectionPos(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 45245 PyObject *resultobj = NULL;
d14a1e28
RD
45246 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
45247 wxGBPosition *arg2 = 0 ;
45248 wxGBSpan *arg3 = 0 ;
45249 wxGBSizerItem *arg4 = (wxGBSizerItem *) NULL ;
45250 bool result;
45251 wxGBPosition temp2 ;
45252 wxGBSpan temp3 ;
45253 PyObject * obj0 = 0 ;
45254 PyObject * obj1 = 0 ;
45255 PyObject * obj2 = 0 ;
45256 PyObject * obj3 = 0 ;
248ed943
RD
45257 char *kwnames[] = {
45258 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
45259 };
d14a1e28 45260
248ed943 45261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
45262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0);
45263 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
45264 {
45265 arg2 = &temp2;
45266 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
45267 }
45268 {
45269 arg3 = &temp3;
45270 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
45271 }
45272 if (obj3) {
093d3ff1
RD
45273 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0);
45274 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
45275 }
45276 {
45277 PyThreadState* __tstate = wxPyBeginAllowThreads();
45278 result = (bool)(arg1)->CheckForIntersection((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4);
45279
45280 wxPyEndAllowThreads(__tstate);
45281 if (PyErr_Occurred()) SWIG_fail;
45282 }
4f89f6a3
RD
45283 {
45284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45285 }
d14a1e28
RD
45286 return resultobj;
45287 fail:
45288 return NULL;
45289}
45290
45291
c32bde28 45292static PyObject * GridBagSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
45293 PyObject *obj;
45294 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
45295 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer, obj);
45296 Py_INCREF(obj);
45297 return Py_BuildValue((char *)"");
45298}
c32bde28 45299static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 45300 PyObject *resultobj = NULL;
d14a1e28 45301 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
093d3ff1 45302 wxRelationship arg2 ;
d14a1e28 45303 wxWindow *arg3 = (wxWindow *) 0 ;
093d3ff1 45304 wxEdge arg4 ;
d14a1e28
RD
45305 int arg5 = (int) 0 ;
45306 int arg6 = (int) wxLAYOUT_DEFAULT_MARGIN ;
45307 PyObject * obj0 = 0 ;
994141e6 45308 PyObject * obj1 = 0 ;
d14a1e28 45309 PyObject * obj2 = 0 ;
994141e6
RD
45310 PyObject * obj3 = 0 ;
45311 PyObject * obj4 = 0 ;
45312 PyObject * obj5 = 0 ;
d14a1e28
RD
45313 char *kwnames[] = {
45314 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
45315 };
45316
994141e6 45317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
45318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
45319 if (SWIG_arg_fail(1)) SWIG_fail;
45320 {
32fe5131 45321 arg2 = static_cast<wxRelationship >(SWIG_As_int(obj1));
093d3ff1
RD
45322 if (SWIG_arg_fail(2)) SWIG_fail;
45323 }
45324 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
45325 if (SWIG_arg_fail(3)) SWIG_fail;
45326 {
32fe5131 45327 arg4 = static_cast<wxEdge >(SWIG_As_int(obj3));
093d3ff1
RD
45328 if (SWIG_arg_fail(4)) SWIG_fail;
45329 }
994141e6 45330 if (obj4) {
093d3ff1 45331 {
32fe5131 45332 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
45333 if (SWIG_arg_fail(5)) SWIG_fail;
45334 }
994141e6
RD
45335 }
45336 if (obj5) {
093d3ff1 45337 {
32fe5131 45338 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
45339 if (SWIG_arg_fail(6)) SWIG_fail;
45340 }
994141e6 45341 }
d14a1e28
RD
45342 {
45343 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 45344 (arg1)->Set(arg2,arg3,arg4,arg5,arg6);
d14a1e28
RD
45345
45346 wxPyEndAllowThreads(__tstate);
45347 if (PyErr_Occurred()) SWIG_fail;
45348 }
45349 Py_INCREF(Py_None); resultobj = Py_None;
45350 return resultobj;
45351 fail:
45352 return NULL;
45353}
45354
45355
c32bde28 45356static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 45357 PyObject *resultobj = NULL;
d14a1e28
RD
45358 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
45359 wxWindow *arg2 = (wxWindow *) 0 ;
45360 int arg3 = (int) 0 ;
45361 PyObject * obj0 = 0 ;
45362 PyObject * obj1 = 0 ;
994141e6 45363 PyObject * obj2 = 0 ;
d14a1e28
RD
45364 char *kwnames[] = {
45365 (char *) "self",(char *) "sibling",(char *) "marg", NULL
45366 };
45367
994141e6 45368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
45369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
45370 if (SWIG_arg_fail(1)) SWIG_fail;
45371 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
45372 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 45373 if (obj2) {
093d3ff1 45374 {
32fe5131 45375 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
45376 if (SWIG_arg_fail(3)) SWIG_fail;
45377 }
994141e6 45378 }
d14a1e28
RD
45379 {
45380 PyThreadState* __tstate = wxPyBeginAllowThreads();
45381 (arg1)->LeftOf(arg2,arg3);
45382
45383 wxPyEndAllowThreads(__tstate);
45384 if (PyErr_Occurred()) SWIG_fail;
45385 }
45386 Py_INCREF(Py_None); resultobj = Py_None;
45387 return resultobj;
45388 fail:
45389 return NULL;
45390}
45391
45392
c32bde28 45393static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 45394 PyObject *resultobj = NULL;
d14a1e28
RD
45395 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
45396 wxWindow *arg2 = (wxWindow *) 0 ;
45397 int arg3 = (int) 0 ;
45398 PyObject * obj0 = 0 ;
45399 PyObject * obj1 = 0 ;
994141e6 45400 PyObject * obj2 = 0 ;
d14a1e28
RD
45401 char *kwnames[] = {
45402 (char *) "self",(char *) "sibling",(char *) "marg", NULL
45403 };
45404
994141e6 45405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
45406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
45407 if (SWIG_arg_fail(1)) SWIG_fail;
45408 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
45409 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 45410 if (obj2) {
093d3ff1 45411 {
32fe5131 45412 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
45413 if (SWIG_arg_fail(3)) SWIG_fail;
45414 }
994141e6 45415 }
d14a1e28
RD
45416 {
45417 PyThreadState* __tstate = wxPyBeginAllowThreads();
45418 (arg1)->RightOf(arg2,arg3);
45419
45420 wxPyEndAllowThreads(__tstate);
45421 if (PyErr_Occurred()) SWIG_fail;
45422 }
45423 Py_INCREF(Py_None); resultobj = Py_None;
45424 return resultobj;
45425 fail:
45426 return NULL;
45427}
45428
45429
c32bde28 45430static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 45431 PyObject *resultobj = NULL;
d14a1e28
RD
45432 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
45433 wxWindow *arg2 = (wxWindow *) 0 ;
45434 int arg3 = (int) 0 ;
45435 PyObject * obj0 = 0 ;
45436 PyObject * obj1 = 0 ;
994141e6 45437 PyObject * obj2 = 0 ;
d14a1e28
RD
45438 char *kwnames[] = {
45439 (char *) "self",(char *) "sibling",(char *) "marg", NULL
45440 };
45441
994141e6 45442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
45443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
45444 if (SWIG_arg_fail(1)) SWIG_fail;
45445 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
45446 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 45447 if (obj2) {
093d3ff1 45448 {
32fe5131 45449 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
45450 if (SWIG_arg_fail(3)) SWIG_fail;
45451 }
994141e6 45452 }
d14a1e28
RD
45453 {
45454 PyThreadState* __tstate = wxPyBeginAllowThreads();
45455 (arg1)->Above(arg2,arg3);
45456
45457 wxPyEndAllowThreads(__tstate);
45458 if (PyErr_Occurred()) SWIG_fail;
45459 }
45460 Py_INCREF(Py_None); resultobj = Py_None;
45461 return resultobj;
45462 fail:
45463 return NULL;
45464}
45465
45466
c32bde28 45467static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 45468 PyObject *resultobj = NULL;
d14a1e28
RD
45469 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
45470 wxWindow *arg2 = (wxWindow *) 0 ;
45471 int arg3 = (int) 0 ;
45472 PyObject * obj0 = 0 ;
45473 PyObject * obj1 = 0 ;
994141e6 45474 PyObject * obj2 = 0 ;
d14a1e28
RD
45475 char *kwnames[] = {
45476 (char *) "self",(char *) "sibling",(char *) "marg", NULL
45477 };
45478
994141e6 45479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
45480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
45481 if (SWIG_arg_fail(1)) SWIG_fail;
45482 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
45483 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 45484 if (obj2) {
093d3ff1 45485 {
32fe5131 45486 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
45487 if (SWIG_arg_fail(3)) SWIG_fail;
45488 }
994141e6 45489 }
d14a1e28
RD
45490 {
45491 PyThreadState* __tstate = wxPyBeginAllowThreads();
45492 (arg1)->Below(arg2,arg3);
45493
45494 wxPyEndAllowThreads(__tstate);
45495 if (PyErr_Occurred()) SWIG_fail;
45496 }
45497 Py_INCREF(Py_None); resultobj = Py_None;
45498 return resultobj;
45499 fail:
45500 return NULL;
45501}
45502
45503
c32bde28 45504static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 45505 PyObject *resultobj = NULL;
d14a1e28
RD
45506 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
45507 wxWindow *arg2 = (wxWindow *) 0 ;
093d3ff1 45508 wxEdge arg3 ;
d14a1e28
RD
45509 int arg4 = (int) 0 ;
45510 PyObject * obj0 = 0 ;
45511 PyObject * obj1 = 0 ;
994141e6
RD
45512 PyObject * obj2 = 0 ;
45513 PyObject * obj3 = 0 ;
d14a1e28
RD
45514 char *kwnames[] = {
45515 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
45516 };
45517
994141e6 45518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
45519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
45520 if (SWIG_arg_fail(1)) SWIG_fail;
45521 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
45522 if (SWIG_arg_fail(2)) SWIG_fail;
45523 {
32fe5131 45524 arg3 = static_cast<wxEdge >(SWIG_As_int(obj2));
093d3ff1
RD
45525 if (SWIG_arg_fail(3)) SWIG_fail;
45526 }
994141e6 45527 if (obj3) {
093d3ff1 45528 {
32fe5131 45529 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
45530 if (SWIG_arg_fail(4)) SWIG_fail;
45531 }
994141e6 45532 }
d14a1e28
RD
45533 {
45534 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 45535 (arg1)->SameAs(arg2,arg3,arg4);
d14a1e28
RD
45536
45537 wxPyEndAllowThreads(__tstate);
45538 if (PyErr_Occurred()) SWIG_fail;
45539 }
45540 Py_INCREF(Py_None); resultobj = Py_None;
45541 return resultobj;
45542 fail:
45543 return NULL;
45544}
45545
45546
c32bde28 45547static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 45548 PyObject *resultobj = NULL;
d14a1e28
RD
45549 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
45550 wxWindow *arg2 = (wxWindow *) 0 ;
093d3ff1 45551 wxEdge arg3 ;
d14a1e28
RD
45552 int arg4 ;
45553 PyObject * obj0 = 0 ;
45554 PyObject * obj1 = 0 ;
994141e6
RD
45555 PyObject * obj2 = 0 ;
45556 PyObject * obj3 = 0 ;
d14a1e28
RD
45557 char *kwnames[] = {
45558 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
45559 };
45560
994141e6 45561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
45562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
45563 if (SWIG_arg_fail(1)) SWIG_fail;
45564 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
45565 if (SWIG_arg_fail(2)) SWIG_fail;
45566 {
32fe5131 45567 arg3 = static_cast<wxEdge >(SWIG_As_int(obj2));
093d3ff1
RD
45568 if (SWIG_arg_fail(3)) SWIG_fail;
45569 }
45570 {
32fe5131 45571 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
45572 if (SWIG_arg_fail(4)) SWIG_fail;
45573 }
d14a1e28
RD
45574 {
45575 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 45576 (arg1)->PercentOf(arg2,arg3,arg4);
d14a1e28
RD
45577
45578 wxPyEndAllowThreads(__tstate);
45579 if (PyErr_Occurred()) SWIG_fail;
45580 }
45581 Py_INCREF(Py_None); resultobj = Py_None;
45582 return resultobj;
45583 fail:
45584 return NULL;
45585}
45586
45587
c32bde28 45588static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 45589 PyObject *resultobj = NULL;
d14a1e28
RD
45590 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
45591 int arg2 ;
45592 PyObject * obj0 = 0 ;
994141e6 45593 PyObject * obj1 = 0 ;
d14a1e28
RD
45594 char *kwnames[] = {
45595 (char *) "self",(char *) "val", NULL
45596 };
45597
994141e6 45598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
45599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
45600 if (SWIG_arg_fail(1)) SWIG_fail;
45601 {
32fe5131 45602 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
45603 if (SWIG_arg_fail(2)) SWIG_fail;
45604 }
d14a1e28
RD
45605 {
45606 PyThreadState* __tstate = wxPyBeginAllowThreads();
45607 (arg1)->Absolute(arg2);
45608
45609 wxPyEndAllowThreads(__tstate);
45610 if (PyErr_Occurred()) SWIG_fail;
45611 }
45612 Py_INCREF(Py_None); resultobj = Py_None;
45613 return resultobj;
45614 fail:
45615 return NULL;
45616}
45617
45618
c32bde28 45619static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 45620 PyObject *resultobj = NULL;
d14a1e28
RD
45621 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
45622 PyObject * obj0 = 0 ;
45623 char *kwnames[] = {
45624 (char *) "self", NULL
45625 };
45626
45627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail;
093d3ff1
RD
45628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
45629 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
45630 {
45631 PyThreadState* __tstate = wxPyBeginAllowThreads();
45632 (arg1)->Unconstrained();
45633
45634 wxPyEndAllowThreads(__tstate);
45635 if (PyErr_Occurred()) SWIG_fail;
45636 }
45637 Py_INCREF(Py_None); resultobj = Py_None;
45638 return resultobj;
45639 fail:
45640 return NULL;
45641}
45642
45643
c32bde28 45644static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 45645 PyObject *resultobj = NULL;
d14a1e28
RD
45646 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
45647 PyObject * obj0 = 0 ;
45648 char *kwnames[] = {
45649 (char *) "self", NULL
45650 };
45651
45652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail;
093d3ff1
RD
45653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
45654 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
45655 {
45656 PyThreadState* __tstate = wxPyBeginAllowThreads();
45657 (arg1)->AsIs();
45658
45659 wxPyEndAllowThreads(__tstate);
45660 if (PyErr_Occurred()) SWIG_fail;
45661 }
45662 Py_INCREF(Py_None); resultobj = Py_None;
45663 return resultobj;
45664 fail:
45665 return NULL;
45666}
45667
45668
c32bde28 45669static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 45670 PyObject *resultobj = NULL;
d14a1e28
RD
45671 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
45672 wxWindow *result;
45673 PyObject * obj0 = 0 ;
45674 char *kwnames[] = {
45675 (char *) "self", NULL
45676 };
45677
45678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
45679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
45680 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
45681 {
45682 PyThreadState* __tstate = wxPyBeginAllowThreads();
45683 result = (wxWindow *)(arg1)->GetOtherWindow();
45684
45685 wxPyEndAllowThreads(__tstate);
45686 if (PyErr_Occurred()) SWIG_fail;
45687 }
45688 {
412d302d 45689 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
45690 }
45691 return resultobj;
45692 fail:
45693 return NULL;
45694}
45695
45696
c32bde28 45697static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 45698 PyObject *resultobj = NULL;
d14a1e28 45699 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
093d3ff1 45700 wxEdge result;
d14a1e28
RD
45701 PyObject * obj0 = 0 ;
45702 char *kwnames[] = {
45703 (char *) "self", NULL
45704 };
45705
45706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail;
093d3ff1
RD
45707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
45708 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
45709 {
45710 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 45711 result = (wxEdge)((wxIndividualLayoutConstraint const *)arg1)->GetMyEdge();
d14a1e28
RD
45712
45713 wxPyEndAllowThreads(__tstate);
45714 if (PyErr_Occurred()) SWIG_fail;
45715 }
093d3ff1 45716 resultobj = SWIG_From_int((result));
d14a1e28
RD
45717 return resultobj;
45718 fail:
45719 return NULL;
45720}
45721
45722
c32bde28 45723static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 45724 PyObject *resultobj = NULL;
d14a1e28 45725 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
093d3ff1 45726 wxEdge arg2 ;
d14a1e28 45727 PyObject * obj0 = 0 ;
994141e6 45728 PyObject * obj1 = 0 ;
d14a1e28
RD
45729 char *kwnames[] = {
45730 (char *) "self",(char *) "which", NULL
45731 };
45732
994141e6 45733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
45734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
45735 if (SWIG_arg_fail(1)) SWIG_fail;
45736 {
32fe5131 45737 arg2 = static_cast<wxEdge >(SWIG_As_int(obj1));
093d3ff1
RD
45738 if (SWIG_arg_fail(2)) SWIG_fail;
45739 }
d14a1e28
RD
45740 {
45741 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 45742 (arg1)->SetEdge(arg2);
d14a1e28
RD
45743
45744 wxPyEndAllowThreads(__tstate);
45745 if (PyErr_Occurred()) SWIG_fail;
45746 }
45747 Py_INCREF(Py_None); resultobj = Py_None;
45748 return resultobj;
45749 fail:
45750 return NULL;
45751}
45752
45753
c32bde28 45754static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 45755 PyObject *resultobj = NULL;
d14a1e28
RD
45756 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
45757 int arg2 ;
45758 PyObject * obj0 = 0 ;
994141e6 45759 PyObject * obj1 = 0 ;
d14a1e28
RD
45760 char *kwnames[] = {
45761 (char *) "self",(char *) "v", NULL
45762 };
45763
994141e6 45764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
45765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
45766 if (SWIG_arg_fail(1)) SWIG_fail;
45767 {
32fe5131 45768 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
45769 if (SWIG_arg_fail(2)) SWIG_fail;
45770 }
d14a1e28
RD
45771 {
45772 PyThreadState* __tstate = wxPyBeginAllowThreads();
45773 (arg1)->SetValue(arg2);
45774
45775 wxPyEndAllowThreads(__tstate);
45776 if (PyErr_Occurred()) SWIG_fail;
45777 }
45778 Py_INCREF(Py_None); resultobj = Py_None;
45779 return resultobj;
45780 fail:
45781 return NULL;
45782}
45783
45784
c32bde28 45785static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 45786 PyObject *resultobj = NULL;
d14a1e28
RD
45787 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
45788 int result;
45789 PyObject * obj0 = 0 ;
45790 char *kwnames[] = {
45791 (char *) "self", NULL
45792 };
45793
45794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames,&obj0)) goto fail;
093d3ff1
RD
45795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
45796 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
45797 {
45798 PyThreadState* __tstate = wxPyBeginAllowThreads();
45799 result = (int)(arg1)->GetMargin();
45800
45801 wxPyEndAllowThreads(__tstate);
45802 if (PyErr_Occurred()) SWIG_fail;
45803 }
093d3ff1 45804 {
32fe5131 45805 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 45806 }
d14a1e28
RD
45807 return resultobj;
45808 fail:
45809 return NULL;
45810}
45811
45812
c32bde28 45813static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 45814 PyObject *resultobj = NULL;
d14a1e28
RD
45815 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
45816 int arg2 ;
45817 PyObject * obj0 = 0 ;
994141e6 45818 PyObject * obj1 = 0 ;
d14a1e28
RD
45819 char *kwnames[] = {
45820 (char *) "self",(char *) "m", NULL
45821 };
45822
994141e6 45823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
45824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
45825 if (SWIG_arg_fail(1)) SWIG_fail;
45826 {
32fe5131 45827 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
45828 if (SWIG_arg_fail(2)) SWIG_fail;
45829 }
d14a1e28
RD
45830 {
45831 PyThreadState* __tstate = wxPyBeginAllowThreads();
45832 (arg1)->SetMargin(arg2);
45833
45834 wxPyEndAllowThreads(__tstate);
45835 if (PyErr_Occurred()) SWIG_fail;
45836 }
45837 Py_INCREF(Py_None); resultobj = Py_None;
45838 return resultobj;
45839 fail:
45840 return NULL;
45841}
45842
45843
c32bde28 45844static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 45845 PyObject *resultobj = NULL;
d14a1e28
RD
45846 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
45847 int result;
45848 PyObject * obj0 = 0 ;
45849 char *kwnames[] = {
45850 (char *) "self", NULL
45851 };
45852
45853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
45854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
45855 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
45856 {
45857 PyThreadState* __tstate = wxPyBeginAllowThreads();
45858 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetValue();
45859
45860 wxPyEndAllowThreads(__tstate);
45861 if (PyErr_Occurred()) SWIG_fail;
45862 }
093d3ff1 45863 {
32fe5131 45864 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 45865 }
d14a1e28
RD
45866 return resultobj;
45867 fail:
45868 return NULL;
45869}
45870
45871
c32bde28 45872static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 45873 PyObject *resultobj = NULL;
d14a1e28
RD
45874 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
45875 int result;
45876 PyObject * obj0 = 0 ;
45877 char *kwnames[] = {
45878 (char *) "self", NULL
45879 };
45880
45881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail;
093d3ff1
RD
45882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
45883 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
45884 {
45885 PyThreadState* __tstate = wxPyBeginAllowThreads();
45886 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetPercent();
45887
45888 wxPyEndAllowThreads(__tstate);
45889 if (PyErr_Occurred()) SWIG_fail;
45890 }
093d3ff1 45891 {
32fe5131 45892 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 45893 }
d14a1e28
RD
45894 return resultobj;
45895 fail:
45896 return NULL;
45897}
45898
45899
c32bde28 45900static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 45901 PyObject *resultobj = NULL;
d14a1e28
RD
45902 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
45903 int result;
45904 PyObject * obj0 = 0 ;
45905 char *kwnames[] = {
45906 (char *) "self", NULL
45907 };
45908
45909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail;
093d3ff1
RD
45910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
45911 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
45912 {
45913 PyThreadState* __tstate = wxPyBeginAllowThreads();
45914 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetOtherEdge();
45915
45916 wxPyEndAllowThreads(__tstate);
45917 if (PyErr_Occurred()) SWIG_fail;
45918 }
093d3ff1 45919 {
32fe5131 45920 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 45921 }
d14a1e28
RD
45922 return resultobj;
45923 fail:
45924 return NULL;
45925}
45926
45927
c32bde28 45928static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 45929 PyObject *resultobj = NULL;
d14a1e28
RD
45930 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
45931 bool result;
45932 PyObject * obj0 = 0 ;
45933 char *kwnames[] = {
45934 (char *) "self", NULL
45935 };
45936
45937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail;
093d3ff1
RD
45938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
45939 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
45940 {
45941 PyThreadState* __tstate = wxPyBeginAllowThreads();
45942 result = (bool)((wxIndividualLayoutConstraint const *)arg1)->GetDone();
45943
45944 wxPyEndAllowThreads(__tstate);
45945 if (PyErr_Occurred()) SWIG_fail;
45946 }
4f89f6a3
RD
45947 {
45948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45949 }
d14a1e28
RD
45950 return resultobj;
45951 fail:
45952 return NULL;
45953}
45954
45955
c32bde28 45956static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 45957 PyObject *resultobj = NULL;
d14a1e28
RD
45958 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
45959 bool arg2 ;
45960 PyObject * obj0 = 0 ;
45961 PyObject * obj1 = 0 ;
45962 char *kwnames[] = {
45963 (char *) "self",(char *) "d", NULL
45964 };
45965
45966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
45967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
45968 if (SWIG_arg_fail(1)) SWIG_fail;
45969 {
32fe5131 45970 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
45971 if (SWIG_arg_fail(2)) SWIG_fail;
45972 }
d14a1e28
RD
45973 {
45974 PyThreadState* __tstate = wxPyBeginAllowThreads();
45975 (arg1)->SetDone(arg2);
45976
45977 wxPyEndAllowThreads(__tstate);
45978 if (PyErr_Occurred()) SWIG_fail;
45979 }
45980 Py_INCREF(Py_None); resultobj = Py_None;
45981 return resultobj;
45982 fail:
45983 return NULL;
45984}
45985
45986
c32bde28 45987static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 45988 PyObject *resultobj = NULL;
d14a1e28 45989 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
093d3ff1 45990 wxRelationship result;
d14a1e28
RD
45991 PyObject * obj0 = 0 ;
45992 char *kwnames[] = {
45993 (char *) "self", NULL
45994 };
45995
45996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail;
093d3ff1
RD
45997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
45998 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
45999 {
46000 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 46001 result = (wxRelationship)(arg1)->GetRelationship();
d14a1e28
RD
46002
46003 wxPyEndAllowThreads(__tstate);
46004 if (PyErr_Occurred()) SWIG_fail;
46005 }
093d3ff1 46006 resultobj = SWIG_From_int((result));
d14a1e28
RD
46007 return resultobj;
46008 fail:
46009 return NULL;
46010}
46011
46012
c32bde28 46013static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 46014 PyObject *resultobj = NULL;
d14a1e28 46015 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
093d3ff1 46016 wxRelationship arg2 ;
d14a1e28 46017 PyObject * obj0 = 0 ;
994141e6 46018 PyObject * obj1 = 0 ;
d14a1e28
RD
46019 char *kwnames[] = {
46020 (char *) "self",(char *) "r", NULL
46021 };
46022
994141e6 46023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
46024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
46025 if (SWIG_arg_fail(1)) SWIG_fail;
46026 {
32fe5131 46027 arg2 = static_cast<wxRelationship >(SWIG_As_int(obj1));
093d3ff1
RD
46028 if (SWIG_arg_fail(2)) SWIG_fail;
46029 }
d14a1e28
RD
46030 {
46031 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 46032 (arg1)->SetRelationship(arg2);
d14a1e28
RD
46033
46034 wxPyEndAllowThreads(__tstate);
46035 if (PyErr_Occurred()) SWIG_fail;
46036 }
46037 Py_INCREF(Py_None); resultobj = Py_None;
46038 return resultobj;
46039 fail:
46040 return NULL;
46041}
46042
46043
c32bde28 46044static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 46045 PyObject *resultobj = NULL;
d14a1e28
RD
46046 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
46047 wxWindow *arg2 = (wxWindow *) 0 ;
46048 bool result;
46049 PyObject * obj0 = 0 ;
46050 PyObject * obj1 = 0 ;
46051 char *kwnames[] = {
46052 (char *) "self",(char *) "otherW", NULL
46053 };
46054
46055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
46056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
46057 if (SWIG_arg_fail(1)) SWIG_fail;
46058 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
46059 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
46060 {
46061 PyThreadState* __tstate = wxPyBeginAllowThreads();
46062 result = (bool)(arg1)->ResetIfWin(arg2);
46063
46064 wxPyEndAllowThreads(__tstate);
46065 if (PyErr_Occurred()) SWIG_fail;
46066 }
4f89f6a3
RD
46067 {
46068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46069 }
d14a1e28
RD
46070 return resultobj;
46071 fail:
46072 return NULL;
46073}
46074
46075
c32bde28 46076static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 46077 PyObject *resultobj = NULL;
d14a1e28
RD
46078 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
46079 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
46080 wxWindow *arg3 = (wxWindow *) 0 ;
46081 bool result;
46082 PyObject * obj0 = 0 ;
46083 PyObject * obj1 = 0 ;
46084 PyObject * obj2 = 0 ;
46085 char *kwnames[] = {
46086 (char *) "self",(char *) "constraints",(char *) "win", NULL
46087 };
46088
46089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
46090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
46091 if (SWIG_arg_fail(1)) SWIG_fail;
46092 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
46093 if (SWIG_arg_fail(2)) SWIG_fail;
46094 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
46095 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
46096 {
46097 PyThreadState* __tstate = wxPyBeginAllowThreads();
46098 result = (bool)(arg1)->SatisfyConstraint(arg2,arg3);
46099
46100 wxPyEndAllowThreads(__tstate);
46101 if (PyErr_Occurred()) SWIG_fail;
46102 }
4f89f6a3
RD
46103 {
46104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46105 }
d14a1e28
RD
46106 return resultobj;
46107 fail:
46108 return NULL;
46109}
46110
46111
c32bde28 46112static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 46113 PyObject *resultobj = NULL;
d14a1e28 46114 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
093d3ff1 46115 wxEdge arg2 ;
d14a1e28
RD
46116 wxWindow *arg3 = (wxWindow *) 0 ;
46117 wxWindow *arg4 = (wxWindow *) 0 ;
46118 int result;
46119 PyObject * obj0 = 0 ;
994141e6 46120 PyObject * obj1 = 0 ;
d14a1e28
RD
46121 PyObject * obj2 = 0 ;
46122 PyObject * obj3 = 0 ;
46123 char *kwnames[] = {
46124 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
46125 };
46126
994141e6 46127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
46128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0);
46129 if (SWIG_arg_fail(1)) SWIG_fail;
46130 {
32fe5131 46131 arg2 = static_cast<wxEdge >(SWIG_As_int(obj1));
093d3ff1
RD
46132 if (SWIG_arg_fail(2)) SWIG_fail;
46133 }
46134 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
46135 if (SWIG_arg_fail(3)) SWIG_fail;
46136 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
46137 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
46138 {
46139 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 46140 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge(arg2,arg3,arg4);
d14a1e28
RD
46141
46142 wxPyEndAllowThreads(__tstate);
46143 if (PyErr_Occurred()) SWIG_fail;
46144 }
093d3ff1 46145 {
32fe5131 46146 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 46147 }
d14a1e28
RD
46148 return resultobj;
46149 fail:
46150 return NULL;
46151}
46152
46153
c32bde28 46154static PyObject * IndividualLayoutConstraint_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
46155 PyObject *obj;
46156 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
46157 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint, obj);
46158 Py_INCREF(obj);
46159 return Py_BuildValue((char *)"");
46160}
c32bde28 46161static PyObject *_wrap_LayoutConstraints_left_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 46162 PyObject *resultobj = NULL;
d14a1e28
RD
46163 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
46164 wxIndividualLayoutConstraint *result;
46165 PyObject * obj0 = 0 ;
46166 char *kwnames[] = {
46167 (char *) "self", NULL
46168 };
46169
46170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_left_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
46171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
46172 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
46173 result = (wxIndividualLayoutConstraint *)& ((arg1)->left);
46174
15afbcd0 46175 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
46176 return resultobj;
46177 fail:
46178 return NULL;
46179}
46180
46181
c32bde28 46182static PyObject *_wrap_LayoutConstraints_top_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 46183 PyObject *resultobj = NULL;
d14a1e28
RD
46184 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
46185 wxIndividualLayoutConstraint *result;
46186 PyObject * obj0 = 0 ;
46187 char *kwnames[] = {
46188 (char *) "self", NULL
46189 };
46190
46191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_top_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
46192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
46193 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
46194 result = (wxIndividualLayoutConstraint *)& ((arg1)->top);
46195
15afbcd0 46196 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
46197 return resultobj;
46198 fail:
46199 return NULL;
46200}
46201
46202
c32bde28 46203static PyObject *_wrap_LayoutConstraints_right_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 46204 PyObject *resultobj = NULL;
d14a1e28
RD
46205 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
46206 wxIndividualLayoutConstraint *result;
46207 PyObject * obj0 = 0 ;
46208 char *kwnames[] = {
46209 (char *) "self", NULL
46210 };
46211
46212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_right_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
46213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
46214 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
46215 result = (wxIndividualLayoutConstraint *)& ((arg1)->right);
46216
15afbcd0 46217 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
46218 return resultobj;
46219 fail:
46220 return NULL;
46221}
46222
46223
c32bde28 46224static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 46225 PyObject *resultobj = NULL;
d14a1e28
RD
46226 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
46227 wxIndividualLayoutConstraint *result;
46228 PyObject * obj0 = 0 ;
46229 char *kwnames[] = {
46230 (char *) "self", NULL
46231 };
46232
46233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_bottom_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
46234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
46235 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
46236 result = (wxIndividualLayoutConstraint *)& ((arg1)->bottom);
46237
15afbcd0 46238 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
46239 return resultobj;
46240 fail:
46241 return NULL;
46242}
46243
46244
c32bde28 46245static PyObject *_wrap_LayoutConstraints_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 46246 PyObject *resultobj = NULL;
d14a1e28
RD
46247 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
46248 wxIndividualLayoutConstraint *result;
46249 PyObject * obj0 = 0 ;
46250 char *kwnames[] = {
46251 (char *) "self", NULL
46252 };
46253
46254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_width_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
46255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
46256 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
46257 result = (wxIndividualLayoutConstraint *)& ((arg1)->width);
46258
15afbcd0 46259 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
46260 return resultobj;
46261 fail:
46262 return NULL;
46263}
46264
46265
c32bde28 46266static PyObject *_wrap_LayoutConstraints_height_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 46267 PyObject *resultobj = NULL;
d14a1e28
RD
46268 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
46269 wxIndividualLayoutConstraint *result;
46270 PyObject * obj0 = 0 ;
46271 char *kwnames[] = {
46272 (char *) "self", NULL
46273 };
46274
46275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_height_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
46276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
46277 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
46278 result = (wxIndividualLayoutConstraint *)& ((arg1)->height);
46279
15afbcd0 46280 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
46281 return resultobj;
46282 fail:
46283 return NULL;
46284}
46285
46286
c32bde28 46287static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 46288 PyObject *resultobj = NULL;
d14a1e28
RD
46289 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
46290 wxIndividualLayoutConstraint *result;
46291 PyObject * obj0 = 0 ;
46292 char *kwnames[] = {
46293 (char *) "self", NULL
46294 };
46295
46296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreX_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
46297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
46298 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
46299 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreX);
46300
15afbcd0 46301 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
46302 return resultobj;
46303 fail:
46304 return NULL;
46305}
46306
46307
c32bde28 46308static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 46309 PyObject *resultobj = NULL;
d14a1e28
RD
46310 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
46311 wxIndividualLayoutConstraint *result;
46312 PyObject * obj0 = 0 ;
46313 char *kwnames[] = {
46314 (char *) "self", NULL
46315 };
46316
46317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreY_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
46318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
46319 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
46320 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreY);
46321
15afbcd0 46322 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
46323 return resultobj;
46324 fail:
46325 return NULL;
46326}
46327
46328
c32bde28 46329static PyObject *_wrap_new_LayoutConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 46330 PyObject *resultobj = NULL;
d14a1e28
RD
46331 wxLayoutConstraints *result;
46332 char *kwnames[] = {
46333 NULL
46334 };
46335
46336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutConstraints",kwnames)) goto fail;
46337 {
46338 PyThreadState* __tstate = wxPyBeginAllowThreads();
46339 result = (wxLayoutConstraints *)new wxLayoutConstraints();
46340
46341 wxPyEndAllowThreads(__tstate);
46342 if (PyErr_Occurred()) SWIG_fail;
46343 }
15afbcd0 46344 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 1);
d14a1e28
RD
46345 return resultobj;
46346 fail:
46347 return NULL;
46348}
46349
46350
c32bde28 46351static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 46352 PyObject *resultobj = NULL;
d14a1e28
RD
46353 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
46354 wxWindow *arg2 = (wxWindow *) 0 ;
46355 int *arg3 = (int *) 0 ;
46356 bool result;
46357 int temp3 ;
c32bde28 46358 int res3 = 0 ;
d14a1e28
RD
46359 PyObject * obj0 = 0 ;
46360 PyObject * obj1 = 0 ;
46361 char *kwnames[] = {
46362 (char *) "self",(char *) "win", NULL
46363 };
46364
c32bde28 46365 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 46366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
46367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
46368 if (SWIG_arg_fail(1)) SWIG_fail;
46369 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
46370 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
46371 {
46372 PyThreadState* __tstate = wxPyBeginAllowThreads();
46373 result = (bool)(arg1)->SatisfyConstraints(arg2,arg3);
46374
46375 wxPyEndAllowThreads(__tstate);
46376 if (PyErr_Occurred()) SWIG_fail;
46377 }
4f89f6a3
RD
46378 {
46379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46380 }
c32bde28
RD
46381 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
46382 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
46383 return resultobj;
46384 fail:
46385 return NULL;
46386}
46387
46388
c32bde28 46389static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 46390 PyObject *resultobj = NULL;
d14a1e28
RD
46391 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
46392 bool result;
46393 PyObject * obj0 = 0 ;
46394 char *kwnames[] = {
46395 (char *) "self", NULL
46396 };
46397
46398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail;
093d3ff1
RD
46399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0);
46400 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
46401 {
46402 PyThreadState* __tstate = wxPyBeginAllowThreads();
46403 result = (bool)((wxLayoutConstraints const *)arg1)->AreSatisfied();
46404
46405 wxPyEndAllowThreads(__tstate);
46406 if (PyErr_Occurred()) SWIG_fail;
46407 }
4f89f6a3
RD
46408 {
46409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46410 }
d14a1e28
RD
46411 return resultobj;
46412 fail:
46413 return NULL;
46414}
46415
46416
c32bde28 46417static PyObject * LayoutConstraints_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
46418 PyObject *obj;
46419 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
46420 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints, obj);
46421 Py_INCREF(obj);
46422 return Py_BuildValue((char *)"");
46423}
46424static PyMethodDef SwigMethods[] = {
093d3ff1
RD
46425 { (char *)"_wxPySetDictionary", __wxPySetDictionary, METH_VARARGS, NULL},
46426 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects, METH_VARARGS, NULL},
46427 { (char *)"Object_GetClassName", (PyCFunction) _wrap_Object_GetClassName, METH_VARARGS | METH_KEYWORDS, NULL},
46428 { (char *)"Object_Destroy", (PyCFunction) _wrap_Object_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
46429 { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS, NULL},
46430 { (char *)"Size_width_set", (PyCFunction) _wrap_Size_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
46431 { (char *)"Size_width_get", (PyCFunction) _wrap_Size_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
46432 { (char *)"Size_height_set", (PyCFunction) _wrap_Size_height_set, METH_VARARGS | METH_KEYWORDS, NULL},
46433 { (char *)"Size_height_get", (PyCFunction) _wrap_Size_height_get, METH_VARARGS | METH_KEYWORDS, NULL},
46434 { (char *)"new_Size", (PyCFunction) _wrap_new_Size, METH_VARARGS | METH_KEYWORDS, NULL},
46435 { (char *)"delete_Size", (PyCFunction) _wrap_delete_Size, METH_VARARGS | METH_KEYWORDS, NULL},
46436 { (char *)"Size___eq__", (PyCFunction) _wrap_Size___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
46437 { (char *)"Size___ne__", (PyCFunction) _wrap_Size___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
46438 { (char *)"Size___add__", (PyCFunction) _wrap_Size___add__, METH_VARARGS | METH_KEYWORDS, NULL},
46439 { (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS, NULL},
46440 { (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS, NULL},
46441 { (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS, NULL},
46442 { (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS, NULL},
46443 { (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46444 { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
46445 { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46446 { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
46447 { (char *)"Size_IsFullySpecified", (PyCFunction) _wrap_Size_IsFullySpecified, METH_VARARGS | METH_KEYWORDS, NULL},
46448 { (char *)"Size_SetDefaults", (PyCFunction) _wrap_Size_SetDefaults, METH_VARARGS | METH_KEYWORDS, NULL},
46449 { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS, NULL},
46450 { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS, NULL},
46451 { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS, NULL},
46452 { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS, NULL},
46453 { (char *)"RealPoint_y_set", (PyCFunction) _wrap_RealPoint_y_set, METH_VARARGS | METH_KEYWORDS, NULL},
46454 { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS, NULL},
46455 { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS, NULL},
46456 { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS, NULL},
46457 { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
46458 { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
46459 { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS, NULL},
46460 { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS, NULL},
46461 { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS, NULL},
46462 { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS, NULL},
46463 { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS, NULL},
46464 { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS, NULL},
46465 { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS, NULL},
46466 { (char *)"Point_y_set", (PyCFunction) _wrap_Point_y_set, METH_VARARGS | METH_KEYWORDS, NULL},
46467 { (char *)"Point_y_get", (PyCFunction) _wrap_Point_y_get, METH_VARARGS | METH_KEYWORDS, NULL},
46468 { (char *)"new_Point", (PyCFunction) _wrap_new_Point, METH_VARARGS | METH_KEYWORDS, NULL},
46469 { (char *)"delete_Point", (PyCFunction) _wrap_delete_Point, METH_VARARGS | METH_KEYWORDS, NULL},
46470 { (char *)"Point___eq__", (PyCFunction) _wrap_Point___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
46471 { (char *)"Point___ne__", (PyCFunction) _wrap_Point___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
46472 { (char *)"Point___add__", (PyCFunction) _wrap_Point___add__, METH_VARARGS | METH_KEYWORDS, NULL},
46473 { (char *)"Point___sub__", (PyCFunction) _wrap_Point___sub__, METH_VARARGS | METH_KEYWORDS, NULL},
46474 { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS, NULL},
46475 { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS, NULL},
46476 { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS, NULL},
46477 { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS, NULL},
46478 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS, NULL},
46479 { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS, NULL},
46480 { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS, NULL},
46481 { (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS, NULL},
46482 { (char *)"new_RectS", (PyCFunction) _wrap_new_RectS, METH_VARARGS | METH_KEYWORDS, NULL},
46483 { (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS, NULL},
46484 { (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
46485 { (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS, NULL},
46486 { (char *)"Rect_GetY", (PyCFunction) _wrap_Rect_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
46487 { (char *)"Rect_SetY", (PyCFunction) _wrap_Rect_SetY, METH_VARARGS | METH_KEYWORDS, NULL},
46488 { (char *)"Rect_GetWidth", (PyCFunction) _wrap_Rect_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46489 { (char *)"Rect_SetWidth", (PyCFunction) _wrap_Rect_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46490 { (char *)"Rect_GetHeight", (PyCFunction) _wrap_Rect_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
46491 { (char *)"Rect_SetHeight", (PyCFunction) _wrap_Rect_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
46492 { (char *)"Rect_GetPosition", (PyCFunction) _wrap_Rect_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46493 { (char *)"Rect_SetPosition", (PyCFunction) _wrap_Rect_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46494 { (char *)"Rect_GetSize", (PyCFunction) _wrap_Rect_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
46495 { (char *)"Rect_SetSize", (PyCFunction) _wrap_Rect_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
aff4cc5c 46496 { (char *)"Rect_IsEmpty", (PyCFunction) _wrap_Rect_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
46497 { (char *)"Rect_GetTopLeft", (PyCFunction) _wrap_Rect_GetTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
46498 { (char *)"Rect_SetTopLeft", (PyCFunction) _wrap_Rect_SetTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
46499 { (char *)"Rect_GetBottomRight", (PyCFunction) _wrap_Rect_GetBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
46500 { (char *)"Rect_SetBottomRight", (PyCFunction) _wrap_Rect_SetBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
46501 { (char *)"Rect_GetLeft", (PyCFunction) _wrap_Rect_GetLeft, METH_VARARGS | METH_KEYWORDS, NULL},
46502 { (char *)"Rect_GetTop", (PyCFunction) _wrap_Rect_GetTop, METH_VARARGS | METH_KEYWORDS, NULL},
46503 { (char *)"Rect_GetBottom", (PyCFunction) _wrap_Rect_GetBottom, METH_VARARGS | METH_KEYWORDS, NULL},
46504 { (char *)"Rect_GetRight", (PyCFunction) _wrap_Rect_GetRight, METH_VARARGS | METH_KEYWORDS, NULL},
46505 { (char *)"Rect_SetLeft", (PyCFunction) _wrap_Rect_SetLeft, METH_VARARGS | METH_KEYWORDS, NULL},
46506 { (char *)"Rect_SetRight", (PyCFunction) _wrap_Rect_SetRight, METH_VARARGS | METH_KEYWORDS, NULL},
46507 { (char *)"Rect_SetTop", (PyCFunction) _wrap_Rect_SetTop, METH_VARARGS | METH_KEYWORDS, NULL},
46508 { (char *)"Rect_SetBottom", (PyCFunction) _wrap_Rect_SetBottom, METH_VARARGS | METH_KEYWORDS, NULL},
46509 { (char *)"Rect_Inflate", (PyCFunction) _wrap_Rect_Inflate, METH_VARARGS | METH_KEYWORDS, NULL},
46510 { (char *)"Rect_Deflate", (PyCFunction) _wrap_Rect_Deflate, METH_VARARGS | METH_KEYWORDS, NULL},
46511 { (char *)"Rect_OffsetXY", (PyCFunction) _wrap_Rect_OffsetXY, METH_VARARGS | METH_KEYWORDS, NULL},
46512 { (char *)"Rect_Offset", (PyCFunction) _wrap_Rect_Offset, METH_VARARGS | METH_KEYWORDS, NULL},
46513 { (char *)"Rect_Intersect", (PyCFunction) _wrap_Rect_Intersect, METH_VARARGS | METH_KEYWORDS, NULL},
46514 { (char *)"Rect_Union", (PyCFunction) _wrap_Rect_Union, METH_VARARGS | METH_KEYWORDS, NULL},
46515 { (char *)"Rect___add__", (PyCFunction) _wrap_Rect___add__, METH_VARARGS | METH_KEYWORDS, NULL},
46516 { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS, NULL},
46517 { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
46518 { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
46519 { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS, NULL},
46520 { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS, NULL},
46521 { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS, NULL},
b1fcee84 46522 { (char *)"Rect_CenterIn", (PyCFunction) _wrap_Rect_CenterIn, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
46523 { (char *)"Rect_x_set", (PyCFunction) _wrap_Rect_x_set, METH_VARARGS | METH_KEYWORDS, NULL},
46524 { (char *)"Rect_x_get", (PyCFunction) _wrap_Rect_x_get, METH_VARARGS | METH_KEYWORDS, NULL},
46525 { (char *)"Rect_y_set", (PyCFunction) _wrap_Rect_y_set, METH_VARARGS | METH_KEYWORDS, NULL},
46526 { (char *)"Rect_y_get", (PyCFunction) _wrap_Rect_y_get, METH_VARARGS | METH_KEYWORDS, NULL},
46527 { (char *)"Rect_width_set", (PyCFunction) _wrap_Rect_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
46528 { (char *)"Rect_width_get", (PyCFunction) _wrap_Rect_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
46529 { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS, NULL},
46530 { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS, NULL},
46531 { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS, NULL},
46532 { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS, NULL},
46533 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS, NULL},
46534 { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS, NULL},
46535 { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS, NULL},
46536 { (char *)"new_Point2DCopy", (PyCFunction) _wrap_new_Point2DCopy, METH_VARARGS | METH_KEYWORDS, NULL},
46537 { (char *)"new_Point2DFromPoint", (PyCFunction) _wrap_new_Point2DFromPoint, METH_VARARGS | METH_KEYWORDS, NULL},
46538 { (char *)"Point2D_GetFloor", (PyCFunction) _wrap_Point2D_GetFloor, METH_VARARGS | METH_KEYWORDS, NULL},
46539 { (char *)"Point2D_GetRounded", (PyCFunction) _wrap_Point2D_GetRounded, METH_VARARGS | METH_KEYWORDS, NULL},
46540 { (char *)"Point2D_GetVectorLength", (PyCFunction) _wrap_Point2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS, NULL},
46541 { (char *)"Point2D_GetVectorAngle", (PyCFunction) _wrap_Point2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS, NULL},
46542 { (char *)"Point2D_SetVectorLength", (PyCFunction) _wrap_Point2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS, NULL},
46543 { (char *)"Point2D_SetVectorAngle", (PyCFunction) _wrap_Point2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS, NULL},
46544 { (char *)"Point2D_GetDistance", (PyCFunction) _wrap_Point2D_GetDistance, METH_VARARGS | METH_KEYWORDS, NULL},
46545 { (char *)"Point2D_GetDistanceSquare", (PyCFunction) _wrap_Point2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS, NULL},
46546 { (char *)"Point2D_GetDotProduct", (PyCFunction) _wrap_Point2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS, NULL},
46547 { (char *)"Point2D_GetCrossProduct", (PyCFunction) _wrap_Point2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS, NULL},
46548 { (char *)"Point2D___neg__", (PyCFunction) _wrap_Point2D___neg__, METH_VARARGS | METH_KEYWORDS, NULL},
46549 { (char *)"Point2D___iadd__", (PyCFunction) _wrap_Point2D___iadd__, METH_VARARGS | METH_KEYWORDS, NULL},
46550 { (char *)"Point2D___isub__", (PyCFunction) _wrap_Point2D___isub__, METH_VARARGS | METH_KEYWORDS, NULL},
46551 { (char *)"Point2D___imul__", (PyCFunction) _wrap_Point2D___imul__, METH_VARARGS | METH_KEYWORDS, NULL},
46552 { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS, NULL},
46553 { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
46554 { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
46555 { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS, NULL},
46556 { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS, NULL},
46557 { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS, NULL},
46558 { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS, NULL},
46559 { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS, NULL},
46560 { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS, NULL},
46561 { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS, NULL},
46562 { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS, NULL},
46563 { (char *)"delete_InputStream", (PyCFunction) _wrap_delete_InputStream, METH_VARARGS | METH_KEYWORDS, NULL},
46564 { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS, NULL},
46565 { (char *)"InputStream_flush", (PyCFunction) _wrap_InputStream_flush, METH_VARARGS | METH_KEYWORDS, NULL},
46566 { (char *)"InputStream_eof", (PyCFunction) _wrap_InputStream_eof, METH_VARARGS | METH_KEYWORDS, NULL},
46567 { (char *)"InputStream_read", (PyCFunction) _wrap_InputStream_read, METH_VARARGS | METH_KEYWORDS, NULL},
46568 { (char *)"InputStream_readline", (PyCFunction) _wrap_InputStream_readline, METH_VARARGS | METH_KEYWORDS, NULL},
46569 { (char *)"InputStream_readlines", (PyCFunction) _wrap_InputStream_readlines, METH_VARARGS | METH_KEYWORDS, NULL},
46570 { (char *)"InputStream_seek", (PyCFunction) _wrap_InputStream_seek, METH_VARARGS | METH_KEYWORDS, NULL},
46571 { (char *)"InputStream_tell", (PyCFunction) _wrap_InputStream_tell, METH_VARARGS | METH_KEYWORDS, NULL},
46572 { (char *)"InputStream_Peek", (PyCFunction) _wrap_InputStream_Peek, METH_VARARGS | METH_KEYWORDS, NULL},
46573 { (char *)"InputStream_GetC", (PyCFunction) _wrap_InputStream_GetC, METH_VARARGS | METH_KEYWORDS, NULL},
46574 { (char *)"InputStream_LastRead", (PyCFunction) _wrap_InputStream_LastRead, METH_VARARGS | METH_KEYWORDS, NULL},
46575 { (char *)"InputStream_CanRead", (PyCFunction) _wrap_InputStream_CanRead, METH_VARARGS | METH_KEYWORDS, NULL},
46576 { (char *)"InputStream_Eof", (PyCFunction) _wrap_InputStream_Eof, METH_VARARGS | METH_KEYWORDS, NULL},
46577 { (char *)"InputStream_Ungetch", (PyCFunction) _wrap_InputStream_Ungetch, METH_VARARGS | METH_KEYWORDS, NULL},
46578 { (char *)"InputStream_SeekI", (PyCFunction) _wrap_InputStream_SeekI, METH_VARARGS | METH_KEYWORDS, NULL},
46579 { (char *)"InputStream_TellI", (PyCFunction) _wrap_InputStream_TellI, METH_VARARGS | METH_KEYWORDS, NULL},
46580 { (char *)"InputStream_swigregister", InputStream_swigregister, METH_VARARGS, NULL},
46581 { (char *)"OutputStream_write", (PyCFunction) _wrap_OutputStream_write, METH_VARARGS | METH_KEYWORDS, NULL},
46582 { (char *)"OutputStream_swigregister", OutputStream_swigregister, METH_VARARGS, NULL},
46583 { (char *)"new_FSFile", (PyCFunction) _wrap_new_FSFile, METH_VARARGS | METH_KEYWORDS, NULL},
46584 { (char *)"delete_FSFile", (PyCFunction) _wrap_delete_FSFile, METH_VARARGS | METH_KEYWORDS, NULL},
46585 { (char *)"FSFile_GetStream", (PyCFunction) _wrap_FSFile_GetStream, METH_VARARGS | METH_KEYWORDS, NULL},
46586 { (char *)"FSFile_GetMimeType", (PyCFunction) _wrap_FSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
46587 { (char *)"FSFile_GetLocation", (PyCFunction) _wrap_FSFile_GetLocation, METH_VARARGS | METH_KEYWORDS, NULL},
46588 { (char *)"FSFile_GetAnchor", (PyCFunction) _wrap_FSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
46589 { (char *)"FSFile_GetModificationTime", (PyCFunction) _wrap_FSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS, NULL},
46590 { (char *)"FSFile_swigregister", FSFile_swigregister, METH_VARARGS, NULL},
46591 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister, METH_VARARGS, NULL},
46592 { (char *)"new_FileSystemHandler", (PyCFunction) _wrap_new_FileSystemHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46593 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction) _wrap_FileSystemHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
46594 { (char *)"FileSystemHandler_CanOpen", (PyCFunction) _wrap_FileSystemHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL},
46595 { (char *)"FileSystemHandler_OpenFile", (PyCFunction) _wrap_FileSystemHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL},
46596 { (char *)"FileSystemHandler_FindFirst", (PyCFunction) _wrap_FileSystemHandler_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL},
46597 { (char *)"FileSystemHandler_FindNext", (PyCFunction) _wrap_FileSystemHandler_FindNext, METH_VARARGS | METH_KEYWORDS, NULL},
46598 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction) _wrap_FileSystemHandler_GetProtocol, METH_VARARGS | METH_KEYWORDS, NULL},
46599 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction) _wrap_FileSystemHandler_GetLeftLocation, METH_VARARGS | METH_KEYWORDS, NULL},
46600 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction) _wrap_FileSystemHandler_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
46601 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction) _wrap_FileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS, NULL},
46602 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_FileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS, NULL},
46603 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister, METH_VARARGS, NULL},
46604 { (char *)"new_FileSystem", (PyCFunction) _wrap_new_FileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
46605 { (char *)"delete_FileSystem", (PyCFunction) _wrap_delete_FileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
46606 { (char *)"FileSystem_ChangePathTo", (PyCFunction) _wrap_FileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS, NULL},
46607 { (char *)"FileSystem_GetPath", (PyCFunction) _wrap_FileSystem_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
46608 { (char *)"FileSystem_OpenFile", (PyCFunction) _wrap_FileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL},
46609 { (char *)"FileSystem_FindFirst", (PyCFunction) _wrap_FileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL},
46610 { (char *)"FileSystem_FindNext", (PyCFunction) _wrap_FileSystem_FindNext, METH_VARARGS | METH_KEYWORDS, NULL},
46611 { (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46612 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS, NULL},
46613 { (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS, NULL},
46614 { (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS, NULL},
46615 { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS, NULL},
46616 { (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46617 { (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL},
46618 { (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL},
46619 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister, METH_VARARGS, NULL},
46620 { (char *)"new_ZipFSHandler", (PyCFunction) _wrap_new_ZipFSHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46621 { (char *)"ZipFSHandler_CanOpen", (PyCFunction) _wrap_ZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL},
46622 { (char *)"ZipFSHandler_OpenFile", (PyCFunction) _wrap_ZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL},
46623 { (char *)"ZipFSHandler_FindFirst", (PyCFunction) _wrap_ZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL},
46624 { (char *)"ZipFSHandler_FindNext", (PyCFunction) _wrap_ZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS, NULL},
46625 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister, METH_VARARGS, NULL},
46626 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS, NULL},
46627 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46628 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS, NULL},
46629 { (char *)"new_MemoryFSHandler", (PyCFunction) _wrap_new_MemoryFSHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46630 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction) _wrap_MemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS, NULL},
46631 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction) _wrap_MemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL},
46632 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction) _wrap_MemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL},
46633 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction) _wrap_MemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL},
46634 { (char *)"MemoryFSHandler_FindNext", (PyCFunction) _wrap_MemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS, NULL},
46635 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister, METH_VARARGS, NULL},
46636 { (char *)"ImageHandler_GetName", (PyCFunction) _wrap_ImageHandler_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
46637 { (char *)"ImageHandler_GetExtension", (PyCFunction) _wrap_ImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS, NULL},
46638 { (char *)"ImageHandler_GetType", (PyCFunction) _wrap_ImageHandler_GetType, METH_VARARGS | METH_KEYWORDS, NULL},
46639 { (char *)"ImageHandler_GetMimeType", (PyCFunction) _wrap_ImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
46640 { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS, NULL},
46641 { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS, NULL},
46642 { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS, NULL},
46643 { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS, NULL},
46644 { (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
46645 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS, NULL},
943e8dfd
RD
46646 { (char *)"new_PyImageHandler", (PyCFunction) _wrap_new_PyImageHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46647 { (char *)"PyImageHandler__SetSelf", (PyCFunction) _wrap_PyImageHandler__SetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
46648 { (char *)"PyImageHandler_swigregister", PyImageHandler_swigregister, METH_VARARGS, NULL},
093d3ff1
RD
46649 { (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS, NULL},
46650 { (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS, NULL},
46651 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS, NULL},
f1cbd8fa
RD
46652 { (char *)"ImageHistogram_GetCount", (PyCFunction) _wrap_ImageHistogram_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
46653 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction) _wrap_ImageHistogram_GetCountRGB, METH_VARARGS | METH_KEYWORDS, NULL},
46654 { (char *)"ImageHistogram_GetCountColour", (PyCFunction) _wrap_ImageHistogram_GetCountColour, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 46655 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS, NULL},
943e8dfd
RD
46656 { (char *)"new_Image_RGBValue", (PyCFunction) _wrap_new_Image_RGBValue, METH_VARARGS | METH_KEYWORDS, NULL},
46657 { (char *)"Image_RGBValue_red_set", (PyCFunction) _wrap_Image_RGBValue_red_set, METH_VARARGS | METH_KEYWORDS, NULL},
46658 { (char *)"Image_RGBValue_red_get", (PyCFunction) _wrap_Image_RGBValue_red_get, METH_VARARGS | METH_KEYWORDS, NULL},
46659 { (char *)"Image_RGBValue_green_set", (PyCFunction) _wrap_Image_RGBValue_green_set, METH_VARARGS | METH_KEYWORDS, NULL},
46660 { (char *)"Image_RGBValue_green_get", (PyCFunction) _wrap_Image_RGBValue_green_get, METH_VARARGS | METH_KEYWORDS, NULL},
46661 { (char *)"Image_RGBValue_blue_set", (PyCFunction) _wrap_Image_RGBValue_blue_set, METH_VARARGS | METH_KEYWORDS, NULL},
46662 { (char *)"Image_RGBValue_blue_get", (PyCFunction) _wrap_Image_RGBValue_blue_get, METH_VARARGS | METH_KEYWORDS, NULL},
46663 { (char *)"Image_RGBValue_swigregister", Image_RGBValue_swigregister, METH_VARARGS, NULL},
46664 { (char *)"new_Image_HSVValue", (PyCFunction) _wrap_new_Image_HSVValue, METH_VARARGS | METH_KEYWORDS, NULL},
46665 { (char *)"Image_HSVValue_hue_set", (PyCFunction) _wrap_Image_HSVValue_hue_set, METH_VARARGS | METH_KEYWORDS, NULL},
46666 { (char *)"Image_HSVValue_hue_get", (PyCFunction) _wrap_Image_HSVValue_hue_get, METH_VARARGS | METH_KEYWORDS, NULL},
46667 { (char *)"Image_HSVValue_saturation_set", (PyCFunction) _wrap_Image_HSVValue_saturation_set, METH_VARARGS | METH_KEYWORDS, NULL},
46668 { (char *)"Image_HSVValue_saturation_get", (PyCFunction) _wrap_Image_HSVValue_saturation_get, METH_VARARGS | METH_KEYWORDS, NULL},
46669 { (char *)"Image_HSVValue_value_set", (PyCFunction) _wrap_Image_HSVValue_value_set, METH_VARARGS | METH_KEYWORDS, NULL},
46670 { (char *)"Image_HSVValue_value_get", (PyCFunction) _wrap_Image_HSVValue_value_get, METH_VARARGS | METH_KEYWORDS, NULL},
46671 { (char *)"Image_HSVValue_swigregister", Image_HSVValue_swigregister, METH_VARARGS, NULL},
093d3ff1
RD
46672 { (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS, NULL},
46673 { (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS, NULL},
46674 { (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS, NULL},
46675 { (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS, NULL},
46676 { (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS, NULL},
46677 { (char *)"new_EmptyImage", (PyCFunction) _wrap_new_EmptyImage, METH_VARARGS | METH_KEYWORDS, NULL},
46678 { (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46679 { (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS, NULL},
46680 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction) _wrap_new_ImageFromDataWithAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
46681 { (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46682 { (char *)"Image_Destroy", (PyCFunction) _wrap_Image_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
46683 { (char *)"Image_Scale", (PyCFunction) _wrap_Image_Scale, METH_VARARGS | METH_KEYWORDS, NULL},
46684 { (char *)"Image_ShrinkBy", (PyCFunction) _wrap_Image_ShrinkBy, METH_VARARGS | METH_KEYWORDS, NULL},
46685 { (char *)"Image_Rescale", (PyCFunction) _wrap_Image_Rescale, METH_VARARGS | METH_KEYWORDS, NULL},
aff4cc5c 46686 { (char *)"Image_Resize", (PyCFunction) _wrap_Image_Resize, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 46687 { (char *)"Image_SetRGB", (PyCFunction) _wrap_Image_SetRGB, METH_VARARGS | METH_KEYWORDS, NULL},
aff4cc5c 46688 { (char *)"Image_SetRGBRect", (PyCFunction) _wrap_Image_SetRGBRect, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
46689 { (char *)"Image_GetRed", (PyCFunction) _wrap_Image_GetRed, METH_VARARGS | METH_KEYWORDS, NULL},
46690 { (char *)"Image_GetGreen", (PyCFunction) _wrap_Image_GetGreen, METH_VARARGS | METH_KEYWORDS, NULL},
46691 { (char *)"Image_GetBlue", (PyCFunction) _wrap_Image_GetBlue, METH_VARARGS | METH_KEYWORDS, NULL},
46692 { (char *)"Image_SetAlpha", (PyCFunction) _wrap_Image_SetAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
46693 { (char *)"Image_GetAlpha", (PyCFunction) _wrap_Image_GetAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
46694 { (char *)"Image_HasAlpha", (PyCFunction) _wrap_Image_HasAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
68350608 46695 { (char *)"Image_InitAlpha", (PyCFunction) _wrap_Image_InitAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
bcd0d7b6 46696 { (char *)"Image_IsTransparent", (PyCFunction) _wrap_Image_IsTransparent, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
46697 { (char *)"Image_FindFirstUnusedColour", (PyCFunction) _wrap_Image_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS, NULL},
46698 { (char *)"Image_ConvertAlphaToMask", (PyCFunction) _wrap_Image_ConvertAlphaToMask, METH_VARARGS | METH_KEYWORDS, NULL},
46699 { (char *)"Image_ConvertColourToAlpha", (PyCFunction) _wrap_Image_ConvertColourToAlpha, METH_VARARGS | METH_KEYWORDS, NULL},
46700 { (char *)"Image_SetMaskFromImage", (PyCFunction) _wrap_Image_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS, NULL},
46701 { (char *)"Image_CanRead", (PyCFunction) _wrap_Image_CanRead, METH_VARARGS | METH_KEYWORDS, NULL},
46702 { (char *)"Image_GetImageCount", (PyCFunction) _wrap_Image_GetImageCount, METH_VARARGS | METH_KEYWORDS, NULL},
46703 { (char *)"Image_LoadFile", (PyCFunction) _wrap_Image_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
46704 { (char *)"Image_LoadMimeFile", (PyCFunction) _wrap_Image_LoadMimeFile, METH_VARARGS | METH_KEYWORDS, NULL},
46705 { (char *)"Image_SaveFile", (PyCFunction) _wrap_Image_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
46706 { (char *)"Image_SaveMimeFile", (PyCFunction) _wrap_Image_SaveMimeFile, METH_VARARGS | METH_KEYWORDS, NULL},
46707 { (char *)"Image_CanReadStream", (PyCFunction) _wrap_Image_CanReadStream, METH_VARARGS | METH_KEYWORDS, NULL},
46708 { (char *)"Image_LoadStream", (PyCFunction) _wrap_Image_LoadStream, METH_VARARGS | METH_KEYWORDS, NULL},
46709 { (char *)"Image_LoadMimeStream", (PyCFunction) _wrap_Image_LoadMimeStream, METH_VARARGS | METH_KEYWORDS, NULL},
46710 { (char *)"Image_Ok", (PyCFunction) _wrap_Image_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
46711 { (char *)"Image_GetWidth", (PyCFunction) _wrap_Image_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46712 { (char *)"Image_GetHeight", (PyCFunction) _wrap_Image_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
46713 { (char *)"Image_GetSize", (PyCFunction) _wrap_Image_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
46714 { (char *)"Image_GetSubImage", (PyCFunction) _wrap_Image_GetSubImage, METH_VARARGS | METH_KEYWORDS, NULL},
aff4cc5c 46715 { (char *)"Image_Size", (PyCFunction) _wrap_Image_Size, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
46716 { (char *)"Image_Copy", (PyCFunction) _wrap_Image_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
46717 { (char *)"Image_Paste", (PyCFunction) _wrap_Image_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
46718 { (char *)"Image_GetData", (PyCFunction) _wrap_Image_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
46719 { (char *)"Image_SetData", (PyCFunction) _wrap_Image_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
46720 { (char *)"Image_GetDataBuffer", (PyCFunction) _wrap_Image_GetDataBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
46721 { (char *)"Image_SetDataBuffer", (PyCFunction) _wrap_Image_SetDataBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
46722 { (char *)"Image_GetAlphaData", (PyCFunction) _wrap_Image_GetAlphaData, METH_VARARGS | METH_KEYWORDS, NULL},
46723 { (char *)"Image_SetAlphaData", (PyCFunction) _wrap_Image_SetAlphaData, METH_VARARGS | METH_KEYWORDS, NULL},
46724 { (char *)"Image_GetAlphaBuffer", (PyCFunction) _wrap_Image_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
46725 { (char *)"Image_SetAlphaBuffer", (PyCFunction) _wrap_Image_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
46726 { (char *)"Image_SetMaskColour", (PyCFunction) _wrap_Image_SetMaskColour, METH_VARARGS | METH_KEYWORDS, NULL},
aff4cc5c 46727 { (char *)"Image_GetOrFindMaskColour", (PyCFunction) _wrap_Image_GetOrFindMaskColour, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
46728 { (char *)"Image_GetMaskRed", (PyCFunction) _wrap_Image_GetMaskRed, METH_VARARGS | METH_KEYWORDS, NULL},
46729 { (char *)"Image_GetMaskGreen", (PyCFunction) _wrap_Image_GetMaskGreen, METH_VARARGS | METH_KEYWORDS, NULL},
46730 { (char *)"Image_GetMaskBlue", (PyCFunction) _wrap_Image_GetMaskBlue, METH_VARARGS | METH_KEYWORDS, NULL},
46731 { (char *)"Image_SetMask", (PyCFunction) _wrap_Image_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
46732 { (char *)"Image_HasMask", (PyCFunction) _wrap_Image_HasMask, METH_VARARGS | METH_KEYWORDS, NULL},
46733 { (char *)"Image_Rotate", (PyCFunction) _wrap_Image_Rotate, METH_VARARGS | METH_KEYWORDS, NULL},
46734 { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS, NULL},
46735 { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS, NULL},
46736 { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
32fe5131 46737 { (char *)"Image_ConvertToGreyscale", (PyCFunction) _wrap_Image_ConvertToGreyscale, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
46738 { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS, NULL},
46739 { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS, NULL},
46740 { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL},
46741 { (char *)"Image_GetOption", (PyCFunction) _wrap_Image_GetOption, METH_VARARGS | METH_KEYWORDS, NULL},
46742 { (char *)"Image_GetOptionInt", (PyCFunction) _wrap_Image_GetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL},
46743 { (char *)"Image_HasOption", (PyCFunction) _wrap_Image_HasOption, METH_VARARGS | METH_KEYWORDS, NULL},
46744 { (char *)"Image_CountColours", (PyCFunction) _wrap_Image_CountColours, METH_VARARGS | METH_KEYWORDS, NULL},
46745 { (char *)"Image_ComputeHistogram", (PyCFunction) _wrap_Image_ComputeHistogram, METH_VARARGS | METH_KEYWORDS, NULL},
46746 { (char *)"Image_AddHandler", (PyCFunction) _wrap_Image_AddHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46747 { (char *)"Image_InsertHandler", (PyCFunction) _wrap_Image_InsertHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46748 { (char *)"Image_RemoveHandler", (PyCFunction) _wrap_Image_RemoveHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46749 { (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
46750 { (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46751 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
943e8dfd
RD
46752 { (char *)"Image_RotateHue", (PyCFunction) _wrap_Image_RotateHue, METH_VARARGS | METH_KEYWORDS, NULL},
46753 { (char *)"Image_RGBtoHSV", (PyCFunction) _wrap_Image_RGBtoHSV, METH_VARARGS | METH_KEYWORDS, NULL},
46754 { (char *)"Image_HSVtoRGB", (PyCFunction) _wrap_Image_HSVtoRGB, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
46755 { (char *)"Image_swigregister", Image_swigregister, METH_VARARGS, NULL},
46756 { (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46757 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS, NULL},
46758 { (char *)"new_ICOHandler", (PyCFunction) _wrap_new_ICOHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46759 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister, METH_VARARGS, NULL},
46760 { (char *)"new_CURHandler", (PyCFunction) _wrap_new_CURHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46761 { (char *)"CURHandler_swigregister", CURHandler_swigregister, METH_VARARGS, NULL},
46762 { (char *)"new_ANIHandler", (PyCFunction) _wrap_new_ANIHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46763 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister, METH_VARARGS, NULL},
46764 { (char *)"new_PNGHandler", (PyCFunction) _wrap_new_PNGHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46765 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister, METH_VARARGS, NULL},
46766 { (char *)"new_GIFHandler", (PyCFunction) _wrap_new_GIFHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46767 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister, METH_VARARGS, NULL},
46768 { (char *)"new_PCXHandler", (PyCFunction) _wrap_new_PCXHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46769 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister, METH_VARARGS, NULL},
46770 { (char *)"new_JPEGHandler", (PyCFunction) _wrap_new_JPEGHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46771 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister, METH_VARARGS, NULL},
46772 { (char *)"new_PNMHandler", (PyCFunction) _wrap_new_PNMHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46773 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister, METH_VARARGS, NULL},
46774 { (char *)"new_XPMHandler", (PyCFunction) _wrap_new_XPMHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46775 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister, METH_VARARGS, NULL},
46776 { (char *)"new_TIFFHandler", (PyCFunction) _wrap_new_TIFFHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46777 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister, METH_VARARGS, NULL},
46778 { (char *)"Quantize_Quantize", (PyCFunction) _wrap_Quantize_Quantize, METH_VARARGS | METH_KEYWORDS, NULL},
46779 { (char *)"Quantize_swigregister", Quantize_swigregister, METH_VARARGS, NULL},
46780 { (char *)"new_EvtHandler", (PyCFunction) _wrap_new_EvtHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46781 { (char *)"EvtHandler_GetNextHandler", (PyCFunction) _wrap_EvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46782 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction) _wrap_EvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46783 { (char *)"EvtHandler_SetNextHandler", (PyCFunction) _wrap_EvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46784 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction) _wrap_EvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS, NULL},
46785 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
46786 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
46787 { (char *)"EvtHandler_ProcessEvent", (PyCFunction) _wrap_EvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46788 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction) _wrap_EvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46789 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_EvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS, NULL},
46790 { (char *)"EvtHandler_Connect", (PyCFunction) _wrap_EvtHandler_Connect, METH_VARARGS | METH_KEYWORDS, NULL},
46791 { (char *)"EvtHandler_Disconnect", (PyCFunction) _wrap_EvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS, NULL},
46792 { (char *)"EvtHandler__setOORInfo", (PyCFunction) _wrap_EvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL},
46793 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister, METH_VARARGS, NULL},
46794 { (char *)"NewEventType", (PyCFunction) _wrap_NewEventType, METH_VARARGS | METH_KEYWORDS, NULL},
46795 { (char *)"delete_Event", (PyCFunction) _wrap_delete_Event, METH_VARARGS | METH_KEYWORDS, NULL},
46796 { (char *)"Event_SetEventType", (PyCFunction) _wrap_Event_SetEventType, METH_VARARGS | METH_KEYWORDS, NULL},
46797 { (char *)"Event_GetEventType", (PyCFunction) _wrap_Event_GetEventType, METH_VARARGS | METH_KEYWORDS, NULL},
46798 { (char *)"Event_GetEventObject", (PyCFunction) _wrap_Event_GetEventObject, METH_VARARGS | METH_KEYWORDS, NULL},
46799 { (char *)"Event_SetEventObject", (PyCFunction) _wrap_Event_SetEventObject, METH_VARARGS | METH_KEYWORDS, NULL},
46800 { (char *)"Event_GetTimestamp", (PyCFunction) _wrap_Event_GetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL},
46801 { (char *)"Event_SetTimestamp", (PyCFunction) _wrap_Event_SetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL},
46802 { (char *)"Event_GetId", (PyCFunction) _wrap_Event_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
46803 { (char *)"Event_SetId", (PyCFunction) _wrap_Event_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
46804 { (char *)"Event_IsCommandEvent", (PyCFunction) _wrap_Event_IsCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46805 { (char *)"Event_Skip", (PyCFunction) _wrap_Event_Skip, METH_VARARGS | METH_KEYWORDS, NULL},
46806 { (char *)"Event_GetSkipped", (PyCFunction) _wrap_Event_GetSkipped, METH_VARARGS | METH_KEYWORDS, NULL},
46807 { (char *)"Event_ShouldPropagate", (PyCFunction) _wrap_Event_ShouldPropagate, METH_VARARGS | METH_KEYWORDS, NULL},
46808 { (char *)"Event_StopPropagation", (PyCFunction) _wrap_Event_StopPropagation, METH_VARARGS | METH_KEYWORDS, NULL},
46809 { (char *)"Event_ResumePropagation", (PyCFunction) _wrap_Event_ResumePropagation, METH_VARARGS | METH_KEYWORDS, NULL},
46810 { (char *)"Event_Clone", (PyCFunction) _wrap_Event_Clone, METH_VARARGS | METH_KEYWORDS, NULL},
46811 { (char *)"Event_swigregister", Event_swigregister, METH_VARARGS, NULL},
46812 { (char *)"new_PropagationDisabler", (PyCFunction) _wrap_new_PropagationDisabler, METH_VARARGS | METH_KEYWORDS, NULL},
46813 { (char *)"delete_PropagationDisabler", (PyCFunction) _wrap_delete_PropagationDisabler, METH_VARARGS | METH_KEYWORDS, NULL},
46814 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister, METH_VARARGS, NULL},
46815 { (char *)"new_PropagateOnce", (PyCFunction) _wrap_new_PropagateOnce, METH_VARARGS | METH_KEYWORDS, NULL},
46816 { (char *)"delete_PropagateOnce", (PyCFunction) _wrap_delete_PropagateOnce, METH_VARARGS | METH_KEYWORDS, NULL},
46817 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister, METH_VARARGS, NULL},
46818 { (char *)"new_CommandEvent", (PyCFunction) _wrap_new_CommandEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46819 { (char *)"CommandEvent_GetSelection", (PyCFunction) _wrap_CommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46820 { (char *)"CommandEvent_SetString", (PyCFunction) _wrap_CommandEvent_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
46821 { (char *)"CommandEvent_GetString", (PyCFunction) _wrap_CommandEvent_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
46822 { (char *)"CommandEvent_IsChecked", (PyCFunction) _wrap_CommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
46823 { (char *)"CommandEvent_IsSelection", (PyCFunction) _wrap_CommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46824 { (char *)"CommandEvent_SetExtraLong", (PyCFunction) _wrap_CommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS, NULL},
46825 { (char *)"CommandEvent_GetExtraLong", (PyCFunction) _wrap_CommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS, NULL},
46826 { (char *)"CommandEvent_SetInt", (PyCFunction) _wrap_CommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS, NULL},
46827 { (char *)"CommandEvent_GetInt", (PyCFunction) _wrap_CommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS, NULL},
46828 { (char *)"CommandEvent_Clone", (PyCFunction) _wrap_CommandEvent_Clone, METH_VARARGS | METH_KEYWORDS, NULL},
46829 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister, METH_VARARGS, NULL},
46830 { (char *)"new_NotifyEvent", (PyCFunction) _wrap_new_NotifyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46831 { (char *)"NotifyEvent_Veto", (PyCFunction) _wrap_NotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL},
46832 { (char *)"NotifyEvent_Allow", (PyCFunction) _wrap_NotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS, NULL},
46833 { (char *)"NotifyEvent_IsAllowed", (PyCFunction) _wrap_NotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS, NULL},
46834 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister, METH_VARARGS, NULL},
46835 { (char *)"new_ScrollEvent", (PyCFunction) _wrap_new_ScrollEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46836 { (char *)"ScrollEvent_GetOrientation", (PyCFunction) _wrap_ScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
46837 { (char *)"ScrollEvent_GetPosition", (PyCFunction) _wrap_ScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46838 { (char *)"ScrollEvent_SetOrientation", (PyCFunction) _wrap_ScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
46839 { (char *)"ScrollEvent_SetPosition", (PyCFunction) _wrap_ScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46840 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister, METH_VARARGS, NULL},
46841 { (char *)"new_ScrollWinEvent", (PyCFunction) _wrap_new_ScrollWinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46842 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction) _wrap_ScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
46843 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction) _wrap_ScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46844 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction) _wrap_ScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
46845 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction) _wrap_ScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46846 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister, METH_VARARGS, NULL},
46847 { (char *)"new_MouseEvent", (PyCFunction) _wrap_new_MouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46848 { (char *)"MouseEvent_IsButton", (PyCFunction) _wrap_MouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
46849 { (char *)"MouseEvent_ButtonDown", (PyCFunction) _wrap_MouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS, NULL},
46850 { (char *)"MouseEvent_ButtonDClick", (PyCFunction) _wrap_MouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS, NULL},
46851 { (char *)"MouseEvent_ButtonUp", (PyCFunction) _wrap_MouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS, NULL},
46852 { (char *)"MouseEvent_Button", (PyCFunction) _wrap_MouseEvent_Button, METH_VARARGS | METH_KEYWORDS, NULL},
46853 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction) _wrap_MouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS, NULL},
46854 { (char *)"MouseEvent_GetButton", (PyCFunction) _wrap_MouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS, NULL},
46855 { (char *)"MouseEvent_ControlDown", (PyCFunction) _wrap_MouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL},
46856 { (char *)"MouseEvent_MetaDown", (PyCFunction) _wrap_MouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL},
46857 { (char *)"MouseEvent_AltDown", (PyCFunction) _wrap_MouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS, NULL},
46858 { (char *)"MouseEvent_ShiftDown", (PyCFunction) _wrap_MouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL},
46859 { (char *)"MouseEvent_CmdDown", (PyCFunction) _wrap_MouseEvent_CmdDown, METH_VARARGS | METH_KEYWORDS, NULL},
46860 { (char *)"MouseEvent_LeftDown", (PyCFunction) _wrap_MouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS, NULL},
46861 { (char *)"MouseEvent_MiddleDown", (PyCFunction) _wrap_MouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS, NULL},
46862 { (char *)"MouseEvent_RightDown", (PyCFunction) _wrap_MouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS, NULL},
46863 { (char *)"MouseEvent_LeftUp", (PyCFunction) _wrap_MouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS, NULL},
46864 { (char *)"MouseEvent_MiddleUp", (PyCFunction) _wrap_MouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS, NULL},
46865 { (char *)"MouseEvent_RightUp", (PyCFunction) _wrap_MouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS, NULL},
46866 { (char *)"MouseEvent_LeftDClick", (PyCFunction) _wrap_MouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS, NULL},
46867 { (char *)"MouseEvent_MiddleDClick", (PyCFunction) _wrap_MouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS, NULL},
46868 { (char *)"MouseEvent_RightDClick", (PyCFunction) _wrap_MouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS, NULL},
46869 { (char *)"MouseEvent_LeftIsDown", (PyCFunction) _wrap_MouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS, NULL},
46870 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction) _wrap_MouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS, NULL},
46871 { (char *)"MouseEvent_RightIsDown", (PyCFunction) _wrap_MouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS, NULL},
46872 { (char *)"MouseEvent_Dragging", (PyCFunction) _wrap_MouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS, NULL},
46873 { (char *)"MouseEvent_Moving", (PyCFunction) _wrap_MouseEvent_Moving, METH_VARARGS | METH_KEYWORDS, NULL},
46874 { (char *)"MouseEvent_Entering", (PyCFunction) _wrap_MouseEvent_Entering, METH_VARARGS | METH_KEYWORDS, NULL},
46875 { (char *)"MouseEvent_Leaving", (PyCFunction) _wrap_MouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS, NULL},
46876 { (char *)"MouseEvent_GetPosition", (PyCFunction) _wrap_MouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46877 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction) _wrap_MouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL},
46878 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction) _wrap_MouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46879 { (char *)"MouseEvent_GetX", (PyCFunction) _wrap_MouseEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
46880 { (char *)"MouseEvent_GetY", (PyCFunction) _wrap_MouseEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
46881 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction) _wrap_MouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS, NULL},
46882 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction) _wrap_MouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS, NULL},
46883 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction) _wrap_MouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS, NULL},
46884 { (char *)"MouseEvent_IsPageScroll", (PyCFunction) _wrap_MouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS, NULL},
46885 { (char *)"MouseEvent_m_x_set", (PyCFunction) _wrap_MouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS, NULL},
46886 { (char *)"MouseEvent_m_x_get", (PyCFunction) _wrap_MouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS, NULL},
46887 { (char *)"MouseEvent_m_y_set", (PyCFunction) _wrap_MouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS, NULL},
46888 { (char *)"MouseEvent_m_y_get", (PyCFunction) _wrap_MouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS, NULL},
46889 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction) _wrap_MouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
46890 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction) _wrap_MouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
46891 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction) _wrap_MouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
46892 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction) _wrap_MouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
46893 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction) _wrap_MouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
46894 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction) _wrap_MouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
46895 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction) _wrap_MouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
46896 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction) _wrap_MouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
46897 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction) _wrap_MouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
46898 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction) _wrap_MouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
46899 { (char *)"MouseEvent_m_altDown_set", (PyCFunction) _wrap_MouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
46900 { (char *)"MouseEvent_m_altDown_get", (PyCFunction) _wrap_MouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
46901 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction) _wrap_MouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
46902 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction) _wrap_MouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
46903 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS, NULL},
46904 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS, NULL},
46905 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS, NULL},
46906 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS, NULL},
46907 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS, NULL},
46908 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS, NULL},
46909 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister, METH_VARARGS, NULL},
46910 { (char *)"new_SetCursorEvent", (PyCFunction) _wrap_new_SetCursorEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46911 { (char *)"SetCursorEvent_GetX", (PyCFunction) _wrap_SetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
46912 { (char *)"SetCursorEvent_GetY", (PyCFunction) _wrap_SetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
46913 { (char *)"SetCursorEvent_SetCursor", (PyCFunction) _wrap_SetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
46914 { (char *)"SetCursorEvent_GetCursor", (PyCFunction) _wrap_SetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
46915 { (char *)"SetCursorEvent_HasCursor", (PyCFunction) _wrap_SetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS, NULL},
46916 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister, METH_VARARGS, NULL},
46917 { (char *)"new_KeyEvent", (PyCFunction) _wrap_new_KeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
b1fcee84 46918 { (char *)"KeyEvent_GetModifiers", (PyCFunction) _wrap_KeyEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
46919 { (char *)"KeyEvent_ControlDown", (PyCFunction) _wrap_KeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL},
46920 { (char *)"KeyEvent_MetaDown", (PyCFunction) _wrap_KeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL},
46921 { (char *)"KeyEvent_AltDown", (PyCFunction) _wrap_KeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS, NULL},
46922 { (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL},
46923 { (char *)"KeyEvent_CmdDown", (PyCFunction) _wrap_KeyEvent_CmdDown, METH_VARARGS | METH_KEYWORDS, NULL},
46924 { (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS, NULL},
46925 { (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
46926 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction) _wrap_KeyEvent_GetUnicodeKey, METH_VARARGS | METH_KEYWORDS, NULL},
46927 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
46928 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS, NULL},
46929 { (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46930 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction) _wrap_KeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL},
46931 { (char *)"KeyEvent_GetX", (PyCFunction) _wrap_KeyEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
46932 { (char *)"KeyEvent_GetY", (PyCFunction) _wrap_KeyEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
46933 { (char *)"KeyEvent_m_x_set", (PyCFunction) _wrap_KeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS, NULL},
46934 { (char *)"KeyEvent_m_x_get", (PyCFunction) _wrap_KeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS, NULL},
46935 { (char *)"KeyEvent_m_y_set", (PyCFunction) _wrap_KeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS, NULL},
46936 { (char *)"KeyEvent_m_y_get", (PyCFunction) _wrap_KeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS, NULL},
46937 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction) _wrap_KeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS, NULL},
46938 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction) _wrap_KeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS, NULL},
46939 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction) _wrap_KeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
46940 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction) _wrap_KeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
46941 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction) _wrap_KeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
46942 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction) _wrap_KeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
46943 { (char *)"KeyEvent_m_altDown_set", (PyCFunction) _wrap_KeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
46944 { (char *)"KeyEvent_m_altDown_get", (PyCFunction) _wrap_KeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
46945 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction) _wrap_KeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS, NULL},
46946 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction) _wrap_KeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS, NULL},
46947 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction) _wrap_KeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS, NULL},
46948 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction) _wrap_KeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS, NULL},
46949 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction) _wrap_KeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS, NULL},
46950 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction) _wrap_KeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS, NULL},
46951 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction) _wrap_KeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS, NULL},
46952 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction) _wrap_KeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS, NULL},
46953 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister, METH_VARARGS, NULL},
46954 { (char *)"new_SizeEvent", (PyCFunction) _wrap_new_SizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46955 { (char *)"SizeEvent_GetSize", (PyCFunction) _wrap_SizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
46956 { (char *)"SizeEvent_GetRect", (PyCFunction) _wrap_SizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
46957 { (char *)"SizeEvent_SetRect", (PyCFunction) _wrap_SizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
46958 { (char *)"SizeEvent_SetSize", (PyCFunction) _wrap_SizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
46959 { (char *)"SizeEvent_m_size_set", (PyCFunction) _wrap_SizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS, NULL},
46960 { (char *)"SizeEvent_m_size_get", (PyCFunction) _wrap_SizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS, NULL},
46961 { (char *)"SizeEvent_m_rect_set", (PyCFunction) _wrap_SizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS, NULL},
46962 { (char *)"SizeEvent_m_rect_get", (PyCFunction) _wrap_SizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS, NULL},
46963 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister, METH_VARARGS, NULL},
46964 { (char *)"new_MoveEvent", (PyCFunction) _wrap_new_MoveEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46965 { (char *)"MoveEvent_GetPosition", (PyCFunction) _wrap_MoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46966 { (char *)"MoveEvent_GetRect", (PyCFunction) _wrap_MoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
46967 { (char *)"MoveEvent_SetRect", (PyCFunction) _wrap_MoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
46968 { (char *)"MoveEvent_SetPosition", (PyCFunction) _wrap_MoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
46969 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister, METH_VARARGS, NULL},
46970 { (char *)"new_PaintEvent", (PyCFunction) _wrap_new_PaintEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46971 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister, METH_VARARGS, NULL},
46972 { (char *)"new_NcPaintEvent", (PyCFunction) _wrap_new_NcPaintEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46973 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister, METH_VARARGS, NULL},
46974 { (char *)"new_EraseEvent", (PyCFunction) _wrap_new_EraseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46975 { (char *)"EraseEvent_GetDC", (PyCFunction) _wrap_EraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
46976 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister, METH_VARARGS, NULL},
46977 { (char *)"new_FocusEvent", (PyCFunction) _wrap_new_FocusEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46978 { (char *)"FocusEvent_GetWindow", (PyCFunction) _wrap_FocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46979 { (char *)"FocusEvent_SetWindow", (PyCFunction) _wrap_FocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46980 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister, METH_VARARGS, NULL},
46981 { (char *)"new_ChildFocusEvent", (PyCFunction) _wrap_new_ChildFocusEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46982 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction) _wrap_ChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46983 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister, METH_VARARGS, NULL},
46984 { (char *)"new_ActivateEvent", (PyCFunction) _wrap_new_ActivateEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46985 { (char *)"ActivateEvent_GetActive", (PyCFunction) _wrap_ActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS, NULL},
46986 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister, METH_VARARGS, NULL},
46987 { (char *)"new_InitDialogEvent", (PyCFunction) _wrap_new_InitDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46988 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister, METH_VARARGS, NULL},
46989 { (char *)"new_MenuEvent", (PyCFunction) _wrap_new_MenuEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46990 { (char *)"MenuEvent_GetMenuId", (PyCFunction) _wrap_MenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS, NULL},
46991 { (char *)"MenuEvent_IsPopup", (PyCFunction) _wrap_MenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS, NULL},
46992 { (char *)"MenuEvent_GetMenu", (PyCFunction) _wrap_MenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL},
46993 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister, METH_VARARGS, NULL},
46994 { (char *)"new_CloseEvent", (PyCFunction) _wrap_new_CloseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46995 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL},
46996 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL},
46997 { (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL},
5ba5649b 46998 { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
46999 { (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL},
47000 { (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
47001 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS, NULL},
47002 { (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47003 { (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS, NULL},
47004 { (char *)"ShowEvent_GetShow", (PyCFunction) _wrap_ShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS, NULL},
47005 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister, METH_VARARGS, NULL},
47006 { (char *)"new_IconizeEvent", (PyCFunction) _wrap_new_IconizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47007 { (char *)"IconizeEvent_Iconized", (PyCFunction) _wrap_IconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS, NULL},
47008 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister, METH_VARARGS, NULL},
47009 { (char *)"new_MaximizeEvent", (PyCFunction) _wrap_new_MaximizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47010 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister, METH_VARARGS, NULL},
47011 { (char *)"DropFilesEvent_GetPosition", (PyCFunction) _wrap_DropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47012 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_DropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS, NULL},
47013 { (char *)"DropFilesEvent_GetFiles", (PyCFunction) _wrap_DropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS, NULL},
47014 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister, METH_VARARGS, NULL},
47015 { (char *)"new_UpdateUIEvent", (PyCFunction) _wrap_new_UpdateUIEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47016 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS, NULL},
47017 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
b1fcee84 47018 { (char *)"UpdateUIEvent_GetShown", (PyCFunction) _wrap_UpdateUIEvent_GetShown, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
47019 { (char *)"UpdateUIEvent_GetText", (PyCFunction) _wrap_UpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
47020 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction) _wrap_UpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS, NULL},
47021 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS, NULL},
47022 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
b1fcee84 47023 { (char *)"UpdateUIEvent_GetSetShown", (PyCFunction) _wrap_UpdateUIEvent_GetSetShown, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
47024 { (char *)"UpdateUIEvent_Check", (PyCFunction) _wrap_UpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS, NULL},
47025 { (char *)"UpdateUIEvent_Enable", (PyCFunction) _wrap_UpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
b1fcee84 47026 { (char *)"UpdateUIEvent_Show", (PyCFunction) _wrap_UpdateUIEvent_Show, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
47027 { (char *)"UpdateUIEvent_SetText", (PyCFunction) _wrap_UpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
47028 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS, NULL},
47029 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS, NULL},
47030 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction) _wrap_UpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS, NULL},
47031 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_UpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS, NULL},
47032 { (char *)"UpdateUIEvent_SetMode", (PyCFunction) _wrap_UpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS, NULL},
47033 { (char *)"UpdateUIEvent_GetMode", (PyCFunction) _wrap_UpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS, NULL},
47034 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister, METH_VARARGS, NULL},
47035 { (char *)"new_SysColourChangedEvent", (PyCFunction) _wrap_new_SysColourChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47036 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister, METH_VARARGS, NULL},
47037 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction) _wrap_new_MouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47038 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_MouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47039 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister, METH_VARARGS, NULL},
47040 { (char *)"new_DisplayChangedEvent", (PyCFunction) _wrap_new_DisplayChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47041 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister, METH_VARARGS, NULL},
47042 { (char *)"new_PaletteChangedEvent", (PyCFunction) _wrap_new_PaletteChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47043 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47044 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47045 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister, METH_VARARGS, NULL},
47046 { (char *)"new_QueryNewPaletteEvent", (PyCFunction) _wrap_new_QueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47047 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS, NULL},
47048 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS, NULL},
47049 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister, METH_VARARGS, NULL},
47050 { (char *)"new_NavigationKeyEvent", (PyCFunction) _wrap_new_NavigationKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47051 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction) _wrap_NavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS, NULL},
47052 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction) _wrap_NavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS, NULL},
47053 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS, NULL},
47054 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS, NULL},
68350608
RD
47055 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction) _wrap_NavigationKeyEvent_IsFromTab, METH_VARARGS | METH_KEYWORDS, NULL},
47056 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction) _wrap_NavigationKeyEvent_SetFromTab, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
47057 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction) _wrap_NavigationKeyEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
47058 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS, NULL},
47059 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS, NULL},
47060 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister, METH_VARARGS, NULL},
47061 { (char *)"new_WindowCreateEvent", (PyCFunction) _wrap_new_WindowCreateEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47062 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction) _wrap_WindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47063 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister, METH_VARARGS, NULL},
47064 { (char *)"new_WindowDestroyEvent", (PyCFunction) _wrap_new_WindowDestroyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47065 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction) _wrap_WindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47066 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister, METH_VARARGS, NULL},
47067 { (char *)"new_ContextMenuEvent", (PyCFunction) _wrap_new_ContextMenuEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47068 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction) _wrap_ContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47069 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction) _wrap_ContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47070 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister, METH_VARARGS, NULL},
47071 { (char *)"new_IdleEvent", (PyCFunction) _wrap_new_IdleEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47072 { (char *)"IdleEvent_RequestMore", (PyCFunction) _wrap_IdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS, NULL},
47073 { (char *)"IdleEvent_MoreRequested", (PyCFunction) _wrap_IdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS, NULL},
47074 { (char *)"IdleEvent_SetMode", (PyCFunction) _wrap_IdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS, NULL},
47075 { (char *)"IdleEvent_GetMode", (PyCFunction) _wrap_IdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS, NULL},
47076 { (char *)"IdleEvent_CanSend", (PyCFunction) _wrap_IdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS, NULL},
47077 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS, NULL},
47078 { (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47079 { (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
5ba5649b
RD
47080 { (char *)"PyEvent__SetSelf", (PyCFunction) _wrap_PyEvent__SetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
47081 { (char *)"PyEvent__GetSelf", (PyCFunction) _wrap_PyEvent__GetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
47082 { (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS, NULL},
47083 { (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47084 { (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL},
5ba5649b
RD
47085 { (char *)"PyCommandEvent__SetSelf", (PyCFunction) _wrap_PyCommandEvent__SetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
47086 { (char *)"PyCommandEvent__GetSelf", (PyCFunction) _wrap_PyCommandEvent__GetSelf, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 47087 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS, NULL},
53aa7709
RD
47088 { (char *)"new_DateEvent", (PyCFunction) _wrap_new_DateEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47089 { (char *)"DateEvent_GetDate", (PyCFunction) _wrap_DateEvent_GetDate, METH_VARARGS | METH_KEYWORDS, NULL},
47090 { (char *)"DateEvent_SetDate", (PyCFunction) _wrap_DateEvent_SetDate, METH_VARARGS | METH_KEYWORDS, NULL},
47091 { (char *)"DateEvent_swigregister", DateEvent_swigregister, METH_VARARGS, NULL},
093d3ff1
RD
47092 { (char *)"new_PyApp", (PyCFunction) _wrap_new_PyApp, METH_VARARGS | METH_KEYWORDS, NULL},
47093 { (char *)"delete_PyApp", (PyCFunction) _wrap_delete_PyApp, METH_VARARGS | METH_KEYWORDS, NULL},
47094 { (char *)"PyApp__setCallbackInfo", (PyCFunction) _wrap_PyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
47095 { (char *)"PyApp_GetAppName", (PyCFunction) _wrap_PyApp_GetAppName, METH_VARARGS | METH_KEYWORDS, NULL},
47096 { (char *)"PyApp_SetAppName", (PyCFunction) _wrap_PyApp_SetAppName, METH_VARARGS | METH_KEYWORDS, NULL},
47097 { (char *)"PyApp_GetClassName", (PyCFunction) _wrap_PyApp_GetClassName, METH_VARARGS | METH_KEYWORDS, NULL},
47098 { (char *)"PyApp_SetClassName", (PyCFunction) _wrap_PyApp_SetClassName, METH_VARARGS | METH_KEYWORDS, NULL},
47099 { (char *)"PyApp_GetVendorName", (PyCFunction) _wrap_PyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS, NULL},
47100 { (char *)"PyApp_SetVendorName", (PyCFunction) _wrap_PyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS, NULL},
47101 { (char *)"PyApp_GetTraits", (PyCFunction) _wrap_PyApp_GetTraits, METH_VARARGS | METH_KEYWORDS, NULL},
47102 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction) _wrap_PyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS, NULL},
47103 { (char *)"PyApp_Yield", (PyCFunction) _wrap_PyApp_Yield, METH_VARARGS | METH_KEYWORDS, NULL},
47104 { (char *)"PyApp_WakeUpIdle", (PyCFunction) _wrap_PyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS, NULL},
47105 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction) _wrap_PyApp_IsMainLoopRunning, METH_VARARGS | METH_KEYWORDS, NULL},
47106 { (char *)"PyApp_MainLoop", (PyCFunction) _wrap_PyApp_MainLoop, METH_VARARGS | METH_KEYWORDS, NULL},
47107 { (char *)"PyApp_Exit", (PyCFunction) _wrap_PyApp_Exit, METH_VARARGS | METH_KEYWORDS, NULL},
47108 { (char *)"PyApp_ExitMainLoop", (PyCFunction) _wrap_PyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS, NULL},
47109 { (char *)"PyApp_Pending", (PyCFunction) _wrap_PyApp_Pending, METH_VARARGS | METH_KEYWORDS, NULL},
47110 { (char *)"PyApp_Dispatch", (PyCFunction) _wrap_PyApp_Dispatch, METH_VARARGS | METH_KEYWORDS, NULL},
47111 { (char *)"PyApp_ProcessIdle", (PyCFunction) _wrap_PyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS, NULL},
47112 { (char *)"PyApp_SendIdleEvents", (PyCFunction) _wrap_PyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS, NULL},
47113 { (char *)"PyApp_IsActive", (PyCFunction) _wrap_PyApp_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
47114 { (char *)"PyApp_SetTopWindow", (PyCFunction) _wrap_PyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47115 { (char *)"PyApp_GetTopWindow", (PyCFunction) _wrap_PyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47116 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS, NULL},
47117 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS, NULL},
47118 { (char *)"PyApp_SetUseBestVisual", (PyCFunction) _wrap_PyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS, NULL},
47119 { (char *)"PyApp_GetUseBestVisual", (PyCFunction) _wrap_PyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS, NULL},
47120 { (char *)"PyApp_SetPrintMode", (PyCFunction) _wrap_PyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
47121 { (char *)"PyApp_GetPrintMode", (PyCFunction) _wrap_PyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
47122 { (char *)"PyApp_SetAssertMode", (PyCFunction) _wrap_PyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS, NULL},
47123 { (char *)"PyApp_GetAssertMode", (PyCFunction) _wrap_PyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS, NULL},
47124 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS, NULL},
47125 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL},
47126 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL},
47127 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL},
47128 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS, NULL},
47129 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS, NULL},
47130 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL},
47131 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL},
47132 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL},
47133 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS, NULL},
47134 { (char *)"PyApp__BootstrapApp", (PyCFunction) _wrap_PyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS, NULL},
47135 { (char *)"PyApp_GetComCtl32Version", (PyCFunction) _wrap_PyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS, NULL},
47136 { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS, NULL},
47137 { (char *)"Exit", (PyCFunction) _wrap_Exit, METH_VARARGS | METH_KEYWORDS, NULL},
47138 { (char *)"Yield", (PyCFunction) _wrap_Yield, METH_VARARGS | METH_KEYWORDS, NULL},
47139 { (char *)"YieldIfNeeded", (PyCFunction) _wrap_YieldIfNeeded, METH_VARARGS | METH_KEYWORDS, NULL},
47140 { (char *)"SafeYield", (PyCFunction) _wrap_SafeYield, METH_VARARGS | METH_KEYWORDS, NULL},
47141 { (char *)"WakeUpIdle", (PyCFunction) _wrap_WakeUpIdle, METH_VARARGS | METH_KEYWORDS, NULL},
47142 { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47143 { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS, NULL},
47144 { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS, NULL},
47145 { (char *)"SetDefaultPyEncoding", (PyCFunction) _wrap_SetDefaultPyEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
47146 { (char *)"GetDefaultPyEncoding", (PyCFunction) _wrap_GetDefaultPyEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
47147 { (char *)"new_EventLoop", (PyCFunction) _wrap_new_EventLoop, METH_VARARGS | METH_KEYWORDS, NULL},
47148 { (char *)"delete_EventLoop", (PyCFunction) _wrap_delete_EventLoop, METH_VARARGS | METH_KEYWORDS, NULL},
47149 { (char *)"EventLoop_Run", (PyCFunction) _wrap_EventLoop_Run, METH_VARARGS | METH_KEYWORDS, NULL},
47150 { (char *)"EventLoop_Exit", (PyCFunction) _wrap_EventLoop_Exit, METH_VARARGS | METH_KEYWORDS, NULL},
47151 { (char *)"EventLoop_Pending", (PyCFunction) _wrap_EventLoop_Pending, METH_VARARGS | METH_KEYWORDS, NULL},
47152 { (char *)"EventLoop_Dispatch", (PyCFunction) _wrap_EventLoop_Dispatch, METH_VARARGS | METH_KEYWORDS, NULL},
47153 { (char *)"EventLoop_IsRunning", (PyCFunction) _wrap_EventLoop_IsRunning, METH_VARARGS | METH_KEYWORDS, NULL},
47154 { (char *)"EventLoop_GetActive", (PyCFunction) _wrap_EventLoop_GetActive, METH_VARARGS | METH_KEYWORDS, NULL},
47155 { (char *)"EventLoop_SetActive", (PyCFunction) _wrap_EventLoop_SetActive, METH_VARARGS | METH_KEYWORDS, NULL},
47156 { (char *)"EventLoop_swigregister", EventLoop_swigregister, METH_VARARGS, NULL},
091f5bed
RD
47157 { (char *)"new_EventLoopActivator", (PyCFunction) _wrap_new_EventLoopActivator, METH_VARARGS | METH_KEYWORDS, NULL},
47158 { (char *)"delete_EventLoopActivator", (PyCFunction) _wrap_delete_EventLoopActivator, METH_VARARGS | METH_KEYWORDS, NULL},
47159 { (char *)"EventLoopActivator_swigregister", EventLoopActivator_swigregister, METH_VARARGS, NULL},
093d3ff1
RD
47160 { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS, NULL},
47161 { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS, NULL},
47162 { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS, NULL},
47163 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
47164 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
47165 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS, NULL},
47166 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS, NULL},
47167 { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL},
47168 { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL},
47169 { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
47170 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS, NULL},
47171 { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS, NULL},
47172 { (char *)"new_VisualAttributes", (PyCFunction) _wrap_new_VisualAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47173 { (char *)"delete_VisualAttributes", (PyCFunction) _wrap_delete_VisualAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47174 { (char *)"VisualAttributes_font_set", (PyCFunction) _wrap_VisualAttributes_font_set, METH_VARARGS | METH_KEYWORDS, NULL},
47175 { (char *)"VisualAttributes_font_get", (PyCFunction) _wrap_VisualAttributes_font_get, METH_VARARGS | METH_KEYWORDS, NULL},
47176 { (char *)"VisualAttributes_colFg_set", (PyCFunction) _wrap_VisualAttributes_colFg_set, METH_VARARGS | METH_KEYWORDS, NULL},
47177 { (char *)"VisualAttributes_colFg_get", (PyCFunction) _wrap_VisualAttributes_colFg_get, METH_VARARGS | METH_KEYWORDS, NULL},
47178 { (char *)"VisualAttributes_colBg_set", (PyCFunction) _wrap_VisualAttributes_colBg_set, METH_VARARGS | METH_KEYWORDS, NULL},
47179 { (char *)"VisualAttributes_colBg_get", (PyCFunction) _wrap_VisualAttributes_colBg_get, METH_VARARGS | METH_KEYWORDS, NULL},
47180 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister, METH_VARARGS, NULL},
47181 { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS, NULL},
47182 { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47183 { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47184 { (char *)"Window_Close", (PyCFunction) _wrap_Window_Close, METH_VARARGS | METH_KEYWORDS, NULL},
47185 { (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
47186 { (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47187 { (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
47188 { (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47189 { (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47190 { (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS, NULL},
47191 { (char *)"Window_GetName", (PyCFunction) _wrap_Window_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
47192 { (char *)"Window_SetWindowVariant", (PyCFunction) _wrap_Window_SetWindowVariant, METH_VARARGS | METH_KEYWORDS, NULL},
47193 { (char *)"Window_GetWindowVariant", (PyCFunction) _wrap_Window_GetWindowVariant, METH_VARARGS | METH_KEYWORDS, NULL},
47194 { (char *)"Window_SetId", (PyCFunction) _wrap_Window_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
47195 { (char *)"Window_GetId", (PyCFunction) _wrap_Window_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
47196 { (char *)"Window_NewControlId", (PyCFunction) _wrap_Window_NewControlId, METH_VARARGS | METH_KEYWORDS, NULL},
47197 { (char *)"Window_NextControlId", (PyCFunction) _wrap_Window_NextControlId, METH_VARARGS | METH_KEYWORDS, NULL},
47198 { (char *)"Window_PrevControlId", (PyCFunction) _wrap_Window_PrevControlId, METH_VARARGS | METH_KEYWORDS, NULL},
47199 { (char *)"Window_SetSize", (PyCFunction) _wrap_Window_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
47200 { (char *)"Window_SetDimensions", (PyCFunction) _wrap_Window_SetDimensions, METH_VARARGS | METH_KEYWORDS, NULL},
47201 { (char *)"Window_SetRect", (PyCFunction) _wrap_Window_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
47202 { (char *)"Window_SetSizeWH", (PyCFunction) _wrap_Window_SetSizeWH, METH_VARARGS | METH_KEYWORDS, NULL},
47203 { (char *)"Window_Move", (PyCFunction) _wrap_Window_Move, METH_VARARGS | METH_KEYWORDS, NULL},
47204 { (char *)"Window_MoveXY", (PyCFunction) _wrap_Window_MoveXY, METH_VARARGS | METH_KEYWORDS, NULL},
47205 { (char *)"Window_SetBestFittingSize", (PyCFunction) _wrap_Window_SetBestFittingSize, METH_VARARGS | METH_KEYWORDS, NULL},
47206 { (char *)"Window_Raise", (PyCFunction) _wrap_Window_Raise, METH_VARARGS | METH_KEYWORDS, NULL},
47207 { (char *)"Window_Lower", (PyCFunction) _wrap_Window_Lower, METH_VARARGS | METH_KEYWORDS, NULL},
47208 { (char *)"Window_SetClientSize", (PyCFunction) _wrap_Window_SetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
47209 { (char *)"Window_SetClientSizeWH", (PyCFunction) _wrap_Window_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS, NULL},
47210 { (char *)"Window_SetClientRect", (PyCFunction) _wrap_Window_SetClientRect, METH_VARARGS | METH_KEYWORDS, NULL},
47211 { (char *)"Window_GetPosition", (PyCFunction) _wrap_Window_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47212 { (char *)"Window_GetPositionTuple", (PyCFunction) _wrap_Window_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL},
47213 { (char *)"Window_GetSize", (PyCFunction) _wrap_Window_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
47214 { (char *)"Window_GetSizeTuple", (PyCFunction) _wrap_Window_GetSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL},
47215 { (char *)"Window_GetRect", (PyCFunction) _wrap_Window_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
47216 { (char *)"Window_GetClientSize", (PyCFunction) _wrap_Window_GetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
47217 { (char *)"Window_GetClientSizeTuple", (PyCFunction) _wrap_Window_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL},
47218 { (char *)"Window_GetClientAreaOrigin", (PyCFunction) _wrap_Window_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
47219 { (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS, NULL},
47220 { (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
47221 { (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL},
47222 { (char *)"Window_InvalidateBestSize", (PyCFunction) _wrap_Window_InvalidateBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
e2813725 47223 { (char *)"Window_CacheBestSize", (PyCFunction) _wrap_Window_CacheBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
47224 { (char *)"Window_GetBestFittingSize", (PyCFunction) _wrap_Window_GetBestFittingSize, METH_VARARGS | METH_KEYWORDS, NULL},
47225 { (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
47226 { (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
47227 { (char *)"Window_CenterOnParent", (PyCFunction) _wrap_Window_CenterOnParent, METH_VARARGS | METH_KEYWORDS, NULL},
47228 { (char *)"Window_Fit", (PyCFunction) _wrap_Window_Fit, METH_VARARGS | METH_KEYWORDS, NULL},
47229 { (char *)"Window_FitInside", (PyCFunction) _wrap_Window_FitInside, METH_VARARGS | METH_KEYWORDS, NULL},
47230 { (char *)"Window_SetSizeHints", (PyCFunction) _wrap_Window_SetSizeHints, METH_VARARGS | METH_KEYWORDS, NULL},
47231 { (char *)"Window_SetSizeHintsSz", (PyCFunction) _wrap_Window_SetSizeHintsSz, METH_VARARGS | METH_KEYWORDS, NULL},
47232 { (char *)"Window_SetVirtualSizeHints", (PyCFunction) _wrap_Window_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS, NULL},
47233 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction) _wrap_Window_SetVirtualSizeHintsSz, METH_VARARGS | METH_KEYWORDS, NULL},
47234 { (char *)"Window_GetMaxSize", (PyCFunction) _wrap_Window_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
47235 { (char *)"Window_GetMinSize", (PyCFunction) _wrap_Window_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL},
47236 { (char *)"Window_SetMinSize", (PyCFunction) _wrap_Window_SetMinSize, METH_VARARGS | METH_KEYWORDS, NULL},
47237 { (char *)"Window_SetMaxSize", (PyCFunction) _wrap_Window_SetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
47238 { (char *)"Window_GetMinWidth", (PyCFunction) _wrap_Window_GetMinWidth, METH_VARARGS | METH_KEYWORDS, NULL},
47239 { (char *)"Window_GetMinHeight", (PyCFunction) _wrap_Window_GetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
47240 { (char *)"Window_GetMaxWidth", (PyCFunction) _wrap_Window_GetMaxWidth, METH_VARARGS | METH_KEYWORDS, NULL},
47241 { (char *)"Window_GetMaxHeight", (PyCFunction) _wrap_Window_GetMaxHeight, METH_VARARGS | METH_KEYWORDS, NULL},
47242 { (char *)"Window_SetVirtualSize", (PyCFunction) _wrap_Window_SetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
47243 { (char *)"Window_SetVirtualSizeWH", (PyCFunction) _wrap_Window_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS, NULL},
47244 { (char *)"Window_GetVirtualSize", (PyCFunction) _wrap_Window_GetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
47245 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction) _wrap_Window_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL},
47246 { (char *)"Window_GetBestVirtualSize", (PyCFunction) _wrap_Window_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
47247 { (char *)"Window_Show", (PyCFunction) _wrap_Window_Show, METH_VARARGS | METH_KEYWORDS, NULL},
47248 { (char *)"Window_Hide", (PyCFunction) _wrap_Window_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
47249 { (char *)"Window_Enable", (PyCFunction) _wrap_Window_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
47250 { (char *)"Window_Disable", (PyCFunction) _wrap_Window_Disable, METH_VARARGS | METH_KEYWORDS, NULL},
47251 { (char *)"Window_IsShown", (PyCFunction) _wrap_Window_IsShown, METH_VARARGS | METH_KEYWORDS, NULL},
47252 { (char *)"Window_IsEnabled", (PyCFunction) _wrap_Window_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
47253 { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
47254 { (char *)"Window_GetWindowStyleFlag", (PyCFunction) _wrap_Window_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
47255 { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
47256 { (char *)"Window_IsRetained", (PyCFunction) _wrap_Window_IsRetained, METH_VARARGS | METH_KEYWORDS, NULL},
47257 { (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS, NULL},
47258 { (char *)"Window_GetExtraStyle", (PyCFunction) _wrap_Window_GetExtraStyle, METH_VARARGS | METH_KEYWORDS, NULL},
47259 { (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS, NULL},
47260 { (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
47261 { (char *)"Window_GetThemeEnabled", (PyCFunction) _wrap_Window_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
47262 { (char *)"Window_SetFocus", (PyCFunction) _wrap_Window_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL},
47263 { (char *)"Window_SetFocusFromKbd", (PyCFunction) _wrap_Window_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS, NULL},
47264 { (char *)"Window_FindFocus", (PyCFunction) _wrap_Window_FindFocus, METH_VARARGS | METH_KEYWORDS, NULL},
47265 { (char *)"Window_AcceptsFocus", (PyCFunction) _wrap_Window_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
47266 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_Window_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
47267 { (char *)"Window_GetDefaultItem", (PyCFunction) _wrap_Window_GetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
47268 { (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
47269 { (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
47270 { (char *)"Window_Navigate", (PyCFunction) _wrap_Window_Navigate, METH_VARARGS | METH_KEYWORDS, NULL},
47271 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction) _wrap_Window_MoveAfterInTabOrder, METH_VARARGS | METH_KEYWORDS, NULL},
47272 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction) _wrap_Window_MoveBeforeInTabOrder, METH_VARARGS | METH_KEYWORDS, NULL},
47273 { (char *)"Window_GetChildren", (PyCFunction) _wrap_Window_GetChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47274 { (char *)"Window_GetParent", (PyCFunction) _wrap_Window_GetParent, METH_VARARGS | METH_KEYWORDS, NULL},
47275 { (char *)"Window_GetGrandParent", (PyCFunction) _wrap_Window_GetGrandParent, METH_VARARGS | METH_KEYWORDS, NULL},
47276 { (char *)"Window_IsTopLevel", (PyCFunction) _wrap_Window_IsTopLevel, METH_VARARGS | METH_KEYWORDS, NULL},
47277 { (char *)"Window_Reparent", (PyCFunction) _wrap_Window_Reparent, METH_VARARGS | METH_KEYWORDS, NULL},
47278 { (char *)"Window_AddChild", (PyCFunction) _wrap_Window_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
47279 { (char *)"Window_RemoveChild", (PyCFunction) _wrap_Window_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
47280 { (char *)"Window_FindWindowById", (PyCFunction) _wrap_Window_FindWindowById, METH_VARARGS | METH_KEYWORDS, NULL},
47281 { (char *)"Window_FindWindowByName", (PyCFunction) _wrap_Window_FindWindowByName, METH_VARARGS | METH_KEYWORDS, NULL},
47282 { (char *)"Window_GetEventHandler", (PyCFunction) _wrap_Window_GetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL},
47283 { (char *)"Window_SetEventHandler", (PyCFunction) _wrap_Window_SetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL},
47284 { (char *)"Window_PushEventHandler", (PyCFunction) _wrap_Window_PushEventHandler, METH_VARARGS | METH_KEYWORDS, NULL},
47285 { (char *)"Window_PopEventHandler", (PyCFunction) _wrap_Window_PopEventHandler, METH_VARARGS | METH_KEYWORDS, NULL},
47286 { (char *)"Window_RemoveEventHandler", (PyCFunction) _wrap_Window_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS, NULL},
47287 { (char *)"Window_SetValidator", (PyCFunction) _wrap_Window_SetValidator, METH_VARARGS | METH_KEYWORDS, NULL},
47288 { (char *)"Window_GetValidator", (PyCFunction) _wrap_Window_GetValidator, METH_VARARGS | METH_KEYWORDS, NULL},
47289 { (char *)"Window_Validate", (PyCFunction) _wrap_Window_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
47290 { (char *)"Window_TransferDataToWindow", (PyCFunction) _wrap_Window_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47291 { (char *)"Window_TransferDataFromWindow", (PyCFunction) _wrap_Window_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47292 { (char *)"Window_InitDialog", (PyCFunction) _wrap_Window_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
47293 { (char *)"Window_SetAcceleratorTable", (PyCFunction) _wrap_Window_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL},
47294 { (char *)"Window_GetAcceleratorTable", (PyCFunction) _wrap_Window_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL},
47295 { (char *)"Window_RegisterHotKey", (PyCFunction) _wrap_Window_RegisterHotKey, METH_VARARGS | METH_KEYWORDS, NULL},
47296 { (char *)"Window_UnregisterHotKey", (PyCFunction) _wrap_Window_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS, NULL},
47297 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction) _wrap_Window_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS, NULL},
47298 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction) _wrap_Window_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS, NULL},
47299 { (char *)"Window_DLG_PNT", (PyCFunction) _wrap_Window_DLG_PNT, METH_VARARGS | METH_KEYWORDS, NULL},
47300 { (char *)"Window_DLG_SZE", (PyCFunction) _wrap_Window_DLG_SZE, METH_VARARGS | METH_KEYWORDS, NULL},
47301 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction) _wrap_Window_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS, NULL},
47302 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction) _wrap_Window_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS, NULL},
47303 { (char *)"Window_WarpPointer", (PyCFunction) _wrap_Window_WarpPointer, METH_VARARGS | METH_KEYWORDS, NULL},
47304 { (char *)"Window_CaptureMouse", (PyCFunction) _wrap_Window_CaptureMouse, METH_VARARGS | METH_KEYWORDS, NULL},
47305 { (char *)"Window_ReleaseMouse", (PyCFunction) _wrap_Window_ReleaseMouse, METH_VARARGS | METH_KEYWORDS, NULL},
47306 { (char *)"Window_GetCapture", (PyCFunction) _wrap_Window_GetCapture, METH_VARARGS | METH_KEYWORDS, NULL},
47307 { (char *)"Window_HasCapture", (PyCFunction) _wrap_Window_HasCapture, METH_VARARGS | METH_KEYWORDS, NULL},
47308 { (char *)"Window_Refresh", (PyCFunction) _wrap_Window_Refresh, METH_VARARGS | METH_KEYWORDS, NULL},
47309 { (char *)"Window_RefreshRect", (PyCFunction) _wrap_Window_RefreshRect, METH_VARARGS | METH_KEYWORDS, NULL},
47310 { (char *)"Window_Update", (PyCFunction) _wrap_Window_Update, METH_VARARGS | METH_KEYWORDS, NULL},
47311 { (char *)"Window_ClearBackground", (PyCFunction) _wrap_Window_ClearBackground, METH_VARARGS | METH_KEYWORDS, NULL},
47312 { (char *)"Window_Freeze", (PyCFunction) _wrap_Window_Freeze, METH_VARARGS | METH_KEYWORDS, NULL},
47313 { (char *)"Window_Thaw", (PyCFunction) _wrap_Window_Thaw, METH_VARARGS | METH_KEYWORDS, NULL},
47314 { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
47315 { (char *)"Window_GetUpdateRegion", (PyCFunction) _wrap_Window_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS, NULL},
47316 { (char *)"Window_GetUpdateClientRect", (PyCFunction) _wrap_Window_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS, NULL},
47317 { (char *)"Window_IsExposed", (PyCFunction) _wrap_Window_IsExposed, METH_VARARGS | METH_KEYWORDS, NULL},
47318 { (char *)"Window_IsExposedPoint", (PyCFunction) _wrap_Window_IsExposedPoint, METH_VARARGS | METH_KEYWORDS, NULL},
47319 { (char *)"Window_IsExposedRect", (PyCFunction) _wrap_Window_IsExposedRect, METH_VARARGS | METH_KEYWORDS, NULL},
47320 { (char *)"Window_GetDefaultAttributes", (PyCFunction) _wrap_Window_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47321 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction) _wrap_Window_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47322 { (char *)"Window_SetBackgroundColour", (PyCFunction) _wrap_Window_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47323 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction) _wrap_Window_SetOwnBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47324 { (char *)"Window_SetForegroundColour", (PyCFunction) _wrap_Window_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47325 { (char *)"Window_SetOwnForegroundColour", (PyCFunction) _wrap_Window_SetOwnForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47326 { (char *)"Window_GetBackgroundColour", (PyCFunction) _wrap_Window_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47327 { (char *)"Window_GetForegroundColour", (PyCFunction) _wrap_Window_GetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
562ecc31
RD
47328 { (char *)"Window_InheritsBackgroundColour", (PyCFunction) _wrap_Window_InheritsBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47329 { (char *)"Window_UseBgCol", (PyCFunction) _wrap_Window_UseBgCol, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
47330 { (char *)"Window_SetBackgroundStyle", (PyCFunction) _wrap_Window_SetBackgroundStyle, METH_VARARGS | METH_KEYWORDS, NULL},
47331 { (char *)"Window_GetBackgroundStyle", (PyCFunction) _wrap_Window_GetBackgroundStyle, METH_VARARGS | METH_KEYWORDS, NULL},
51b83b37 47332 { (char *)"Window_HasTransparentBackground", (PyCFunction) _wrap_Window_HasTransparentBackground, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
47333 { (char *)"Window_SetCursor", (PyCFunction) _wrap_Window_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
47334 { (char *)"Window_GetCursor", (PyCFunction) _wrap_Window_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
47335 { (char *)"Window_SetFont", (PyCFunction) _wrap_Window_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
47336 { (char *)"Window_SetOwnFont", (PyCFunction) _wrap_Window_SetOwnFont, METH_VARARGS | METH_KEYWORDS, NULL},
47337 { (char *)"Window_GetFont", (PyCFunction) _wrap_Window_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
47338 { (char *)"Window_SetCaret", (PyCFunction) _wrap_Window_SetCaret, METH_VARARGS | METH_KEYWORDS, NULL},
47339 { (char *)"Window_GetCaret", (PyCFunction) _wrap_Window_GetCaret, METH_VARARGS | METH_KEYWORDS, NULL},
47340 { (char *)"Window_GetCharHeight", (PyCFunction) _wrap_Window_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL},
47341 { (char *)"Window_GetCharWidth", (PyCFunction) _wrap_Window_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL},
47342 { (char *)"Window_GetTextExtent", (PyCFunction) _wrap_Window_GetTextExtent, METH_VARARGS | METH_KEYWORDS, NULL},
47343 { (char *)"Window_GetFullTextExtent", (PyCFunction) _wrap_Window_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS, NULL},
47344 { (char *)"Window_ClientToScreenXY", (PyCFunction) _wrap_Window_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS, NULL},
47345 { (char *)"Window_ScreenToClientXY", (PyCFunction) _wrap_Window_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS, NULL},
47346 { (char *)"Window_ClientToScreen", (PyCFunction) _wrap_Window_ClientToScreen, METH_VARARGS | METH_KEYWORDS, NULL},
47347 { (char *)"Window_ScreenToClient", (PyCFunction) _wrap_Window_ScreenToClient, METH_VARARGS | METH_KEYWORDS, NULL},
47348 { (char *)"Window_HitTestXY", (PyCFunction) _wrap_Window_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
47349 { (char *)"Window_HitTest", (PyCFunction) _wrap_Window_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
47350 { (char *)"Window_GetBorder", _wrap_Window_GetBorder, METH_VARARGS, NULL},
47351 { (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS, NULL},
47352 { (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS, NULL},
47353 { (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
47354 { (char *)"Window_GetHandle", (PyCFunction) _wrap_Window_GetHandle, METH_VARARGS | METH_KEYWORDS, NULL},
47355 { (char *)"Window_AssociateHandle", (PyCFunction) _wrap_Window_AssociateHandle, METH_VARARGS | METH_KEYWORDS, NULL},
47356 { (char *)"Window_DissociateHandle", (PyCFunction) _wrap_Window_DissociateHandle, METH_VARARGS | METH_KEYWORDS, NULL},
47357 { (char *)"Window_HasScrollbar", (PyCFunction) _wrap_Window_HasScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
47358 { (char *)"Window_SetScrollbar", (PyCFunction) _wrap_Window_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
47359 { (char *)"Window_SetScrollPos", (PyCFunction) _wrap_Window_SetScrollPos, METH_VARARGS | METH_KEYWORDS, NULL},
47360 { (char *)"Window_GetScrollPos", (PyCFunction) _wrap_Window_GetScrollPos, METH_VARARGS | METH_KEYWORDS, NULL},
47361 { (char *)"Window_GetScrollThumb", (PyCFunction) _wrap_Window_GetScrollThumb, METH_VARARGS | METH_KEYWORDS, NULL},
47362 { (char *)"Window_GetScrollRange", (PyCFunction) _wrap_Window_GetScrollRange, METH_VARARGS | METH_KEYWORDS, NULL},
47363 { (char *)"Window_ScrollWindow", (PyCFunction) _wrap_Window_ScrollWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47364 { (char *)"Window_ScrollLines", (PyCFunction) _wrap_Window_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL},
47365 { (char *)"Window_ScrollPages", (PyCFunction) _wrap_Window_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL},
47366 { (char *)"Window_LineUp", (PyCFunction) _wrap_Window_LineUp, METH_VARARGS | METH_KEYWORDS, NULL},
47367 { (char *)"Window_LineDown", (PyCFunction) _wrap_Window_LineDown, METH_VARARGS | METH_KEYWORDS, NULL},
47368 { (char *)"Window_PageUp", (PyCFunction) _wrap_Window_PageUp, METH_VARARGS | METH_KEYWORDS, NULL},
47369 { (char *)"Window_PageDown", (PyCFunction) _wrap_Window_PageDown, METH_VARARGS | METH_KEYWORDS, NULL},
47370 { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
47371 { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS, NULL},
47372 { (char *)"Window_GetHelpText", (PyCFunction) _wrap_Window_GetHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
47373 { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS, NULL},
47374 { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
47375 { (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
47376 { (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
47377 { (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
5ba5649b 47378 { (char *)"Window_DragAcceptFiles", (PyCFunction) _wrap_Window_DragAcceptFiles, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
47379 { (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS, NULL},
47380 { (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS, NULL},
47381 { (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS, NULL},
47382 { (char *)"Window_GetAutoLayout", (PyCFunction) _wrap_Window_GetAutoLayout, METH_VARARGS | METH_KEYWORDS, NULL},
47383 { (char *)"Window_Layout", (PyCFunction) _wrap_Window_Layout, METH_VARARGS | METH_KEYWORDS, NULL},
47384 { (char *)"Window_SetSizer", (PyCFunction) _wrap_Window_SetSizer, METH_VARARGS | METH_KEYWORDS, NULL},
47385 { (char *)"Window_SetSizerAndFit", (PyCFunction) _wrap_Window_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS, NULL},
47386 { (char *)"Window_GetSizer", (PyCFunction) _wrap_Window_GetSizer, METH_VARARGS | METH_KEYWORDS, NULL},
47387 { (char *)"Window_SetContainingSizer", (PyCFunction) _wrap_Window_SetContainingSizer, METH_VARARGS | METH_KEYWORDS, NULL},
47388 { (char *)"Window_GetContainingSizer", (PyCFunction) _wrap_Window_GetContainingSizer, METH_VARARGS | METH_KEYWORDS, NULL},
47389 { (char *)"Window_InheritAttributes", (PyCFunction) _wrap_Window_InheritAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47390 { (char *)"Window_ShouldInheritColours", (PyCFunction) _wrap_Window_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
47391 { (char *)"Window_swigregister", Window_swigregister, METH_VARARGS, NULL},
47392 { (char *)"FindWindowById", (PyCFunction) _wrap_FindWindowById, METH_VARARGS | METH_KEYWORDS, NULL},
47393 { (char *)"FindWindowByName", (PyCFunction) _wrap_FindWindowByName, METH_VARARGS | METH_KEYWORDS, NULL},
47394 { (char *)"FindWindowByLabel", (PyCFunction) _wrap_FindWindowByLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47395 { (char *)"Window_FromHWND", (PyCFunction) _wrap_Window_FromHWND, METH_VARARGS | METH_KEYWORDS, NULL},
b6b0383e 47396 { (char *)"GetTopLevelWindows", (PyCFunction) _wrap_GetTopLevelWindows, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
47397 { (char *)"new_Validator", (PyCFunction) _wrap_new_Validator, METH_VARARGS | METH_KEYWORDS, NULL},
47398 { (char *)"Validator_Clone", (PyCFunction) _wrap_Validator_Clone, METH_VARARGS | METH_KEYWORDS, NULL},
47399 { (char *)"Validator_Validate", (PyCFunction) _wrap_Validator_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
47400 { (char *)"Validator_TransferToWindow", (PyCFunction) _wrap_Validator_TransferToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47401 { (char *)"Validator_TransferFromWindow", (PyCFunction) _wrap_Validator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47402 { (char *)"Validator_GetWindow", (PyCFunction) _wrap_Validator_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47403 { (char *)"Validator_SetWindow", (PyCFunction) _wrap_Validator_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47404 { (char *)"Validator_IsSilent", (PyCFunction) _wrap_Validator_IsSilent, METH_VARARGS | METH_KEYWORDS, NULL},
47405 { (char *)"Validator_SetBellOnError", (PyCFunction) _wrap_Validator_SetBellOnError, METH_VARARGS | METH_KEYWORDS, NULL},
47406 { (char *)"Validator_swigregister", Validator_swigregister, METH_VARARGS, NULL},
47407 { (char *)"new_PyValidator", (PyCFunction) _wrap_new_PyValidator, METH_VARARGS | METH_KEYWORDS, NULL},
47408 { (char *)"PyValidator__setCallbackInfo", (PyCFunction) _wrap_PyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
47409 { (char *)"PyValidator_swigregister", PyValidator_swigregister, METH_VARARGS, NULL},
47410 { (char *)"new_Menu", (PyCFunction) _wrap_new_Menu, METH_VARARGS | METH_KEYWORDS, NULL},
47411 { (char *)"Menu_Append", (PyCFunction) _wrap_Menu_Append, METH_VARARGS | METH_KEYWORDS, NULL},
47412 { (char *)"Menu_AppendSeparator", (PyCFunction) _wrap_Menu_AppendSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
47413 { (char *)"Menu_AppendCheckItem", (PyCFunction) _wrap_Menu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS, NULL},
47414 { (char *)"Menu_AppendRadioItem", (PyCFunction) _wrap_Menu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS, NULL},
47415 { (char *)"Menu_AppendMenu", (PyCFunction) _wrap_Menu_AppendMenu, METH_VARARGS | METH_KEYWORDS, NULL},
47416 { (char *)"Menu_AppendItem", (PyCFunction) _wrap_Menu_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
47417 { (char *)"Menu_Break", (PyCFunction) _wrap_Menu_Break, METH_VARARGS | METH_KEYWORDS, NULL},
47418 { (char *)"Menu_InsertItem", (PyCFunction) _wrap_Menu_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
47419 { (char *)"Menu_Insert", (PyCFunction) _wrap_Menu_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
47420 { (char *)"Menu_InsertSeparator", (PyCFunction) _wrap_Menu_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
47421 { (char *)"Menu_InsertCheckItem", (PyCFunction) _wrap_Menu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS, NULL},
47422 { (char *)"Menu_InsertRadioItem", (PyCFunction) _wrap_Menu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS, NULL},
47423 { (char *)"Menu_InsertMenu", (PyCFunction) _wrap_Menu_InsertMenu, METH_VARARGS | METH_KEYWORDS, NULL},
47424 { (char *)"Menu_PrependItem", (PyCFunction) _wrap_Menu_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
47425 { (char *)"Menu_Prepend", (PyCFunction) _wrap_Menu_Prepend, METH_VARARGS | METH_KEYWORDS, NULL},
47426 { (char *)"Menu_PrependSeparator", (PyCFunction) _wrap_Menu_PrependSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
47427 { (char *)"Menu_PrependCheckItem", (PyCFunction) _wrap_Menu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS, NULL},
47428 { (char *)"Menu_PrependRadioItem", (PyCFunction) _wrap_Menu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS, NULL},
47429 { (char *)"Menu_PrependMenu", (PyCFunction) _wrap_Menu_PrependMenu, METH_VARARGS | METH_KEYWORDS, NULL},
47430 { (char *)"Menu_Remove", (PyCFunction) _wrap_Menu_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
47431 { (char *)"Menu_RemoveItem", (PyCFunction) _wrap_Menu_RemoveItem, METH_VARARGS | METH_KEYWORDS, NULL},
47432 { (char *)"Menu_Delete", (PyCFunction) _wrap_Menu_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
47433 { (char *)"Menu_DeleteItem", (PyCFunction) _wrap_Menu_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
47434 { (char *)"Menu_Destroy", (PyCFunction) _wrap_Menu_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
47435 { (char *)"Menu_DestroyId", (PyCFunction) _wrap_Menu_DestroyId, METH_VARARGS | METH_KEYWORDS, NULL},
47436 { (char *)"Menu_DestroyItem", (PyCFunction) _wrap_Menu_DestroyItem, METH_VARARGS | METH_KEYWORDS, NULL},
47437 { (char *)"Menu_GetMenuItemCount", (PyCFunction) _wrap_Menu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
47438 { (char *)"Menu_GetMenuItems", (PyCFunction) _wrap_Menu_GetMenuItems, METH_VARARGS | METH_KEYWORDS, NULL},
47439 { (char *)"Menu_FindItem", (PyCFunction) _wrap_Menu_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
47440 { (char *)"Menu_FindItemById", (PyCFunction) _wrap_Menu_FindItemById, METH_VARARGS | METH_KEYWORDS, NULL},
47441 { (char *)"Menu_FindItemByPosition", (PyCFunction) _wrap_Menu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47442 { (char *)"Menu_Enable", (PyCFunction) _wrap_Menu_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
47443 { (char *)"Menu_IsEnabled", (PyCFunction) _wrap_Menu_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
47444 { (char *)"Menu_Check", (PyCFunction) _wrap_Menu_Check, METH_VARARGS | METH_KEYWORDS, NULL},
47445 { (char *)"Menu_IsChecked", (PyCFunction) _wrap_Menu_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
47446 { (char *)"Menu_SetLabel", (PyCFunction) _wrap_Menu_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47447 { (char *)"Menu_GetLabel", (PyCFunction) _wrap_Menu_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47448 { (char *)"Menu_SetHelpString", (PyCFunction) _wrap_Menu_SetHelpString, METH_VARARGS | METH_KEYWORDS, NULL},
47449 { (char *)"Menu_GetHelpString", (PyCFunction) _wrap_Menu_GetHelpString, METH_VARARGS | METH_KEYWORDS, NULL},
47450 { (char *)"Menu_SetTitle", (PyCFunction) _wrap_Menu_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
47451 { (char *)"Menu_GetTitle", (PyCFunction) _wrap_Menu_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
47452 { (char *)"Menu_SetEventHandler", (PyCFunction) _wrap_Menu_SetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL},
47453 { (char *)"Menu_GetEventHandler", (PyCFunction) _wrap_Menu_GetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL},
47454 { (char *)"Menu_SetInvokingWindow", (PyCFunction) _wrap_Menu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47455 { (char *)"Menu_GetInvokingWindow", (PyCFunction) _wrap_Menu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47456 { (char *)"Menu_GetStyle", (PyCFunction) _wrap_Menu_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
47457 { (char *)"Menu_UpdateUI", (PyCFunction) _wrap_Menu_UpdateUI, METH_VARARGS | METH_KEYWORDS, NULL},
47458 { (char *)"Menu_GetMenuBar", (PyCFunction) _wrap_Menu_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
47459 { (char *)"Menu_Attach", (PyCFunction) _wrap_Menu_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
47460 { (char *)"Menu_Detach", (PyCFunction) _wrap_Menu_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
47461 { (char *)"Menu_IsAttached", (PyCFunction) _wrap_Menu_IsAttached, METH_VARARGS | METH_KEYWORDS, NULL},
47462 { (char *)"Menu_SetParent", (PyCFunction) _wrap_Menu_SetParent, METH_VARARGS | METH_KEYWORDS, NULL},
47463 { (char *)"Menu_GetParent", (PyCFunction) _wrap_Menu_GetParent, METH_VARARGS | METH_KEYWORDS, NULL},
47464 { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS, NULL},
47465 { (char *)"new_MenuBar", (PyCFunction) _wrap_new_MenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
47466 { (char *)"MenuBar_Append", (PyCFunction) _wrap_MenuBar_Append, METH_VARARGS | METH_KEYWORDS, NULL},
47467 { (char *)"MenuBar_Insert", (PyCFunction) _wrap_MenuBar_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
47468 { (char *)"MenuBar_GetMenuCount", (PyCFunction) _wrap_MenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS, NULL},
47469 { (char *)"MenuBar_GetMenu", (PyCFunction) _wrap_MenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL},
47470 { (char *)"MenuBar_Replace", (PyCFunction) _wrap_MenuBar_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
47471 { (char *)"MenuBar_Remove", (PyCFunction) _wrap_MenuBar_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
47472 { (char *)"MenuBar_EnableTop", (PyCFunction) _wrap_MenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS, NULL},
47473 { (char *)"MenuBar_IsEnabledTop", (PyCFunction) _wrap_MenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS, NULL},
47474 { (char *)"MenuBar_SetLabelTop", (PyCFunction) _wrap_MenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS, NULL},
47475 { (char *)"MenuBar_GetLabelTop", (PyCFunction) _wrap_MenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS, NULL},
47476 { (char *)"MenuBar_FindMenuItem", (PyCFunction) _wrap_MenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS, NULL},
47477 { (char *)"MenuBar_FindItemById", (PyCFunction) _wrap_MenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS, NULL},
47478 { (char *)"MenuBar_FindMenu", (PyCFunction) _wrap_MenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS, NULL},
47479 { (char *)"MenuBar_Enable", (PyCFunction) _wrap_MenuBar_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
47480 { (char *)"MenuBar_Check", (PyCFunction) _wrap_MenuBar_Check, METH_VARARGS | METH_KEYWORDS, NULL},
47481 { (char *)"MenuBar_IsChecked", (PyCFunction) _wrap_MenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
47482 { (char *)"MenuBar_IsEnabled", (PyCFunction) _wrap_MenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
47483 { (char *)"MenuBar_SetLabel", (PyCFunction) _wrap_MenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47484 { (char *)"MenuBar_GetLabel", (PyCFunction) _wrap_MenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47485 { (char *)"MenuBar_SetHelpString", (PyCFunction) _wrap_MenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS, NULL},
47486 { (char *)"MenuBar_GetHelpString", (PyCFunction) _wrap_MenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS, NULL},
47487 { (char *)"MenuBar_GetFrame", (PyCFunction) _wrap_MenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
47488 { (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS, NULL},
47489 { (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
47490 { (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
4f433fef
RD
47491 { (char *)"MenuBar_SetAutoWindowMenu", (PyCFunction) _wrap_MenuBar_SetAutoWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
47492 { (char *)"MenuBar_GetAutoWindowMenu", (PyCFunction) _wrap_MenuBar_GetAutoWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
47493 { (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS, NULL},
47494 { (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS, NULL},
47495 { (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL},
47496 { (char *)"MenuItem_SetMenu", (PyCFunction) _wrap_MenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS, NULL},
47497 { (char *)"MenuItem_SetId", (PyCFunction) _wrap_MenuItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
47498 { (char *)"MenuItem_GetId", (PyCFunction) _wrap_MenuItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
47499 { (char *)"MenuItem_IsSeparator", (PyCFunction) _wrap_MenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
47500 { (char *)"MenuItem_SetText", (PyCFunction) _wrap_MenuItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
47501 { (char *)"MenuItem_GetLabel", (PyCFunction) _wrap_MenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47502 { (char *)"MenuItem_GetText", (PyCFunction) _wrap_MenuItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
47503 { (char *)"MenuItem_GetLabelFromText", (PyCFunction) _wrap_MenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS, NULL},
47504 { (char *)"MenuItem_GetKind", (PyCFunction) _wrap_MenuItem_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
47505 { (char *)"MenuItem_SetKind", (PyCFunction) _wrap_MenuItem_SetKind, METH_VARARGS | METH_KEYWORDS, NULL},
47506 { (char *)"MenuItem_SetCheckable", (PyCFunction) _wrap_MenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS, NULL},
47507 { (char *)"MenuItem_IsCheckable", (PyCFunction) _wrap_MenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS, NULL},
47508 { (char *)"MenuItem_IsSubMenu", (PyCFunction) _wrap_MenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS, NULL},
47509 { (char *)"MenuItem_SetSubMenu", (PyCFunction) _wrap_MenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS, NULL},
47510 { (char *)"MenuItem_GetSubMenu", (PyCFunction) _wrap_MenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS, NULL},
47511 { (char *)"MenuItem_Enable", (PyCFunction) _wrap_MenuItem_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
47512 { (char *)"MenuItem_IsEnabled", (PyCFunction) _wrap_MenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
47513 { (char *)"MenuItem_Check", (PyCFunction) _wrap_MenuItem_Check, METH_VARARGS | METH_KEYWORDS, NULL},
47514 { (char *)"MenuItem_IsChecked", (PyCFunction) _wrap_MenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
47515 { (char *)"MenuItem_Toggle", (PyCFunction) _wrap_MenuItem_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
47516 { (char *)"MenuItem_SetHelp", (PyCFunction) _wrap_MenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47517 { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47518 { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS, NULL},
47519 { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS, NULL},
091f5bed
RD
47520 { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47521 { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
c1280d1e
RD
47522 { (char *)"MenuItem_SetFont", (PyCFunction) _wrap_MenuItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
47523 { (char *)"MenuItem_GetFont", (PyCFunction) _wrap_MenuItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
47524 { (char *)"MenuItem_SetTextColour", (PyCFunction) _wrap_MenuItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47525 { (char *)"MenuItem_GetTextColour", (PyCFunction) _wrap_MenuItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47526 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction) _wrap_MenuItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47527 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction) _wrap_MenuItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47528 { (char *)"MenuItem_SetBitmaps", (PyCFunction) _wrap_MenuItem_SetBitmaps, METH_VARARGS | METH_KEYWORDS, NULL},
47529 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction) _wrap_MenuItem_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47530 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction) _wrap_MenuItem_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47531 { (char *)"MenuItem_SetMarginWidth", (PyCFunction) _wrap_MenuItem_SetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
47532 { (char *)"MenuItem_GetMarginWidth", (PyCFunction) _wrap_MenuItem_GetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 47533 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_MenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
c1280d1e
RD
47534 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction) _wrap_MenuItem_IsOwnerDrawn, METH_VARARGS | METH_KEYWORDS, NULL},
47535 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction) _wrap_MenuItem_SetOwnerDrawn, METH_VARARGS | METH_KEYWORDS, NULL},
47536 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction) _wrap_MenuItem_ResetOwnerDrawn, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
47537 { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS, NULL},
47538 { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS, NULL},
47539 { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS, NULL},
47540 { (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47541 { (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS, NULL},
47542 { (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47543 { (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47544 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction) _wrap_Control_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47545 { (char *)"Control_swigregister", Control_swigregister, METH_VARARGS, NULL},
47546 { (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS, NULL},
47547 { (char *)"ItemContainer_AppendItems", (PyCFunction) _wrap_ItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS, NULL},
47548 { (char *)"ItemContainer_Insert", (PyCFunction) _wrap_ItemContainer_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
47549 { (char *)"ItemContainer_Clear", (PyCFunction) _wrap_ItemContainer_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
47550 { (char *)"ItemContainer_Delete", (PyCFunction) _wrap_ItemContainer_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
53aa7709
RD
47551 { (char *)"ItemContainer_GetClientData", (PyCFunction) _wrap_ItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
47552 { (char *)"ItemContainer_SetClientData", (PyCFunction) _wrap_ItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
47553 { (char *)"ItemContainer_GetCount", (PyCFunction) _wrap_ItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
47554 { (char *)"ItemContainer_IsEmpty", (PyCFunction) _wrap_ItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL},
47555 { (char *)"ItemContainer_GetString", (PyCFunction) _wrap_ItemContainer_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
47556 { (char *)"ItemContainer_GetStrings", (PyCFunction) _wrap_ItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS, NULL},
47557 { (char *)"ItemContainer_SetString", (PyCFunction) _wrap_ItemContainer_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
47558 { (char *)"ItemContainer_FindString", (PyCFunction) _wrap_ItemContainer_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
53aa7709 47559 { (char *)"ItemContainer_SetSelection", (PyCFunction) _wrap_ItemContainer_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 47560 { (char *)"ItemContainer_GetSelection", (PyCFunction) _wrap_ItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
53aa7709 47561 { (char *)"ItemContainer_SetStringSelection", (PyCFunction) _wrap_ItemContainer_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 47562 { (char *)"ItemContainer_GetStringSelection", (PyCFunction) _wrap_ItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
53aa7709 47563 { (char *)"ItemContainer_Select", (PyCFunction) _wrap_ItemContainer_Select, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
47564 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister, METH_VARARGS, NULL},
47565 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister, METH_VARARGS, NULL},
47566 { (char *)"new_SizerItem", (PyCFunction) _wrap_new_SizerItem, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef 47567 { (char *)"delete_SizerItem", (PyCFunction) _wrap_delete_SizerItem, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
47568 { (char *)"new_SizerItemWindow", (PyCFunction) _wrap_new_SizerItemWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47569 { (char *)"new_SizerItemSpacer", (PyCFunction) _wrap_new_SizerItemSpacer, METH_VARARGS | METH_KEYWORDS, NULL},
47570 { (char *)"new_SizerItemSizer", (PyCFunction) _wrap_new_SizerItemSizer, METH_VARARGS | METH_KEYWORDS, NULL},
47571 { (char *)"SizerItem_DeleteWindows", (PyCFunction) _wrap_SizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS, NULL},
47572 { (char *)"SizerItem_DetachSizer", (PyCFunction) _wrap_SizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS, NULL},
47573 { (char *)"SizerItem_GetSize", (PyCFunction) _wrap_SizerItem_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
47574 { (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
47575 { (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS, NULL},
47576 { (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL},
47577 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction) _wrap_SizerItem_GetMinSizeWithBorder, METH_VARARGS | METH_KEYWORDS, NULL},
47578 { (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS, NULL},
47579 { (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS, NULL},
47580 { (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS, NULL},
47581 { (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS, NULL},
47582 { (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS, NULL},
47583 { (char *)"SizerItem_GetRect", (PyCFunction) _wrap_SizerItem_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
47584 { (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47585 { (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS, NULL},
47586 { (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS, NULL},
47587 { (char *)"SizerItem_SetProportion", (PyCFunction) _wrap_SizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS, NULL},
47588 { (char *)"SizerItem_GetProportion", (PyCFunction) _wrap_SizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS, NULL},
47589 { (char *)"SizerItem_SetFlag", (PyCFunction) _wrap_SizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL},
47590 { (char *)"SizerItem_GetFlag", (PyCFunction) _wrap_SizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS, NULL},
47591 { (char *)"SizerItem_SetBorder", (PyCFunction) _wrap_SizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
47592 { (char *)"SizerItem_GetBorder", (PyCFunction) _wrap_SizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS, NULL},
47593 { (char *)"SizerItem_GetWindow", (PyCFunction) _wrap_SizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47594 { (char *)"SizerItem_SetWindow", (PyCFunction) _wrap_SizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47595 { (char *)"SizerItem_GetSizer", (PyCFunction) _wrap_SizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS, NULL},
47596 { (char *)"SizerItem_SetSizer", (PyCFunction) _wrap_SizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS, NULL},
47597 { (char *)"SizerItem_GetSpacer", (PyCFunction) _wrap_SizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS, NULL},
47598 { (char *)"SizerItem_SetSpacer", (PyCFunction) _wrap_SizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS, NULL},
47599 { (char *)"SizerItem_Show", (PyCFunction) _wrap_SizerItem_Show, METH_VARARGS | METH_KEYWORDS, NULL},
47600 { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS, NULL},
47601 { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47602 { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS, NULL},
091f5bed 47603 { (char *)"SizerItem_SetUserData", (PyCFunction) _wrap_SizerItem_SetUserData, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 47604 { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS, NULL},
7e08d4ef 47605 { (char *)"delete_Sizer", (PyCFunction) _wrap_delete_Sizer, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
47606 { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL},
47607 { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS, NULL},
47608 { (char *)"Sizer_Insert", (PyCFunction) _wrap_Sizer_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
47609 { (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS, NULL},
47610 { (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
47611 { (char *)"Sizer_Detach", (PyCFunction) _wrap_Sizer_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
47612 { (char *)"Sizer_GetItem", (PyCFunction) _wrap_Sizer_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
47613 { (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS, NULL},
47614 { (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS, NULL},
47615 { (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
47616 { (char *)"Sizer_PrependItem", (PyCFunction) _wrap_Sizer_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
47617 { (char *)"Sizer_SetDimension", (PyCFunction) _wrap_Sizer_SetDimension, METH_VARARGS | METH_KEYWORDS, NULL},
47618 { (char *)"Sizer_SetMinSize", (PyCFunction) _wrap_Sizer_SetMinSize, METH_VARARGS | METH_KEYWORDS, NULL},
47619 { (char *)"Sizer_GetSize", (PyCFunction) _wrap_Sizer_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
47620 { (char *)"Sizer_GetPosition", (PyCFunction) _wrap_Sizer_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47621 { (char *)"Sizer_GetMinSize", (PyCFunction) _wrap_Sizer_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL},
47622 { (char *)"Sizer_RecalcSizes", (PyCFunction) _wrap_Sizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
47623 { (char *)"Sizer_CalcMin", (PyCFunction) _wrap_Sizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
47624 { (char *)"Sizer_Layout", (PyCFunction) _wrap_Sizer_Layout, METH_VARARGS | METH_KEYWORDS, NULL},
47625 { (char *)"Sizer_Fit", (PyCFunction) _wrap_Sizer_Fit, METH_VARARGS | METH_KEYWORDS, NULL},
47626 { (char *)"Sizer_FitInside", (PyCFunction) _wrap_Sizer_FitInside, METH_VARARGS | METH_KEYWORDS, NULL},
47627 { (char *)"Sizer_SetSizeHints", (PyCFunction) _wrap_Sizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS, NULL},
47628 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction) _wrap_Sizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS, NULL},
47629 { (char *)"Sizer_Clear", (PyCFunction) _wrap_Sizer_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
47630 { (char *)"Sizer_DeleteWindows", (PyCFunction) _wrap_Sizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS, NULL},
47631 { (char *)"Sizer_GetChildren", (PyCFunction) _wrap_Sizer_GetChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47632 { (char *)"Sizer_Show", (PyCFunction) _wrap_Sizer_Show, METH_VARARGS | METH_KEYWORDS, NULL},
47633 { (char *)"Sizer_IsShown", (PyCFunction) _wrap_Sizer_IsShown, METH_VARARGS | METH_KEYWORDS, NULL},
47634 { (char *)"Sizer_ShowItems", (PyCFunction) _wrap_Sizer_ShowItems, METH_VARARGS | METH_KEYWORDS, NULL},
47635 { (char *)"Sizer_swigregister", Sizer_swigregister, METH_VARARGS, NULL},
47636 { (char *)"new_PySizer", (PyCFunction) _wrap_new_PySizer, METH_VARARGS | METH_KEYWORDS, NULL},
47637 { (char *)"PySizer__setCallbackInfo", (PyCFunction) _wrap_PySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
47638 { (char *)"PySizer_swigregister", PySizer_swigregister, METH_VARARGS, NULL},
47639 { (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS, NULL},
47640 { (char *)"BoxSizer_GetOrientation", (PyCFunction) _wrap_BoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
47641 { (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
47642 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS, NULL},
47643 { (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS, NULL},
47644 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_StaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
47645 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister, METH_VARARGS, NULL},
47646 { (char *)"new_GridSizer", (PyCFunction) _wrap_new_GridSizer, METH_VARARGS | METH_KEYWORDS, NULL},
47647 { (char *)"GridSizer_SetCols", (PyCFunction) _wrap_GridSizer_SetCols, METH_VARARGS | METH_KEYWORDS, NULL},
47648 { (char *)"GridSizer_SetRows", (PyCFunction) _wrap_GridSizer_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
47649 { (char *)"GridSizer_SetVGap", (PyCFunction) _wrap_GridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS, NULL},
47650 { (char *)"GridSizer_SetHGap", (PyCFunction) _wrap_GridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS, NULL},
47651 { (char *)"GridSizer_GetCols", (PyCFunction) _wrap_GridSizer_GetCols, METH_VARARGS | METH_KEYWORDS, NULL},
47652 { (char *)"GridSizer_GetRows", (PyCFunction) _wrap_GridSizer_GetRows, METH_VARARGS | METH_KEYWORDS, NULL},
47653 { (char *)"GridSizer_GetVGap", (PyCFunction) _wrap_GridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS, NULL},
47654 { (char *)"GridSizer_GetHGap", (PyCFunction) _wrap_GridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS, NULL},
47655 { (char *)"GridSizer_swigregister", GridSizer_swigregister, METH_VARARGS, NULL},
47656 { (char *)"new_FlexGridSizer", (PyCFunction) _wrap_new_FlexGridSizer, METH_VARARGS | METH_KEYWORDS, NULL},
47657 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_FlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS, NULL},
47658 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS, NULL},
47659 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_FlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS, NULL},
47660 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS, NULL},
47661 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS, NULL},
47662 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS, NULL},
47663 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS, NULL},
47664 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS, NULL},
47665 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS, NULL},
47666 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS, NULL},
47667 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS, NULL},
e505d15e
RD
47668 { (char *)"new_StdDialogButtonSizer", (PyCFunction) _wrap_new_StdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
47669 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction) _wrap_StdDialogButtonSizer_AddButton, METH_VARARGS | METH_KEYWORDS, NULL},
53aa7709 47670 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction) _wrap_StdDialogButtonSizer_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
51b83b37
RD
47671 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction) _wrap_StdDialogButtonSizer_SetAffirmativeButton, METH_VARARGS | METH_KEYWORDS, NULL},
47672 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction) _wrap_StdDialogButtonSizer_SetNegativeButton, METH_VARARGS | METH_KEYWORDS, NULL},
47673 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction) _wrap_StdDialogButtonSizer_SetCancelButton, METH_VARARGS | METH_KEYWORDS, NULL},
e505d15e
RD
47674 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction) _wrap_StdDialogButtonSizer_GetAffirmativeButton, METH_VARARGS | METH_KEYWORDS, NULL},
47675 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction) _wrap_StdDialogButtonSizer_GetApplyButton, METH_VARARGS | METH_KEYWORDS, NULL},
47676 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction) _wrap_StdDialogButtonSizer_GetNegativeButton, METH_VARARGS | METH_KEYWORDS, NULL},
47677 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction) _wrap_StdDialogButtonSizer_GetCancelButton, METH_VARARGS | METH_KEYWORDS, NULL},
47678 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction) _wrap_StdDialogButtonSizer_GetHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
47679 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister, METH_VARARGS, NULL},
093d3ff1 47680 { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef 47681 { (char *)"delete_GBPosition", (PyCFunction) _wrap_delete_GBPosition, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
47682 { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS, NULL},
47683 { (char *)"GBPosition_GetCol", (PyCFunction) _wrap_GBPosition_GetCol, METH_VARARGS | METH_KEYWORDS, NULL},
47684 { (char *)"GBPosition_SetRow", (PyCFunction) _wrap_GBPosition_SetRow, METH_VARARGS | METH_KEYWORDS, NULL},
47685 { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS, NULL},
47686 { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
47687 { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
47688 { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS, NULL},
47689 { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS, NULL},
47690 { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS, NULL},
47691 { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef 47692 { (char *)"delete_GBSpan", (PyCFunction) _wrap_delete_GBSpan, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
47693 { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS, NULL},
47694 { (char *)"GBSpan_GetColspan", (PyCFunction) _wrap_GBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS, NULL},
47695 { (char *)"GBSpan_SetRowspan", (PyCFunction) _wrap_GBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS, NULL},
47696 { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS, NULL},
47697 { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
47698 { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
47699 { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS, NULL},
47700 { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS, NULL},
47701 { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS, NULL},
47702 { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef 47703 { (char *)"delete_GBSizerItem", (PyCFunction) _wrap_delete_GBSizerItem, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
47704 { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47705 { (char *)"new_GBSizerItemSizer", (PyCFunction) _wrap_new_GBSizerItemSizer, METH_VARARGS | METH_KEYWORDS, NULL},
47706 { (char *)"new_GBSizerItemSpacer", (PyCFunction) _wrap_new_GBSizerItemSpacer, METH_VARARGS | METH_KEYWORDS, NULL},
47707 { (char *)"GBSizerItem_GetPos", (PyCFunction) _wrap_GBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS, NULL},
47708 { (char *)"GBSizerItem_GetSpan", (PyCFunction) _wrap_GBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS, NULL},
47709 { (char *)"GBSizerItem_SetPos", (PyCFunction) _wrap_GBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS, NULL},
47710 { (char *)"GBSizerItem_SetSpan", (PyCFunction) _wrap_GBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS, NULL},
47711 { (char *)"GBSizerItem_Intersects", (PyCFunction) _wrap_GBSizerItem_Intersects, METH_VARARGS | METH_KEYWORDS, NULL},
47712 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction) _wrap_GBSizerItem_IntersectsPos, METH_VARARGS | METH_KEYWORDS, NULL},
47713 { (char *)"GBSizerItem_GetEndPos", (PyCFunction) _wrap_GBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS, NULL},
47714 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction) _wrap_GBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS, NULL},
47715 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction) _wrap_GBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS, NULL},
47716 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister, METH_VARARGS, NULL},
47717 { (char *)"new_GridBagSizer", (PyCFunction) _wrap_new_GridBagSizer, METH_VARARGS | METH_KEYWORDS, NULL},
47718 { (char *)"GridBagSizer_Add", (PyCFunction) _wrap_GridBagSizer_Add, METH_VARARGS | METH_KEYWORDS, NULL},
47719 { (char *)"GridBagSizer_AddItem", (PyCFunction) _wrap_GridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS, NULL},
47720 { (char *)"GridBagSizer_GetCellSize", (PyCFunction) _wrap_GridBagSizer_GetCellSize, METH_VARARGS | METH_KEYWORDS, NULL},
47721 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS, NULL},
47722 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS, NULL},
47723 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition, METH_VARARGS, NULL},
47724 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition, METH_VARARGS, NULL},
47725 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan, METH_VARARGS, NULL},
47726 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS, NULL},
47727 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS, NULL},
47728 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47729 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
47730 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction) _wrap_GridBagSizer_CheckForIntersection, METH_VARARGS | METH_KEYWORDS, NULL},
47731 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction) _wrap_GridBagSizer_CheckForIntersectionPos, METH_VARARGS | METH_KEYWORDS, NULL},
47732 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister, METH_VARARGS, NULL},
47733 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction) _wrap_IndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS, NULL},
47734 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_IndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS, NULL},
47735 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_IndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS, NULL},
47736 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction) _wrap_IndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS, NULL},
47737 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction) _wrap_IndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS, NULL},
47738 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_IndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS, NULL},
47739 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_IndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS, NULL},
47740 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_IndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS, NULL},
47741 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_IndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS, NULL},
47742 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_IndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS, NULL},
47743 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47744 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS, NULL},
47745 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
47746 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47747 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS, NULL},
47748 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL},
47749 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47750 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_IndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS, NULL},
47751 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS, NULL},
47752 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS, NULL},
47753 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS, NULL},
47754 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS, NULL},
47755 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS, NULL},
47756 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_IndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS, NULL},
47757 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_IndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS, NULL},
47758 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
47759 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister, METH_VARARGS, NULL},
47760 { (char *)"LayoutConstraints_left_get", (PyCFunction) _wrap_LayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS, NULL},
47761 { (char *)"LayoutConstraints_top_get", (PyCFunction) _wrap_LayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS, NULL},
47762 { (char *)"LayoutConstraints_right_get", (PyCFunction) _wrap_LayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS, NULL},
47763 { (char *)"LayoutConstraints_bottom_get", (PyCFunction) _wrap_LayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS, NULL},
47764 { (char *)"LayoutConstraints_width_get", (PyCFunction) _wrap_LayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
47765 { (char *)"LayoutConstraints_height_get", (PyCFunction) _wrap_LayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS, NULL},
47766 { (char *)"LayoutConstraints_centreX_get", (PyCFunction) _wrap_LayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS, NULL},
47767 { (char *)"LayoutConstraints_centreY_get", (PyCFunction) _wrap_LayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS, NULL},
47768 { (char *)"new_LayoutConstraints", (PyCFunction) _wrap_new_LayoutConstraints, METH_VARARGS | METH_KEYWORDS, NULL},
47769 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_LayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS, NULL},
47770 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction) _wrap_LayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS, NULL},
47771 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister, METH_VARARGS, NULL},
c32bde28 47772 { NULL, NULL, 0, NULL }
d14a1e28
RD
47773};
47774
47775
47776/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
47777
47778static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
47779 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
47780}
47781static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
47782 return (void *)((wxSizer *) ((wxBoxSizer *) x));
47783}
47784static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
47785 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
47786}
e505d15e
RD
47787static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
47788 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
47789}
d14a1e28
RD
47790static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
47791 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
47792}
47793static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
47794 return (void *)((wxSizer *) ((wxGridSizer *) x));
47795}
47796static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
47797 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
47798}
47799static void *_p_wxPySizerTo_p_wxSizer(void *x) {
47800 return (void *)((wxSizer *) ((wxPySizer *) x));
47801}
47802static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x) {
47803 return (void *)((wxBoxSizer *) ((wxStaticBoxSizer *) x));
47804}
e505d15e
RD
47805static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x) {
47806 return (void *)((wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
47807}
d14a1e28
RD
47808static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
47809 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
47810}
47811static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
47812 return (void *)((wxEvent *) ((wxMenuEvent *) x));
47813}
47814static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
47815 return (void *)((wxEvent *) ((wxCloseEvent *) x));
47816}
47817static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
47818 return (void *)((wxEvent *) ((wxMouseEvent *) x));
47819}
47820static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
47821 return (void *)((wxEvent *) ((wxEraseEvent *) x));
47822}
47823static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
47824 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
47825}
47826static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
47827 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
47828}
47829static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
47830 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
47831}
47832static void *_p_wxPyEventTo_p_wxEvent(void *x) {
47833 return (void *)((wxEvent *) ((wxPyEvent *) x));
47834}
47835static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
47836 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
47837}
47838static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
47839 return (void *)((wxEvent *) ((wxIdleEvent *) x));
47840}
47841static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
47842 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
47843}
47844static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
47845 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
47846}
47847static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
47848 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
47849}
47850static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
47851 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
47852}
47853static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
47854 return (void *)((wxEvent *) ((wxActivateEvent *) x));
47855}
47856static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
47857 return (void *)((wxEvent *) ((wxSizeEvent *) x));
47858}
47859static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
47860 return (void *)((wxEvent *) ((wxMoveEvent *) x));
47861}
53aa7709
RD
47862static void *_p_wxDateEventTo_p_wxEvent(void *x) {
47863 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
47864}
d14a1e28
RD
47865static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
47866 return (void *)((wxEvent *) ((wxPaintEvent *) x));
47867}
47868static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
47869 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
47870}
47871static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
47872 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
47873}
47874static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
47875 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
47876}
47877static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
47878 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
47879}
47880static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
47881 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
47882}
47883static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
47884 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
47885}
47886static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
47887 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
47888}
47889static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
47890 return (void *)((wxEvent *) ((wxFocusEvent *) x));
47891}
47892static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
47893 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
47894}
47895static void *_p_wxShowEventTo_p_wxEvent(void *x) {
47896 return (void *)((wxEvent *) ((wxShowEvent *) x));
47897}
47898static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
47899 return (void *)((wxEvent *) ((wxCommandEvent *) x));
47900}
47901static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
47902 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
47903}
47904static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
47905 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
47906}
47907static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
47908 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
47909}
47910static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
47911 return (void *)((wxEvent *) ((wxKeyEvent *) x));
47912}
47913static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
47914 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
47915}
47916static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x) {
47917 return (void *)((wxGridSizer *) (wxFlexGridSizer *) ((wxGridBagSizer *) x));
47918}
47919static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x) {
47920 return (void *)((wxGridSizer *) ((wxFlexGridSizer *) x));
47921}
47922static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x) {
47923 return (void *)((wxFlexGridSizer *) ((wxGridBagSizer *) x));
47924}
47925static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
47926 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
47927}
47928static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
47929 return (void *)((wxControl *) ((wxControlWithItems *) x));
47930}
47931static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
47932 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
47933}
47934static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
47935 return (void *)((wxEvtHandler *) ((wxWindow *) x));
47936}
47937static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
47938 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
47939}
47940static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
47941 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
47942}
47943static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
47944 return (void *)((wxEvtHandler *) ((wxValidator *) x));
47945}
47946static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
47947 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
47948}
47949static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
47950 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
47951}
47952static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
47953 return (void *)((wxEvtHandler *) ((wxMenu *) x));
47954}
47955static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x) {
47956 return (void *)((wxCURHandler *) ((wxANIHandler *) x));
47957}
47958static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x) {
47959 return (void *)((wxICOHandler *) ((wxCURHandler *) x));
47960}
47961static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x) {
47962 return (void *)((wxICOHandler *) (wxCURHandler *) ((wxANIHandler *) x));
47963}
47964static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x) {
47965 return (void *)((wxBMPHandler *) ((wxICOHandler *) x));
47966}
47967static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x) {
47968 return (void *)((wxBMPHandler *) (wxICOHandler *) ((wxCURHandler *) x));
47969}
47970static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) {
47971 return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
47972}
943e8dfd
RD
47973static void *_p_wxPyImageHandlerTo_p_wxImageHandler(void *x) {
47974 return (void *)((wxImageHandler *) ((wxPyImageHandler *) x));
47975}
d14a1e28
RD
47976static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) {
47977 return (void *)((wxImageHandler *) ((wxBMPHandler *) x));
47978}
47979static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x) {
47980 return (void *)((wxImageHandler *) (wxBMPHandler *) ((wxICOHandler *) x));
47981}
47982static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x) {
47983 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
47984}
47985static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x) {
47986 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
47987}
47988static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x) {
47989 return (void *)((wxImageHandler *) ((wxPNGHandler *) x));
47990}
47991static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x) {
47992 return (void *)((wxImageHandler *) ((wxGIFHandler *) x));
47993}
47994static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x) {
47995 return (void *)((wxImageHandler *) ((wxPCXHandler *) x));
47996}
47997static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x) {
47998 return (void *)((wxImageHandler *) ((wxJPEGHandler *) x));
47999}
48000static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x) {
48001 return (void *)((wxImageHandler *) ((wxPNMHandler *) x));
48002}
48003static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x) {
48004 return (void *)((wxImageHandler *) ((wxXPMHandler *) x));
48005}
48006static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x) {
48007 return (void *)((wxImageHandler *) ((wxTIFFHandler *) x));
48008}
48009static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x) {
48010 return (void *)((wxFileSystemHandler *) ((wxPyFileSystemHandler *) x));
48011}
48012static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x) {
48013 return (void *)((wxFileSystemHandler *) ((wxInternetFSHandler *) x));
48014}
48015static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x) {
48016 return (void *)((wxFileSystemHandler *) ((wxZipFSHandler *) x));
48017}
48018static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x) {
48019 return (void *)((wxFileSystemHandler *) ((wxMemoryFSHandler *) x));
48020}
e505d15e
RD
48021static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
48022 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
d14a1e28 48023}
e505d15e
RD
48024static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
48025 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
d14a1e28 48026}
e505d15e
RD
48027static void *_p_wxSizerItemTo_p_wxObject(void *x) {
48028 return (void *)((wxObject *) ((wxSizerItem *) x));
d14a1e28 48029}
e505d15e
RD
48030static void *_p_wxScrollEventTo_p_wxObject(void *x) {
48031 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
d14a1e28 48032}
e505d15e
RD
48033static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
48034 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
d14a1e28 48035}
e505d15e
RD
48036static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
48037 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
d14a1e28 48038}
e505d15e
RD
48039static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
48040 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
d14a1e28
RD
48041}
48042static void *_p_wxSizerTo_p_wxObject(void *x) {
48043 return (void *)((wxObject *) ((wxSizer *) x));
48044}
e505d15e
RD
48045static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
48046 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
d14a1e28 48047}
e505d15e
RD
48048static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
48049 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
d14a1e28 48050}
e505d15e
RD
48051static void *_p_wxEventTo_p_wxObject(void *x) {
48052 return (void *)((wxObject *) ((wxEvent *) x));
48053}
48054static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
48055 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
48056}
48057static void *_p_wxGridSizerTo_p_wxObject(void *x) {
48058 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
d14a1e28
RD
48059}
48060static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
48061 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
48062}
e505d15e
RD
48063static void *_p_wxPaintEventTo_p_wxObject(void *x) {
48064 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
d14a1e28 48065}
e505d15e
RD
48066static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
48067 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
d14a1e28 48068}
e505d15e
RD
48069static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
48070 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
d14a1e28 48071}
e505d15e
RD
48072static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
48073 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
d14a1e28 48074}
e505d15e
RD
48075static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
48076 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
48077}
48078static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
48079 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
d14a1e28
RD
48080}
48081static void *_p_wxControlTo_p_wxObject(void *x) {
48082 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
48083}
e505d15e
RD
48084static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
48085 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
1e0c8722 48086}
e505d15e
RD
48087static void *_p_wxFSFileTo_p_wxObject(void *x) {
48088 return (void *)((wxObject *) ((wxFSFile *) x));
d14a1e28 48089}
e505d15e
RD
48090static void *_p_wxPySizerTo_p_wxObject(void *x) {
48091 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
d14a1e28 48092}
e505d15e
RD
48093static void *_p_wxPyEventTo_p_wxObject(void *x) {
48094 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
d14a1e28 48095}
e505d15e
RD
48096static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
48097 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
d14a1e28 48098}
e505d15e
RD
48099static void *_p_wxShowEventTo_p_wxObject(void *x) {
48100 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
d14a1e28 48101}
e505d15e
RD
48102static void *_p_wxMenuItemTo_p_wxObject(void *x) {
48103 return (void *)((wxObject *) ((wxMenuItem *) x));
d14a1e28 48104}
53aa7709
RD
48105static void *_p_wxDateEventTo_p_wxObject(void *x) {
48106 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
48107}
e505d15e
RD
48108static void *_p_wxIdleEventTo_p_wxObject(void *x) {
48109 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
d14a1e28 48110}
e505d15e
RD
48111static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
48112 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
48113}
48114static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
48115 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
d14a1e28
RD
48116}
48117static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
48118 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
48119}
e505d15e
RD
48120static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
48121 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
d14a1e28 48122}
e505d15e
RD
48123static void *_p_wxSizeEventTo_p_wxObject(void *x) {
48124 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
d14a1e28 48125}
e505d15e
RD
48126static void *_p_wxMoveEventTo_p_wxObject(void *x) {
48127 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
d14a1e28 48128}
e505d15e
RD
48129static void *_p_wxActivateEventTo_p_wxObject(void *x) {
48130 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
d14a1e28 48131}
e505d15e
RD
48132static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
48133 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
d14a1e28 48134}
e505d15e
RD
48135static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
48136 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
d14a1e28 48137}
e505d15e
RD
48138static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
48139 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
d14a1e28 48140}
e505d15e
RD
48141static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
48142 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
d14a1e28 48143}
e505d15e
RD
48144static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
48145 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
d14a1e28
RD
48146}
48147static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
48148 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
48149}
e505d15e
RD
48150static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
48151 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
d14a1e28 48152}
e505d15e
RD
48153static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
48154 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
d14a1e28 48155}
e505d15e
RD
48156static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
48157 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
d14a1e28 48158}
943e8dfd
RD
48159static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
48160 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
48161}
e505d15e
RD
48162static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
48163 return (void *)((wxObject *) ((wxImageHandler *) x));
d14a1e28 48164}
943e8dfd
RD
48165static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
48166 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
48167}
e505d15e
RD
48168static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
48169 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
d14a1e28 48170}
e505d15e
RD
48171static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
48172 return (void *)((wxObject *) ((wxEvtHandler *) x));
d14a1e28 48173}
e505d15e
RD
48174static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
48175 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
d14a1e28 48176}
e505d15e
RD
48177static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
48178 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
d14a1e28 48179}
e505d15e
RD
48180static void *_p_wxImageTo_p_wxObject(void *x) {
48181 return (void *)((wxObject *) ((wxImage *) x));
d14a1e28 48182}
e505d15e
RD
48183static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
48184 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
d14a1e28 48185}
e505d15e
RD
48186static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
48187 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
d14a1e28 48188}
e505d15e
RD
48189static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
48190 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
d14a1e28 48191}
e505d15e
RD
48192static void *_p_wxKeyEventTo_p_wxObject(void *x) {
48193 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
d14a1e28 48194}
e505d15e
RD
48195static void *_p_wxWindowTo_p_wxObject(void *x) {
48196 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
d14a1e28 48197}
e505d15e
RD
48198static void *_p_wxMenuTo_p_wxObject(void *x) {
48199 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
d14a1e28 48200}
e505d15e
RD
48201static void *_p_wxMenuBarTo_p_wxObject(void *x) {
48202 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
d14a1e28 48203}
e505d15e
RD
48204static void *_p_wxFileSystemTo_p_wxObject(void *x) {
48205 return (void *)((wxObject *) ((wxFileSystem *) x));
d14a1e28 48206}
e505d15e
RD
48207static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
48208 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
d14a1e28 48209}
e505d15e
RD
48210static void *_p_wxMenuEventTo_p_wxObject(void *x) {
48211 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
d14a1e28 48212}
e505d15e
RD
48213static void *_p_wxPyAppTo_p_wxObject(void *x) {
48214 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
d14a1e28 48215}
e505d15e
RD
48216static void *_p_wxCloseEventTo_p_wxObject(void *x) {
48217 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
d14a1e28 48218}
e505d15e
RD
48219static void *_p_wxMouseEventTo_p_wxObject(void *x) {
48220 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
d14a1e28 48221}
e505d15e
RD
48222static void *_p_wxEraseEventTo_p_wxObject(void *x) {
48223 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
d14a1e28
RD
48224}
48225static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
48226 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
48227}
e505d15e
RD
48228static void *_p_wxCommandEventTo_p_wxObject(void *x) {
48229 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
d14a1e28 48230}
e505d15e
RD
48231static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
48232 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
d14a1e28 48233}
e505d15e
RD
48234static void *_p_wxFocusEventTo_p_wxObject(void *x) {
48235 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
d14a1e28 48236}
e505d15e
RD
48237static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
48238 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
d14a1e28 48239}
e505d15e
RD
48240static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
48241 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
d14a1e28 48242}
e505d15e
RD
48243static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
48244 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
d14a1e28 48245}
e505d15e
RD
48246static void *_p_wxValidatorTo_p_wxObject(void *x) {
48247 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
d14a1e28
RD
48248}
48249static void *_p_wxControlTo_p_wxWindow(void *x) {
48250 return (void *)((wxWindow *) ((wxControl *) x));
48251}
48252static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
48253 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
48254}
48255static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
48256 return (void *)((wxWindow *) ((wxMenuBar *) x));
48257}
48258static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
48259 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
48260}
48261static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
48262 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
48263}
48264static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
48265 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
48266}
53aa7709
RD
48267static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
48268 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
48269}
d14a1e28
RD
48270static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
48271 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
48272}
48273static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
48274 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
48275}
48276static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
48277 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
48278}
48279static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
48280 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
48281}
48282static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
48283 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
48284}
48285static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
48286 return (void *)((wxValidator *) ((wxPyValidator *) x));
48287}
32fe5131
RD
48288static swig_type_info _swigt__p_buffer = {"_p_buffer", "buffer *", 0, 0, 0};
48289static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
48290static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
48291static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
48292static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, 0};
48293static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
48294static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
48295static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
48296static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", "wxANIHandler *", 0, 0, 0};
48297static swig_type_info _swigt__p_wxAcceleratorEntry = {"_p_wxAcceleratorEntry", "wxAcceleratorEntry *", 0, 0, 0};
48298static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", "wxAcceleratorTable *", 0, 0, 0};
48299static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", "wxActivateEvent *", 0, 0, 0};
48300static swig_type_info _swigt__p_wxAppTraits = {"_p_wxAppTraits", "wxAppTraits *", 0, 0, 0};
48301static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
48302static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", "wxBMPHandler *", 0, 0, 0};
48303static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
48304static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", "wxBoxSizer *", 0, 0, 0};
48305static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, 0};
48306static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", "wxCURHandler *", 0, 0, 0};
48307static swig_type_info _swigt__p_wxCaret = {"_p_wxCaret", "wxCaret *", 0, 0, 0};
48308static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", "wxChildFocusEvent *", 0, 0, 0};
48309static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", "wxCloseEvent *", 0, 0, 0};
48310static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
48311static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
48312static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", "wxContextMenuEvent *", 0, 0, 0};
48313static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0};
48314static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, 0};
48315static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0};
48316static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
48317static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", "wxDateEvent *", 0, 0, 0};
48318static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
48319static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", "wxDisplayChangedEvent *", 0, 0, 0};
48320static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", "wxDropFilesEvent *", 0, 0, 0};
48321static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
48322static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", "wxEraseEvent *", 0, 0, 0};
48323static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
48324static swig_type_info _swigt__p_wxEventLoop = {"_p_wxEventLoop", "wxEventLoop *", 0, 0, 0};
48325static swig_type_info _swigt__p_wxEventLoopActivator = {"_p_wxEventLoopActivator", "wxEventLoopActivator *", 0, 0, 0};
48326static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
48327static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", "wxFSFile *", 0, 0, 0};
48328static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0};
48329static swig_type_info _swigt__p_wxFileSystemHandler = {"_p_wxFileSystemHandler", "wxFileSystemHandler *", 0, 0, 0};
48330static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", "wxFlexGridSizer *", 0, 0, 0};
48331static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", "wxFocusEvent *", 0, 0, 0};
48332static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
48333static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, 0};
48334static swig_type_info _swigt__p_wxGBPosition = {"_p_wxGBPosition", "wxGBPosition *", 0, 0, 0};
48335static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", "wxGBSizerItem *", 0, 0, 0};
48336static swig_type_info _swigt__p_wxGBSpan = {"_p_wxGBSpan", "wxGBSpan *", 0, 0, 0};
48337static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", "wxGIFHandler *", 0, 0, 0};
48338static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", "wxGridBagSizer *", 0, 0, 0};
48339static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", "wxGridSizer *", 0, 0, 0};
48340static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", "wxICOHandler *", 0, 0, 0};
48341static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", "wxIconizeEvent *", 0, 0, 0};
48342static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", "wxIdleEvent *", 0, 0, 0};
48343static swig_type_info _swigt__p_wxImage = {"_p_wxImage", "wxImage *", 0, 0, 0};
48344static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", "wxImageHandler *", 0, 0, 0};
48345static swig_type_info _swigt__p_wxImageHistogram = {"_p_wxImageHistogram", "wxImageHistogram *", 0, 0, 0};
48346static swig_type_info _swigt__p_wxImage_HSVValue = {"_p_wxImage_HSVValue", "wxImage_HSVValue *", 0, 0, 0};
48347static swig_type_info _swigt__p_wxImage_RGBValue = {"_p_wxImage_RGBValue", "wxImage_RGBValue *", 0, 0, 0};
48348static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", "wxIndividualLayoutConstraint *", 0, 0, 0};
48349static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", "wxInitDialogEvent *", 0, 0, 0};
48350static swig_type_info _swigt__p_wxInputStream = {"_p_wxInputStream", "wxInputStream *", 0, 0, 0};
48351static swig_type_info _swigt__p_wxInternetFSHandler = {"_p_wxInternetFSHandler", "wxInternetFSHandler *", 0, 0, 0};
48352static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, 0};
48353static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", "wxJPEGHandler *", 0, 0, 0};
48354static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, 0};
48355static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", "wxLayoutConstraints *", 0, 0, 0};
48356static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", "wxMaximizeEvent *", 0, 0, 0};
48357static swig_type_info _swigt__p_wxMemoryFSHandler = {"_p_wxMemoryFSHandler", "wxMemoryFSHandler *", 0, 0, 0};
48358static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, 0};
48359static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, 0};
48360static swig_type_info _swigt__p_wxMenuBarBase = {"_p_wxMenuBarBase", "wxMenuBarBase *", 0, 0, 0};
48361static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", "wxMenuEvent *", 0, 0, 0};
48362static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", "wxMenuItem *", 0, 0, 0};
48363static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", "wxMouseCaptureChangedEvent *", 0, 0, 0};
48364static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, 0};
48365static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", "wxMoveEvent *", 0, 0, 0};
48366static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", "wxNavigationKeyEvent *", 0, 0, 0};
48367static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", "wxNcPaintEvent *", 0, 0, 0};
48368static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
48369static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
48370static swig_type_info _swigt__p_wxOutputStream = {"_p_wxOutputStream", "wxOutputStream *", 0, 0, 0};
48371static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", "wxPCXHandler *", 0, 0, 0};
48372static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", "wxPNGHandler *", 0, 0, 0};
48373static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", "wxPNMHandler *", 0, 0, 0};
48374static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", "wxPaintEvent *", 0, 0, 0};
48375static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", "wxPaletteChangedEvent *", 0, 0, 0};
48376static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
48377static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
48378static swig_type_info _swigt__p_wxPoint2D = {"_p_wxPoint2D", "wxPoint2D *", 0, 0, 0};
48379static swig_type_info _swigt__p_wxPropagateOnce = {"_p_wxPropagateOnce", "wxPropagateOnce *", 0, 0, 0};
48380static swig_type_info _swigt__p_wxPropagationDisabler = {"_p_wxPropagationDisabler", "wxPropagationDisabler *", 0, 0, 0};
48381static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", "wxPyApp *", 0, 0, 0};
48382static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", "wxPyCommandEvent *", 0, 0, 0};
48383static swig_type_info _swigt__p_wxPyDropTarget = {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, 0};
48384static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", "wxPyEvent *", 0, 0, 0};
48385static swig_type_info _swigt__p_wxPyFileSystemHandler = {"_p_wxPyFileSystemHandler", "wxPyFileSystemHandler *", 0, 0, 0};
48386static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", "wxPyImageHandler *", 0, 0, 0};
48387static swig_type_info _swigt__p_wxPyInputStream = {"_p_wxPyInputStream", "wxPyInputStream *", 0, 0, 0};
48388static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", "wxPySizer *", 0, 0, 0};
48389static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", "wxPyValidator *", 0, 0, 0};
48390static swig_type_info _swigt__p_wxQuantize = {"_p_wxQuantize", "wxQuantize *", 0, 0, 0};
48391static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", "wxQueryNewPaletteEvent *", 0, 0, 0};
48392static swig_type_info _swigt__p_wxRealPoint = {"_p_wxRealPoint", "wxRealPoint *", 0, 0, 0};
48393static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0};
48394static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, 0};
48395static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", "wxScrollEvent *", 0, 0, 0};
48396static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, 0};
48397static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", "wxSetCursorEvent *", 0, 0, 0};
48398static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", "wxShowEvent *", 0, 0, 0};
48399static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
48400static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", "wxSizeEvent *", 0, 0, 0};
48401static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", "wxSizer *", 0, 0, 0};
48402static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", "wxSizerItem *", 0, 0, 0};
48403static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, 0};
48404static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", "wxStaticBoxSizer *", 0, 0, 0};
48405static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, 0};
48406static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", "wxSysColourChangedEvent *", 0, 0, 0};
48407static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", "wxTIFFHandler *", 0, 0, 0};
48408static swig_type_info _swigt__p_wxToolTip = {"_p_wxToolTip", "wxToolTip *", 0, 0, 0};
48409static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", "wxUpdateUIEvent *", 0, 0, 0};
48410static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, 0};
48411static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
48412static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
48413static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", "wxWindowCreateEvent *", 0, 0, 0};
48414static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", "wxWindowDestroyEvent *", 0, 0, 0};
48415static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", "wxXPMHandler *", 0, 0, 0};
48416static swig_type_info _swigt__p_wxZipFSHandler = {"_p_wxZipFSHandler", "wxZipFSHandler *", 0, 0, 0};
48417static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
48418static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
48419static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
48420
48421static swig_type_info *swig_type_initial[] = {
48422 &_swigt__p_buffer,
48423 &_swigt__p_char,
48424 &_swigt__p_form_ops_t,
48425 &_swigt__p_int,
48426 &_swigt__p_long,
48427 &_swigt__p_unsigned_char,
48428 &_swigt__p_unsigned_int,
48429 &_swigt__p_unsigned_long,
48430 &_swigt__p_wxANIHandler,
48431 &_swigt__p_wxAcceleratorEntry,
48432 &_swigt__p_wxAcceleratorTable,
48433 &_swigt__p_wxActivateEvent,
48434 &_swigt__p_wxAppTraits,
48435 &_swigt__p_wxArrayString,
48436 &_swigt__p_wxBMPHandler,
48437 &_swigt__p_wxBitmap,
48438 &_swigt__p_wxBoxSizer,
48439 &_swigt__p_wxButton,
48440 &_swigt__p_wxCURHandler,
48441 &_swigt__p_wxCaret,
48442 &_swigt__p_wxChildFocusEvent,
48443 &_swigt__p_wxCloseEvent,
48444 &_swigt__p_wxColour,
48445 &_swigt__p_wxCommandEvent,
48446 &_swigt__p_wxContextMenuEvent,
48447 &_swigt__p_wxControl,
48448 &_swigt__p_wxControlWithItems,
48449 &_swigt__p_wxCursor,
48450 &_swigt__p_wxDC,
48451 &_swigt__p_wxDateEvent,
48452 &_swigt__p_wxDateTime,
48453 &_swigt__p_wxDisplayChangedEvent,
48454 &_swigt__p_wxDropFilesEvent,
48455 &_swigt__p_wxDuplexMode,
48456 &_swigt__p_wxEraseEvent,
48457 &_swigt__p_wxEvent,
48458 &_swigt__p_wxEventLoop,
48459 &_swigt__p_wxEventLoopActivator,
48460 &_swigt__p_wxEvtHandler,
48461 &_swigt__p_wxFSFile,
48462 &_swigt__p_wxFileSystem,
48463 &_swigt__p_wxFileSystemHandler,
48464 &_swigt__p_wxFlexGridSizer,
48465 &_swigt__p_wxFocusEvent,
48466 &_swigt__p_wxFont,
48467 &_swigt__p_wxFrame,
48468 &_swigt__p_wxGBPosition,
48469 &_swigt__p_wxGBSizerItem,
48470 &_swigt__p_wxGBSpan,
48471 &_swigt__p_wxGIFHandler,
48472 &_swigt__p_wxGridBagSizer,
48473 &_swigt__p_wxGridSizer,
48474 &_swigt__p_wxICOHandler,
48475 &_swigt__p_wxIconizeEvent,
48476 &_swigt__p_wxIdleEvent,
48477 &_swigt__p_wxImage,
48478 &_swigt__p_wxImageHandler,
48479 &_swigt__p_wxImageHistogram,
48480 &_swigt__p_wxImage_HSVValue,
48481 &_swigt__p_wxImage_RGBValue,
48482 &_swigt__p_wxIndividualLayoutConstraint,
48483 &_swigt__p_wxInitDialogEvent,
48484 &_swigt__p_wxInputStream,
48485 &_swigt__p_wxInternetFSHandler,
48486 &_swigt__p_wxItemContainer,
48487 &_swigt__p_wxJPEGHandler,
48488 &_swigt__p_wxKeyEvent,
48489 &_swigt__p_wxLayoutConstraints,
48490 &_swigt__p_wxMaximizeEvent,
48491 &_swigt__p_wxMemoryFSHandler,
48492 &_swigt__p_wxMenu,
48493 &_swigt__p_wxMenuBar,
48494 &_swigt__p_wxMenuBarBase,
48495 &_swigt__p_wxMenuEvent,
48496 &_swigt__p_wxMenuItem,
48497 &_swigt__p_wxMouseCaptureChangedEvent,
48498 &_swigt__p_wxMouseEvent,
48499 &_swigt__p_wxMoveEvent,
48500 &_swigt__p_wxNavigationKeyEvent,
48501 &_swigt__p_wxNcPaintEvent,
48502 &_swigt__p_wxNotifyEvent,
48503 &_swigt__p_wxObject,
48504 &_swigt__p_wxOutputStream,
48505 &_swigt__p_wxPCXHandler,
48506 &_swigt__p_wxPNGHandler,
48507 &_swigt__p_wxPNMHandler,
48508 &_swigt__p_wxPaintEvent,
48509 &_swigt__p_wxPaletteChangedEvent,
48510 &_swigt__p_wxPaperSize,
48511 &_swigt__p_wxPoint,
48512 &_swigt__p_wxPoint2D,
48513 &_swigt__p_wxPropagateOnce,
48514 &_swigt__p_wxPropagationDisabler,
48515 &_swigt__p_wxPyApp,
48516 &_swigt__p_wxPyCommandEvent,
48517 &_swigt__p_wxPyDropTarget,
48518 &_swigt__p_wxPyEvent,
48519 &_swigt__p_wxPyFileSystemHandler,
48520 &_swigt__p_wxPyImageHandler,
48521 &_swigt__p_wxPyInputStream,
48522 &_swigt__p_wxPySizer,
48523 &_swigt__p_wxPyValidator,
48524 &_swigt__p_wxQuantize,
48525 &_swigt__p_wxQueryNewPaletteEvent,
48526 &_swigt__p_wxRealPoint,
48527 &_swigt__p_wxRect,
48528 &_swigt__p_wxRegion,
48529 &_swigt__p_wxScrollEvent,
48530 &_swigt__p_wxScrollWinEvent,
48531 &_swigt__p_wxSetCursorEvent,
48532 &_swigt__p_wxShowEvent,
48533 &_swigt__p_wxSize,
48534 &_swigt__p_wxSizeEvent,
48535 &_swigt__p_wxSizer,
48536 &_swigt__p_wxSizerItem,
48537 &_swigt__p_wxStaticBox,
48538 &_swigt__p_wxStaticBoxSizer,
48539 &_swigt__p_wxStdDialogButtonSizer,
48540 &_swigt__p_wxSysColourChangedEvent,
48541 &_swigt__p_wxTIFFHandler,
48542 &_swigt__p_wxToolTip,
48543 &_swigt__p_wxUpdateUIEvent,
48544 &_swigt__p_wxValidator,
48545 &_swigt__p_wxVisualAttributes,
48546 &_swigt__p_wxWindow,
48547 &_swigt__p_wxWindowCreateEvent,
48548 &_swigt__p_wxWindowDestroyEvent,
48549 &_swigt__p_wxXPMHandler,
48550 &_swigt__p_wxZipFSHandler,
48551 &_swigt__ptrdiff_t,
48552 &_swigt__std__ptrdiff_t,
48553 &_swigt__unsigned_int,
48554};
48555
48556static swig_cast_info _swigc__p_buffer[] = { {&_swigt__p_buffer, 0, 0, 0},{0, 0, 0, 0}};
48557static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
48558static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
48559static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
48560static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
48561static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
48562static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
48563static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
48564static swig_cast_info _swigc__p_wxANIHandler[] = { {&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
48565static swig_cast_info _swigc__p_wxAcceleratorEntry[] = { {&_swigt__p_wxAcceleratorEntry, 0, 0, 0},{0, 0, 0, 0}};
48566static swig_cast_info _swigc__p_wxAcceleratorTable[] = { {&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
48567static swig_cast_info _swigc__p_wxActivateEvent[] = { {&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
48568static swig_cast_info _swigc__p_wxAppTraits[] = { {&_swigt__p_wxAppTraits, 0, 0, 0},{0, 0, 0, 0}};
48569static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
48570static swig_cast_info _swigc__p_wxBMPHandler[] = { {&_swigt__p_wxBMPHandler, 0, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxBMPHandler, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxBMPHandler, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxBMPHandler, 0, 0},{0, 0, 0, 0}};
48571static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
48572static swig_cast_info _swigc__p_wxBoxSizer[] = { {&_swigt__p_wxBoxSizer, 0, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxBoxSizer, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxBoxSizer, 0, 0},{0, 0, 0, 0}};
48573static swig_cast_info _swigc__p_wxButton[] = { {&_swigt__p_wxButton, 0, 0, 0},{0, 0, 0, 0}};
48574static swig_cast_info _swigc__p_wxCURHandler[] = { {&_swigt__p_wxCURHandler, 0, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxCURHandler, 0, 0},{0, 0, 0, 0}};
48575static swig_cast_info _swigc__p_wxCaret[] = { {&_swigt__p_wxCaret, 0, 0, 0},{0, 0, 0, 0}};
48576static swig_cast_info _swigc__p_wxChildFocusEvent[] = { {&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
48577static swig_cast_info _swigc__p_wxCloseEvent[] = { {&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
48578static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
48579static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
48580static swig_cast_info _swigc__p_wxContextMenuEvent[] = { {&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
48581static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
48582static swig_cast_info _swigc__p_wxControlWithItems[] = { {&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
48583static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
48584static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
48585static swig_cast_info _swigc__p_wxDateEvent[] = { {&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
48586static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
48587static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = { {&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48588static swig_cast_info _swigc__p_wxDropFilesEvent[] = { {&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
48589static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
48590static swig_cast_info _swigc__p_wxEraseEvent[] = { {&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
48591static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
48592static swig_cast_info _swigc__p_wxEventLoop[] = { {&_swigt__p_wxEventLoop, 0, 0, 0},{0, 0, 0, 0}};
48593static swig_cast_info _swigc__p_wxEventLoopActivator[] = { {&_swigt__p_wxEventLoopActivator, 0, 0, 0},{0, 0, 0, 0}};
48594static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
48595static swig_cast_info _swigc__p_wxFSFile[] = { {&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
48596static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
48597static swig_cast_info _swigc__p_wxFileSystemHandler[] = { {&_swigt__p_wxFileSystemHandler, 0, 0, 0}, {&_swigt__p_wxPyFileSystemHandler, _p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler, 0, 0}, {&_swigt__p_wxInternetFSHandler, _p_wxInternetFSHandlerTo_p_wxFileSystemHandler, 0, 0}, {&_swigt__p_wxZipFSHandler, _p_wxZipFSHandlerTo_p_wxFileSystemHandler, 0, 0}, {&_swigt__p_wxMemoryFSHandler, _p_wxMemoryFSHandlerTo_p_wxFileSystemHandler, 0, 0},{0, 0, 0, 0}};
48598static swig_cast_info _swigc__p_wxFlexGridSizer[] = { {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxFlexGridSizer, 0, 0}, {&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
48599static swig_cast_info _swigc__p_wxFocusEvent[] = { {&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
48600static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
48601static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
48602static swig_cast_info _swigc__p_wxGBPosition[] = { {&_swigt__p_wxGBPosition, 0, 0, 0},{0, 0, 0, 0}};
48603static swig_cast_info _swigc__p_wxGBSizerItem[] = { {&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
48604static swig_cast_info _swigc__p_wxGBSpan[] = { {&_swigt__p_wxGBSpan, 0, 0, 0},{0, 0, 0, 0}};
48605static swig_cast_info _swigc__p_wxGIFHandler[] = { {&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
48606static swig_cast_info _swigc__p_wxGridBagSizer[] = { {&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
48607static swig_cast_info _swigc__p_wxGridSizer[] = { {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxGridSizer, 0, 0}, {&_swigt__p_wxGridSizer, 0, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxGridSizer, 0, 0},{0, 0, 0, 0}};
48608static swig_cast_info _swigc__p_wxICOHandler[] = { {&_swigt__p_wxICOHandler, 0, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxICOHandler, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxICOHandler, 0, 0},{0, 0, 0, 0}};
48609static swig_cast_info _swigc__p_wxIconizeEvent[] = { {&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
48610static swig_cast_info _swigc__p_wxIdleEvent[] = { {&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
48611static swig_cast_info _swigc__p_wxImage[] = { {&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
48612static swig_cast_info _swigc__p_wxImageHandler[] = { {&_swigt__p_wxImageHandler, 0, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxImageHandler, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxImageHandler, 0, 0},{0, 0, 0, 0}};
48613static swig_cast_info _swigc__p_wxImageHistogram[] = { {&_swigt__p_wxImageHistogram, 0, 0, 0},{0, 0, 0, 0}};
48614static swig_cast_info _swigc__p_wxImage_HSVValue[] = { {&_swigt__p_wxImage_HSVValue, 0, 0, 0},{0, 0, 0, 0}};
48615static swig_cast_info _swigc__p_wxImage_RGBValue[] = { {&_swigt__p_wxImage_RGBValue, 0, 0, 0},{0, 0, 0, 0}};
48616static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = { {&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
48617static swig_cast_info _swigc__p_wxInitDialogEvent[] = { {&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
48618static swig_cast_info _swigc__p_wxInputStream[] = { {&_swigt__p_wxInputStream, 0, 0, 0},{0, 0, 0, 0}};
48619static swig_cast_info _swigc__p_wxInternetFSHandler[] = { {&_swigt__p_wxInternetFSHandler, 0, 0, 0},{0, 0, 0, 0}};
48620static swig_cast_info _swigc__p_wxItemContainer[] = { {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxItemContainer, 0, 0, 0},{0, 0, 0, 0}};
48621static swig_cast_info _swigc__p_wxJPEGHandler[] = { {&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
48622static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
48623static swig_cast_info _swigc__p_wxLayoutConstraints[] = { {&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
48624static swig_cast_info _swigc__p_wxMaximizeEvent[] = { {&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
48625static swig_cast_info _swigc__p_wxMemoryFSHandler[] = { {&_swigt__p_wxMemoryFSHandler, 0, 0, 0},{0, 0, 0, 0}};
48626static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
48627static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
48628static swig_cast_info _swigc__p_wxMenuBarBase[] = { {&_swigt__p_wxMenuBarBase, 0, 0, 0},{0, 0, 0, 0}};
48629static swig_cast_info _swigc__p_wxMenuEvent[] = { {&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
48630static swig_cast_info _swigc__p_wxMenuItem[] = { {&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
48631static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = { {&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48632static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
48633static swig_cast_info _swigc__p_wxMoveEvent[] = { {&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
48634static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = { {&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
48635static swig_cast_info _swigc__p_wxNcPaintEvent[] = { {&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
48636static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
48637static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
48638static swig_cast_info _swigc__p_wxOutputStream[] = { {&_swigt__p_wxOutputStream, 0, 0, 0},{0, 0, 0, 0}};
48639static swig_cast_info _swigc__p_wxPCXHandler[] = { {&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
48640static swig_cast_info _swigc__p_wxPNGHandler[] = { {&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
48641static swig_cast_info _swigc__p_wxPNMHandler[] = { {&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
48642static swig_cast_info _swigc__p_wxPaintEvent[] = { {&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
48643static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = { {&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48644static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
48645static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
48646static swig_cast_info _swigc__p_wxPoint2D[] = { {&_swigt__p_wxPoint2D, 0, 0, 0},{0, 0, 0, 0}};
48647static swig_cast_info _swigc__p_wxPropagateOnce[] = { {&_swigt__p_wxPropagateOnce, 0, 0, 0},{0, 0, 0, 0}};
48648static swig_cast_info _swigc__p_wxPropagationDisabler[] = { {&_swigt__p_wxPropagationDisabler, 0, 0, 0},{0, 0, 0, 0}};
48649static swig_cast_info _swigc__p_wxPyApp[] = { {&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
48650static swig_cast_info _swigc__p_wxPyCommandEvent[] = { {&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
48651static swig_cast_info _swigc__p_wxPyDropTarget[] = { {&_swigt__p_wxPyDropTarget, 0, 0, 0},{0, 0, 0, 0}};
48652static swig_cast_info _swigc__p_wxPyEvent[] = { {&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
48653static swig_cast_info _swigc__p_wxPyFileSystemHandler[] = { {&_swigt__p_wxPyFileSystemHandler, 0, 0, 0},{0, 0, 0, 0}};
48654static swig_cast_info _swigc__p_wxPyImageHandler[] = { {&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
48655static swig_cast_info _swigc__p_wxPyInputStream[] = { {&_swigt__p_wxPyInputStream, 0, 0, 0},{0, 0, 0, 0}};
48656static swig_cast_info _swigc__p_wxPySizer[] = { {&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
48657static swig_cast_info _swigc__p_wxPyValidator[] = { {&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
48658static swig_cast_info _swigc__p_wxQuantize[] = { {&_swigt__p_wxQuantize, 0, 0, 0},{0, 0, 0, 0}};
48659static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = { {&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
48660static swig_cast_info _swigc__p_wxRealPoint[] = { {&_swigt__p_wxRealPoint, 0, 0, 0},{0, 0, 0, 0}};
48661static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
48662static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
48663static swig_cast_info _swigc__p_wxScrollEvent[] = { {&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
48664static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
48665static swig_cast_info _swigc__p_wxSetCursorEvent[] = { {&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
48666static swig_cast_info _swigc__p_wxShowEvent[] = { {&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
48667static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
48668static swig_cast_info _swigc__p_wxSizeEvent[] = { {&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
48669static swig_cast_info _swigc__p_wxSizer[] = { {&_swigt__p_wxSizer, 0, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxSizer, 0, 0},{0, 0, 0, 0}};
48670static swig_cast_info _swigc__p_wxSizerItem[] = { {&_swigt__p_wxSizerItem, 0, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxSizerItem, 0, 0},{0, 0, 0, 0}};
48671static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
48672static swig_cast_info _swigc__p_wxStaticBoxSizer[] = { {&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
48673static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
48674static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = { {&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48675static swig_cast_info _swigc__p_wxTIFFHandler[] = { {&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
48676static swig_cast_info _swigc__p_wxToolTip[] = { {&_swigt__p_wxToolTip, 0, 0, 0},{0, 0, 0, 0}};
48677static swig_cast_info _swigc__p_wxUpdateUIEvent[] = { {&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
48678static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}};
48679static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
48680static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
48681static swig_cast_info _swigc__p_wxWindowCreateEvent[] = { {&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
48682static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = { {&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
48683static swig_cast_info _swigc__p_wxXPMHandler[] = { {&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
48684static swig_cast_info _swigc__p_wxZipFSHandler[] = { {&_swigt__p_wxZipFSHandler, 0, 0, 0},{0, 0, 0, 0}};
48685static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
48686static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
48687static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
48688
48689static swig_cast_info *swig_cast_initial[] = {
48690 _swigc__p_buffer,
48691 _swigc__p_char,
48692 _swigc__p_form_ops_t,
48693 _swigc__p_int,
48694 _swigc__p_long,
48695 _swigc__p_unsigned_char,
48696 _swigc__p_unsigned_int,
48697 _swigc__p_unsigned_long,
48698 _swigc__p_wxANIHandler,
48699 _swigc__p_wxAcceleratorEntry,
48700 _swigc__p_wxAcceleratorTable,
48701 _swigc__p_wxActivateEvent,
48702 _swigc__p_wxAppTraits,
48703 _swigc__p_wxArrayString,
48704 _swigc__p_wxBMPHandler,
48705 _swigc__p_wxBitmap,
48706 _swigc__p_wxBoxSizer,
48707 _swigc__p_wxButton,
48708 _swigc__p_wxCURHandler,
48709 _swigc__p_wxCaret,
48710 _swigc__p_wxChildFocusEvent,
48711 _swigc__p_wxCloseEvent,
48712 _swigc__p_wxColour,
48713 _swigc__p_wxCommandEvent,
48714 _swigc__p_wxContextMenuEvent,
48715 _swigc__p_wxControl,
48716 _swigc__p_wxControlWithItems,
48717 _swigc__p_wxCursor,
48718 _swigc__p_wxDC,
48719 _swigc__p_wxDateEvent,
48720 _swigc__p_wxDateTime,
48721 _swigc__p_wxDisplayChangedEvent,
48722 _swigc__p_wxDropFilesEvent,
48723 _swigc__p_wxDuplexMode,
48724 _swigc__p_wxEraseEvent,
48725 _swigc__p_wxEvent,
48726 _swigc__p_wxEventLoop,
48727 _swigc__p_wxEventLoopActivator,
48728 _swigc__p_wxEvtHandler,
48729 _swigc__p_wxFSFile,
48730 _swigc__p_wxFileSystem,
48731 _swigc__p_wxFileSystemHandler,
48732 _swigc__p_wxFlexGridSizer,
48733 _swigc__p_wxFocusEvent,
48734 _swigc__p_wxFont,
48735 _swigc__p_wxFrame,
48736 _swigc__p_wxGBPosition,
48737 _swigc__p_wxGBSizerItem,
48738 _swigc__p_wxGBSpan,
48739 _swigc__p_wxGIFHandler,
48740 _swigc__p_wxGridBagSizer,
48741 _swigc__p_wxGridSizer,
48742 _swigc__p_wxICOHandler,
48743 _swigc__p_wxIconizeEvent,
48744 _swigc__p_wxIdleEvent,
48745 _swigc__p_wxImage,
48746 _swigc__p_wxImageHandler,
48747 _swigc__p_wxImageHistogram,
48748 _swigc__p_wxImage_HSVValue,
48749 _swigc__p_wxImage_RGBValue,
48750 _swigc__p_wxIndividualLayoutConstraint,
48751 _swigc__p_wxInitDialogEvent,
48752 _swigc__p_wxInputStream,
48753 _swigc__p_wxInternetFSHandler,
48754 _swigc__p_wxItemContainer,
48755 _swigc__p_wxJPEGHandler,
48756 _swigc__p_wxKeyEvent,
48757 _swigc__p_wxLayoutConstraints,
48758 _swigc__p_wxMaximizeEvent,
48759 _swigc__p_wxMemoryFSHandler,
48760 _swigc__p_wxMenu,
48761 _swigc__p_wxMenuBar,
48762 _swigc__p_wxMenuBarBase,
48763 _swigc__p_wxMenuEvent,
48764 _swigc__p_wxMenuItem,
48765 _swigc__p_wxMouseCaptureChangedEvent,
48766 _swigc__p_wxMouseEvent,
48767 _swigc__p_wxMoveEvent,
48768 _swigc__p_wxNavigationKeyEvent,
48769 _swigc__p_wxNcPaintEvent,
48770 _swigc__p_wxNotifyEvent,
48771 _swigc__p_wxObject,
48772 _swigc__p_wxOutputStream,
48773 _swigc__p_wxPCXHandler,
48774 _swigc__p_wxPNGHandler,
48775 _swigc__p_wxPNMHandler,
48776 _swigc__p_wxPaintEvent,
48777 _swigc__p_wxPaletteChangedEvent,
48778 _swigc__p_wxPaperSize,
48779 _swigc__p_wxPoint,
48780 _swigc__p_wxPoint2D,
48781 _swigc__p_wxPropagateOnce,
48782 _swigc__p_wxPropagationDisabler,
48783 _swigc__p_wxPyApp,
48784 _swigc__p_wxPyCommandEvent,
48785 _swigc__p_wxPyDropTarget,
48786 _swigc__p_wxPyEvent,
48787 _swigc__p_wxPyFileSystemHandler,
48788 _swigc__p_wxPyImageHandler,
48789 _swigc__p_wxPyInputStream,
48790 _swigc__p_wxPySizer,
48791 _swigc__p_wxPyValidator,
48792 _swigc__p_wxQuantize,
48793 _swigc__p_wxQueryNewPaletteEvent,
48794 _swigc__p_wxRealPoint,
48795 _swigc__p_wxRect,
48796 _swigc__p_wxRegion,
48797 _swigc__p_wxScrollEvent,
48798 _swigc__p_wxScrollWinEvent,
48799 _swigc__p_wxSetCursorEvent,
48800 _swigc__p_wxShowEvent,
48801 _swigc__p_wxSize,
48802 _swigc__p_wxSizeEvent,
48803 _swigc__p_wxSizer,
48804 _swigc__p_wxSizerItem,
48805 _swigc__p_wxStaticBox,
48806 _swigc__p_wxStaticBoxSizer,
48807 _swigc__p_wxStdDialogButtonSizer,
48808 _swigc__p_wxSysColourChangedEvent,
48809 _swigc__p_wxTIFFHandler,
48810 _swigc__p_wxToolTip,
48811 _swigc__p_wxUpdateUIEvent,
48812 _swigc__p_wxValidator,
48813 _swigc__p_wxVisualAttributes,
48814 _swigc__p_wxWindow,
48815 _swigc__p_wxWindowCreateEvent,
48816 _swigc__p_wxWindowDestroyEvent,
48817 _swigc__p_wxXPMHandler,
48818 _swigc__p_wxZipFSHandler,
48819 _swigc__ptrdiff_t,
48820 _swigc__std__ptrdiff_t,
48821 _swigc__unsigned_int,
d14a1e28
RD
48822};
48823
48824
48825/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
48826
48827static swig_const_info swig_const_table[] = {
c32bde28 48828{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
48829
48830#ifdef __cplusplus
48831}
48832#endif
32fe5131
RD
48833/*************************************************************************
48834 * Type initialization:
48835 * This problem is tough by the requirement that no dynamic
48836 * memory is used. Also, since swig_type_info structures store pointers to
48837 * swig_cast_info structures and swig_cast_info structures store pointers back
48838 * to swig_type_info structures, we need some lookup code at initialization.
48839 * The idea is that swig generates all the structures that are needed.
48840 * The runtime then collects these partially filled structures.
48841 * The SWIG_InitializeModule function takes these initial arrays out of
48842 * swig_module, and does all the lookup, filling in the swig_module.types
48843 * array with the correct data and linking the correct swig_cast_info
48844 * structures together.
48845
48846 * The generated swig_type_info structures are assigned staticly to an initial
48847 * array. We just loop though that array, and handle each type individually.
48848 * First we lookup if this type has been already loaded, and if so, use the
48849 * loaded structure instead of the generated one. Then we have to fill in the
48850 * cast linked list. The cast data is initially stored in something like a
48851 * two-dimensional array. Each row corresponds to a type (there are the same
48852 * number of rows as there are in the swig_type_initial array). Each entry in
48853 * a column is one of the swig_cast_info structures for that type.
48854 * The cast_initial array is actually an array of arrays, because each row has
48855 * a variable number of columns. So to actually build the cast linked list,
48856 * we find the array of casts associated with the type, and loop through it
48857 * adding the casts to the list. The one last trick we need to do is making
48858 * sure the type pointer in the swig_cast_info struct is correct.
48859
48860 * First off, we lookup the cast->type name to see if it is already loaded.
48861 * There are three cases to handle:
48862 * 1) If the cast->type has already been loaded AND the type we are adding
48863 * casting info to has not been loaded (it is in this module), THEN we
48864 * replace the cast->type pointer with the type pointer that has already
48865 * been loaded.
48866 * 2) If BOTH types (the one we are adding casting info to, and the
48867 * cast->type) are loaded, THEN the cast info has already been loaded by
48868 * the previous module so we just ignore it.
48869 * 3) Finally, if cast->type has not already been loaded, then we add that
48870 * swig_cast_info to the linked list (because the cast->type) pointer will
48871 * be correct.
48872**/
48873
48874#ifdef __cplusplus
48875extern "C" {
48876#if 0
48877} /* c-mode */
48878#endif
48879#endif
48880
48881#if 0
48882#define SWIGRUNTIME_DEBUG
48883#endif
48884
48885SWIGRUNTIME void
48886SWIG_InitializeModule(void *clientdata) {
48887 size_t i;
48888 swig_module_info *module_head;
48889 static int init_run = 0;
48890
48891 clientdata = clientdata;
48892
48893 if (init_run) return;
48894 init_run = 1;
48895
48896 /* Initialize the swig_module */
48897 swig_module.type_initial = swig_type_initial;
48898 swig_module.cast_initial = swig_cast_initial;
48899
48900 /* Try and load any already created modules */
48901 module_head = SWIG_GetModule(clientdata);
48902 if (module_head) {
48903 swig_module.next = module_head->next;
48904 module_head->next = &swig_module;
48905 } else {
48906 /* This is the first module loaded */
48907 swig_module.next = &swig_module;
48908 SWIG_SetModule(clientdata, &swig_module);
48909 }
48910
48911 /* Now work on filling in swig_module.types */
48912#ifdef SWIGRUNTIME_DEBUG
48913 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
48914#endif
48915 for (i = 0; i < swig_module.size; ++i) {
48916 swig_type_info *type = 0;
48917 swig_type_info *ret;
48918 swig_cast_info *cast;
48919
48920#ifdef SWIGRUNTIME_DEBUG
48921 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
48922#endif
48923
48924 /* if there is another module already loaded */
48925 if (swig_module.next != &swig_module) {
48926 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
48927 }
48928 if (type) {
48929 /* Overwrite clientdata field */
48930#ifdef SWIGRUNTIME_DEBUG
48931 printf("SWIG_InitializeModule: found type %s\n", type->name);
48932#endif
48933 if (swig_module.type_initial[i]->clientdata) {
48934 type->clientdata = swig_module.type_initial[i]->clientdata;
48935#ifdef SWIGRUNTIME_DEBUG
48936 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
48937#endif
48938 }
48939 } else {
48940 type = swig_module.type_initial[i];
48941 }
48942
48943 /* Insert casting types */
48944 cast = swig_module.cast_initial[i];
48945 while (cast->type) {
48946 /* Don't need to add information already in the list */
48947 ret = 0;
48948#ifdef SWIGRUNTIME_DEBUG
48949 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
48950#endif
48951 if (swig_module.next != &swig_module) {
48952 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
48953#ifdef SWIGRUNTIME_DEBUG
48954 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
48955#endif
48956 }
48957 if (ret) {
48958 if (type == swig_module.type_initial[i]) {
48959#ifdef SWIGRUNTIME_DEBUG
48960 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
48961#endif
48962 cast->type = ret;
48963 ret = 0;
48964 } else {
48965 /* Check for casting already in the list */
48966 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
48967#ifdef SWIGRUNTIME_DEBUG
48968 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
48969#endif
48970 if (!ocast) ret = 0;
48971 }
48972 }
48973
48974 if (!ret) {
48975#ifdef SWIGRUNTIME_DEBUG
48976 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
48977#endif
48978 if (type->cast) {
48979 type->cast->prev = cast;
48980 cast->next = type->cast;
48981 }
48982 type->cast = cast;
48983 }
48984 cast++;
48985 }
48986 /* Set entry in modules->types array equal to the type */
48987 swig_module.types[i] = type;
48988 }
48989 swig_module.types[i] = 0;
48990
48991#ifdef SWIGRUNTIME_DEBUG
48992 printf("**** SWIG_InitializeModule: Cast List ******\n");
48993 for (i = 0; i < swig_module.size; ++i) {
48994 int j = 0;
48995 swig_cast_info *cast = swig_module.cast_initial[i];
48996 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
48997 while (cast->type) {
48998 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
48999 cast++;
49000 ++j;
49001 }
49002 printf("---- Total casts: %d\n",j);
49003 }
49004 printf("**** SWIG_InitializeModule: Cast List ******\n");
49005#endif
49006}
49007
49008/* This function will propagate the clientdata field of type to
49009* any new swig_type_info structures that have been added into the list
49010* of equivalent types. It is like calling
49011* SWIG_TypeClientData(type, clientdata) a second time.
49012*/
49013SWIGRUNTIME void
49014SWIG_PropagateClientData(void) {
49015 size_t i;
49016 swig_cast_info *equiv;
49017 static int init_run = 0;
49018
49019 if (init_run) return;
49020 init_run = 1;
49021
49022 for (i = 0; i < swig_module.size; i++) {
49023 if (swig_module.types[i]->clientdata) {
49024 equiv = swig_module.types[i]->cast;
49025 while (equiv) {
49026 if (!equiv->converter) {
49027 if (equiv->type && !equiv->type->clientdata)
49028 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
49029 }
49030 equiv = equiv->next;
49031 }
49032 }
49033 }
49034}
49035
49036#ifdef __cplusplus
49037#if 0
49038{
49039 /* c-mode */
49040#endif
49041}
49042#endif
49043
d14a1e28 49044
093d3ff1
RD
49045
49046#ifdef __cplusplus
49047extern "C" {
49048#endif
49049
49050 /* Python-specific SWIG API */
49051#define SWIG_newvarlink() SWIG_Python_newvarlink()
49052#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
49053#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
49054
49055 /* -----------------------------------------------------------------------------
49056 * global variable support code.
49057 * ----------------------------------------------------------------------------- */
49058
49059 typedef struct swig_globalvar {
49060 char *name; /* Name of global variable */
32fe5131 49061 PyObject *(*get_attr)(void); /* Return the current value */
093d3ff1
RD
49062 int (*set_attr)(PyObject *); /* Set the value */
49063 struct swig_globalvar *next;
49064 } swig_globalvar;
49065
49066 typedef struct swig_varlinkobject {
49067 PyObject_HEAD
49068 swig_globalvar *vars;
49069 } swig_varlinkobject;
49070
32fe5131 49071 SWIGINTERN PyObject *
093d3ff1
RD
49072 swig_varlink_repr(swig_varlinkobject *v) {
49073 v = v;
49074 return PyString_FromString("<Swig global variables>");
49075 }
49076
32fe5131 49077 SWIGINTERN int
093d3ff1
RD
49078 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
49079 swig_globalvar *var;
49080 flags = flags;
49081 fprintf(fp,"Swig global variables { ");
49082 for (var = v->vars; var; var=var->next) {
49083 fprintf(fp,"%s", var->name);
49084 if (var->next) fprintf(fp,", ");
49085 }
49086 fprintf(fp," }\n");
49087 return 0;
49088 }
49089
32fe5131 49090 SWIGINTERN PyObject *
093d3ff1
RD
49091 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
49092 swig_globalvar *var = v->vars;
49093 while (var) {
49094 if (strcmp(var->name,n) == 0) {
49095 return (*var->get_attr)();
49096 }
49097 var = var->next;
49098 }
49099 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
49100 return NULL;
49101 }
49102
32fe5131 49103 SWIGINTERN int
093d3ff1
RD
49104 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
49105 swig_globalvar *var = v->vars;
49106 while (var) {
49107 if (strcmp(var->name,n) == 0) {
49108 return (*var->set_attr)(p);
49109 }
49110 var = var->next;
49111 }
49112 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
49113 return 1;
49114 }
49115
32fe5131
RD
49116 SWIGINTERN PyTypeObject*
49117 swig_varlink_type(void) {
49118 static char varlink__doc__[] = "Swig var link object";
49119 static PyTypeObject varlink_type
49120#if !defined(__cplusplus)
49121 ;
49122 static int type_init = 0;
49123 if (!type_init) {
49124 PyTypeObject tmp
49125#endif
49126 = {
49127 PyObject_HEAD_INIT(&PyType_Type)
49128 0, /* Number of items in variable part (ob_size) */
49129 (char *)"swigvarlink", /* Type name (tp_name) */
49130 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
49131 0, /* Itemsize (tp_itemsize) */
49132 0, /* Deallocator (tp_dealloc) */
49133 (printfunc) swig_varlink_print, /* Print (tp_print) */
49134 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
49135 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
49136 0, /* tp_compare */
49137 (reprfunc) swig_varlink_repr, /* tp_repr */
49138 0, /* tp_as_number */
49139 0, /* tp_as_sequence */
49140 0, /* tp_as_mapping */
49141 0, /* tp_hash */
49142 0, /* tp_call */
49143 0, /* tp_str */
49144 0, /* tp_getattro */
49145 0, /* tp_setattro */
49146 0, /* tp_as_buffer */
49147 0, /* tp_flags */
49148 varlink__doc__, /* tp_doc */
093d3ff1 49149#if PY_VERSION_HEX >= 0x02000000
32fe5131
RD
49150 0, /* tp_traverse */
49151 0, /* tp_clear */
093d3ff1
RD
49152#endif
49153#if PY_VERSION_HEX >= 0x02010000
32fe5131
RD
49154 0, /* tp_richcompare */
49155 0, /* tp_weaklistoffset */
093d3ff1
RD
49156#endif
49157#if PY_VERSION_HEX >= 0x02020000
32fe5131 49158 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
093d3ff1
RD
49159#endif
49160#if PY_VERSION_HEX >= 0x02030000
32fe5131 49161 0, /* tp_del */
093d3ff1
RD
49162#endif
49163#ifdef COUNT_ALLOCS
32fe5131 49164 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 49165#endif
32fe5131
RD
49166 };
49167#if !defined(__cplusplus)
49168 varlink_type = tmp;
49169 type_init = 1;
49170 }
49171#endif
49172 return &varlink_type;
49173 }
093d3ff1
RD
49174
49175 /* Create a variable linking object for use later */
32fe5131 49176 SWIGINTERN PyObject *
093d3ff1 49177 SWIG_Python_newvarlink(void) {
32fe5131
RD
49178 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
49179 if (result) {
49180 result->vars = 0;
49181 }
093d3ff1
RD
49182 return ((PyObject*) result);
49183 }
49184
32fe5131 49185 SWIGINTERN void
093d3ff1 49186 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
32fe5131
RD
49187 swig_varlinkobject *v = (swig_varlinkobject *) p;
49188 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
49189 if (gv) {
49190 size_t size = strlen(name)+1;
49191 gv->name = (char *)malloc(size);
49192 if (gv->name) {
49193 strncpy(gv->name,name,size);
49194 gv->get_attr = get_attr;
49195 gv->set_attr = set_attr;
49196 gv->next = v->vars;
49197 }
49198 }
093d3ff1
RD
49199 v->vars = gv;
49200 }
49201
49202 /* -----------------------------------------------------------------------------
49203 * constants/methods manipulation
49204 * ----------------------------------------------------------------------------- */
49205
49206 /* Install Constants */
32fe5131 49207 SWIGINTERN void
093d3ff1
RD
49208 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
49209 PyObject *obj = 0;
49210 size_t i;
32fe5131 49211 for (i = 0; constants[i].type; ++i) {
093d3ff1
RD
49212 switch(constants[i].type) {
49213 case SWIG_PY_INT:
49214 obj = PyInt_FromLong(constants[i].lvalue);
49215 break;
49216 case SWIG_PY_FLOAT:
49217 obj = PyFloat_FromDouble(constants[i].dvalue);
49218 break;
49219 case SWIG_PY_STRING:
49220 if (constants[i].pvalue) {
49221 obj = PyString_FromString((char *) constants[i].pvalue);
49222 } else {
49223 Py_INCREF(Py_None);
49224 obj = Py_None;
49225 }
49226 break;
49227 case SWIG_PY_POINTER:
49228 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
49229 break;
49230 case SWIG_PY_BINARY:
49231 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
49232 break;
49233 default:
49234 obj = 0;
49235 break;
49236 }
49237 if (obj) {
49238 PyDict_SetItemString(d,constants[i].name,obj);
49239 Py_DECREF(obj);
49240 }
49241 }
49242 }
49243
49244 /* -----------------------------------------------------------------------------*/
49245 /* Fix SwigMethods to carry the callback ptrs when needed */
49246 /* -----------------------------------------------------------------------------*/
49247
32fe5131 49248 SWIGINTERN void
093d3ff1
RD
49249 SWIG_Python_FixMethods(PyMethodDef *methods,
49250 swig_const_info *const_table,
49251 swig_type_info **types,
49252 swig_type_info **types_initial) {
49253 size_t i;
49254 for (i = 0; methods[i].ml_name; ++i) {
49255 char *c = methods[i].ml_doc;
49256 if (c && (c = strstr(c, "swig_ptr: "))) {
49257 int j;
49258 swig_const_info *ci = 0;
49259 char *name = c + 10;
32fe5131 49260 for (j = 0; const_table[j].type; ++j) {
093d3ff1
RD
49261 if (strncmp(const_table[j].name, name,
49262 strlen(const_table[j].name)) == 0) {
49263 ci = &(const_table[j]);
49264 break;
49265 }
49266 }
49267 if (ci) {
49268 size_t shift = (ci->ptype) - types;
49269 swig_type_info *ty = types_initial[shift];
49270 size_t ldoc = (c - methods[i].ml_doc);
49271 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
49272 char *ndoc = (char*)malloc(ldoc + lptr + 10);
32fe5131
RD
49273 if (ndoc) {
49274 char *buff = ndoc;
49275 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
49276 if (ptr) {
49277 strncpy(buff, methods[i].ml_doc, ldoc);
49278 buff += ldoc;
49279 strncpy(buff, "swig_ptr: ", 10);
49280 buff += 10;
49281 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
49282 methods[i].ml_doc = ndoc;
49283 }
49284 }
093d3ff1
RD
49285 }
49286 }
49287 }
49288 }
49289
49290 /* -----------------------------------------------------------------------------*
49291 * Initialize type list
49292 * -----------------------------------------------------------------------------*/
49293
093d3ff1
RD
49294#ifdef __cplusplus
49295}
49296#endif
49297
49298/* -----------------------------------------------------------------------------*
49299 * Partial Init method
49300 * -----------------------------------------------------------------------------*/
49301
093d3ff1
RD
49302#ifdef __cplusplus
49303extern "C"
49304#endif
32fe5131 49305SWIGEXPORT void SWIG_init(void) {
d14a1e28 49306 static PyObject *SWIG_globals = 0;
d14a1e28 49307 PyObject *m, *d;
d14a1e28 49308 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
093d3ff1
RD
49309
49310 /* Fix SwigMethods to carry the callback ptrs when needed */
32fe5131 49311 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
093d3ff1 49312
d14a1e28
RD
49313 m = Py_InitModule((char *) SWIG_name, SwigMethods);
49314 d = PyModule_GetDict(m);
49315
32fe5131 49316 SWIG_InitializeModule(0);
d14a1e28
RD
49317 SWIG_InstallConstants(d,swig_const_table);
49318
49319
49320#ifndef wxPyUSE_EXPORT
49321 // Make our API structure a CObject so other modules can import it
49322 // from this module.
49323 PyObject* cobj = PyCObject_FromVoidPtr(&API, NULL);
49324 PyDict_SetItemString(d,"_wxPyCoreAPI", cobj);
49325 Py_XDECREF(cobj);
49326#endif
49327
093d3ff1 49328 {
32fe5131 49329 PyDict_SetItemString(d,"NOT_FOUND", SWIG_From_int(static_cast<int >(wxNOT_FOUND)));
093d3ff1
RD
49330 }
49331 {
32fe5131 49332 PyDict_SetItemString(d,"VSCROLL", SWIG_From_int(static_cast<int >(wxVSCROLL)));
093d3ff1
RD
49333 }
49334 {
32fe5131 49335 PyDict_SetItemString(d,"HSCROLL", SWIG_From_int(static_cast<int >(wxHSCROLL)));
093d3ff1
RD
49336 }
49337 {
32fe5131 49338 PyDict_SetItemString(d,"CAPTION", SWIG_From_int(static_cast<int >(wxCAPTION)));
093d3ff1
RD
49339 }
49340 {
32fe5131 49341 PyDict_SetItemString(d,"DOUBLE_BORDER", SWIG_From_int(static_cast<int >(wxDOUBLE_BORDER)));
093d3ff1
RD
49342 }
49343 {
32fe5131 49344 PyDict_SetItemString(d,"SUNKEN_BORDER", SWIG_From_int(static_cast<int >(wxSUNKEN_BORDER)));
093d3ff1
RD
49345 }
49346 {
32fe5131 49347 PyDict_SetItemString(d,"RAISED_BORDER", SWIG_From_int(static_cast<int >(wxRAISED_BORDER)));
093d3ff1
RD
49348 }
49349 {
32fe5131 49350 PyDict_SetItemString(d,"BORDER", SWIG_From_int(static_cast<int >(wxBORDER)));
093d3ff1
RD
49351 }
49352 {
32fe5131 49353 PyDict_SetItemString(d,"SIMPLE_BORDER", SWIG_From_int(static_cast<int >(wxSIMPLE_BORDER)));
093d3ff1
RD
49354 }
49355 {
32fe5131 49356 PyDict_SetItemString(d,"STATIC_BORDER", SWIG_From_int(static_cast<int >(wxSTATIC_BORDER)));
093d3ff1
RD
49357 }
49358 {
32fe5131 49359 PyDict_SetItemString(d,"TRANSPARENT_WINDOW", SWIG_From_int(static_cast<int >(wxTRANSPARENT_WINDOW)));
093d3ff1
RD
49360 }
49361 {
32fe5131 49362 PyDict_SetItemString(d,"NO_BORDER", SWIG_From_int(static_cast<int >(wxNO_BORDER)));
093d3ff1 49363 }
bcd0d7b6 49364 {
32fe5131 49365 PyDict_SetItemString(d,"DEFAULT_CONTROL_BORDER", SWIG_From_int(static_cast<int >(wxDEFAULT_CONTROL_BORDER)));
bcd0d7b6 49366 }
6d88e192 49367 {
32fe5131 49368 PyDict_SetItemString(d,"DEFAULT_STATUSBAR_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_STATUSBAR_STYLE)));
6d88e192 49369 }
093d3ff1 49370 {
32fe5131 49371 PyDict_SetItemString(d,"TAB_TRAVERSAL", SWIG_From_int(static_cast<int >(wxTAB_TRAVERSAL)));
093d3ff1
RD
49372 }
49373 {
32fe5131 49374 PyDict_SetItemString(d,"WANTS_CHARS", SWIG_From_int(static_cast<int >(wxWANTS_CHARS)));
093d3ff1
RD
49375 }
49376 {
32fe5131 49377 PyDict_SetItemString(d,"POPUP_WINDOW", SWIG_From_int(static_cast<int >(wxPOPUP_WINDOW)));
093d3ff1
RD
49378 }
49379 {
32fe5131 49380 PyDict_SetItemString(d,"CENTER_FRAME", SWIG_From_int(static_cast<int >(wxCENTER_FRAME)));
093d3ff1
RD
49381 }
49382 {
32fe5131 49383 PyDict_SetItemString(d,"CENTRE_ON_SCREEN", SWIG_From_int(static_cast<int >(wxCENTRE_ON_SCREEN)));
093d3ff1
RD
49384 }
49385 {
32fe5131 49386 PyDict_SetItemString(d,"CENTER_ON_SCREEN", SWIG_From_int(static_cast<int >(wxCENTER_ON_SCREEN)));
093d3ff1 49387 }
093d3ff1 49388 {
32fe5131 49389 PyDict_SetItemString(d,"CLIP_CHILDREN", SWIG_From_int(static_cast<int >(wxCLIP_CHILDREN)));
093d3ff1
RD
49390 }
49391 {
32fe5131 49392 PyDict_SetItemString(d,"CLIP_SIBLINGS", SWIG_From_int(static_cast<int >(wxCLIP_SIBLINGS)));
093d3ff1
RD
49393 }
49394 {
32fe5131 49395 PyDict_SetItemString(d,"ALWAYS_SHOW_SB", SWIG_From_int(static_cast<int >(wxALWAYS_SHOW_SB)));
093d3ff1
RD
49396 }
49397 {
32fe5131 49398 PyDict_SetItemString(d,"RETAINED", SWIG_From_int(static_cast<int >(wxRETAINED)));
093d3ff1
RD
49399 }
49400 {
32fe5131 49401 PyDict_SetItemString(d,"BACKINGSTORE", SWIG_From_int(static_cast<int >(wxBACKINGSTORE)));
093d3ff1
RD
49402 }
49403 {
32fe5131 49404 PyDict_SetItemString(d,"COLOURED", SWIG_From_int(static_cast<int >(wxCOLOURED)));
093d3ff1
RD
49405 }
49406 {
32fe5131 49407 PyDict_SetItemString(d,"FIXED_LENGTH", SWIG_From_int(static_cast<int >(wxFIXED_LENGTH)));
093d3ff1
RD
49408 }
49409 {
32fe5131 49410 PyDict_SetItemString(d,"LB_NEEDED_SB", SWIG_From_int(static_cast<int >(wxLB_NEEDED_SB)));
093d3ff1
RD
49411 }
49412 {
32fe5131 49413 PyDict_SetItemString(d,"LB_ALWAYS_SB", SWIG_From_int(static_cast<int >(wxLB_ALWAYS_SB)));
093d3ff1
RD
49414 }
49415 {
32fe5131 49416 PyDict_SetItemString(d,"LB_SORT", SWIG_From_int(static_cast<int >(wxLB_SORT)));
093d3ff1
RD
49417 }
49418 {
32fe5131 49419 PyDict_SetItemString(d,"LB_SINGLE", SWIG_From_int(static_cast<int >(wxLB_SINGLE)));
093d3ff1
RD
49420 }
49421 {
32fe5131 49422 PyDict_SetItemString(d,"LB_MULTIPLE", SWIG_From_int(static_cast<int >(wxLB_MULTIPLE)));
093d3ff1
RD
49423 }
49424 {
32fe5131 49425 PyDict_SetItemString(d,"LB_EXTENDED", SWIG_From_int(static_cast<int >(wxLB_EXTENDED)));
093d3ff1
RD
49426 }
49427 {
32fe5131 49428 PyDict_SetItemString(d,"LB_OWNERDRAW", SWIG_From_int(static_cast<int >(wxLB_OWNERDRAW)));
093d3ff1
RD
49429 }
49430 {
32fe5131 49431 PyDict_SetItemString(d,"LB_HSCROLL", SWIG_From_int(static_cast<int >(wxLB_HSCROLL)));
093d3ff1
RD
49432 }
49433 {
32fe5131 49434 PyDict_SetItemString(d,"PROCESS_ENTER", SWIG_From_int(static_cast<int >(wxPROCESS_ENTER)));
093d3ff1
RD
49435 }
49436 {
32fe5131 49437 PyDict_SetItemString(d,"PASSWORD", SWIG_From_int(static_cast<int >(wxPASSWORD)));
093d3ff1
RD
49438 }
49439 {
32fe5131 49440 PyDict_SetItemString(d,"CB_SIMPLE", SWIG_From_int(static_cast<int >(wxCB_SIMPLE)));
093d3ff1
RD
49441 }
49442 {
32fe5131 49443 PyDict_SetItemString(d,"CB_DROPDOWN", SWIG_From_int(static_cast<int >(wxCB_DROPDOWN)));
093d3ff1
RD
49444 }
49445 {
32fe5131 49446 PyDict_SetItemString(d,"CB_SORT", SWIG_From_int(static_cast<int >(wxCB_SORT)));
093d3ff1
RD
49447 }
49448 {
32fe5131 49449 PyDict_SetItemString(d,"CB_READONLY", SWIG_From_int(static_cast<int >(wxCB_READONLY)));
093d3ff1
RD
49450 }
49451 {
32fe5131 49452 PyDict_SetItemString(d,"RA_HORIZONTAL", SWIG_From_int(static_cast<int >(wxRA_HORIZONTAL)));
093d3ff1
RD
49453 }
49454 {
32fe5131 49455 PyDict_SetItemString(d,"RA_VERTICAL", SWIG_From_int(static_cast<int >(wxRA_VERTICAL)));
093d3ff1
RD
49456 }
49457 {
32fe5131 49458 PyDict_SetItemString(d,"RA_SPECIFY_ROWS", SWIG_From_int(static_cast<int >(wxRA_SPECIFY_ROWS)));
093d3ff1
RD
49459 }
49460 {
32fe5131 49461 PyDict_SetItemString(d,"RA_SPECIFY_COLS", SWIG_From_int(static_cast<int >(wxRA_SPECIFY_COLS)));
093d3ff1 49462 }
fef4c27a 49463 {
32fe5131 49464 PyDict_SetItemString(d,"RA_USE_CHECKBOX", SWIG_From_int(static_cast<int >(wxRA_USE_CHECKBOX)));
fef4c27a 49465 }
093d3ff1 49466 {
32fe5131 49467 PyDict_SetItemString(d,"RB_GROUP", SWIG_From_int(static_cast<int >(wxRB_GROUP)));
093d3ff1
RD
49468 }
49469 {
32fe5131 49470 PyDict_SetItemString(d,"RB_SINGLE", SWIG_From_int(static_cast<int >(wxRB_SINGLE)));
093d3ff1 49471 }
093d3ff1 49472 {
32fe5131 49473 PyDict_SetItemString(d,"SB_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSB_HORIZONTAL)));
093d3ff1
RD
49474 }
49475 {
32fe5131 49476 PyDict_SetItemString(d,"SB_VERTICAL", SWIG_From_int(static_cast<int >(wxSB_VERTICAL)));
093d3ff1 49477 }
fef4c27a 49478 {
32fe5131 49479 PyDict_SetItemString(d,"RB_USE_CHECKBOX", SWIG_From_int(static_cast<int >(wxRB_USE_CHECKBOX)));
fef4c27a 49480 }
093d3ff1 49481 {
32fe5131 49482 PyDict_SetItemString(d,"ST_SIZEGRIP", SWIG_From_int(static_cast<int >(wxST_SIZEGRIP)));
093d3ff1
RD
49483 }
49484 {
32fe5131 49485 PyDict_SetItemString(d,"ST_NO_AUTORESIZE", SWIG_From_int(static_cast<int >(wxST_NO_AUTORESIZE)));
093d3ff1
RD
49486 }
49487 {
32fe5131 49488 PyDict_SetItemString(d,"FLOOD_SURFACE", SWIG_From_int(static_cast<int >(wxFLOOD_SURFACE)));
093d3ff1
RD
49489 }
49490 {
32fe5131 49491 PyDict_SetItemString(d,"FLOOD_BORDER", SWIG_From_int(static_cast<int >(wxFLOOD_BORDER)));
093d3ff1
RD
49492 }
49493 {
32fe5131 49494 PyDict_SetItemString(d,"ODDEVEN_RULE", SWIG_From_int(static_cast<int >(wxODDEVEN_RULE)));
093d3ff1
RD
49495 }
49496 {
32fe5131 49497 PyDict_SetItemString(d,"WINDING_RULE", SWIG_From_int(static_cast<int >(wxWINDING_RULE)));
093d3ff1
RD
49498 }
49499 {
32fe5131 49500 PyDict_SetItemString(d,"TOOL_TOP", SWIG_From_int(static_cast<int >(wxTOOL_TOP)));
093d3ff1
RD
49501 }
49502 {
32fe5131 49503 PyDict_SetItemString(d,"TOOL_BOTTOM", SWIG_From_int(static_cast<int >(wxTOOL_BOTTOM)));
093d3ff1
RD
49504 }
49505 {
32fe5131 49506 PyDict_SetItemString(d,"TOOL_LEFT", SWIG_From_int(static_cast<int >(wxTOOL_LEFT)));
093d3ff1
RD
49507 }
49508 {
32fe5131 49509 PyDict_SetItemString(d,"TOOL_RIGHT", SWIG_From_int(static_cast<int >(wxTOOL_RIGHT)));
093d3ff1
RD
49510 }
49511 {
32fe5131 49512 PyDict_SetItemString(d,"OK", SWIG_From_int(static_cast<int >(wxOK)));
093d3ff1
RD
49513 }
49514 {
32fe5131 49515 PyDict_SetItemString(d,"YES_NO", SWIG_From_int(static_cast<int >(wxYES_NO)));
093d3ff1
RD
49516 }
49517 {
32fe5131 49518 PyDict_SetItemString(d,"CANCEL", SWIG_From_int(static_cast<int >(wxCANCEL)));
093d3ff1
RD
49519 }
49520 {
32fe5131 49521 PyDict_SetItemString(d,"YES", SWIG_From_int(static_cast<int >(wxYES)));
093d3ff1
RD
49522 }
49523 {
32fe5131 49524 PyDict_SetItemString(d,"NO", SWIG_From_int(static_cast<int >(wxNO)));
093d3ff1
RD
49525 }
49526 {
32fe5131 49527 PyDict_SetItemString(d,"NO_DEFAULT", SWIG_From_int(static_cast<int >(wxNO_DEFAULT)));
093d3ff1
RD
49528 }
49529 {
32fe5131 49530 PyDict_SetItemString(d,"YES_DEFAULT", SWIG_From_int(static_cast<int >(wxYES_DEFAULT)));
093d3ff1
RD
49531 }
49532 {
32fe5131 49533 PyDict_SetItemString(d,"ICON_EXCLAMATION", SWIG_From_int(static_cast<int >(wxICON_EXCLAMATION)));
093d3ff1
RD
49534 }
49535 {
32fe5131 49536 PyDict_SetItemString(d,"ICON_HAND", SWIG_From_int(static_cast<int >(wxICON_HAND)));
093d3ff1
RD
49537 }
49538 {
32fe5131 49539 PyDict_SetItemString(d,"ICON_QUESTION", SWIG_From_int(static_cast<int >(wxICON_QUESTION)));
093d3ff1
RD
49540 }
49541 {
32fe5131 49542 PyDict_SetItemString(d,"ICON_INFORMATION", SWIG_From_int(static_cast<int >(wxICON_INFORMATION)));
093d3ff1
RD
49543 }
49544 {
32fe5131 49545 PyDict_SetItemString(d,"ICON_STOP", SWIG_From_int(static_cast<int >(wxICON_STOP)));
093d3ff1
RD
49546 }
49547 {
32fe5131 49548 PyDict_SetItemString(d,"ICON_ASTERISK", SWIG_From_int(static_cast<int >(wxICON_ASTERISK)));
093d3ff1
RD
49549 }
49550 {
32fe5131 49551 PyDict_SetItemString(d,"ICON_MASK", SWIG_From_int(static_cast<int >(wxICON_MASK)));
093d3ff1
RD
49552 }
49553 {
32fe5131 49554 PyDict_SetItemString(d,"ICON_WARNING", SWIG_From_int(static_cast<int >(wxICON_WARNING)));
093d3ff1
RD
49555 }
49556 {
32fe5131 49557 PyDict_SetItemString(d,"ICON_ERROR", SWIG_From_int(static_cast<int >(wxICON_ERROR)));
093d3ff1
RD
49558 }
49559 {
32fe5131 49560 PyDict_SetItemString(d,"FORWARD", SWIG_From_int(static_cast<int >(wxFORWARD)));
093d3ff1
RD
49561 }
49562 {
32fe5131 49563 PyDict_SetItemString(d,"BACKWARD", SWIG_From_int(static_cast<int >(wxBACKWARD)));
093d3ff1
RD
49564 }
49565 {
32fe5131 49566 PyDict_SetItemString(d,"RESET", SWIG_From_int(static_cast<int >(wxRESET)));
093d3ff1
RD
49567 }
49568 {
32fe5131 49569 PyDict_SetItemString(d,"HELP", SWIG_From_int(static_cast<int >(wxHELP)));
093d3ff1
RD
49570 }
49571 {
32fe5131 49572 PyDict_SetItemString(d,"MORE", SWIG_From_int(static_cast<int >(wxMORE)));
093d3ff1
RD
49573 }
49574 {
32fe5131 49575 PyDict_SetItemString(d,"SETUP", SWIG_From_int(static_cast<int >(wxSETUP)));
093d3ff1
RD
49576 }
49577 {
32fe5131 49578 PyDict_SetItemString(d,"SIZE_AUTO_WIDTH", SWIG_From_int(static_cast<int >(wxSIZE_AUTO_WIDTH)));
093d3ff1
RD
49579 }
49580 {
32fe5131 49581 PyDict_SetItemString(d,"SIZE_AUTO_HEIGHT", SWIG_From_int(static_cast<int >(wxSIZE_AUTO_HEIGHT)));
093d3ff1
RD
49582 }
49583 {
32fe5131 49584 PyDict_SetItemString(d,"SIZE_AUTO", SWIG_From_int(static_cast<int >(wxSIZE_AUTO)));
093d3ff1
RD
49585 }
49586 {
32fe5131 49587 PyDict_SetItemString(d,"SIZE_USE_EXISTING", SWIG_From_int(static_cast<int >(wxSIZE_USE_EXISTING)));
093d3ff1
RD
49588 }
49589 {
32fe5131 49590 PyDict_SetItemString(d,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int(static_cast<int >(wxSIZE_ALLOW_MINUS_ONE)));
093d3ff1 49591 }
943e8dfd 49592 {
32fe5131 49593 PyDict_SetItemString(d,"SIZE_FORCE", SWIG_From_int(static_cast<int >(wxSIZE_FORCE)));
943e8dfd 49594 }
093d3ff1 49595 {
32fe5131 49596 PyDict_SetItemString(d,"PORTRAIT", SWIG_From_int(static_cast<int >(wxPORTRAIT)));
093d3ff1
RD
49597 }
49598 {
32fe5131 49599 PyDict_SetItemString(d,"LANDSCAPE", SWIG_From_int(static_cast<int >(wxLANDSCAPE)));
093d3ff1
RD
49600 }
49601 {
32fe5131 49602 PyDict_SetItemString(d,"PRINT_QUALITY_HIGH", SWIG_From_int(static_cast<int >(wxPRINT_QUALITY_HIGH)));
093d3ff1
RD
49603 }
49604 {
32fe5131 49605 PyDict_SetItemString(d,"PRINT_QUALITY_MEDIUM", SWIG_From_int(static_cast<int >(wxPRINT_QUALITY_MEDIUM)));
093d3ff1
RD
49606 }
49607 {
32fe5131 49608 PyDict_SetItemString(d,"PRINT_QUALITY_LOW", SWIG_From_int(static_cast<int >(wxPRINT_QUALITY_LOW)));
093d3ff1
RD
49609 }
49610 {
32fe5131 49611 PyDict_SetItemString(d,"PRINT_QUALITY_DRAFT", SWIG_From_int(static_cast<int >(wxPRINT_QUALITY_DRAFT)));
093d3ff1
RD
49612 }
49613 {
32fe5131 49614 PyDict_SetItemString(d,"ID_ANY", SWIG_From_int(static_cast<int >(wxID_ANY)));
093d3ff1
RD
49615 }
49616 {
32fe5131 49617 PyDict_SetItemString(d,"ID_SEPARATOR", SWIG_From_int(static_cast<int >(wxID_SEPARATOR)));
093d3ff1 49618 }
943e8dfd 49619 {
32fe5131 49620 PyDict_SetItemString(d,"ID_NONE", SWIG_From_int(static_cast<int >(wxID_NONE)));
943e8dfd 49621 }
093d3ff1 49622 {
32fe5131 49623 PyDict_SetItemString(d,"ID_LOWEST", SWIG_From_int(static_cast<int >(wxID_LOWEST)));
093d3ff1
RD
49624 }
49625 {
32fe5131 49626 PyDict_SetItemString(d,"ID_OPEN", SWIG_From_int(static_cast<int >(wxID_OPEN)));
093d3ff1
RD
49627 }
49628 {
32fe5131 49629 PyDict_SetItemString(d,"ID_CLOSE", SWIG_From_int(static_cast<int >(wxID_CLOSE)));
093d3ff1
RD
49630 }
49631 {
32fe5131 49632 PyDict_SetItemString(d,"ID_NEW", SWIG_From_int(static_cast<int >(wxID_NEW)));
093d3ff1
RD
49633 }
49634 {
32fe5131 49635 PyDict_SetItemString(d,"ID_SAVE", SWIG_From_int(static_cast<int >(wxID_SAVE)));
093d3ff1
RD
49636 }
49637 {
32fe5131 49638 PyDict_SetItemString(d,"ID_SAVEAS", SWIG_From_int(static_cast<int >(wxID_SAVEAS)));
093d3ff1
RD
49639 }
49640 {
32fe5131 49641 PyDict_SetItemString(d,"ID_REVERT", SWIG_From_int(static_cast<int >(wxID_REVERT)));
093d3ff1
RD
49642 }
49643 {
32fe5131 49644 PyDict_SetItemString(d,"ID_EXIT", SWIG_From_int(static_cast<int >(wxID_EXIT)));
093d3ff1
RD
49645 }
49646 {
32fe5131 49647 PyDict_SetItemString(d,"ID_UNDO", SWIG_From_int(static_cast<int >(wxID_UNDO)));
093d3ff1
RD
49648 }
49649 {
32fe5131 49650 PyDict_SetItemString(d,"ID_REDO", SWIG_From_int(static_cast<int >(wxID_REDO)));
093d3ff1
RD
49651 }
49652 {
32fe5131 49653 PyDict_SetItemString(d,"ID_HELP", SWIG_From_int(static_cast<int >(wxID_HELP)));
093d3ff1
RD
49654 }
49655 {
32fe5131 49656 PyDict_SetItemString(d,"ID_PRINT", SWIG_From_int(static_cast<int >(wxID_PRINT)));
093d3ff1
RD
49657 }
49658 {
32fe5131 49659 PyDict_SetItemString(d,"ID_PRINT_SETUP", SWIG_From_int(static_cast<int >(wxID_PRINT_SETUP)));
093d3ff1
RD
49660 }
49661 {
32fe5131 49662 PyDict_SetItemString(d,"ID_PREVIEW", SWIG_From_int(static_cast<int >(wxID_PREVIEW)));
093d3ff1
RD
49663 }
49664 {
32fe5131 49665 PyDict_SetItemString(d,"ID_ABOUT", SWIG_From_int(static_cast<int >(wxID_ABOUT)));
093d3ff1
RD
49666 }
49667 {
32fe5131 49668 PyDict_SetItemString(d,"ID_HELP_CONTENTS", SWIG_From_int(static_cast<int >(wxID_HELP_CONTENTS)));
093d3ff1
RD
49669 }
49670 {
32fe5131 49671 PyDict_SetItemString(d,"ID_HELP_COMMANDS", SWIG_From_int(static_cast<int >(wxID_HELP_COMMANDS)));
093d3ff1
RD
49672 }
49673 {
32fe5131 49674 PyDict_SetItemString(d,"ID_HELP_PROCEDURES", SWIG_From_int(static_cast<int >(wxID_HELP_PROCEDURES)));
093d3ff1
RD
49675 }
49676 {
32fe5131 49677 PyDict_SetItemString(d,"ID_HELP_CONTEXT", SWIG_From_int(static_cast<int >(wxID_HELP_CONTEXT)));
093d3ff1
RD
49678 }
49679 {
32fe5131 49680 PyDict_SetItemString(d,"ID_CLOSE_ALL", SWIG_From_int(static_cast<int >(wxID_CLOSE_ALL)));
093d3ff1
RD
49681 }
49682 {
32fe5131 49683 PyDict_SetItemString(d,"ID_PREFERENCES", SWIG_From_int(static_cast<int >(wxID_PREFERENCES)));
093d3ff1
RD
49684 }
49685 {
32fe5131 49686 PyDict_SetItemString(d,"ID_CUT", SWIG_From_int(static_cast<int >(wxID_CUT)));
093d3ff1
RD
49687 }
49688 {
32fe5131 49689 PyDict_SetItemString(d,"ID_COPY", SWIG_From_int(static_cast<int >(wxID_COPY)));
093d3ff1
RD
49690 }
49691 {
32fe5131 49692 PyDict_SetItemString(d,"ID_PASTE", SWIG_From_int(static_cast<int >(wxID_PASTE)));
093d3ff1
RD
49693 }
49694 {
32fe5131 49695 PyDict_SetItemString(d,"ID_CLEAR", SWIG_From_int(static_cast<int >(wxID_CLEAR)));
093d3ff1
RD
49696 }
49697 {
32fe5131 49698 PyDict_SetItemString(d,"ID_FIND", SWIG_From_int(static_cast<int >(wxID_FIND)));
093d3ff1
RD
49699 }
49700 {
32fe5131 49701 PyDict_SetItemString(d,"ID_DUPLICATE", SWIG_From_int(static_cast<int >(wxID_DUPLICATE)));
093d3ff1
RD
49702 }
49703 {
32fe5131 49704 PyDict_SetItemString(d,"ID_SELECTALL", SWIG_From_int(static_cast<int >(wxID_SELECTALL)));
093d3ff1
RD
49705 }
49706 {
32fe5131 49707 PyDict_SetItemString(d,"ID_DELETE", SWIG_From_int(static_cast<int >(wxID_DELETE)));
093d3ff1
RD
49708 }
49709 {
32fe5131 49710 PyDict_SetItemString(d,"ID_REPLACE", SWIG_From_int(static_cast<int >(wxID_REPLACE)));
093d3ff1
RD
49711 }
49712 {
32fe5131 49713 PyDict_SetItemString(d,"ID_REPLACE_ALL", SWIG_From_int(static_cast<int >(wxID_REPLACE_ALL)));
093d3ff1
RD
49714 }
49715 {
32fe5131 49716 PyDict_SetItemString(d,"ID_PROPERTIES", SWIG_From_int(static_cast<int >(wxID_PROPERTIES)));
093d3ff1
RD
49717 }
49718 {
32fe5131 49719 PyDict_SetItemString(d,"ID_VIEW_DETAILS", SWIG_From_int(static_cast<int >(wxID_VIEW_DETAILS)));
093d3ff1
RD
49720 }
49721 {
32fe5131 49722 PyDict_SetItemString(d,"ID_VIEW_LARGEICONS", SWIG_From_int(static_cast<int >(wxID_VIEW_LARGEICONS)));
093d3ff1
RD
49723 }
49724 {
32fe5131 49725 PyDict_SetItemString(d,"ID_VIEW_SMALLICONS", SWIG_From_int(static_cast<int >(wxID_VIEW_SMALLICONS)));
093d3ff1
RD
49726 }
49727 {
32fe5131 49728 PyDict_SetItemString(d,"ID_VIEW_LIST", SWIG_From_int(static_cast<int >(wxID_VIEW_LIST)));
093d3ff1
RD
49729 }
49730 {
32fe5131 49731 PyDict_SetItemString(d,"ID_VIEW_SORTDATE", SWIG_From_int(static_cast<int >(wxID_VIEW_SORTDATE)));
093d3ff1
RD
49732 }
49733 {
32fe5131 49734 PyDict_SetItemString(d,"ID_VIEW_SORTNAME", SWIG_From_int(static_cast<int >(wxID_VIEW_SORTNAME)));
093d3ff1
RD
49735 }
49736 {
32fe5131 49737 PyDict_SetItemString(d,"ID_VIEW_SORTSIZE", SWIG_From_int(static_cast<int >(wxID_VIEW_SORTSIZE)));
093d3ff1
RD
49738 }
49739 {
32fe5131 49740 PyDict_SetItemString(d,"ID_VIEW_SORTTYPE", SWIG_From_int(static_cast<int >(wxID_VIEW_SORTTYPE)));
093d3ff1
RD
49741 }
49742 {
32fe5131 49743 PyDict_SetItemString(d,"ID_FILE1", SWIG_From_int(static_cast<int >(wxID_FILE1)));
093d3ff1
RD
49744 }
49745 {
32fe5131 49746 PyDict_SetItemString(d,"ID_FILE2", SWIG_From_int(static_cast<int >(wxID_FILE2)));
093d3ff1
RD
49747 }
49748 {
32fe5131 49749 PyDict_SetItemString(d,"ID_FILE3", SWIG_From_int(static_cast<int >(wxID_FILE3)));
093d3ff1
RD
49750 }
49751 {
32fe5131 49752 PyDict_SetItemString(d,"ID_FILE4", SWIG_From_int(static_cast<int >(wxID_FILE4)));
093d3ff1
RD
49753 }
49754 {
32fe5131 49755 PyDict_SetItemString(d,"ID_FILE5", SWIG_From_int(static_cast<int >(wxID_FILE5)));
093d3ff1
RD
49756 }
49757 {
32fe5131 49758 PyDict_SetItemString(d,"ID_FILE6", SWIG_From_int(static_cast<int >(wxID_FILE6)));
093d3ff1
RD
49759 }
49760 {
32fe5131 49761 PyDict_SetItemString(d,"ID_FILE7", SWIG_From_int(static_cast<int >(wxID_FILE7)));
093d3ff1
RD
49762 }
49763 {
32fe5131 49764 PyDict_SetItemString(d,"ID_FILE8", SWIG_From_int(static_cast<int >(wxID_FILE8)));
093d3ff1
RD
49765 }
49766 {
32fe5131 49767 PyDict_SetItemString(d,"ID_FILE9", SWIG_From_int(static_cast<int >(wxID_FILE9)));
093d3ff1
RD
49768 }
49769 {
32fe5131 49770 PyDict_SetItemString(d,"ID_OK", SWIG_From_int(static_cast<int >(wxID_OK)));
093d3ff1
RD
49771 }
49772 {
32fe5131 49773 PyDict_SetItemString(d,"ID_CANCEL", SWIG_From_int(static_cast<int >(wxID_CANCEL)));
093d3ff1
RD
49774 }
49775 {
32fe5131 49776 PyDict_SetItemString(d,"ID_APPLY", SWIG_From_int(static_cast<int >(wxID_APPLY)));
093d3ff1
RD
49777 }
49778 {
32fe5131 49779 PyDict_SetItemString(d,"ID_YES", SWIG_From_int(static_cast<int >(wxID_YES)));
093d3ff1
RD
49780 }
49781 {
32fe5131 49782 PyDict_SetItemString(d,"ID_NO", SWIG_From_int(static_cast<int >(wxID_NO)));
093d3ff1
RD
49783 }
49784 {
32fe5131 49785 PyDict_SetItemString(d,"ID_STATIC", SWIG_From_int(static_cast<int >(wxID_STATIC)));
093d3ff1
RD
49786 }
49787 {
32fe5131 49788 PyDict_SetItemString(d,"ID_FORWARD", SWIG_From_int(static_cast<int >(wxID_FORWARD)));
093d3ff1
RD
49789 }
49790 {
32fe5131 49791 PyDict_SetItemString(d,"ID_BACKWARD", SWIG_From_int(static_cast<int >(wxID_BACKWARD)));
093d3ff1
RD
49792 }
49793 {
32fe5131 49794 PyDict_SetItemString(d,"ID_DEFAULT", SWIG_From_int(static_cast<int >(wxID_DEFAULT)));
093d3ff1
RD
49795 }
49796 {
32fe5131 49797 PyDict_SetItemString(d,"ID_MORE", SWIG_From_int(static_cast<int >(wxID_MORE)));
093d3ff1
RD
49798 }
49799 {
32fe5131 49800 PyDict_SetItemString(d,"ID_SETUP", SWIG_From_int(static_cast<int >(wxID_SETUP)));
093d3ff1
RD
49801 }
49802 {
32fe5131 49803 PyDict_SetItemString(d,"ID_RESET", SWIG_From_int(static_cast<int >(wxID_RESET)));
093d3ff1
RD
49804 }
49805 {
32fe5131 49806 PyDict_SetItemString(d,"ID_CONTEXT_HELP", SWIG_From_int(static_cast<int >(wxID_CONTEXT_HELP)));
093d3ff1
RD
49807 }
49808 {
32fe5131 49809 PyDict_SetItemString(d,"ID_YESTOALL", SWIG_From_int(static_cast<int >(wxID_YESTOALL)));
093d3ff1
RD
49810 }
49811 {
32fe5131 49812 PyDict_SetItemString(d,"ID_NOTOALL", SWIG_From_int(static_cast<int >(wxID_NOTOALL)));
093d3ff1
RD
49813 }
49814 {
32fe5131 49815 PyDict_SetItemString(d,"ID_ABORT", SWIG_From_int(static_cast<int >(wxID_ABORT)));
093d3ff1
RD
49816 }
49817 {
32fe5131 49818 PyDict_SetItemString(d,"ID_RETRY", SWIG_From_int(static_cast<int >(wxID_RETRY)));
093d3ff1
RD
49819 }
49820 {
32fe5131 49821 PyDict_SetItemString(d,"ID_IGNORE", SWIG_From_int(static_cast<int >(wxID_IGNORE)));
093d3ff1
RD
49822 }
49823 {
32fe5131 49824 PyDict_SetItemString(d,"ID_ADD", SWIG_From_int(static_cast<int >(wxID_ADD)));
093d3ff1
RD
49825 }
49826 {
32fe5131 49827 PyDict_SetItemString(d,"ID_REMOVE", SWIG_From_int(static_cast<int >(wxID_REMOVE)));
093d3ff1
RD
49828 }
49829 {
32fe5131 49830 PyDict_SetItemString(d,"ID_UP", SWIG_From_int(static_cast<int >(wxID_UP)));
093d3ff1
RD
49831 }
49832 {
32fe5131 49833 PyDict_SetItemString(d,"ID_DOWN", SWIG_From_int(static_cast<int >(wxID_DOWN)));
093d3ff1
RD
49834 }
49835 {
32fe5131 49836 PyDict_SetItemString(d,"ID_HOME", SWIG_From_int(static_cast<int >(wxID_HOME)));
093d3ff1
RD
49837 }
49838 {
32fe5131 49839 PyDict_SetItemString(d,"ID_REFRESH", SWIG_From_int(static_cast<int >(wxID_REFRESH)));
093d3ff1
RD
49840 }
49841 {
32fe5131 49842 PyDict_SetItemString(d,"ID_STOP", SWIG_From_int(static_cast<int >(wxID_STOP)));
093d3ff1
RD
49843 }
49844 {
32fe5131 49845 PyDict_SetItemString(d,"ID_INDEX", SWIG_From_int(static_cast<int >(wxID_INDEX)));
093d3ff1
RD
49846 }
49847 {
32fe5131 49848 PyDict_SetItemString(d,"ID_BOLD", SWIG_From_int(static_cast<int >(wxID_BOLD)));
093d3ff1
RD
49849 }
49850 {
32fe5131 49851 PyDict_SetItemString(d,"ID_ITALIC", SWIG_From_int(static_cast<int >(wxID_ITALIC)));
093d3ff1
RD
49852 }
49853 {
32fe5131 49854 PyDict_SetItemString(d,"ID_JUSTIFY_CENTER", SWIG_From_int(static_cast<int >(wxID_JUSTIFY_CENTER)));
093d3ff1
RD
49855 }
49856 {
32fe5131 49857 PyDict_SetItemString(d,"ID_JUSTIFY_FILL", SWIG_From_int(static_cast<int >(wxID_JUSTIFY_FILL)));
093d3ff1
RD
49858 }
49859 {
32fe5131 49860 PyDict_SetItemString(d,"ID_JUSTIFY_RIGHT", SWIG_From_int(static_cast<int >(wxID_JUSTIFY_RIGHT)));
093d3ff1
RD
49861 }
49862 {
32fe5131 49863 PyDict_SetItemString(d,"ID_JUSTIFY_LEFT", SWIG_From_int(static_cast<int >(wxID_JUSTIFY_LEFT)));
093d3ff1
RD
49864 }
49865 {
32fe5131 49866 PyDict_SetItemString(d,"ID_UNDERLINE", SWIG_From_int(static_cast<int >(wxID_UNDERLINE)));
093d3ff1
RD
49867 }
49868 {
32fe5131 49869 PyDict_SetItemString(d,"ID_INDENT", SWIG_From_int(static_cast<int >(wxID_INDENT)));
093d3ff1
RD
49870 }
49871 {
32fe5131 49872 PyDict_SetItemString(d,"ID_UNINDENT", SWIG_From_int(static_cast<int >(wxID_UNINDENT)));
093d3ff1
RD
49873 }
49874 {
32fe5131 49875 PyDict_SetItemString(d,"ID_ZOOM_100", SWIG_From_int(static_cast<int >(wxID_ZOOM_100)));
093d3ff1
RD
49876 }
49877 {
32fe5131 49878 PyDict_SetItemString(d,"ID_ZOOM_FIT", SWIG_From_int(static_cast<int >(wxID_ZOOM_FIT)));
093d3ff1
RD
49879 }
49880 {
32fe5131 49881 PyDict_SetItemString(d,"ID_ZOOM_IN", SWIG_From_int(static_cast<int >(wxID_ZOOM_IN)));
093d3ff1
RD
49882 }
49883 {
32fe5131 49884 PyDict_SetItemString(d,"ID_ZOOM_OUT", SWIG_From_int(static_cast<int >(wxID_ZOOM_OUT)));
093d3ff1
RD
49885 }
49886 {
32fe5131 49887 PyDict_SetItemString(d,"ID_UNDELETE", SWIG_From_int(static_cast<int >(wxID_UNDELETE)));
093d3ff1
RD
49888 }
49889 {
32fe5131 49890 PyDict_SetItemString(d,"ID_REVERT_TO_SAVED", SWIG_From_int(static_cast<int >(wxID_REVERT_TO_SAVED)));
093d3ff1
RD
49891 }
49892 {
32fe5131 49893 PyDict_SetItemString(d,"ID_HIGHEST", SWIG_From_int(static_cast<int >(wxID_HIGHEST)));
093d3ff1
RD
49894 }
49895 {
32fe5131 49896 PyDict_SetItemString(d,"OPEN", SWIG_From_int(static_cast<int >(wxOPEN)));
093d3ff1
RD
49897 }
49898 {
32fe5131 49899 PyDict_SetItemString(d,"SAVE", SWIG_From_int(static_cast<int >(wxSAVE)));
093d3ff1
RD
49900 }
49901 {
32fe5131 49902 PyDict_SetItemString(d,"HIDE_READONLY", SWIG_From_int(static_cast<int >(wxHIDE_READONLY)));
093d3ff1
RD
49903 }
49904 {
32fe5131 49905 PyDict_SetItemString(d,"OVERWRITE_PROMPT", SWIG_From_int(static_cast<int >(wxOVERWRITE_PROMPT)));
093d3ff1
RD
49906 }
49907 {
32fe5131 49908 PyDict_SetItemString(d,"FILE_MUST_EXIST", SWIG_From_int(static_cast<int >(wxFILE_MUST_EXIST)));
093d3ff1
RD
49909 }
49910 {
32fe5131 49911 PyDict_SetItemString(d,"MULTIPLE", SWIG_From_int(static_cast<int >(wxMULTIPLE)));
093d3ff1
RD
49912 }
49913 {
32fe5131 49914 PyDict_SetItemString(d,"CHANGE_DIR", SWIG_From_int(static_cast<int >(wxCHANGE_DIR)));
093d3ff1
RD
49915 }
49916 {
32fe5131 49917 PyDict_SetItemString(d,"ACCEL_ALT", SWIG_From_int(static_cast<int >(wxACCEL_ALT)));
093d3ff1
RD
49918 }
49919 {
32fe5131 49920 PyDict_SetItemString(d,"ACCEL_CTRL", SWIG_From_int(static_cast<int >(wxACCEL_CTRL)));
093d3ff1
RD
49921 }
49922 {
32fe5131 49923 PyDict_SetItemString(d,"ACCEL_SHIFT", SWIG_From_int(static_cast<int >(wxACCEL_SHIFT)));
093d3ff1
RD
49924 }
49925 {
32fe5131 49926 PyDict_SetItemString(d,"ACCEL_NORMAL", SWIG_From_int(static_cast<int >(wxACCEL_NORMAL)));
093d3ff1
RD
49927 }
49928 {
32fe5131 49929 PyDict_SetItemString(d,"PD_AUTO_HIDE", SWIG_From_int(static_cast<int >(wxPD_AUTO_HIDE)));
093d3ff1
RD
49930 }
49931 {
32fe5131 49932 PyDict_SetItemString(d,"PD_APP_MODAL", SWIG_From_int(static_cast<int >(wxPD_APP_MODAL)));
093d3ff1
RD
49933 }
49934 {
32fe5131 49935 PyDict_SetItemString(d,"PD_CAN_ABORT", SWIG_From_int(static_cast<int >(wxPD_CAN_ABORT)));
093d3ff1
RD
49936 }
49937 {
32fe5131 49938 PyDict_SetItemString(d,"PD_ELAPSED_TIME", SWIG_From_int(static_cast<int >(wxPD_ELAPSED_TIME)));
093d3ff1
RD
49939 }
49940 {
32fe5131 49941 PyDict_SetItemString(d,"PD_ESTIMATED_TIME", SWIG_From_int(static_cast<int >(wxPD_ESTIMATED_TIME)));
093d3ff1
RD
49942 }
49943 {
32fe5131 49944 PyDict_SetItemString(d,"PD_REMAINING_TIME", SWIG_From_int(static_cast<int >(wxPD_REMAINING_TIME)));
093d3ff1 49945 }
e505d15e 49946 {
32fe5131 49947 PyDict_SetItemString(d,"PD_SMOOTH", SWIG_From_int(static_cast<int >(wxPD_SMOOTH)));
e505d15e
RD
49948 }
49949 {
32fe5131 49950 PyDict_SetItemString(d,"PD_CAN_SKIP", SWIG_From_int(static_cast<int >(wxPD_CAN_SKIP)));
e505d15e 49951 }
093d3ff1 49952 {
32fe5131 49953 PyDict_SetItemString(d,"DD_NEW_DIR_BUTTON", SWIG_From_int(static_cast<int >(wxDD_NEW_DIR_BUTTON)));
093d3ff1
RD
49954 }
49955 {
32fe5131 49956 PyDict_SetItemString(d,"DD_DEFAULT_STYLE", SWIG_From_int(static_cast<int >(wxDD_DEFAULT_STYLE)));
093d3ff1
RD
49957 }
49958 {
32fe5131 49959 PyDict_SetItemString(d,"MENU_TEAROFF", SWIG_From_int(static_cast<int >(wxMENU_TEAROFF)));
093d3ff1
RD
49960 }
49961 {
32fe5131 49962 PyDict_SetItemString(d,"MB_DOCKABLE", SWIG_From_int(static_cast<int >(wxMB_DOCKABLE)));
093d3ff1
RD
49963 }
49964 {
32fe5131 49965 PyDict_SetItemString(d,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int(static_cast<int >(wxNO_FULL_REPAINT_ON_RESIZE)));
093d3ff1
RD
49966 }
49967 {
32fe5131 49968 PyDict_SetItemString(d,"FULL_REPAINT_ON_RESIZE", SWIG_From_int(static_cast<int >(wxFULL_REPAINT_ON_RESIZE)));
093d3ff1
RD
49969 }
49970 {
32fe5131 49971 PyDict_SetItemString(d,"LI_HORIZONTAL", SWIG_From_int(static_cast<int >(wxLI_HORIZONTAL)));
093d3ff1
RD
49972 }
49973 {
32fe5131 49974 PyDict_SetItemString(d,"LI_VERTICAL", SWIG_From_int(static_cast<int >(wxLI_VERTICAL)));
093d3ff1
RD
49975 }
49976 {
32fe5131 49977 PyDict_SetItemString(d,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int(static_cast<int >(wxWS_EX_VALIDATE_RECURSIVELY)));
093d3ff1
RD
49978 }
49979 {
32fe5131 49980 PyDict_SetItemString(d,"WS_EX_BLOCK_EVENTS", SWIG_From_int(static_cast<int >(wxWS_EX_BLOCK_EVENTS)));
093d3ff1
RD
49981 }
49982 {
32fe5131 49983 PyDict_SetItemString(d,"WS_EX_TRANSIENT", SWIG_From_int(static_cast<int >(wxWS_EX_TRANSIENT)));
093d3ff1
RD
49984 }
49985 {
32fe5131 49986 PyDict_SetItemString(d,"WS_EX_THEMED_BACKGROUND", SWIG_From_int(static_cast<int >(wxWS_EX_THEMED_BACKGROUND)));
093d3ff1
RD
49987 }
49988 {
32fe5131 49989 PyDict_SetItemString(d,"WS_EX_PROCESS_IDLE", SWIG_From_int(static_cast<int >(wxWS_EX_PROCESS_IDLE)));
093d3ff1
RD
49990 }
49991 {
32fe5131 49992 PyDict_SetItemString(d,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int(static_cast<int >(wxWS_EX_PROCESS_UI_UPDATES)));
093d3ff1
RD
49993 }
49994 {
32fe5131 49995 PyDict_SetItemString(d,"MM_TEXT", SWIG_From_int(static_cast<int >(wxMM_TEXT)));
093d3ff1
RD
49996 }
49997 {
32fe5131 49998 PyDict_SetItemString(d,"MM_LOMETRIC", SWIG_From_int(static_cast<int >(wxMM_LOMETRIC)));
093d3ff1
RD
49999 }
50000 {
32fe5131 50001 PyDict_SetItemString(d,"MM_HIMETRIC", SWIG_From_int(static_cast<int >(wxMM_HIMETRIC)));
093d3ff1
RD
50002 }
50003 {
32fe5131 50004 PyDict_SetItemString(d,"MM_LOENGLISH", SWIG_From_int(static_cast<int >(wxMM_LOENGLISH)));
093d3ff1
RD
50005 }
50006 {
32fe5131 50007 PyDict_SetItemString(d,"MM_HIENGLISH", SWIG_From_int(static_cast<int >(wxMM_HIENGLISH)));
093d3ff1
RD
50008 }
50009 {
32fe5131 50010 PyDict_SetItemString(d,"MM_TWIPS", SWIG_From_int(static_cast<int >(wxMM_TWIPS)));
093d3ff1
RD
50011 }
50012 {
32fe5131 50013 PyDict_SetItemString(d,"MM_ISOTROPIC", SWIG_From_int(static_cast<int >(wxMM_ISOTROPIC)));
093d3ff1
RD
50014 }
50015 {
32fe5131 50016 PyDict_SetItemString(d,"MM_ANISOTROPIC", SWIG_From_int(static_cast<int >(wxMM_ANISOTROPIC)));
093d3ff1
RD
50017 }
50018 {
32fe5131 50019 PyDict_SetItemString(d,"MM_POINTS", SWIG_From_int(static_cast<int >(wxMM_POINTS)));
093d3ff1
RD
50020 }
50021 {
32fe5131 50022 PyDict_SetItemString(d,"MM_METRIC", SWIG_From_int(static_cast<int >(wxMM_METRIC)));
093d3ff1
RD
50023 }
50024 {
32fe5131 50025 PyDict_SetItemString(d,"CENTRE", SWIG_From_int(static_cast<int >(wxCENTRE)));
093d3ff1
RD
50026 }
50027 {
32fe5131 50028 PyDict_SetItemString(d,"CENTER", SWIG_From_int(static_cast<int >(wxCENTER)));
093d3ff1
RD
50029 }
50030 {
32fe5131 50031 PyDict_SetItemString(d,"HORIZONTAL", SWIG_From_int(static_cast<int >(wxHORIZONTAL)));
093d3ff1
RD
50032 }
50033 {
32fe5131 50034 PyDict_SetItemString(d,"VERTICAL", SWIG_From_int(static_cast<int >(wxVERTICAL)));
093d3ff1
RD
50035 }
50036 {
32fe5131 50037 PyDict_SetItemString(d,"BOTH", SWIG_From_int(static_cast<int >(wxBOTH)));
093d3ff1
RD
50038 }
50039 {
32fe5131 50040 PyDict_SetItemString(d,"LEFT", SWIG_From_int(static_cast<int >(wxLEFT)));
093d3ff1
RD
50041 }
50042 {
32fe5131 50043 PyDict_SetItemString(d,"RIGHT", SWIG_From_int(static_cast<int >(wxRIGHT)));
093d3ff1
RD
50044 }
50045 {
32fe5131 50046 PyDict_SetItemString(d,"UP", SWIG_From_int(static_cast<int >(wxUP)));
093d3ff1
RD
50047 }
50048 {
32fe5131 50049 PyDict_SetItemString(d,"DOWN", SWIG_From_int(static_cast<int >(wxDOWN)));
093d3ff1
RD
50050 }
50051 {
32fe5131 50052 PyDict_SetItemString(d,"TOP", SWIG_From_int(static_cast<int >(wxTOP)));
093d3ff1
RD
50053 }
50054 {
32fe5131 50055 PyDict_SetItemString(d,"BOTTOM", SWIG_From_int(static_cast<int >(wxBOTTOM)));
093d3ff1
RD
50056 }
50057 {
32fe5131 50058 PyDict_SetItemString(d,"NORTH", SWIG_From_int(static_cast<int >(wxNORTH)));
093d3ff1
RD
50059 }
50060 {
32fe5131 50061 PyDict_SetItemString(d,"SOUTH", SWIG_From_int(static_cast<int >(wxSOUTH)));
093d3ff1
RD
50062 }
50063 {
32fe5131 50064 PyDict_SetItemString(d,"WEST", SWIG_From_int(static_cast<int >(wxWEST)));
093d3ff1
RD
50065 }
50066 {
32fe5131 50067 PyDict_SetItemString(d,"EAST", SWIG_From_int(static_cast<int >(wxEAST)));
093d3ff1
RD
50068 }
50069 {
32fe5131 50070 PyDict_SetItemString(d,"ALL", SWIG_From_int(static_cast<int >(wxALL)));
093d3ff1
RD
50071 }
50072 {
32fe5131 50073 PyDict_SetItemString(d,"ALIGN_NOT", SWIG_From_int(static_cast<int >(wxALIGN_NOT)));
093d3ff1
RD
50074 }
50075 {
32fe5131 50076 PyDict_SetItemString(d,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int(static_cast<int >(wxALIGN_CENTER_HORIZONTAL)));
093d3ff1
RD
50077 }
50078 {
32fe5131 50079 PyDict_SetItemString(d,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int(static_cast<int >(wxALIGN_CENTRE_HORIZONTAL)));
093d3ff1
RD
50080 }
50081 {
32fe5131 50082 PyDict_SetItemString(d,"ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxALIGN_LEFT)));
093d3ff1
RD
50083 }
50084 {
32fe5131 50085 PyDict_SetItemString(d,"ALIGN_TOP", SWIG_From_int(static_cast<int >(wxALIGN_TOP)));
093d3ff1
RD
50086 }
50087 {
32fe5131 50088 PyDict_SetItemString(d,"ALIGN_RIGHT", SWIG_From_int(static_cast<int >(wxALIGN_RIGHT)));
093d3ff1
RD
50089 }
50090 {
32fe5131 50091 PyDict_SetItemString(d,"ALIGN_BOTTOM", SWIG_From_int(static_cast<int >(wxALIGN_BOTTOM)));
093d3ff1
RD
50092 }
50093 {
32fe5131 50094 PyDict_SetItemString(d,"ALIGN_CENTER_VERTICAL", SWIG_From_int(static_cast<int >(wxALIGN_CENTER_VERTICAL)));
093d3ff1
RD
50095 }
50096 {
32fe5131 50097 PyDict_SetItemString(d,"ALIGN_CENTRE_VERTICAL", SWIG_From_int(static_cast<int >(wxALIGN_CENTRE_VERTICAL)));
093d3ff1
RD
50098 }
50099 {
32fe5131 50100 PyDict_SetItemString(d,"ALIGN_CENTER", SWIG_From_int(static_cast<int >(wxALIGN_CENTER)));
093d3ff1
RD
50101 }
50102 {
32fe5131 50103 PyDict_SetItemString(d,"ALIGN_CENTRE", SWIG_From_int(static_cast<int >(wxALIGN_CENTRE)));
093d3ff1
RD
50104 }
50105 {
32fe5131 50106 PyDict_SetItemString(d,"ALIGN_MASK", SWIG_From_int(static_cast<int >(wxALIGN_MASK)));
093d3ff1
RD
50107 }
50108 {
32fe5131 50109 PyDict_SetItemString(d,"STRETCH_NOT", SWIG_From_int(static_cast<int >(wxSTRETCH_NOT)));
093d3ff1
RD
50110 }
50111 {
32fe5131 50112 PyDict_SetItemString(d,"SHRINK", SWIG_From_int(static_cast<int >(wxSHRINK)));
093d3ff1
RD
50113 }
50114 {
32fe5131 50115 PyDict_SetItemString(d,"GROW", SWIG_From_int(static_cast<int >(wxGROW)));
093d3ff1
RD
50116 }
50117 {
32fe5131 50118 PyDict_SetItemString(d,"EXPAND", SWIG_From_int(static_cast<int >(wxEXPAND)));
093d3ff1
RD
50119 }
50120 {
32fe5131 50121 PyDict_SetItemString(d,"SHAPED", SWIG_From_int(static_cast<int >(wxSHAPED)));
093d3ff1
RD
50122 }
50123 {
32fe5131 50124 PyDict_SetItemString(d,"FIXED_MINSIZE", SWIG_From_int(static_cast<int >(wxFIXED_MINSIZE)));
093d3ff1
RD
50125 }
50126 {
32fe5131 50127 PyDict_SetItemString(d,"TILE", SWIG_From_int(static_cast<int >(wxTILE)));
093d3ff1
RD
50128 }
50129 {
32fe5131 50130 PyDict_SetItemString(d,"ADJUST_MINSIZE", SWIG_From_int(static_cast<int >(wxADJUST_MINSIZE)));
093d3ff1
RD
50131 }
50132 {
32fe5131 50133 PyDict_SetItemString(d,"BORDER_DEFAULT", SWIG_From_int(static_cast<int >(wxBORDER_DEFAULT)));
093d3ff1
RD
50134 }
50135 {
32fe5131 50136 PyDict_SetItemString(d,"BORDER_NONE", SWIG_From_int(static_cast<int >(wxBORDER_NONE)));
093d3ff1
RD
50137 }
50138 {
32fe5131 50139 PyDict_SetItemString(d,"BORDER_STATIC", SWIG_From_int(static_cast<int >(wxBORDER_STATIC)));
093d3ff1
RD
50140 }
50141 {
32fe5131 50142 PyDict_SetItemString(d,"BORDER_SIMPLE", SWIG_From_int(static_cast<int >(wxBORDER_SIMPLE)));
093d3ff1
RD
50143 }
50144 {
32fe5131 50145 PyDict_SetItemString(d,"BORDER_RAISED", SWIG_From_int(static_cast<int >(wxBORDER_RAISED)));
093d3ff1
RD
50146 }
50147 {
32fe5131 50148 PyDict_SetItemString(d,"BORDER_SUNKEN", SWIG_From_int(static_cast<int >(wxBORDER_SUNKEN)));
093d3ff1
RD
50149 }
50150 {
32fe5131 50151 PyDict_SetItemString(d,"BORDER_DOUBLE", SWIG_From_int(static_cast<int >(wxBORDER_DOUBLE)));
093d3ff1
RD
50152 }
50153 {
32fe5131 50154 PyDict_SetItemString(d,"BORDER_MASK", SWIG_From_int(static_cast<int >(wxBORDER_MASK)));
093d3ff1
RD
50155 }
50156 {
32fe5131 50157 PyDict_SetItemString(d,"BG_STYLE_SYSTEM", SWIG_From_int(static_cast<int >(wxBG_STYLE_SYSTEM)));
093d3ff1
RD
50158 }
50159 {
32fe5131 50160 PyDict_SetItemString(d,"BG_STYLE_COLOUR", SWIG_From_int(static_cast<int >(wxBG_STYLE_COLOUR)));
093d3ff1
RD
50161 }
50162 {
32fe5131 50163 PyDict_SetItemString(d,"BG_STYLE_CUSTOM", SWIG_From_int(static_cast<int >(wxBG_STYLE_CUSTOM)));
093d3ff1
RD
50164 }
50165 {
32fe5131 50166 PyDict_SetItemString(d,"DEFAULT", SWIG_From_int(static_cast<int >(wxDEFAULT)));
093d3ff1
RD
50167 }
50168 {
32fe5131 50169 PyDict_SetItemString(d,"DECORATIVE", SWIG_From_int(static_cast<int >(wxDECORATIVE)));
093d3ff1
RD
50170 }
50171 {
32fe5131 50172 PyDict_SetItemString(d,"ROMAN", SWIG_From_int(static_cast<int >(wxROMAN)));
093d3ff1
RD
50173 }
50174 {
32fe5131 50175 PyDict_SetItemString(d,"SCRIPT", SWIG_From_int(static_cast<int >(wxSCRIPT)));
093d3ff1
RD
50176 }
50177 {
32fe5131 50178 PyDict_SetItemString(d,"SWISS", SWIG_From_int(static_cast<int >(wxSWISS)));
093d3ff1
RD
50179 }
50180 {
32fe5131 50181 PyDict_SetItemString(d,"MODERN", SWIG_From_int(static_cast<int >(wxMODERN)));
093d3ff1
RD
50182 }
50183 {
32fe5131 50184 PyDict_SetItemString(d,"TELETYPE", SWIG_From_int(static_cast<int >(wxTELETYPE)));
093d3ff1
RD
50185 }
50186 {
32fe5131 50187 PyDict_SetItemString(d,"VARIABLE", SWIG_From_int(static_cast<int >(wxVARIABLE)));
093d3ff1
RD
50188 }
50189 {
32fe5131 50190 PyDict_SetItemString(d,"FIXED", SWIG_From_int(static_cast<int >(wxFIXED)));
093d3ff1
RD
50191 }
50192 {
32fe5131 50193 PyDict_SetItemString(d,"NORMAL", SWIG_From_int(static_cast<int >(wxNORMAL)));
093d3ff1
RD
50194 }
50195 {
32fe5131 50196 PyDict_SetItemString(d,"LIGHT", SWIG_From_int(static_cast<int >(wxLIGHT)));
093d3ff1
RD
50197 }
50198 {
32fe5131 50199 PyDict_SetItemString(d,"BOLD", SWIG_From_int(static_cast<int >(wxBOLD)));
093d3ff1
RD
50200 }
50201 {
32fe5131 50202 PyDict_SetItemString(d,"ITALIC", SWIG_From_int(static_cast<int >(wxITALIC)));
093d3ff1
RD
50203 }
50204 {
32fe5131 50205 PyDict_SetItemString(d,"SLANT", SWIG_From_int(static_cast<int >(wxSLANT)));
093d3ff1
RD
50206 }
50207 {
32fe5131 50208 PyDict_SetItemString(d,"SOLID", SWIG_From_int(static_cast<int >(wxSOLID)));
093d3ff1
RD
50209 }
50210 {
32fe5131 50211 PyDict_SetItemString(d,"DOT", SWIG_From_int(static_cast<int >(wxDOT)));
093d3ff1
RD
50212 }
50213 {
32fe5131 50214 PyDict_SetItemString(d,"LONG_DASH", SWIG_From_int(static_cast<int >(wxLONG_DASH)));
093d3ff1
RD
50215 }
50216 {
32fe5131 50217 PyDict_SetItemString(d,"SHORT_DASH", SWIG_From_int(static_cast<int >(wxSHORT_DASH)));
093d3ff1
RD
50218 }
50219 {
32fe5131 50220 PyDict_SetItemString(d,"DOT_DASH", SWIG_From_int(static_cast<int >(wxDOT_DASH)));
093d3ff1
RD
50221 }
50222 {
32fe5131 50223 PyDict_SetItemString(d,"USER_DASH", SWIG_From_int(static_cast<int >(wxUSER_DASH)));
093d3ff1
RD
50224 }
50225 {
32fe5131 50226 PyDict_SetItemString(d,"TRANSPARENT", SWIG_From_int(static_cast<int >(wxTRANSPARENT)));
093d3ff1
RD
50227 }
50228 {
32fe5131 50229 PyDict_SetItemString(d,"STIPPLE", SWIG_From_int(static_cast<int >(wxSTIPPLE)));
093d3ff1 50230 }
d04418a7 50231 {
32fe5131 50232 PyDict_SetItemString(d,"STIPPLE_MASK", SWIG_From_int(static_cast<int >(wxSTIPPLE_MASK)));
d04418a7
RD
50233 }
50234 {
32fe5131 50235 PyDict_SetItemString(d,"STIPPLE_MASK_OPAQUE", SWIG_From_int(static_cast<int >(wxSTIPPLE_MASK_OPAQUE)));
d04418a7 50236 }
093d3ff1 50237 {
32fe5131 50238 PyDict_SetItemString(d,"BDIAGONAL_HATCH", SWIG_From_int(static_cast<int >(wxBDIAGONAL_HATCH)));
093d3ff1
RD
50239 }
50240 {
32fe5131 50241 PyDict_SetItemString(d,"CROSSDIAG_HATCH", SWIG_From_int(static_cast<int >(wxCROSSDIAG_HATCH)));
093d3ff1
RD
50242 }
50243 {
32fe5131 50244 PyDict_SetItemString(d,"FDIAGONAL_HATCH", SWIG_From_int(static_cast<int >(wxFDIAGONAL_HATCH)));
093d3ff1
RD
50245 }
50246 {
32fe5131 50247 PyDict_SetItemString(d,"CROSS_HATCH", SWIG_From_int(static_cast<int >(wxCROSS_HATCH)));
093d3ff1
RD
50248 }
50249 {
32fe5131 50250 PyDict_SetItemString(d,"HORIZONTAL_HATCH", SWIG_From_int(static_cast<int >(wxHORIZONTAL_HATCH)));
093d3ff1
RD
50251 }
50252 {
32fe5131 50253 PyDict_SetItemString(d,"VERTICAL_HATCH", SWIG_From_int(static_cast<int >(wxVERTICAL_HATCH)));
093d3ff1
RD
50254 }
50255 {
32fe5131 50256 PyDict_SetItemString(d,"JOIN_BEVEL", SWIG_From_int(static_cast<int >(wxJOIN_BEVEL)));
093d3ff1
RD
50257 }
50258 {
32fe5131 50259 PyDict_SetItemString(d,"JOIN_MITER", SWIG_From_int(static_cast<int >(wxJOIN_MITER)));
093d3ff1
RD
50260 }
50261 {
32fe5131 50262 PyDict_SetItemString(d,"JOIN_ROUND", SWIG_From_int(static_cast<int >(wxJOIN_ROUND)));
093d3ff1
RD
50263 }
50264 {
32fe5131 50265 PyDict_SetItemString(d,"CAP_ROUND", SWIG_From_int(static_cast<int >(wxCAP_ROUND)));
093d3ff1
RD
50266 }
50267 {
32fe5131 50268 PyDict_SetItemString(d,"CAP_PROJECTING", SWIG_From_int(static_cast<int >(wxCAP_PROJECTING)));
093d3ff1
RD
50269 }
50270 {
32fe5131 50271 PyDict_SetItemString(d,"CAP_BUTT", SWIG_From_int(static_cast<int >(wxCAP_BUTT)));
093d3ff1
RD
50272 }
50273 {
32fe5131 50274 PyDict_SetItemString(d,"CLEAR", SWIG_From_int(static_cast<int >(wxCLEAR)));
093d3ff1
RD
50275 }
50276 {
32fe5131 50277 PyDict_SetItemString(d,"XOR", SWIG_From_int(static_cast<int >(wxXOR)));
093d3ff1
RD
50278 }
50279 {
32fe5131 50280 PyDict_SetItemString(d,"INVERT", SWIG_From_int(static_cast<int >(wxINVERT)));
093d3ff1
RD
50281 }
50282 {
32fe5131 50283 PyDict_SetItemString(d,"OR_REVERSE", SWIG_From_int(static_cast<int >(wxOR_REVERSE)));
093d3ff1
RD
50284 }
50285 {
32fe5131 50286 PyDict_SetItemString(d,"AND_REVERSE", SWIG_From_int(static_cast<int >(wxAND_REVERSE)));
093d3ff1
RD
50287 }
50288 {
32fe5131 50289 PyDict_SetItemString(d,"COPY", SWIG_From_int(static_cast<int >(wxCOPY)));
093d3ff1
RD
50290 }
50291 {
32fe5131 50292 PyDict_SetItemString(d,"AND", SWIG_From_int(static_cast<int >(wxAND)));
093d3ff1
RD
50293 }
50294 {
32fe5131 50295 PyDict_SetItemString(d,"AND_INVERT", SWIG_From_int(static_cast<int >(wxAND_INVERT)));
093d3ff1
RD
50296 }
50297 {
32fe5131 50298 PyDict_SetItemString(d,"NO_OP", SWIG_From_int(static_cast<int >(wxNO_OP)));
093d3ff1
RD
50299 }
50300 {
32fe5131 50301 PyDict_SetItemString(d,"NOR", SWIG_From_int(static_cast<int >(wxNOR)));
093d3ff1
RD
50302 }
50303 {
32fe5131 50304 PyDict_SetItemString(d,"EQUIV", SWIG_From_int(static_cast<int >(wxEQUIV)));
093d3ff1
RD
50305 }
50306 {
32fe5131 50307 PyDict_SetItemString(d,"SRC_INVERT", SWIG_From_int(static_cast<int >(wxSRC_INVERT)));
093d3ff1
RD
50308 }
50309 {
32fe5131 50310 PyDict_SetItemString(d,"OR_INVERT", SWIG_From_int(static_cast<int >(wxOR_INVERT)));
093d3ff1
RD
50311 }
50312 {
32fe5131 50313 PyDict_SetItemString(d,"NAND", SWIG_From_int(static_cast<int >(wxNAND)));
093d3ff1
RD
50314 }
50315 {
32fe5131 50316 PyDict_SetItemString(d,"OR", SWIG_From_int(static_cast<int >(wxOR)));
093d3ff1
RD
50317 }
50318 {
32fe5131 50319 PyDict_SetItemString(d,"SET", SWIG_From_int(static_cast<int >(wxSET)));
093d3ff1
RD
50320 }
50321 {
32fe5131 50322 PyDict_SetItemString(d,"WXK_BACK", SWIG_From_int(static_cast<int >(WXK_BACK)));
093d3ff1
RD
50323 }
50324 {
32fe5131 50325 PyDict_SetItemString(d,"WXK_TAB", SWIG_From_int(static_cast<int >(WXK_TAB)));
093d3ff1
RD
50326 }
50327 {
32fe5131 50328 PyDict_SetItemString(d,"WXK_RETURN", SWIG_From_int(static_cast<int >(WXK_RETURN)));
093d3ff1
RD
50329 }
50330 {
32fe5131 50331 PyDict_SetItemString(d,"WXK_ESCAPE", SWIG_From_int(static_cast<int >(WXK_ESCAPE)));
093d3ff1
RD
50332 }
50333 {
32fe5131 50334 PyDict_SetItemString(d,"WXK_SPACE", SWIG_From_int(static_cast<int >(WXK_SPACE)));
093d3ff1
RD
50335 }
50336 {
32fe5131 50337 PyDict_SetItemString(d,"WXK_DELETE", SWIG_From_int(static_cast<int >(WXK_DELETE)));
093d3ff1
RD
50338 }
50339 {
32fe5131 50340 PyDict_SetItemString(d,"WXK_START", SWIG_From_int(static_cast<int >(WXK_START)));
093d3ff1
RD
50341 }
50342 {
32fe5131 50343 PyDict_SetItemString(d,"WXK_LBUTTON", SWIG_From_int(static_cast<int >(WXK_LBUTTON)));
093d3ff1
RD
50344 }
50345 {
32fe5131 50346 PyDict_SetItemString(d,"WXK_RBUTTON", SWIG_From_int(static_cast<int >(WXK_RBUTTON)));
093d3ff1
RD
50347 }
50348 {
32fe5131 50349 PyDict_SetItemString(d,"WXK_CANCEL", SWIG_From_int(static_cast<int >(WXK_CANCEL)));
093d3ff1
RD
50350 }
50351 {
32fe5131 50352 PyDict_SetItemString(d,"WXK_MBUTTON", SWIG_From_int(static_cast<int >(WXK_MBUTTON)));
093d3ff1
RD
50353 }
50354 {
32fe5131 50355 PyDict_SetItemString(d,"WXK_CLEAR", SWIG_From_int(static_cast<int >(WXK_CLEAR)));
093d3ff1
RD
50356 }
50357 {
32fe5131 50358 PyDict_SetItemString(d,"WXK_SHIFT", SWIG_From_int(static_cast<int >(WXK_SHIFT)));
093d3ff1
RD
50359 }
50360 {
32fe5131 50361 PyDict_SetItemString(d,"WXK_ALT", SWIG_From_int(static_cast<int >(WXK_ALT)));
093d3ff1
RD
50362 }
50363 {
32fe5131 50364 PyDict_SetItemString(d,"WXK_CONTROL", SWIG_From_int(static_cast<int >(WXK_CONTROL)));
093d3ff1
RD
50365 }
50366 {
32fe5131 50367 PyDict_SetItemString(d,"WXK_MENU", SWIG_From_int(static_cast<int >(WXK_MENU)));
093d3ff1
RD
50368 }
50369 {
32fe5131 50370 PyDict_SetItemString(d,"WXK_PAUSE", SWIG_From_int(static_cast<int >(WXK_PAUSE)));
093d3ff1
RD
50371 }
50372 {
32fe5131 50373 PyDict_SetItemString(d,"WXK_CAPITAL", SWIG_From_int(static_cast<int >(WXK_CAPITAL)));
093d3ff1
RD
50374 }
50375 {
32fe5131 50376 PyDict_SetItemString(d,"WXK_PRIOR", SWIG_From_int(static_cast<int >(WXK_PRIOR)));
093d3ff1
RD
50377 }
50378 {
32fe5131 50379 PyDict_SetItemString(d,"WXK_NEXT", SWIG_From_int(static_cast<int >(WXK_NEXT)));
093d3ff1
RD
50380 }
50381 {
32fe5131 50382 PyDict_SetItemString(d,"WXK_END", SWIG_From_int(static_cast<int >(WXK_END)));
093d3ff1
RD
50383 }
50384 {
32fe5131 50385 PyDict_SetItemString(d,"WXK_HOME", SWIG_From_int(static_cast<int >(WXK_HOME)));
093d3ff1
RD
50386 }
50387 {
32fe5131 50388 PyDict_SetItemString(d,"WXK_LEFT", SWIG_From_int(static_cast<int >(WXK_LEFT)));
093d3ff1
RD
50389 }
50390 {
32fe5131 50391 PyDict_SetItemString(d,"WXK_UP", SWIG_From_int(static_cast<int >(WXK_UP)));
093d3ff1
RD
50392 }
50393 {
32fe5131 50394 PyDict_SetItemString(d,"WXK_RIGHT", SWIG_From_int(static_cast<int >(WXK_RIGHT)));
093d3ff1
RD
50395 }
50396 {
32fe5131 50397 PyDict_SetItemString(d,"WXK_DOWN", SWIG_From_int(static_cast<int >(WXK_DOWN)));
093d3ff1
RD
50398 }
50399 {
32fe5131 50400 PyDict_SetItemString(d,"WXK_SELECT", SWIG_From_int(static_cast<int >(WXK_SELECT)));
093d3ff1
RD
50401 }
50402 {
32fe5131 50403 PyDict_SetItemString(d,"WXK_PRINT", SWIG_From_int(static_cast<int >(WXK_PRINT)));
093d3ff1
RD
50404 }
50405 {
32fe5131 50406 PyDict_SetItemString(d,"WXK_EXECUTE", SWIG_From_int(static_cast<int >(WXK_EXECUTE)));
093d3ff1
RD
50407 }
50408 {
32fe5131 50409 PyDict_SetItemString(d,"WXK_SNAPSHOT", SWIG_From_int(static_cast<int >(WXK_SNAPSHOT)));
093d3ff1
RD
50410 }
50411 {
32fe5131 50412 PyDict_SetItemString(d,"WXK_INSERT", SWIG_From_int(static_cast<int >(WXK_INSERT)));
093d3ff1
RD
50413 }
50414 {
32fe5131 50415 PyDict_SetItemString(d,"WXK_HELP", SWIG_From_int(static_cast<int >(WXK_HELP)));
093d3ff1
RD
50416 }
50417 {
32fe5131 50418 PyDict_SetItemString(d,"WXK_NUMPAD0", SWIG_From_int(static_cast<int >(WXK_NUMPAD0)));
093d3ff1
RD
50419 }
50420 {
32fe5131 50421 PyDict_SetItemString(d,"WXK_NUMPAD1", SWIG_From_int(static_cast<int >(WXK_NUMPAD1)));
093d3ff1
RD
50422 }
50423 {
32fe5131 50424 PyDict_SetItemString(d,"WXK_NUMPAD2", SWIG_From_int(static_cast<int >(WXK_NUMPAD2)));
093d3ff1
RD
50425 }
50426 {
32fe5131 50427 PyDict_SetItemString(d,"WXK_NUMPAD3", SWIG_From_int(static_cast<int >(WXK_NUMPAD3)));
093d3ff1
RD
50428 }
50429 {
32fe5131 50430 PyDict_SetItemString(d,"WXK_NUMPAD4", SWIG_From_int(static_cast<int >(WXK_NUMPAD4)));
093d3ff1
RD
50431 }
50432 {
32fe5131 50433 PyDict_SetItemString(d,"WXK_NUMPAD5", SWIG_From_int(static_cast<int >(WXK_NUMPAD5)));
093d3ff1
RD
50434 }
50435 {
32fe5131 50436 PyDict_SetItemString(d,"WXK_NUMPAD6", SWIG_From_int(static_cast<int >(WXK_NUMPAD6)));
093d3ff1
RD
50437 }
50438 {
32fe5131 50439 PyDict_SetItemString(d,"WXK_NUMPAD7", SWIG_From_int(static_cast<int >(WXK_NUMPAD7)));
093d3ff1
RD
50440 }
50441 {
32fe5131 50442 PyDict_SetItemString(d,"WXK_NUMPAD8", SWIG_From_int(static_cast<int >(WXK_NUMPAD8)));
093d3ff1
RD
50443 }
50444 {
32fe5131 50445 PyDict_SetItemString(d,"WXK_NUMPAD9", SWIG_From_int(static_cast<int >(WXK_NUMPAD9)));
093d3ff1
RD
50446 }
50447 {
32fe5131 50448 PyDict_SetItemString(d,"WXK_MULTIPLY", SWIG_From_int(static_cast<int >(WXK_MULTIPLY)));
093d3ff1
RD
50449 }
50450 {
32fe5131 50451 PyDict_SetItemString(d,"WXK_ADD", SWIG_From_int(static_cast<int >(WXK_ADD)));
093d3ff1
RD
50452 }
50453 {
32fe5131 50454 PyDict_SetItemString(d,"WXK_SEPARATOR", SWIG_From_int(static_cast<int >(WXK_SEPARATOR)));
093d3ff1
RD
50455 }
50456 {
32fe5131 50457 PyDict_SetItemString(d,"WXK_SUBTRACT", SWIG_From_int(static_cast<int >(WXK_SUBTRACT)));
093d3ff1
RD
50458 }
50459 {
32fe5131 50460 PyDict_SetItemString(d,"WXK_DECIMAL", SWIG_From_int(static_cast<int >(WXK_DECIMAL)));
093d3ff1
RD
50461 }
50462 {
32fe5131 50463 PyDict_SetItemString(d,"WXK_DIVIDE", SWIG_From_int(static_cast<int >(WXK_DIVIDE)));
093d3ff1
RD
50464 }
50465 {
32fe5131 50466 PyDict_SetItemString(d,"WXK_F1", SWIG_From_int(static_cast<int >(WXK_F1)));
093d3ff1
RD
50467 }
50468 {
32fe5131 50469 PyDict_SetItemString(d,"WXK_F2", SWIG_From_int(static_cast<int >(WXK_F2)));
093d3ff1
RD
50470 }
50471 {
32fe5131 50472 PyDict_SetItemString(d,"WXK_F3", SWIG_From_int(static_cast<int >(WXK_F3)));
093d3ff1
RD
50473 }
50474 {
32fe5131 50475 PyDict_SetItemString(d,"WXK_F4", SWIG_From_int(static_cast<int >(WXK_F4)));
093d3ff1
RD
50476 }
50477 {
32fe5131 50478 PyDict_SetItemString(d,"WXK_F5", SWIG_From_int(static_cast<int >(WXK_F5)));
093d3ff1
RD
50479 }
50480 {
32fe5131 50481 PyDict_SetItemString(d,"WXK_F6", SWIG_From_int(static_cast<int >(WXK_F6)));
093d3ff1
RD
50482 }
50483 {
32fe5131 50484 PyDict_SetItemString(d,"WXK_F7", SWIG_From_int(static_cast<int >(WXK_F7)));
093d3ff1
RD
50485 }
50486 {
32fe5131 50487 PyDict_SetItemString(d,"WXK_F8", SWIG_From_int(static_cast<int >(WXK_F8)));
093d3ff1
RD
50488 }
50489 {
32fe5131 50490 PyDict_SetItemString(d,"WXK_F9", SWIG_From_int(static_cast<int >(WXK_F9)));
093d3ff1
RD
50491 }
50492 {
32fe5131 50493 PyDict_SetItemString(d,"WXK_F10", SWIG_From_int(static_cast<int >(WXK_F10)));
093d3ff1
RD
50494 }
50495 {
32fe5131 50496 PyDict_SetItemString(d,"WXK_F11", SWIG_From_int(static_cast<int >(WXK_F11)));
093d3ff1
RD
50497 }
50498 {
32fe5131 50499 PyDict_SetItemString(d,"WXK_F12", SWIG_From_int(static_cast<int >(WXK_F12)));
093d3ff1
RD
50500 }
50501 {
32fe5131 50502 PyDict_SetItemString(d,"WXK_F13", SWIG_From_int(static_cast<int >(WXK_F13)));
093d3ff1
RD
50503 }
50504 {
32fe5131 50505 PyDict_SetItemString(d,"WXK_F14", SWIG_From_int(static_cast<int >(WXK_F14)));
093d3ff1
RD
50506 }
50507 {
32fe5131 50508 PyDict_SetItemString(d,"WXK_F15", SWIG_From_int(static_cast<int >(WXK_F15)));
093d3ff1
RD
50509 }
50510 {
32fe5131 50511 PyDict_SetItemString(d,"WXK_F16", SWIG_From_int(static_cast<int >(WXK_F16)));
093d3ff1
RD
50512 }
50513 {
32fe5131 50514 PyDict_SetItemString(d,"WXK_F17", SWIG_From_int(static_cast<int >(WXK_F17)));
093d3ff1
RD
50515 }
50516 {
32fe5131 50517 PyDict_SetItemString(d,"WXK_F18", SWIG_From_int(static_cast<int >(WXK_F18)));
093d3ff1
RD
50518 }
50519 {
32fe5131 50520 PyDict_SetItemString(d,"WXK_F19", SWIG_From_int(static_cast<int >(WXK_F19)));
093d3ff1
RD
50521 }
50522 {
32fe5131 50523 PyDict_SetItemString(d,"WXK_F20", SWIG_From_int(static_cast<int >(WXK_F20)));
093d3ff1
RD
50524 }
50525 {
32fe5131 50526 PyDict_SetItemString(d,"WXK_F21", SWIG_From_int(static_cast<int >(WXK_F21)));
093d3ff1
RD
50527 }
50528 {
32fe5131 50529 PyDict_SetItemString(d,"WXK_F22", SWIG_From_int(static_cast<int >(WXK_F22)));
093d3ff1
RD
50530 }
50531 {
32fe5131 50532 PyDict_SetItemString(d,"WXK_F23", SWIG_From_int(static_cast<int >(WXK_F23)));
093d3ff1
RD
50533 }
50534 {
32fe5131 50535 PyDict_SetItemString(d,"WXK_F24", SWIG_From_int(static_cast<int >(WXK_F24)));
093d3ff1
RD
50536 }
50537 {
32fe5131 50538 PyDict_SetItemString(d,"WXK_NUMLOCK", SWIG_From_int(static_cast<int >(WXK_NUMLOCK)));
093d3ff1
RD
50539 }
50540 {
32fe5131 50541 PyDict_SetItemString(d,"WXK_SCROLL", SWIG_From_int(static_cast<int >(WXK_SCROLL)));
093d3ff1
RD
50542 }
50543 {
32fe5131 50544 PyDict_SetItemString(d,"WXK_PAGEUP", SWIG_From_int(static_cast<int >(WXK_PAGEUP)));
093d3ff1
RD
50545 }
50546 {
32fe5131 50547 PyDict_SetItemString(d,"WXK_PAGEDOWN", SWIG_From_int(static_cast<int >(WXK_PAGEDOWN)));
093d3ff1
RD
50548 }
50549 {
32fe5131 50550 PyDict_SetItemString(d,"WXK_NUMPAD_SPACE", SWIG_From_int(static_cast<int >(WXK_NUMPAD_SPACE)));
093d3ff1
RD
50551 }
50552 {
32fe5131 50553 PyDict_SetItemString(d,"WXK_NUMPAD_TAB", SWIG_From_int(static_cast<int >(WXK_NUMPAD_TAB)));
093d3ff1
RD
50554 }
50555 {
32fe5131 50556 PyDict_SetItemString(d,"WXK_NUMPAD_ENTER", SWIG_From_int(static_cast<int >(WXK_NUMPAD_ENTER)));
093d3ff1
RD
50557 }
50558 {
32fe5131 50559 PyDict_SetItemString(d,"WXK_NUMPAD_F1", SWIG_From_int(static_cast<int >(WXK_NUMPAD_F1)));
093d3ff1
RD
50560 }
50561 {
32fe5131 50562 PyDict_SetItemString(d,"WXK_NUMPAD_F2", SWIG_From_int(static_cast<int >(WXK_NUMPAD_F2)));
093d3ff1
RD
50563 }
50564 {
32fe5131 50565 PyDict_SetItemString(d,"WXK_NUMPAD_F3", SWIG_From_int(static_cast<int >(WXK_NUMPAD_F3)));
093d3ff1
RD
50566 }
50567 {
32fe5131 50568 PyDict_SetItemString(d,"WXK_NUMPAD_F4", SWIG_From_int(static_cast<int >(WXK_NUMPAD_F4)));
093d3ff1
RD
50569 }
50570 {
32fe5131 50571 PyDict_SetItemString(d,"WXK_NUMPAD_HOME", SWIG_From_int(static_cast<int >(WXK_NUMPAD_HOME)));
093d3ff1
RD
50572 }
50573 {
32fe5131 50574 PyDict_SetItemString(d,"WXK_NUMPAD_LEFT", SWIG_From_int(static_cast<int >(WXK_NUMPAD_LEFT)));
093d3ff1
RD
50575 }
50576 {
32fe5131 50577 PyDict_SetItemString(d,"WXK_NUMPAD_UP", SWIG_From_int(static_cast<int >(WXK_NUMPAD_UP)));
093d3ff1
RD
50578 }
50579 {
32fe5131 50580 PyDict_SetItemString(d,"WXK_NUMPAD_RIGHT", SWIG_From_int(static_cast<int >(WXK_NUMPAD_RIGHT)));
093d3ff1
RD
50581 }
50582 {
32fe5131 50583 PyDict_SetItemString(d,"WXK_NUMPAD_DOWN", SWIG_From_int(static_cast<int >(WXK_NUMPAD_DOWN)));
093d3ff1
RD
50584 }
50585 {
32fe5131 50586 PyDict_SetItemString(d,"WXK_NUMPAD_PRIOR", SWIG_From_int(static_cast<int >(WXK_NUMPAD_PRIOR)));
093d3ff1
RD
50587 }
50588 {
32fe5131 50589 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEUP", SWIG_From_int(static_cast<int >(WXK_NUMPAD_PAGEUP)));
093d3ff1
RD
50590 }
50591 {
32fe5131 50592 PyDict_SetItemString(d,"WXK_NUMPAD_NEXT", SWIG_From_int(static_cast<int >(WXK_NUMPAD_NEXT)));
093d3ff1
RD
50593 }
50594 {
32fe5131 50595 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int(static_cast<int >(WXK_NUMPAD_PAGEDOWN)));
093d3ff1
RD
50596 }
50597 {
32fe5131 50598 PyDict_SetItemString(d,"WXK_NUMPAD_END", SWIG_From_int(static_cast<int >(WXK_NUMPAD_END)));
093d3ff1
RD
50599 }
50600 {
32fe5131 50601 PyDict_SetItemString(d,"WXK_NUMPAD_BEGIN", SWIG_From_int(static_cast<int >(WXK_NUMPAD_BEGIN)));
093d3ff1
RD
50602 }
50603 {
32fe5131 50604 PyDict_SetItemString(d,"WXK_NUMPAD_INSERT", SWIG_From_int(static_cast<int >(WXK_NUMPAD_INSERT)));
093d3ff1
RD
50605 }
50606 {
32fe5131 50607 PyDict_SetItemString(d,"WXK_NUMPAD_DELETE", SWIG_From_int(static_cast<int >(WXK_NUMPAD_DELETE)));
093d3ff1
RD
50608 }
50609 {
32fe5131 50610 PyDict_SetItemString(d,"WXK_NUMPAD_EQUAL", SWIG_From_int(static_cast<int >(WXK_NUMPAD_EQUAL)));
093d3ff1
RD
50611 }
50612 {
32fe5131 50613 PyDict_SetItemString(d,"WXK_NUMPAD_MULTIPLY", SWIG_From_int(static_cast<int >(WXK_NUMPAD_MULTIPLY)));
093d3ff1
RD
50614 }
50615 {
32fe5131 50616 PyDict_SetItemString(d,"WXK_NUMPAD_ADD", SWIG_From_int(static_cast<int >(WXK_NUMPAD_ADD)));
093d3ff1
RD
50617 }
50618 {
32fe5131 50619 PyDict_SetItemString(d,"WXK_NUMPAD_SEPARATOR", SWIG_From_int(static_cast<int >(WXK_NUMPAD_SEPARATOR)));
093d3ff1
RD
50620 }
50621 {
32fe5131 50622 PyDict_SetItemString(d,"WXK_NUMPAD_SUBTRACT", SWIG_From_int(static_cast<int >(WXK_NUMPAD_SUBTRACT)));
093d3ff1
RD
50623 }
50624 {
32fe5131 50625 PyDict_SetItemString(d,"WXK_NUMPAD_DECIMAL", SWIG_From_int(static_cast<int >(WXK_NUMPAD_DECIMAL)));
093d3ff1
RD
50626 }
50627 {
32fe5131 50628 PyDict_SetItemString(d,"WXK_NUMPAD_DIVIDE", SWIG_From_int(static_cast<int >(WXK_NUMPAD_DIVIDE)));
093d3ff1
RD
50629 }
50630 {
32fe5131 50631 PyDict_SetItemString(d,"WXK_WINDOWS_LEFT", SWIG_From_int(static_cast<int >(WXK_WINDOWS_LEFT)));
093d3ff1
RD
50632 }
50633 {
32fe5131 50634 PyDict_SetItemString(d,"WXK_WINDOWS_RIGHT", SWIG_From_int(static_cast<int >(WXK_WINDOWS_RIGHT)));
093d3ff1
RD
50635 }
50636 {
32fe5131 50637 PyDict_SetItemString(d,"WXK_WINDOWS_MENU", SWIG_From_int(static_cast<int >(WXK_WINDOWS_MENU)));
093d3ff1 50638 }
88c6b281 50639 {
32fe5131 50640 PyDict_SetItemString(d,"WXK_COMMAND", SWIG_From_int(static_cast<int >(WXK_COMMAND)));
88c6b281
RD
50641 }
50642 {
32fe5131 50643 PyDict_SetItemString(d,"WXK_SPECIAL1", SWIG_From_int(static_cast<int >(WXK_SPECIAL1)));
88c6b281
RD
50644 }
50645 {
32fe5131 50646 PyDict_SetItemString(d,"WXK_SPECIAL2", SWIG_From_int(static_cast<int >(WXK_SPECIAL2)));
88c6b281
RD
50647 }
50648 {
32fe5131 50649 PyDict_SetItemString(d,"WXK_SPECIAL3", SWIG_From_int(static_cast<int >(WXK_SPECIAL3)));
88c6b281
RD
50650 }
50651 {
32fe5131 50652 PyDict_SetItemString(d,"WXK_SPECIAL4", SWIG_From_int(static_cast<int >(WXK_SPECIAL4)));
88c6b281
RD
50653 }
50654 {
32fe5131 50655 PyDict_SetItemString(d,"WXK_SPECIAL5", SWIG_From_int(static_cast<int >(WXK_SPECIAL5)));
88c6b281
RD
50656 }
50657 {
32fe5131 50658 PyDict_SetItemString(d,"WXK_SPECIAL6", SWIG_From_int(static_cast<int >(WXK_SPECIAL6)));
88c6b281
RD
50659 }
50660 {
32fe5131 50661 PyDict_SetItemString(d,"WXK_SPECIAL7", SWIG_From_int(static_cast<int >(WXK_SPECIAL7)));
88c6b281
RD
50662 }
50663 {
32fe5131 50664 PyDict_SetItemString(d,"WXK_SPECIAL8", SWIG_From_int(static_cast<int >(WXK_SPECIAL8)));
88c6b281
RD
50665 }
50666 {
32fe5131 50667 PyDict_SetItemString(d,"WXK_SPECIAL9", SWIG_From_int(static_cast<int >(WXK_SPECIAL9)));
88c6b281
RD
50668 }
50669 {
32fe5131 50670 PyDict_SetItemString(d,"WXK_SPECIAL10", SWIG_From_int(static_cast<int >(WXK_SPECIAL10)));
88c6b281
RD
50671 }
50672 {
32fe5131 50673 PyDict_SetItemString(d,"WXK_SPECIAL11", SWIG_From_int(static_cast<int >(WXK_SPECIAL11)));
88c6b281
RD
50674 }
50675 {
32fe5131 50676 PyDict_SetItemString(d,"WXK_SPECIAL12", SWIG_From_int(static_cast<int >(WXK_SPECIAL12)));
88c6b281
RD
50677 }
50678 {
32fe5131 50679 PyDict_SetItemString(d,"WXK_SPECIAL13", SWIG_From_int(static_cast<int >(WXK_SPECIAL13)));
88c6b281
RD
50680 }
50681 {
32fe5131 50682 PyDict_SetItemString(d,"WXK_SPECIAL14", SWIG_From_int(static_cast<int >(WXK_SPECIAL14)));
88c6b281
RD
50683 }
50684 {
32fe5131 50685 PyDict_SetItemString(d,"WXK_SPECIAL15", SWIG_From_int(static_cast<int >(WXK_SPECIAL15)));
88c6b281
RD
50686 }
50687 {
32fe5131 50688 PyDict_SetItemString(d,"WXK_SPECIAL16", SWIG_From_int(static_cast<int >(WXK_SPECIAL16)));
88c6b281
RD
50689 }
50690 {
32fe5131 50691 PyDict_SetItemString(d,"WXK_SPECIAL17", SWIG_From_int(static_cast<int >(WXK_SPECIAL17)));
88c6b281
RD
50692 }
50693 {
32fe5131 50694 PyDict_SetItemString(d,"WXK_SPECIAL18", SWIG_From_int(static_cast<int >(WXK_SPECIAL18)));
88c6b281
RD
50695 }
50696 {
32fe5131 50697 PyDict_SetItemString(d,"WXK_SPECIAL19", SWIG_From_int(static_cast<int >(WXK_SPECIAL19)));
88c6b281
RD
50698 }
50699 {
32fe5131 50700 PyDict_SetItemString(d,"WXK_SPECIAL20", SWIG_From_int(static_cast<int >(WXK_SPECIAL20)));
88c6b281 50701 }
093d3ff1 50702 {
32fe5131 50703 PyDict_SetItemString(d,"PAPER_NONE", SWIG_From_int(static_cast<int >(wxPAPER_NONE)));
093d3ff1
RD
50704 }
50705 {
32fe5131 50706 PyDict_SetItemString(d,"PAPER_LETTER", SWIG_From_int(static_cast<int >(wxPAPER_LETTER)));
093d3ff1
RD
50707 }
50708 {
32fe5131 50709 PyDict_SetItemString(d,"PAPER_LEGAL", SWIG_From_int(static_cast<int >(wxPAPER_LEGAL)));
093d3ff1
RD
50710 }
50711 {
32fe5131 50712 PyDict_SetItemString(d,"PAPER_A4", SWIG_From_int(static_cast<int >(wxPAPER_A4)));
093d3ff1
RD
50713 }
50714 {
32fe5131 50715 PyDict_SetItemString(d,"PAPER_CSHEET", SWIG_From_int(static_cast<int >(wxPAPER_CSHEET)));
093d3ff1
RD
50716 }
50717 {
32fe5131 50718 PyDict_SetItemString(d,"PAPER_DSHEET", SWIG_From_int(static_cast<int >(wxPAPER_DSHEET)));
093d3ff1
RD
50719 }
50720 {
32fe5131 50721 PyDict_SetItemString(d,"PAPER_ESHEET", SWIG_From_int(static_cast<int >(wxPAPER_ESHEET)));
093d3ff1
RD
50722 }
50723 {
32fe5131 50724 PyDict_SetItemString(d,"PAPER_LETTERSMALL", SWIG_From_int(static_cast<int >(wxPAPER_LETTERSMALL)));
093d3ff1
RD
50725 }
50726 {
32fe5131 50727 PyDict_SetItemString(d,"PAPER_TABLOID", SWIG_From_int(static_cast<int >(wxPAPER_TABLOID)));
093d3ff1
RD
50728 }
50729 {
32fe5131 50730 PyDict_SetItemString(d,"PAPER_LEDGER", SWIG_From_int(static_cast<int >(wxPAPER_LEDGER)));
093d3ff1
RD
50731 }
50732 {
32fe5131 50733 PyDict_SetItemString(d,"PAPER_STATEMENT", SWIG_From_int(static_cast<int >(wxPAPER_STATEMENT)));
093d3ff1
RD
50734 }
50735 {
32fe5131 50736 PyDict_SetItemString(d,"PAPER_EXECUTIVE", SWIG_From_int(static_cast<int >(wxPAPER_EXECUTIVE)));
093d3ff1
RD
50737 }
50738 {
32fe5131 50739 PyDict_SetItemString(d,"PAPER_A3", SWIG_From_int(static_cast<int >(wxPAPER_A3)));
093d3ff1
RD
50740 }
50741 {
32fe5131 50742 PyDict_SetItemString(d,"PAPER_A4SMALL", SWIG_From_int(static_cast<int >(wxPAPER_A4SMALL)));
093d3ff1
RD
50743 }
50744 {
32fe5131 50745 PyDict_SetItemString(d,"PAPER_A5", SWIG_From_int(static_cast<int >(wxPAPER_A5)));
093d3ff1
RD
50746 }
50747 {
32fe5131 50748 PyDict_SetItemString(d,"PAPER_B4", SWIG_From_int(static_cast<int >(wxPAPER_B4)));
093d3ff1
RD
50749 }
50750 {
32fe5131 50751 PyDict_SetItemString(d,"PAPER_B5", SWIG_From_int(static_cast<int >(wxPAPER_B5)));
093d3ff1
RD
50752 }
50753 {
32fe5131 50754 PyDict_SetItemString(d,"PAPER_FOLIO", SWIG_From_int(static_cast<int >(wxPAPER_FOLIO)));
093d3ff1
RD
50755 }
50756 {
32fe5131 50757 PyDict_SetItemString(d,"PAPER_QUARTO", SWIG_From_int(static_cast<int >(wxPAPER_QUARTO)));
093d3ff1
RD
50758 }
50759 {
32fe5131 50760 PyDict_SetItemString(d,"PAPER_10X14", SWIG_From_int(static_cast<int >(wxPAPER_10X14)));
093d3ff1
RD
50761 }
50762 {
32fe5131 50763 PyDict_SetItemString(d,"PAPER_11X17", SWIG_From_int(static_cast<int >(wxPAPER_11X17)));
093d3ff1
RD
50764 }
50765 {
32fe5131 50766 PyDict_SetItemString(d,"PAPER_NOTE", SWIG_From_int(static_cast<int >(wxPAPER_NOTE)));
093d3ff1
RD
50767 }
50768 {
32fe5131 50769 PyDict_SetItemString(d,"PAPER_ENV_9", SWIG_From_int(static_cast<int >(wxPAPER_ENV_9)));
093d3ff1
RD
50770 }
50771 {
32fe5131 50772 PyDict_SetItemString(d,"PAPER_ENV_10", SWIG_From_int(static_cast<int >(wxPAPER_ENV_10)));
093d3ff1
RD
50773 }
50774 {
32fe5131 50775 PyDict_SetItemString(d,"PAPER_ENV_11", SWIG_From_int(static_cast<int >(wxPAPER_ENV_11)));
093d3ff1
RD
50776 }
50777 {
32fe5131 50778 PyDict_SetItemString(d,"PAPER_ENV_12", SWIG_From_int(static_cast<int >(wxPAPER_ENV_12)));
093d3ff1
RD
50779 }
50780 {
32fe5131 50781 PyDict_SetItemString(d,"PAPER_ENV_14", SWIG_From_int(static_cast<int >(wxPAPER_ENV_14)));
093d3ff1
RD
50782 }
50783 {
32fe5131 50784 PyDict_SetItemString(d,"PAPER_ENV_DL", SWIG_From_int(static_cast<int >(wxPAPER_ENV_DL)));
093d3ff1
RD
50785 }
50786 {
32fe5131 50787 PyDict_SetItemString(d,"PAPER_ENV_C5", SWIG_From_int(static_cast<int >(wxPAPER_ENV_C5)));
093d3ff1
RD
50788 }
50789 {
32fe5131 50790 PyDict_SetItemString(d,"PAPER_ENV_C3", SWIG_From_int(static_cast<int >(wxPAPER_ENV_C3)));
093d3ff1
RD
50791 }
50792 {
32fe5131 50793 PyDict_SetItemString(d,"PAPER_ENV_C4", SWIG_From_int(static_cast<int >(wxPAPER_ENV_C4)));
093d3ff1
RD
50794 }
50795 {
32fe5131 50796 PyDict_SetItemString(d,"PAPER_ENV_C6", SWIG_From_int(static_cast<int >(wxPAPER_ENV_C6)));
093d3ff1
RD
50797 }
50798 {
32fe5131 50799 PyDict_SetItemString(d,"PAPER_ENV_C65", SWIG_From_int(static_cast<int >(wxPAPER_ENV_C65)));
093d3ff1
RD
50800 }
50801 {
32fe5131 50802 PyDict_SetItemString(d,"PAPER_ENV_B4", SWIG_From_int(static_cast<int >(wxPAPER_ENV_B4)));
093d3ff1
RD
50803 }
50804 {
32fe5131 50805 PyDict_SetItemString(d,"PAPER_ENV_B5", SWIG_From_int(static_cast<int >(wxPAPER_ENV_B5)));
093d3ff1
RD
50806 }
50807 {
32fe5131 50808 PyDict_SetItemString(d,"PAPER_ENV_B6", SWIG_From_int(static_cast<int >(wxPAPER_ENV_B6)));
093d3ff1
RD
50809 }
50810 {
32fe5131 50811 PyDict_SetItemString(d,"PAPER_ENV_ITALY", SWIG_From_int(static_cast<int >(wxPAPER_ENV_ITALY)));
093d3ff1
RD
50812 }
50813 {
32fe5131 50814 PyDict_SetItemString(d,"PAPER_ENV_MONARCH", SWIG_From_int(static_cast<int >(wxPAPER_ENV_MONARCH)));
093d3ff1
RD
50815 }
50816 {
32fe5131 50817 PyDict_SetItemString(d,"PAPER_ENV_PERSONAL", SWIG_From_int(static_cast<int >(wxPAPER_ENV_PERSONAL)));
093d3ff1
RD
50818 }
50819 {
32fe5131 50820 PyDict_SetItemString(d,"PAPER_FANFOLD_US", SWIG_From_int(static_cast<int >(wxPAPER_FANFOLD_US)));
093d3ff1
RD
50821 }
50822 {
32fe5131 50823 PyDict_SetItemString(d,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int(static_cast<int >(wxPAPER_FANFOLD_STD_GERMAN)));
093d3ff1
RD
50824 }
50825 {
32fe5131 50826 PyDict_SetItemString(d,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int(static_cast<int >(wxPAPER_FANFOLD_LGL_GERMAN)));
093d3ff1
RD
50827 }
50828 {
32fe5131 50829 PyDict_SetItemString(d,"PAPER_ISO_B4", SWIG_From_int(static_cast<int >(wxPAPER_ISO_B4)));
093d3ff1
RD
50830 }
50831 {
32fe5131 50832 PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD", SWIG_From_int(static_cast<int >(wxPAPER_JAPANESE_POSTCARD)));
093d3ff1
RD
50833 }
50834 {
32fe5131 50835 PyDict_SetItemString(d,"PAPER_9X11", SWIG_From_int(static_cast<int >(wxPAPER_9X11)));
093d3ff1
RD
50836 }
50837 {
32fe5131 50838 PyDict_SetItemString(d,"PAPER_10X11", SWIG_From_int(static_cast<int >(wxPAPER_10X11)));
093d3ff1
RD
50839 }
50840 {
32fe5131 50841 PyDict_SetItemString(d,"PAPER_15X11", SWIG_From_int(static_cast<int >(wxPAPER_15X11)));
093d3ff1
RD
50842 }
50843 {
32fe5131 50844 PyDict_SetItemString(d,"PAPER_ENV_INVITE", SWIG_From_int(static_cast<int >(wxPAPER_ENV_INVITE)));
093d3ff1
RD
50845 }
50846 {
32fe5131 50847 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA", SWIG_From_int(static_cast<int >(wxPAPER_LETTER_EXTRA)));
093d3ff1
RD
50848 }
50849 {
32fe5131 50850 PyDict_SetItemString(d,"PAPER_LEGAL_EXTRA", SWIG_From_int(static_cast<int >(wxPAPER_LEGAL_EXTRA)));
093d3ff1
RD
50851 }
50852 {
32fe5131 50853 PyDict_SetItemString(d,"PAPER_TABLOID_EXTRA", SWIG_From_int(static_cast<int >(wxPAPER_TABLOID_EXTRA)));
093d3ff1
RD
50854 }
50855 {
32fe5131 50856 PyDict_SetItemString(d,"PAPER_A4_EXTRA", SWIG_From_int(static_cast<int >(wxPAPER_A4_EXTRA)));
093d3ff1
RD
50857 }
50858 {
32fe5131 50859 PyDict_SetItemString(d,"PAPER_LETTER_TRANSVERSE", SWIG_From_int(static_cast<int >(wxPAPER_LETTER_TRANSVERSE)));
093d3ff1
RD
50860 }
50861 {
32fe5131 50862 PyDict_SetItemString(d,"PAPER_A4_TRANSVERSE", SWIG_From_int(static_cast<int >(wxPAPER_A4_TRANSVERSE)));
093d3ff1
RD
50863 }
50864 {
32fe5131 50865 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int(static_cast<int >(wxPAPER_LETTER_EXTRA_TRANSVERSE)));
093d3ff1
RD
50866 }
50867 {
32fe5131 50868 PyDict_SetItemString(d,"PAPER_A_PLUS", SWIG_From_int(static_cast<int >(wxPAPER_A_PLUS)));
093d3ff1
RD
50869 }
50870 {
32fe5131 50871 PyDict_SetItemString(d,"PAPER_B_PLUS", SWIG_From_int(static_cast<int >(wxPAPER_B_PLUS)));
093d3ff1
RD
50872 }
50873 {
32fe5131 50874 PyDict_SetItemString(d,"PAPER_LETTER_PLUS", SWIG_From_int(static_cast<int >(wxPAPER_LETTER_PLUS)));
093d3ff1
RD
50875 }
50876 {
32fe5131 50877 PyDict_SetItemString(d,"PAPER_A4_PLUS", SWIG_From_int(static_cast<int >(wxPAPER_A4_PLUS)));
093d3ff1
RD
50878 }
50879 {
32fe5131 50880 PyDict_SetItemString(d,"PAPER_A5_TRANSVERSE", SWIG_From_int(static_cast<int >(wxPAPER_A5_TRANSVERSE)));
093d3ff1
RD
50881 }
50882 {
32fe5131 50883 PyDict_SetItemString(d,"PAPER_B5_TRANSVERSE", SWIG_From_int(static_cast<int >(wxPAPER_B5_TRANSVERSE)));
093d3ff1
RD
50884 }
50885 {
32fe5131 50886 PyDict_SetItemString(d,"PAPER_A3_EXTRA", SWIG_From_int(static_cast<int >(wxPAPER_A3_EXTRA)));
093d3ff1
RD
50887 }
50888 {
32fe5131 50889 PyDict_SetItemString(d,"PAPER_A5_EXTRA", SWIG_From_int(static_cast<int >(wxPAPER_A5_EXTRA)));
093d3ff1
RD
50890 }
50891 {
32fe5131 50892 PyDict_SetItemString(d,"PAPER_B5_EXTRA", SWIG_From_int(static_cast<int >(wxPAPER_B5_EXTRA)));
093d3ff1
RD
50893 }
50894 {
32fe5131 50895 PyDict_SetItemString(d,"PAPER_A2", SWIG_From_int(static_cast<int >(wxPAPER_A2)));
093d3ff1
RD
50896 }
50897 {
32fe5131 50898 PyDict_SetItemString(d,"PAPER_A3_TRANSVERSE", SWIG_From_int(static_cast<int >(wxPAPER_A3_TRANSVERSE)));
093d3ff1
RD
50899 }
50900 {
32fe5131 50901 PyDict_SetItemString(d,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int(static_cast<int >(wxPAPER_A3_EXTRA_TRANSVERSE)));
093d3ff1 50902 }
6c75a4cf 50903 {
32fe5131 50904 PyDict_SetItemString(d,"PAPER_DBL_JAPANESE_POSTCARD", SWIG_From_int(static_cast<int >(wxPAPER_DBL_JAPANESE_POSTCARD)));
6c75a4cf
RD
50905 }
50906 {
32fe5131 50907 PyDict_SetItemString(d,"PAPER_A6", SWIG_From_int(static_cast<int >(wxPAPER_A6)));
6c75a4cf
RD
50908 }
50909 {
32fe5131 50910 PyDict_SetItemString(d,"PAPER_JENV_KAKU2", SWIG_From_int(static_cast<int >(wxPAPER_JENV_KAKU2)));
6c75a4cf
RD
50911 }
50912 {
32fe5131 50913 PyDict_SetItemString(d,"PAPER_JENV_KAKU3", SWIG_From_int(static_cast<int >(wxPAPER_JENV_KAKU3)));
6c75a4cf
RD
50914 }
50915 {
32fe5131 50916 PyDict_SetItemString(d,"PAPER_JENV_CHOU3", SWIG_From_int(static_cast<int >(wxPAPER_JENV_CHOU3)));
6c75a4cf
RD
50917 }
50918 {
32fe5131 50919 PyDict_SetItemString(d,"PAPER_JENV_CHOU4", SWIG_From_int(static_cast<int >(wxPAPER_JENV_CHOU4)));
6c75a4cf
RD
50920 }
50921 {
32fe5131 50922 PyDict_SetItemString(d,"PAPER_LETTER_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_LETTER_ROTATED)));
6c75a4cf
RD
50923 }
50924 {
32fe5131 50925 PyDict_SetItemString(d,"PAPER_A3_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_A3_ROTATED)));
6c75a4cf
RD
50926 }
50927 {
32fe5131 50928 PyDict_SetItemString(d,"PAPER_A4_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_A4_ROTATED)));
6c75a4cf
RD
50929 }
50930 {
32fe5131 50931 PyDict_SetItemString(d,"PAPER_A5_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_A5_ROTATED)));
6c75a4cf
RD
50932 }
50933 {
32fe5131 50934 PyDict_SetItemString(d,"PAPER_B4_JIS_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_B4_JIS_ROTATED)));
6c75a4cf
RD
50935 }
50936 {
32fe5131 50937 PyDict_SetItemString(d,"PAPER_B5_JIS_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_B5_JIS_ROTATED)));
6c75a4cf
RD
50938 }
50939 {
32fe5131 50940 PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_JAPANESE_POSTCARD_ROTATED)));
6c75a4cf
RD
50941 }
50942 {
32fe5131 50943 PyDict_SetItemString(d,"PAPER_DBL_JAPANESE_POSTCARD_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED)));
6c75a4cf
RD
50944 }
50945 {
32fe5131 50946 PyDict_SetItemString(d,"PAPER_A6_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_A6_ROTATED)));
6c75a4cf
RD
50947 }
50948 {
32fe5131 50949 PyDict_SetItemString(d,"PAPER_JENV_KAKU2_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_JENV_KAKU2_ROTATED)));
6c75a4cf
RD
50950 }
50951 {
32fe5131 50952 PyDict_SetItemString(d,"PAPER_JENV_KAKU3_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_JENV_KAKU3_ROTATED)));
6c75a4cf
RD
50953 }
50954 {
32fe5131 50955 PyDict_SetItemString(d,"PAPER_JENV_CHOU3_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_JENV_CHOU3_ROTATED)));
6c75a4cf
RD
50956 }
50957 {
32fe5131 50958 PyDict_SetItemString(d,"PAPER_JENV_CHOU4_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_JENV_CHOU4_ROTATED)));
6c75a4cf
RD
50959 }
50960 {
32fe5131 50961 PyDict_SetItemString(d,"PAPER_B6_JIS", SWIG_From_int(static_cast<int >(wxPAPER_B6_JIS)));
6c75a4cf
RD
50962 }
50963 {
32fe5131 50964 PyDict_SetItemString(d,"PAPER_B6_JIS_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_B6_JIS_ROTATED)));
6c75a4cf
RD
50965 }
50966 {
32fe5131 50967 PyDict_SetItemString(d,"PAPER_12X11", SWIG_From_int(static_cast<int >(wxPAPER_12X11)));
6c75a4cf
RD
50968 }
50969 {
32fe5131 50970 PyDict_SetItemString(d,"PAPER_JENV_YOU4", SWIG_From_int(static_cast<int >(wxPAPER_JENV_YOU4)));
6c75a4cf
RD
50971 }
50972 {
32fe5131 50973 PyDict_SetItemString(d,"PAPER_JENV_YOU4_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_JENV_YOU4_ROTATED)));
6c75a4cf
RD
50974 }
50975 {
32fe5131 50976 PyDict_SetItemString(d,"PAPER_P16K", SWIG_From_int(static_cast<int >(wxPAPER_P16K)));
6c75a4cf
RD
50977 }
50978 {
32fe5131 50979 PyDict_SetItemString(d,"PAPER_P32K", SWIG_From_int(static_cast<int >(wxPAPER_P32K)));
6c75a4cf
RD
50980 }
50981 {
32fe5131 50982 PyDict_SetItemString(d,"PAPER_P32KBIG", SWIG_From_int(static_cast<int >(wxPAPER_P32KBIG)));
6c75a4cf
RD
50983 }
50984 {
32fe5131 50985 PyDict_SetItemString(d,"PAPER_PENV_1", SWIG_From_int(static_cast<int >(wxPAPER_PENV_1)));
6c75a4cf
RD
50986 }
50987 {
32fe5131 50988 PyDict_SetItemString(d,"PAPER_PENV_2", SWIG_From_int(static_cast<int >(wxPAPER_PENV_2)));
6c75a4cf
RD
50989 }
50990 {
32fe5131 50991 PyDict_SetItemString(d,"PAPER_PENV_3", SWIG_From_int(static_cast<int >(wxPAPER_PENV_3)));
6c75a4cf
RD
50992 }
50993 {
32fe5131 50994 PyDict_SetItemString(d,"PAPER_PENV_4", SWIG_From_int(static_cast<int >(wxPAPER_PENV_4)));
6c75a4cf
RD
50995 }
50996 {
32fe5131 50997 PyDict_SetItemString(d,"PAPER_PENV_5", SWIG_From_int(static_cast<int >(wxPAPER_PENV_5)));
6c75a4cf
RD
50998 }
50999 {
32fe5131 51000 PyDict_SetItemString(d,"PAPER_PENV_6", SWIG_From_int(static_cast<int >(wxPAPER_PENV_6)));
6c75a4cf
RD
51001 }
51002 {
32fe5131 51003 PyDict_SetItemString(d,"PAPER_PENV_7", SWIG_From_int(static_cast<int >(wxPAPER_PENV_7)));
6c75a4cf
RD
51004 }
51005 {
32fe5131 51006 PyDict_SetItemString(d,"PAPER_PENV_8", SWIG_From_int(static_cast<int >(wxPAPER_PENV_8)));
6c75a4cf
RD
51007 }
51008 {
32fe5131 51009 PyDict_SetItemString(d,"PAPER_PENV_9", SWIG_From_int(static_cast<int >(wxPAPER_PENV_9)));
6c75a4cf
RD
51010 }
51011 {
32fe5131 51012 PyDict_SetItemString(d,"PAPER_PENV_10", SWIG_From_int(static_cast<int >(wxPAPER_PENV_10)));
6c75a4cf
RD
51013 }
51014 {
32fe5131 51015 PyDict_SetItemString(d,"PAPER_P16K_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_P16K_ROTATED)));
6c75a4cf
RD
51016 }
51017 {
32fe5131 51018 PyDict_SetItemString(d,"PAPER_P32K_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_P32K_ROTATED)));
6c75a4cf
RD
51019 }
51020 {
32fe5131 51021 PyDict_SetItemString(d,"PAPER_P32KBIG_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_P32KBIG_ROTATED)));
6c75a4cf
RD
51022 }
51023 {
32fe5131 51024 PyDict_SetItemString(d,"PAPER_PENV_1_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_PENV_1_ROTATED)));
6c75a4cf
RD
51025 }
51026 {
32fe5131 51027 PyDict_SetItemString(d,"PAPER_PENV_2_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_PENV_2_ROTATED)));
6c75a4cf
RD
51028 }
51029 {
32fe5131 51030 PyDict_SetItemString(d,"PAPER_PENV_3_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_PENV_3_ROTATED)));
6c75a4cf
RD
51031 }
51032 {
32fe5131 51033 PyDict_SetItemString(d,"PAPER_PENV_4_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_PENV_4_ROTATED)));
6c75a4cf
RD
51034 }
51035 {
32fe5131 51036 PyDict_SetItemString(d,"PAPER_PENV_5_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_PENV_5_ROTATED)));
6c75a4cf
RD
51037 }
51038 {
32fe5131 51039 PyDict_SetItemString(d,"PAPER_PENV_6_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_PENV_6_ROTATED)));
6c75a4cf
RD
51040 }
51041 {
32fe5131 51042 PyDict_SetItemString(d,"PAPER_PENV_7_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_PENV_7_ROTATED)));
6c75a4cf
RD
51043 }
51044 {
32fe5131 51045 PyDict_SetItemString(d,"PAPER_PENV_8_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_PENV_8_ROTATED)));
6c75a4cf
RD
51046 }
51047 {
32fe5131 51048 PyDict_SetItemString(d,"PAPER_PENV_9_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_PENV_9_ROTATED)));
6c75a4cf
RD
51049 }
51050 {
32fe5131 51051 PyDict_SetItemString(d,"PAPER_PENV_10_ROTATED", SWIG_From_int(static_cast<int >(wxPAPER_PENV_10_ROTATED)));
6c75a4cf 51052 }
093d3ff1 51053 {
32fe5131 51054 PyDict_SetItemString(d,"DUPLEX_SIMPLEX", SWIG_From_int(static_cast<int >(wxDUPLEX_SIMPLEX)));
093d3ff1
RD
51055 }
51056 {
32fe5131 51057 PyDict_SetItemString(d,"DUPLEX_HORIZONTAL", SWIG_From_int(static_cast<int >(wxDUPLEX_HORIZONTAL)));
093d3ff1
RD
51058 }
51059 {
32fe5131 51060 PyDict_SetItemString(d,"DUPLEX_VERTICAL", SWIG_From_int(static_cast<int >(wxDUPLEX_VERTICAL)));
093d3ff1
RD
51061 }
51062 {
32fe5131 51063 PyDict_SetItemString(d,"ITEM_SEPARATOR", SWIG_From_int(static_cast<int >(wxITEM_SEPARATOR)));
093d3ff1
RD
51064 }
51065 {
32fe5131 51066 PyDict_SetItemString(d,"ITEM_NORMAL", SWIG_From_int(static_cast<int >(wxITEM_NORMAL)));
093d3ff1
RD
51067 }
51068 {
32fe5131 51069 PyDict_SetItemString(d,"ITEM_CHECK", SWIG_From_int(static_cast<int >(wxITEM_CHECK)));
093d3ff1
RD
51070 }
51071 {
32fe5131 51072 PyDict_SetItemString(d,"ITEM_RADIO", SWIG_From_int(static_cast<int >(wxITEM_RADIO)));
093d3ff1
RD
51073 }
51074 {
32fe5131 51075 PyDict_SetItemString(d,"ITEM_MAX", SWIG_From_int(static_cast<int >(wxITEM_MAX)));
093d3ff1
RD
51076 }
51077 {
32fe5131 51078 PyDict_SetItemString(d,"HT_NOWHERE", SWIG_From_int(static_cast<int >(wxHT_NOWHERE)));
093d3ff1
RD
51079 }
51080 {
32fe5131 51081 PyDict_SetItemString(d,"HT_SCROLLBAR_FIRST", SWIG_From_int(static_cast<int >(wxHT_SCROLLBAR_FIRST)));
093d3ff1
RD
51082 }
51083 {
32fe5131 51084 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int(static_cast<int >(wxHT_SCROLLBAR_ARROW_LINE_1)));
093d3ff1
RD
51085 }
51086 {
32fe5131 51087 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int(static_cast<int >(wxHT_SCROLLBAR_ARROW_LINE_2)));
093d3ff1
RD
51088 }
51089 {
32fe5131 51090 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int(static_cast<int >(wxHT_SCROLLBAR_ARROW_PAGE_1)));
093d3ff1
RD
51091 }
51092 {
32fe5131 51093 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int(static_cast<int >(wxHT_SCROLLBAR_ARROW_PAGE_2)));
093d3ff1
RD
51094 }
51095 {
32fe5131 51096 PyDict_SetItemString(d,"HT_SCROLLBAR_THUMB", SWIG_From_int(static_cast<int >(wxHT_SCROLLBAR_THUMB)));
093d3ff1
RD
51097 }
51098 {
32fe5131 51099 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_1", SWIG_From_int(static_cast<int >(wxHT_SCROLLBAR_BAR_1)));
093d3ff1
RD
51100 }
51101 {
32fe5131 51102 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_2", SWIG_From_int(static_cast<int >(wxHT_SCROLLBAR_BAR_2)));
093d3ff1
RD
51103 }
51104 {
32fe5131 51105 PyDict_SetItemString(d,"HT_SCROLLBAR_LAST", SWIG_From_int(static_cast<int >(wxHT_SCROLLBAR_LAST)));
093d3ff1
RD
51106 }
51107 {
32fe5131 51108 PyDict_SetItemString(d,"HT_WINDOW_OUTSIDE", SWIG_From_int(static_cast<int >(wxHT_WINDOW_OUTSIDE)));
093d3ff1
RD
51109 }
51110 {
32fe5131 51111 PyDict_SetItemString(d,"HT_WINDOW_INSIDE", SWIG_From_int(static_cast<int >(wxHT_WINDOW_INSIDE)));
093d3ff1
RD
51112 }
51113 {
32fe5131 51114 PyDict_SetItemString(d,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int(static_cast<int >(wxHT_WINDOW_VERT_SCROLLBAR)));
093d3ff1
RD
51115 }
51116 {
32fe5131 51117 PyDict_SetItemString(d,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int(static_cast<int >(wxHT_WINDOW_HORZ_SCROLLBAR)));
093d3ff1
RD
51118 }
51119 {
32fe5131 51120 PyDict_SetItemString(d,"HT_WINDOW_CORNER", SWIG_From_int(static_cast<int >(wxHT_WINDOW_CORNER)));
093d3ff1
RD
51121 }
51122 {
32fe5131 51123 PyDict_SetItemString(d,"HT_MAX", SWIG_From_int(static_cast<int >(wxHT_MAX)));
093d3ff1
RD
51124 }
51125 {
32fe5131 51126 PyDict_SetItemString(d,"MOD_NONE", SWIG_From_int(static_cast<int >(wxMOD_NONE)));
093d3ff1
RD
51127 }
51128 {
32fe5131 51129 PyDict_SetItemString(d,"MOD_ALT", SWIG_From_int(static_cast<int >(wxMOD_ALT)));
093d3ff1
RD
51130 }
51131 {
32fe5131 51132 PyDict_SetItemString(d,"MOD_CONTROL", SWIG_From_int(static_cast<int >(wxMOD_CONTROL)));
093d3ff1 51133 }
943e8dfd 51134 {
32fe5131 51135 PyDict_SetItemString(d,"MOD_ALTGR", SWIG_From_int(static_cast<int >(wxMOD_ALTGR)));
943e8dfd 51136 }
093d3ff1 51137 {
32fe5131 51138 PyDict_SetItemString(d,"MOD_SHIFT", SWIG_From_int(static_cast<int >(wxMOD_SHIFT)));
093d3ff1 51139 }
943e8dfd 51140 {
32fe5131 51141 PyDict_SetItemString(d,"MOD_META", SWIG_From_int(static_cast<int >(wxMOD_META)));
943e8dfd 51142 }
093d3ff1 51143 {
32fe5131 51144 PyDict_SetItemString(d,"MOD_WIN", SWIG_From_int(static_cast<int >(wxMOD_WIN)));
093d3ff1 51145 }
943e8dfd 51146 {
32fe5131 51147 PyDict_SetItemString(d,"MOD_CMD", SWIG_From_int(static_cast<int >(wxMOD_CMD)));
943e8dfd
RD
51148 }
51149 {
32fe5131 51150 PyDict_SetItemString(d,"MOD_ALL", SWIG_From_int(static_cast<int >(wxMOD_ALL)));
943e8dfd 51151 }
093d3ff1 51152 {
32fe5131 51153 PyDict_SetItemString(d,"UPDATE_UI_NONE", SWIG_From_int(static_cast<int >(wxUPDATE_UI_NONE)));
093d3ff1
RD
51154 }
51155 {
32fe5131 51156 PyDict_SetItemString(d,"UPDATE_UI_RECURSE", SWIG_From_int(static_cast<int >(wxUPDATE_UI_RECURSE)));
093d3ff1
RD
51157 }
51158 {
32fe5131 51159 PyDict_SetItemString(d,"UPDATE_UI_FROMIDLE", SWIG_From_int(static_cast<int >(wxUPDATE_UI_FROMIDLE)));
093d3ff1
RD
51160 }
51161 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
51162 SWIG_addvarlink(SWIG_globals,(char*)"EmptyString",_wrap_EmptyString_get, _wrap_EmptyString_set);
51163 {
32fe5131 51164 PyDict_SetItemString(d,"BITMAP_TYPE_INVALID", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_INVALID)));
093d3ff1
RD
51165 }
51166 {
32fe5131 51167 PyDict_SetItemString(d,"BITMAP_TYPE_BMP", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_BMP)));
093d3ff1
RD
51168 }
51169 {
32fe5131 51170 PyDict_SetItemString(d,"BITMAP_TYPE_ICO", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_ICO)));
093d3ff1
RD
51171 }
51172 {
32fe5131 51173 PyDict_SetItemString(d,"BITMAP_TYPE_CUR", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_CUR)));
093d3ff1
RD
51174 }
51175 {
32fe5131 51176 PyDict_SetItemString(d,"BITMAP_TYPE_XBM", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_XBM)));
093d3ff1
RD
51177 }
51178 {
32fe5131 51179 PyDict_SetItemString(d,"BITMAP_TYPE_XBM_DATA", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_XBM_DATA)));
093d3ff1
RD
51180 }
51181 {
32fe5131 51182 PyDict_SetItemString(d,"BITMAP_TYPE_XPM", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_XPM)));
093d3ff1
RD
51183 }
51184 {
32fe5131 51185 PyDict_SetItemString(d,"BITMAP_TYPE_XPM_DATA", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_XPM_DATA)));
093d3ff1
RD
51186 }
51187 {
32fe5131 51188 PyDict_SetItemString(d,"BITMAP_TYPE_TIF", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_TIF)));
093d3ff1
RD
51189 }
51190 {
32fe5131 51191 PyDict_SetItemString(d,"BITMAP_TYPE_GIF", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_GIF)));
093d3ff1
RD
51192 }
51193 {
32fe5131 51194 PyDict_SetItemString(d,"BITMAP_TYPE_PNG", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_PNG)));
093d3ff1
RD
51195 }
51196 {
32fe5131 51197 PyDict_SetItemString(d,"BITMAP_TYPE_JPEG", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_JPEG)));
093d3ff1
RD
51198 }
51199 {
32fe5131 51200 PyDict_SetItemString(d,"BITMAP_TYPE_PNM", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_PNM)));
093d3ff1
RD
51201 }
51202 {
32fe5131 51203 PyDict_SetItemString(d,"BITMAP_TYPE_PCX", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_PCX)));
093d3ff1
RD
51204 }
51205 {
32fe5131 51206 PyDict_SetItemString(d,"BITMAP_TYPE_PICT", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_PICT)));
093d3ff1
RD
51207 }
51208 {
32fe5131 51209 PyDict_SetItemString(d,"BITMAP_TYPE_ICON", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_ICON)));
093d3ff1
RD
51210 }
51211 {
32fe5131 51212 PyDict_SetItemString(d,"BITMAP_TYPE_ANI", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_ANI)));
093d3ff1
RD
51213 }
51214 {
32fe5131 51215 PyDict_SetItemString(d,"BITMAP_TYPE_IFF", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_IFF)));
093d3ff1
RD
51216 }
51217 {
32fe5131 51218 PyDict_SetItemString(d,"BITMAP_TYPE_MACCURSOR", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_MACCURSOR)));
093d3ff1
RD
51219 }
51220 {
32fe5131 51221 PyDict_SetItemString(d,"BITMAP_TYPE_ANY", SWIG_From_int(static_cast<int >(wxBITMAP_TYPE_ANY)));
093d3ff1
RD
51222 }
51223 {
32fe5131 51224 PyDict_SetItemString(d,"CURSOR_NONE", SWIG_From_int(static_cast<int >(wxCURSOR_NONE)));
093d3ff1
RD
51225 }
51226 {
32fe5131 51227 PyDict_SetItemString(d,"CURSOR_ARROW", SWIG_From_int(static_cast<int >(wxCURSOR_ARROW)));
093d3ff1
RD
51228 }
51229 {
32fe5131 51230 PyDict_SetItemString(d,"CURSOR_RIGHT_ARROW", SWIG_From_int(static_cast<int >(wxCURSOR_RIGHT_ARROW)));
093d3ff1
RD
51231 }
51232 {
32fe5131 51233 PyDict_SetItemString(d,"CURSOR_BULLSEYE", SWIG_From_int(static_cast<int >(wxCURSOR_BULLSEYE)));
093d3ff1
RD
51234 }
51235 {
32fe5131 51236 PyDict_SetItemString(d,"CURSOR_CHAR", SWIG_From_int(static_cast<int >(wxCURSOR_CHAR)));
093d3ff1
RD
51237 }
51238 {
32fe5131 51239 PyDict_SetItemString(d,"CURSOR_CROSS", SWIG_From_int(static_cast<int >(wxCURSOR_CROSS)));
093d3ff1
RD
51240 }
51241 {
32fe5131 51242 PyDict_SetItemString(d,"CURSOR_HAND", SWIG_From_int(static_cast<int >(wxCURSOR_HAND)));
093d3ff1
RD
51243 }
51244 {
32fe5131 51245 PyDict_SetItemString(d,"CURSOR_IBEAM", SWIG_From_int(static_cast<int >(wxCURSOR_IBEAM)));
093d3ff1
RD
51246 }
51247 {
32fe5131 51248 PyDict_SetItemString(d,"CURSOR_LEFT_BUTTON", SWIG_From_int(static_cast<int >(wxCURSOR_LEFT_BUTTON)));
093d3ff1
RD
51249 }
51250 {
32fe5131 51251 PyDict_SetItemString(d,"CURSOR_MAGNIFIER", SWIG_From_int(static_cast<int >(wxCURSOR_MAGNIFIER)));
093d3ff1
RD
51252 }
51253 {
32fe5131 51254 PyDict_SetItemString(d,"CURSOR_MIDDLE_BUTTON", SWIG_From_int(static_cast<int >(wxCURSOR_MIDDLE_BUTTON)));
093d3ff1
RD
51255 }
51256 {
32fe5131 51257 PyDict_SetItemString(d,"CURSOR_NO_ENTRY", SWIG_From_int(static_cast<int >(wxCURSOR_NO_ENTRY)));
093d3ff1
RD
51258 }
51259 {
32fe5131 51260 PyDict_SetItemString(d,"CURSOR_PAINT_BRUSH", SWIG_From_int(static_cast<int >(wxCURSOR_PAINT_BRUSH)));
093d3ff1
RD
51261 }
51262 {
32fe5131 51263 PyDict_SetItemString(d,"CURSOR_PENCIL", SWIG_From_int(static_cast<int >(wxCURSOR_PENCIL)));
093d3ff1
RD
51264 }
51265 {
32fe5131 51266 PyDict_SetItemString(d,"CURSOR_POINT_LEFT", SWIG_From_int(static_cast<int >(wxCURSOR_POINT_LEFT)));
093d3ff1
RD
51267 }
51268 {
32fe5131 51269 PyDict_SetItemString(d,"CURSOR_POINT_RIGHT", SWIG_From_int(static_cast<int >(wxCURSOR_POINT_RIGHT)));
093d3ff1
RD
51270 }
51271 {
32fe5131 51272 PyDict_SetItemString(d,"CURSOR_QUESTION_ARROW", SWIG_From_int(static_cast<int >(wxCURSOR_QUESTION_ARROW)));
093d3ff1
RD
51273 }
51274 {
32fe5131 51275 PyDict_SetItemString(d,"CURSOR_RIGHT_BUTTON", SWIG_From_int(static_cast<int >(wxCURSOR_RIGHT_BUTTON)));
093d3ff1
RD
51276 }
51277 {
32fe5131 51278 PyDict_SetItemString(d,"CURSOR_SIZENESW", SWIG_From_int(static_cast<int >(wxCURSOR_SIZENESW)));
093d3ff1
RD
51279 }
51280 {
32fe5131 51281 PyDict_SetItemString(d,"CURSOR_SIZENS", SWIG_From_int(static_cast<int >(wxCURSOR_SIZENS)));
093d3ff1
RD
51282 }
51283 {
32fe5131 51284 PyDict_SetItemString(d,"CURSOR_SIZENWSE", SWIG_From_int(static_cast<int >(wxCURSOR_SIZENWSE)));
093d3ff1
RD
51285 }
51286 {
32fe5131 51287 PyDict_SetItemString(d,"CURSOR_SIZEWE", SWIG_From_int(static_cast<int >(wxCURSOR_SIZEWE)));
093d3ff1
RD
51288 }
51289 {
32fe5131 51290 PyDict_SetItemString(d,"CURSOR_SIZING", SWIG_From_int(static_cast<int >(wxCURSOR_SIZING)));
093d3ff1
RD
51291 }
51292 {
32fe5131 51293 PyDict_SetItemString(d,"CURSOR_SPRAYCAN", SWIG_From_int(static_cast<int >(wxCURSOR_SPRAYCAN)));
093d3ff1
RD
51294 }
51295 {
32fe5131 51296 PyDict_SetItemString(d,"CURSOR_WAIT", SWIG_From_int(static_cast<int >(wxCURSOR_WAIT)));
093d3ff1
RD
51297 }
51298 {
32fe5131 51299 PyDict_SetItemString(d,"CURSOR_WATCH", SWIG_From_int(static_cast<int >(wxCURSOR_WATCH)));
093d3ff1
RD
51300 }
51301 {
32fe5131 51302 PyDict_SetItemString(d,"CURSOR_BLANK", SWIG_From_int(static_cast<int >(wxCURSOR_BLANK)));
093d3ff1
RD
51303 }
51304 {
32fe5131 51305 PyDict_SetItemString(d,"CURSOR_DEFAULT", SWIG_From_int(static_cast<int >(wxCURSOR_DEFAULT)));
093d3ff1
RD
51306 }
51307 {
32fe5131 51308 PyDict_SetItemString(d,"CURSOR_COPY_ARROW", SWIG_From_int(static_cast<int >(wxCURSOR_COPY_ARROW)));
093d3ff1
RD
51309 }
51310 {
32fe5131 51311 PyDict_SetItemString(d,"CURSOR_ARROWWAIT", SWIG_From_int(static_cast<int >(wxCURSOR_ARROWWAIT)));
093d3ff1
RD
51312 }
51313 {
32fe5131 51314 PyDict_SetItemString(d,"CURSOR_MAX", SWIG_From_int(static_cast<int >(wxCURSOR_MAX)));
093d3ff1
RD
51315 }
51316 SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set);
51317 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set);
51318 {
32fe5131 51319 PyDict_SetItemString(d,"FromStart", SWIG_From_int(static_cast<int >(wxFromStart)));
093d3ff1
RD
51320 }
51321 {
32fe5131 51322 PyDict_SetItemString(d,"FromCurrent", SWIG_From_int(static_cast<int >(wxFromCurrent)));
093d3ff1
RD
51323 }
51324 {
32fe5131 51325 PyDict_SetItemString(d,"FromEnd", SWIG_From_int(static_cast<int >(wxFromEnd)));
093d3ff1
RD
51326 }
51327
51328 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
51329
51330
51331 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
51332
bcd0d7b6 51333 {
32fe5131 51334 PyDict_SetItemString(d,"IMAGE_ALPHA_TRANSPARENT", SWIG_From_int(static_cast<int >(wxIMAGE_ALPHA_TRANSPARENT)));
bcd0d7b6
RD
51335 }
51336 {
32fe5131 51337 PyDict_SetItemString(d,"IMAGE_ALPHA_THRESHOLD", SWIG_From_int(static_cast<int >(wxIMAGE_ALPHA_THRESHOLD)));
bcd0d7b6
RD
51338 }
51339 {
32fe5131 51340 PyDict_SetItemString(d,"IMAGE_ALPHA_OPAQUE", SWIG_From_int(static_cast<int >(wxIMAGE_ALPHA_OPAQUE)));
bcd0d7b6 51341 }
093d3ff1 51342 SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set);
0c243d93 51343 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get, _wrap_IMAGE_OPTION_FILENAME_set);
093d3ff1
RD
51344 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get, _wrap_IMAGE_OPTION_BMP_FORMAT_set);
51345 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set);
51346 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set);
51347 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get, _wrap_IMAGE_OPTION_RESOLUTION_set);
0c243d93
RD
51348 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get, _wrap_IMAGE_OPTION_RESOLUTIONX_set);
51349 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get, _wrap_IMAGE_OPTION_RESOLUTIONY_set);
093d3ff1 51350 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set);
24d7cbea 51351 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get, _wrap_IMAGE_OPTION_QUALITY_set);
093d3ff1 51352 {
32fe5131 51353 PyDict_SetItemString(d,"IMAGE_RESOLUTION_INCHES", SWIG_From_int(static_cast<int >(wxIMAGE_RESOLUTION_INCHES)));
093d3ff1
RD
51354 }
51355 {
32fe5131 51356 PyDict_SetItemString(d,"IMAGE_RESOLUTION_CM", SWIG_From_int(static_cast<int >(wxIMAGE_RESOLUTION_CM)));
093d3ff1 51357 }
0c243d93
RD
51358 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set);
51359 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set);
51360 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get, _wrap_IMAGE_OPTION_COMPRESSION_set);
51361 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set);
b9d6a5f3
RD
51362 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get, _wrap_IMAGE_OPTION_PNG_FORMAT_set);
51363 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set);
51364 {
32fe5131 51365 PyDict_SetItemString(d,"PNG_TYPE_COLOUR", SWIG_From_int(static_cast<int >(wxPNG_TYPE_COLOUR)));
b9d6a5f3
RD
51366 }
51367 {
32fe5131 51368 PyDict_SetItemString(d,"PNG_TYPE_GREY", SWIG_From_int(static_cast<int >(wxPNG_TYPE_GREY)));
b9d6a5f3
RD
51369 }
51370 {
32fe5131 51371 PyDict_SetItemString(d,"PNG_TYPE_GREY_RED", SWIG_From_int(static_cast<int >(wxPNG_TYPE_GREY_RED)));
b9d6a5f3 51372 }
093d3ff1 51373 {
32fe5131 51374 PyDict_SetItemString(d,"BMP_24BPP", SWIG_From_int(static_cast<int >(wxBMP_24BPP)));
093d3ff1
RD
51375 }
51376 {
32fe5131 51377 PyDict_SetItemString(d,"BMP_8BPP", SWIG_From_int(static_cast<int >(wxBMP_8BPP)));
093d3ff1
RD
51378 }
51379 {
32fe5131 51380 PyDict_SetItemString(d,"BMP_8BPP_GREY", SWIG_From_int(static_cast<int >(wxBMP_8BPP_GREY)));
093d3ff1
RD
51381 }
51382 {
32fe5131 51383 PyDict_SetItemString(d,"BMP_8BPP_GRAY", SWIG_From_int(static_cast<int >(wxBMP_8BPP_GRAY)));
093d3ff1
RD
51384 }
51385 {
32fe5131 51386 PyDict_SetItemString(d,"BMP_8BPP_RED", SWIG_From_int(static_cast<int >(wxBMP_8BPP_RED)));
093d3ff1
RD
51387 }
51388 {
32fe5131 51389 PyDict_SetItemString(d,"BMP_8BPP_PALETTE", SWIG_From_int(static_cast<int >(wxBMP_8BPP_PALETTE)));
093d3ff1
RD
51390 }
51391 {
32fe5131 51392 PyDict_SetItemString(d,"BMP_4BPP", SWIG_From_int(static_cast<int >(wxBMP_4BPP)));
093d3ff1
RD
51393 }
51394 {
32fe5131 51395 PyDict_SetItemString(d,"BMP_1BPP", SWIG_From_int(static_cast<int >(wxBMP_1BPP)));
093d3ff1
RD
51396 }
51397 {
32fe5131 51398 PyDict_SetItemString(d,"BMP_1BPP_BW", SWIG_From_int(static_cast<int >(wxBMP_1BPP_BW)));
093d3ff1
RD
51399 }
51400 {
32fe5131 51401 PyDict_SetItemString(d,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int(static_cast<int >(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS)));
093d3ff1
RD
51402 }
51403 {
32fe5131 51404 PyDict_SetItemString(d,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int(static_cast<int >(wxQUANTIZE_FILL_DESTINATION_IMAGE)));
093d3ff1
RD
51405 }
51406 {
32fe5131 51407 PyDict_SetItemString(d,"EVENT_PROPAGATE_NONE", SWIG_From_int(static_cast<int >(wxEVENT_PROPAGATE_NONE)));
093d3ff1
RD
51408 }
51409 {
32fe5131 51410 PyDict_SetItemString(d,"EVENT_PROPAGATE_MAX", SWIG_From_int(static_cast<int >(wxEVENT_PROPAGATE_MAX)));
093d3ff1
RD
51411 }
51412 PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL));
51413 PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST));
51414 PyDict_SetItemString(d, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST));
51415 PyDict_SetItemString(d, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED));
51416 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED));
51417 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED));
51418 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED));
51419 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
51420 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
51421 PyDict_SetItemString(d, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED));
51422 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED));
51423 PyDict_SetItemString(d, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED));
51424 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED));
51425 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED));
51426 PyDict_SetItemString(d, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED));
51427 PyDict_SetItemString(d, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED));
51428 PyDict_SetItemString(d, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED));
51429 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED));
51430 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER));
51431 PyDict_SetItemString(d, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN));
51432 PyDict_SetItemString(d, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP));
51433 PyDict_SetItemString(d, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN));
51434 PyDict_SetItemString(d, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP));
51435 PyDict_SetItemString(d, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN));
51436 PyDict_SetItemString(d, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP));
51437 PyDict_SetItemString(d, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION));
51438 PyDict_SetItemString(d, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW));
51439 PyDict_SetItemString(d, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW));
51440 PyDict_SetItemString(d, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK));
51441 PyDict_SetItemString(d, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK));
51442 PyDict_SetItemString(d, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK));
51443 PyDict_SetItemString(d, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS));
51444 PyDict_SetItemString(d, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS));
51445 PyDict_SetItemString(d, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS));
51446 PyDict_SetItemString(d, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL));
51447 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN));
51448 PyDict_SetItemString(d, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP));
51449 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN));
51450 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP));
51451 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN));
51452 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP));
51453 PyDict_SetItemString(d, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION));
51454 PyDict_SetItemString(d, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW));
51455 PyDict_SetItemString(d, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW));
51456 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK));
51457 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK));
51458 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK));
51459 PyDict_SetItemString(d, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR));
51460 PyDict_SetItemString(d, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK));
51461 PyDict_SetItemString(d, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY));
51462 PyDict_SetItemString(d, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN));
51463 PyDict_SetItemString(d, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP));
51464 PyDict_SetItemString(d, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY));
51465 PyDict_SetItemString(d, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR));
51466 PyDict_SetItemString(d, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP));
51467 PyDict_SetItemString(d, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM));
51468 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP));
51469 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN));
51470 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP));
51471 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN));
51472 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK));
51473 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE));
4f433fef 51474 PyDict_SetItemString(d, "wxEVT_SCROLL_CHANGED", PyInt_FromLong(wxEVT_SCROLL_CHANGED));
093d3ff1
RD
51475 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP));
51476 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM));
51477 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP));
51478 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN));
51479 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP));
51480 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN));
51481 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK));
51482 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE));
51483 PyDict_SetItemString(d, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE));
51484 PyDict_SetItemString(d, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE));
51485 PyDict_SetItemString(d, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW));
51486 PyDict_SetItemString(d, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION));
51487 PyDict_SetItemString(d, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION));
51488 PyDict_SetItemString(d, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP));
51489 PyDict_SetItemString(d, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER));
51490 PyDict_SetItemString(d, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE));
51491 PyDict_SetItemString(d, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE));
51492 PyDict_SetItemString(d, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY));
51493 PyDict_SetItemString(d, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW));
51494 PyDict_SetItemString(d, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE));
51495 PyDict_SetItemString(d, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE));
51496 PyDict_SetItemString(d, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED));
51497 PyDict_SetItemString(d, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT));
51498 PyDict_SetItemString(d, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND));
51499 PyDict_SetItemString(d, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT));
51500 PyDict_SetItemString(d, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON));
51501 PyDict_SetItemString(d, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN));
51502 PyDict_SetItemString(d, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE));
51503 PyDict_SetItemString(d, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT));
51504 PyDict_SetItemString(d, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU));
51505 PyDict_SetItemString(d, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED));
51506 PyDict_SetItemString(d, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED));
51507 PyDict_SetItemString(d, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED));
51508 PyDict_SetItemString(d, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE));
51509 PyDict_SetItemString(d, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED));
51510 PyDict_SetItemString(d, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES));
51511 PyDict_SetItemString(d, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM));
51512 PyDict_SetItemString(d, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM));
51513 PyDict_SetItemString(d, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM));
51514 PyDict_SetItemString(d, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG));
51515 PyDict_SetItemString(d, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE));
51516 PyDict_SetItemString(d, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI));
51517 PyDict_SetItemString(d, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING));
51518 PyDict_SetItemString(d, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING));
88c6b281 51519 PyDict_SetItemString(d, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE));
093d3ff1
RD
51520 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK));
51521 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK));
51522 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK));
51523 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK));
51524 PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS));
51525 PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS));
51526 PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER));
51527 {
32fe5131 51528 PyDict_SetItemString(d,"MOUSE_BTN_ANY", SWIG_From_int(static_cast<int >(wxMOUSE_BTN_ANY)));
093d3ff1
RD
51529 }
51530 {
32fe5131 51531 PyDict_SetItemString(d,"MOUSE_BTN_NONE", SWIG_From_int(static_cast<int >(wxMOUSE_BTN_NONE)));
093d3ff1
RD
51532 }
51533 {
32fe5131 51534 PyDict_SetItemString(d,"MOUSE_BTN_LEFT", SWIG_From_int(static_cast<int >(wxMOUSE_BTN_LEFT)));
093d3ff1
RD
51535 }
51536 {
32fe5131 51537 PyDict_SetItemString(d,"MOUSE_BTN_MIDDLE", SWIG_From_int(static_cast<int >(wxMOUSE_BTN_MIDDLE)));
093d3ff1
RD
51538 }
51539 {
32fe5131 51540 PyDict_SetItemString(d,"MOUSE_BTN_RIGHT", SWIG_From_int(static_cast<int >(wxMOUSE_BTN_RIGHT)));
093d3ff1
RD
51541 }
51542 {
32fe5131 51543 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_ALL", SWIG_From_int(static_cast<int >(wxUPDATE_UI_PROCESS_ALL)));
093d3ff1
RD
51544 }
51545 {
32fe5131 51546 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int(static_cast<int >(wxUPDATE_UI_PROCESS_SPECIFIED)));
093d3ff1
RD
51547 }
51548 {
32fe5131 51549 PyDict_SetItemString(d,"NavigationKeyEvent_IsBackward", SWIG_From_int(static_cast<int >(wxNavigationKeyEvent::IsBackward)));
093d3ff1
RD
51550 }
51551 {
32fe5131 51552 PyDict_SetItemString(d,"NavigationKeyEvent_IsForward", SWIG_From_int(static_cast<int >(wxNavigationKeyEvent::IsForward)));
093d3ff1
RD
51553 }
51554 {
32fe5131 51555 PyDict_SetItemString(d,"NavigationKeyEvent_WinChange", SWIG_From_int(static_cast<int >(wxNavigationKeyEvent::WinChange)));
093d3ff1 51556 }
68350608 51557 {
32fe5131 51558 PyDict_SetItemString(d,"NavigationKeyEvent_FromTab", SWIG_From_int(static_cast<int >(wxNavigationKeyEvent::FromTab)));
68350608 51559 }
093d3ff1 51560 {
32fe5131 51561 PyDict_SetItemString(d,"IDLE_PROCESS_ALL", SWIG_From_int(static_cast<int >(wxIDLE_PROCESS_ALL)));
093d3ff1
RD
51562 }
51563 {
32fe5131 51564 PyDict_SetItemString(d,"IDLE_PROCESS_SPECIFIED", SWIG_From_int(static_cast<int >(wxIDLE_PROCESS_SPECIFIED)));
093d3ff1 51565 }
53aa7709 51566 PyDict_SetItemString(d, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED));
093d3ff1 51567 {
32fe5131 51568 PyDict_SetItemString(d,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int(static_cast<int >(wxPYAPP_ASSERT_SUPPRESS)));
093d3ff1
RD
51569 }
51570 {
32fe5131 51571 PyDict_SetItemString(d,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int(static_cast<int >(wxPYAPP_ASSERT_EXCEPTION)));
093d3ff1
RD
51572 }
51573 {
32fe5131 51574 PyDict_SetItemString(d,"PYAPP_ASSERT_DIALOG", SWIG_From_int(static_cast<int >(wxPYAPP_ASSERT_DIALOG)));
093d3ff1
RD
51575 }
51576 {
32fe5131 51577 PyDict_SetItemString(d,"PYAPP_ASSERT_LOG", SWIG_From_int(static_cast<int >(wxPYAPP_ASSERT_LOG)));
093d3ff1
RD
51578 }
51579 {
32fe5131 51580 PyDict_SetItemString(d,"PRINT_WINDOWS", SWIG_From_int(static_cast<int >(wxPRINT_WINDOWS)));
093d3ff1
RD
51581 }
51582 {
32fe5131 51583 PyDict_SetItemString(d,"PRINT_POSTSCRIPT", SWIG_From_int(static_cast<int >(wxPRINT_POSTSCRIPT)));
093d3ff1
RD
51584 }
51585 SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
51586 SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set);
51587 {
32fe5131 51588 PyDict_SetItemString(d,"WINDOW_VARIANT_NORMAL", SWIG_From_int(static_cast<int >(wxWINDOW_VARIANT_NORMAL)));
093d3ff1
RD
51589 }
51590 {
32fe5131 51591 PyDict_SetItemString(d,"WINDOW_VARIANT_SMALL", SWIG_From_int(static_cast<int >(wxWINDOW_VARIANT_SMALL)));
093d3ff1
RD
51592 }
51593 {
32fe5131 51594 PyDict_SetItemString(d,"WINDOW_VARIANT_MINI", SWIG_From_int(static_cast<int >(wxWINDOW_VARIANT_MINI)));
093d3ff1
RD
51595 }
51596 {
32fe5131 51597 PyDict_SetItemString(d,"WINDOW_VARIANT_LARGE", SWIG_From_int(static_cast<int >(wxWINDOW_VARIANT_LARGE)));
093d3ff1
RD
51598 }
51599 {
32fe5131 51600 PyDict_SetItemString(d,"WINDOW_VARIANT_MAX", SWIG_From_int(static_cast<int >(wxWINDOW_VARIANT_MAX)));
093d3ff1
RD
51601 }
51602 SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set);
51603 SWIG_addvarlink(SWIG_globals,(char*)"ControlNameStr",_wrap_ControlNameStr_get, _wrap_ControlNameStr_set);
51604 {
32fe5131 51605 PyDict_SetItemString(d,"FLEX_GROWMODE_NONE", SWIG_From_int(static_cast<int >(wxFLEX_GROWMODE_NONE)));
093d3ff1
RD
51606 }
51607 {
32fe5131 51608 PyDict_SetItemString(d,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int(static_cast<int >(wxFLEX_GROWMODE_SPECIFIED)));
093d3ff1
RD
51609 }
51610 {
32fe5131 51611 PyDict_SetItemString(d,"FLEX_GROWMODE_ALL", SWIG_From_int(static_cast<int >(wxFLEX_GROWMODE_ALL)));
093d3ff1
RD
51612 }
51613 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set);
51614 {
32fe5131 51615 PyDict_SetItemString(d,"Left", SWIG_From_int(static_cast<int >(wxLeft)));
093d3ff1
RD
51616 }
51617 {
32fe5131 51618 PyDict_SetItemString(d,"Top", SWIG_From_int(static_cast<int >(wxTop)));
093d3ff1
RD
51619 }
51620 {
32fe5131 51621 PyDict_SetItemString(d,"Right", SWIG_From_int(static_cast<int >(wxRight)));
093d3ff1
RD
51622 }
51623 {
32fe5131 51624 PyDict_SetItemString(d,"Bottom", SWIG_From_int(static_cast<int >(wxBottom)));
093d3ff1
RD
51625 }
51626 {
32fe5131 51627 PyDict_SetItemString(d,"Width", SWIG_From_int(static_cast<int >(wxWidth)));
093d3ff1
RD
51628 }
51629 {
32fe5131 51630 PyDict_SetItemString(d,"Height", SWIG_From_int(static_cast<int >(wxHeight)));
093d3ff1
RD
51631 }
51632 {
32fe5131 51633 PyDict_SetItemString(d,"Centre", SWIG_From_int(static_cast<int >(wxCentre)));
093d3ff1
RD
51634 }
51635 {
32fe5131 51636 PyDict_SetItemString(d,"Center", SWIG_From_int(static_cast<int >(wxCenter)));
093d3ff1
RD
51637 }
51638 {
32fe5131 51639 PyDict_SetItemString(d,"CentreX", SWIG_From_int(static_cast<int >(wxCentreX)));
093d3ff1
RD
51640 }
51641 {
32fe5131 51642 PyDict_SetItemString(d,"CentreY", SWIG_From_int(static_cast<int >(wxCentreY)));
093d3ff1
RD
51643 }
51644 {
32fe5131 51645 PyDict_SetItemString(d,"Unconstrained", SWIG_From_int(static_cast<int >(wxUnconstrained)));
093d3ff1
RD
51646 }
51647 {
32fe5131 51648 PyDict_SetItemString(d,"AsIs", SWIG_From_int(static_cast<int >(wxAsIs)));
093d3ff1
RD
51649 }
51650 {
32fe5131 51651 PyDict_SetItemString(d,"PercentOf", SWIG_From_int(static_cast<int >(wxPercentOf)));
093d3ff1
RD
51652 }
51653 {
32fe5131 51654 PyDict_SetItemString(d,"Above", SWIG_From_int(static_cast<int >(wxAbove)));
093d3ff1
RD
51655 }
51656 {
32fe5131 51657 PyDict_SetItemString(d,"Below", SWIG_From_int(static_cast<int >(wxBelow)));
093d3ff1
RD
51658 }
51659 {
32fe5131 51660 PyDict_SetItemString(d,"LeftOf", SWIG_From_int(static_cast<int >(wxLeftOf)));
093d3ff1
RD
51661 }
51662 {
32fe5131 51663 PyDict_SetItemString(d,"RightOf", SWIG_From_int(static_cast<int >(wxRightOf)));
093d3ff1
RD
51664 }
51665 {
32fe5131 51666 PyDict_SetItemString(d,"SameAs", SWIG_From_int(static_cast<int >(wxSameAs)));
093d3ff1
RD
51667 }
51668 {
32fe5131 51669 PyDict_SetItemString(d,"Absolute", SWIG_From_int(static_cast<int >(wxAbsolute)));
093d3ff1 51670 }
d14a1e28
RD
51671
51672 // Initialize threading, some globals and such
51673 __wxPyPreStart(d);
51674
51675
51676 // Although these are defined in __version__ they need to be here too so
51677 // that an assert can be done to ensure that the wxPython and the wxWindows
51678 // versions match.
51679 PyDict_SetItemString(d,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
51680 PyDict_SetItemString(d,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
51681 PyDict_SetItemString(d,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER ));
51682
51683}
51684