X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bb2ef2cc9ed97a347c3a5f45b51127b6faa301aa..99fbb25ba438c675f21e9db67c894ef01d166107:/wxPython/src/mac/_core_wrap.cpp diff --git a/wxPython/src/mac/_core_wrap.cpp b/wxPython/src/mac/_core_wrap.cpp index 23629f0e4c..fdc4899512 100644 --- a/wxPython/src/mac/_core_wrap.cpp +++ b/wxPython/src/mac/_core_wrap.cpp @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 1.3.24 + * Version 1.3.27 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency. Do not make @@ -9,6 +9,7 @@ * ----------------------------------------------------------------------------- */ #define SWIGPYTHON +#define SWIG_VERSION 0x010327 #ifdef __cplusplus template class SwigValueWrapper { @@ -26,15 +27,73 @@ private: }; #endif +/*********************************************************************** + * + * This section contains generic SWIG labels for method/variable + * declarations/attributes, and other compiler dependent labels. + * + ************************************************************************/ -#ifndef SWIG_TEMPLATE_DISAMBIGUATOR -# if defined(__SUNPRO_CC) -# define SWIG_TEMPLATE_DISAMBIGUATOR template +/* template workaround for compilers that cannot correctly implement the C++ standard */ +#ifndef SWIGTEMPLATEDISAMBIGUATOR +# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) +# define SWIGTEMPLATEDISAMBIGUATOR template # else -# define SWIG_TEMPLATE_DISAMBIGUATOR +# define SWIGTEMPLATEDISAMBIGUATOR # endif #endif +/* inline attribute */ +#ifndef SWIGINLINE +# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) +# define SWIGINLINE inline +# else +# define SWIGINLINE +# endif +#endif + +/* attribute recognised by some compilers to avoid 'unused' warnings */ +#ifndef SWIGUNUSED +# if defined(__GNUC__) || defined(__ICC) +# define SWIGUNUSED __attribute__ ((unused)) +# else +# define SWIGUNUSED +# endif +#endif + +/* internal SWIG method */ +#ifndef SWIGINTERN +# define SWIGINTERN static SWIGUNUSED +#endif + +/* internal inline SWIG method */ +#ifndef SWIGINTERNINLINE +# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE +#endif + +/* exporting methods for Windows DLLs */ +#ifndef SWIGEXPORT +# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) +# if defined(STATIC_LINKED) +# define SWIGEXPORT +# else +# define SWIGEXPORT __declspec(dllexport) +# endif +# else +# define SWIGEXPORT +# endif +#endif + +/* calling conventions for Windows */ +#ifndef SWIGSTDCALL +# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) +# define SWIGSTDCALL __stdcall +# else +# define SWIGSTDCALL +# endif +#endif + + #include @@ -48,25 +107,15 @@ private: /* This should only be incremented when either the layout of swig_type_info changes, or for whatever reason, the runtime changes incompatibly */ -#define SWIG_RUNTIME_VERSION "1" +#define SWIG_RUNTIME_VERSION "2" /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ #ifdef SWIG_TYPE_TABLE -#define SWIG_QUOTE_STRING(x) #x -#define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) -#define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) +# define SWIG_QUOTE_STRING(x) #x +# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) +# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) #else -#define SWIG_TYPE_TABLE_NAME -#endif - -#include - -#ifndef SWIGINLINE -#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) -# define SWIGINLINE inline -#else -# define SWIGINLINE -#endif +# define SWIG_TYPE_TABLE_NAME #endif /* @@ -77,13 +126,17 @@ private: But only do this if is strictly necessary, ie, if you have problems with your compiler or so. */ + #ifndef SWIGRUNTIME -#define SWIGRUNTIME static +# define SWIGRUNTIME SWIGINTERN #endif + #ifndef SWIGRUNTIMEINLINE -#define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE +# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE #endif +#include + #ifdef __cplusplus extern "C" { #endif @@ -91,16 +144,36 @@ extern "C" { typedef void *(*swig_converter_func)(void *); typedef struct swig_type_info *(*swig_dycast_func)(void **); +/* Structure to store inforomation on one type */ typedef struct swig_type_info { - const char *name; - swig_converter_func converter; - const char *str; - void *clientdata; - swig_dycast_func dcast; - struct swig_type_info *next; - struct swig_type_info *prev; + const char *name; /* mangled name of this type */ + const char *str; /* human readable name of this type */ + swig_dycast_func dcast; /* dynamic cast function down a hierarchy */ + struct swig_cast_info *cast; /* linked list of types that can cast into this type */ + void *clientdata; /* language specific type data */ } swig_type_info; +/* Structure to store a type and conversion function used for casting */ +typedef struct swig_cast_info { + swig_type_info *type; /* pointer to type that is equivalent to this type */ + swig_converter_func converter; /* function to cast the void pointers */ + struct swig_cast_info *next; /* pointer to next cast in linked list */ + struct swig_cast_info *prev; /* pointer to the previous cast */ +} swig_cast_info; + +/* Structure used to store module information + * Each module generates one structure like this, and the runtime collects + * all of these structures and stores them in a circularly linked list.*/ +typedef struct swig_module_info { + swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */ + size_t size; /* Number of types in this module */ + struct swig_module_info *next; /* Pointer to next element in circularly linked list */ + swig_type_info **type_initial; /* Array of initially generated type structures */ + swig_cast_info **cast_initial; /* Array of initially generated casting structures */ + void *clientdata; /* Language specific module data */ +} swig_module_info; + + /* Compare two type names skipping the space characters, therefore "char*" == "char *" and "Class" == "Class", etc. @@ -114,13 +187,14 @@ SWIG_TypeNameComp(const char *f1, const char *l1, for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { while ((*f1 == ' ') && (f1 != l1)) ++f1; while ((*f2 == ' ') && (f2 != l2)) ++f2; - if (*f1 != *f2) return *f1 - *f2; + if (*f1 != *f2) return (int)(*f1 - *f2); } return (l1 - f1) - (l2 - f2); } /* Check type equivalence in a name list like ||... + Return 0 if not equal, 1 if equal */ SWIGRUNTIME int SWIG_TypeEquiv(const char *nb, const char *tb) { @@ -131,96 +205,73 @@ SWIG_TypeEquiv(const char *nb, const char *tb) { for (nb = ne; *ne; ++ne) { if (*ne == '|') break; } - equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0; + equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; if (*ne) ++ne; } return equiv; } /* - Register a type mapping with the type-checking + Check type equivalence in a name list like ||... + Return 0 if equal, -1 if nb < tb, 1 if nb > tb */ -SWIGRUNTIME swig_type_info * -SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) { - swig_type_info *tc, *head, *ret, *next; - /* Check to see if this type has already been registered */ - tc = *tl; - while (tc) { - /* check simple type equivalence */ - int typeequiv = (strcmp(tc->name, ti->name) == 0); - /* check full type equivalence, resolving typedefs */ - if (!typeequiv) { - /* only if tc is not a typedef (no '|' on it) */ - if (tc->str && ti->str && !strstr(tc->str,"|")) { - typeequiv = SWIG_TypeEquiv(ti->str,tc->str); - } - } - if (typeequiv) { - /* Already exists in the table. Just add additional types to the list */ - if (ti->clientdata) tc->clientdata = ti->clientdata; - head = tc; - next = tc->next; - goto l1; +SWIGRUNTIME int +SWIG_TypeCompare(const char *nb, const char *tb) { + int equiv = 0; + const char* te = tb + strlen(tb); + const char* ne = nb; + while (!equiv && *ne) { + for (nb = ne; *ne; ++ne) { + if (*ne == '|') break; } - tc = tc->prev; - } - head = ti; - next = 0; - - /* Place in list */ - ti->prev = *tl; - *tl = ti; - - /* Build linked lists */ - l1: - ret = head; - tc = ti + 1; - /* Patch up the rest of the links */ - while (tc->name) { - head->next = tc; - tc->prev = head; - head = tc; - tc++; + equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; + if (*ne) ++ne; } - if (next) next->prev = head; - head->next = next; - - return ret; + return equiv; } + +/* think of this as a c++ template<> or a scheme macro */ +#define SWIG_TypeCheck_Template(comparison, ty) \ + if (ty) { \ + swig_cast_info *iter = ty->cast; \ + while (iter) { \ + if (comparison) { \ + if (iter == ty->cast) return iter; \ + /* Move iter to the top of the linked list */ \ + iter->prev->next = iter->next; \ + if (iter->next) \ + iter->next->prev = iter->prev; \ + iter->next = ty->cast; \ + iter->prev = 0; \ + if (ty->cast) ty->cast->prev = iter; \ + ty->cast = iter; \ + return iter; \ + } \ + iter = iter->next; \ + } \ + } \ + return 0 + /* Check the typename */ -SWIGRUNTIME swig_type_info * +SWIGRUNTIME swig_cast_info * SWIG_TypeCheck(const char *c, swig_type_info *ty) { - swig_type_info *s; - if (!ty) return 0; /* Void pointer */ - s = ty->next; /* First element always just a name */ - do { - if (strcmp(s->name,c) == 0) { - if (s == ty->next) return s; - /* Move s to the top of the linked list */ - s->prev->next = s->next; - if (s->next) { - s->next->prev = s->prev; - } - /* Insert s as second element in the list */ - s->next = ty->next; - if (ty->next) ty->next->prev = s; - ty->next = s; - s->prev = ty; - return s; - } - s = s->next; - } while (s && (s != ty->next)); - return 0; + SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty); +} + +/* Same as previous function, except strcmp is replaced with a pointer comparison */ +SWIGRUNTIME swig_cast_info * +SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) { + SWIG_TypeCheck_Template(iter->type == from, into); } /* Cast a pointer up an inheritance hierarchy */ SWIGRUNTIMEINLINE void * -SWIG_TypeCast(swig_type_info *ty, void *ptr) { +SWIG_TypeCast(swig_cast_info *ty, void *ptr) { return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr); } @@ -267,54 +318,116 @@ SWIG_TypePrettyName(const swig_type_info *type) { return type->name; } -/* - Search for a swig_type_info structure -*/ -SWIGRUNTIME swig_type_info * -SWIG_TypeQueryTL(swig_type_info *tl, const char *name) { - swig_type_info *ty = tl; - while (ty) { - if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty; - if (ty->name && (strcmp(name,ty->name) == 0)) return ty; - ty = ty->prev; - } - return 0; -} - /* Set the clientdata field for a type */ SWIGRUNTIME void -SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) { - swig_type_info *tc, *equiv; - if (ti->clientdata) return; +SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { + swig_cast_info *cast = ti->cast; /* if (ti->clientdata == clientdata) return; */ ti->clientdata = clientdata; - equiv = ti->next; - while (equiv) { - if (!equiv->converter) { - tc = tl; - while (tc) { - if ((strcmp(tc->name, equiv->name) == 0)) - SWIG_TypeClientDataTL(tl,tc,clientdata); - tc = tc->prev; + + while (cast) { + if (!cast->converter) { + swig_type_info *tc = cast->type; + if (!tc->clientdata) { + SWIG_TypeClientData(tc, clientdata); } + } + cast = cast->next; + } +} + +/* + Search for a swig_type_info structure only by mangled name + Search is a O(log #types) + + We start searching at module start, and finish searching when start == end. + Note: if start == end at the beginning of the function, we go all the way around + the circular list. +*/ +SWIGRUNTIME swig_type_info * +SWIG_MangledTypeQueryModule(swig_module_info *start, + swig_module_info *end, + const char *name) { + swig_module_info *iter = start; + do { + if (iter->size) { + register size_t l = 0; + register size_t r = iter->size - 1; + do { + /* since l+r >= 0, we can (>> 1) instead (/ 2) */ + register size_t i = (l + r) >> 1; + const char *iname = iter->types[i]->name; + if (iname) { + register int compare = strcmp(name, iname); + if (compare == 0) { + return iter->types[i]; + } else if (compare < 0) { + if (i) { + r = i - 1; + } else { + break; + } + } else if (compare > 0) { + l = i + 1; + } + } else { + break; /* should never happen */ + } + } while (l <= r); } - equiv = equiv->next; + iter = iter->next; + } while (iter != end); + return 0; +} + +/* + Search for a swig_type_info structure for either a mangled name or a human readable name. + It first searches the mangled names of the types, which is a O(log #types) + If a type is not found it then searches the human readable names, which is O(#types). + + We start searching at module start, and finish searching when start == end. + Note: if start == end at the beginning of the function, we go all the way around + the circular list. +*/ +SWIGRUNTIME swig_type_info * +SWIG_TypeQueryModule(swig_module_info *start, + swig_module_info *end, + const char *name) { + /* STEP 1: Search the name field using binary search */ + swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name); + if (ret) { + return ret; + } else { + /* STEP 2: If the type hasn't been found, do a complete search + of the str field (the human readable name) */ + swig_module_info *iter = start; + do { + register size_t i = 0; + for (; i < iter->size; ++i) { + if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) + return iter->types[i]; + } + iter = iter->next; + } while (iter != end); } + + /* neither found a match */ + return 0; } + /* Pack binary data into a string */ SWIGRUNTIME char * SWIG_PackData(char *c, void *ptr, size_t sz) { - static char hex[17] = "0123456789abcdef"; - unsigned char *u = (unsigned char *) ptr; - const unsigned char *eu = u + sz; - register unsigned char uu; + static const char hex[17] = "0123456789abcdef"; + register const unsigned char *u = (unsigned char *) ptr; + register const unsigned char *eu = u + sz; for (; u != eu; ++u) { - uu = *u; + register unsigned char uu = *u; *(c++) = hex[(uu & 0xf0) >> 4]; *(c++) = hex[uu & 0xf]; } @@ -327,9 +440,9 @@ SWIG_PackData(char *c, void *ptr, size_t sz) { SWIGRUNTIME const char * SWIG_UnpackData(const char *c, void *ptr, size_t sz) { register unsigned char *u = (unsigned char *) ptr; - register const unsigned char *eu = u + sz; + register const unsigned char *eu = u + sz; for (; u != eu; ++u) { - register int d = *(c++); + register char d = *(c++); register unsigned char uu = 0; if ((d >= '0') && (d <= '9')) uu = ((d - '0') << 4); @@ -349,30 +462,6 @@ SWIG_UnpackData(const char *c, void *ptr, size_t sz) { return c; } -/* - This function will propagate the clientdata field of type to any new - swig_type_info structures that have been added into the list of - equivalent types. It is like calling SWIG_TypeClientData(type, - clientdata) a second time. -*/ -SWIGRUNTIME void -SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) { - swig_type_info *equiv = type->next; - swig_type_info *tc; - if (!type->clientdata) return; - while (equiv) { - if (!equiv->converter) { - tc = tl; - while (tc) { - if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata) - SWIG_TypeClientDataTL(tl,tc, type->clientdata); - tc = tc->prev; - } - } - equiv = equiv->next; - } -} - /* Pack 'void *' into a string buffer. */ @@ -432,78 +521,6 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { } #endif -/*********************************************************************** - * common.swg - * - * This file contains generic SWIG runtime support for pointer - * type checking as well as a few commonly used macros to control - * external linkage. - * - * Author : David Beazley (beazley@cs.uchicago.edu) - * - * Copyright (c) 1999-2000, The University of Chicago - * - * This file may be freely redistributed without license or fee provided - * this copyright message remains intact. - ************************************************************************/ - - -#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) -# if !defined(STATIC_LINKED) -# define SWIGEXPORT(a) __declspec(dllexport) a -# else -# define SWIGEXPORT(a) a -# endif -#else -# define SWIGEXPORT(a) a -#endif - -#ifdef __cplusplus -extern "C" { -#endif - - -/*************************************************************************/ - - -/* The static type info list */ - -static swig_type_info *swig_type_list = 0; -static swig_type_info **swig_type_list_handle = &swig_type_list; - - -/* Register a type mapping with the type-checking */ -static swig_type_info * -SWIG_TypeRegister(swig_type_info *ti) { - return SWIG_TypeRegisterTL(swig_type_list_handle, ti); -} - -/* Search for a swig_type_info structure */ -static swig_type_info * -SWIG_TypeQuery(const char *name) { - return SWIG_TypeQueryTL(*swig_type_list_handle, name); -} - -/* Set the clientdata field for a type */ -static void -SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { - SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata); -} - -/* This function will propagate the clientdata field of type to -* any new swig_type_info structures that have been added into the list -* of equivalent types. It is like calling -* SWIG_TypeClientData(type, clientdata) a second time. -*/ -static void -SWIG_PropagateClientData(swig_type_info *type) { - SWIG_PropagateClientDataTL(*swig_type_list_handle, type); -} - -#ifdef __cplusplus -} -#endif - /* ----------------------------------------------------------------------------- * SWIG API. Portion that goes into the runtime * ----------------------------------------------------------------------------- */ @@ -517,18 +534,13 @@ extern "C" { * ----------------------------------------------------------------------------- */ #ifndef SWIGINTERN -#define SWIGINTERN static +# define SWIGINTERN static SWIGUNUSED #endif -#ifndef SWIGINTERNSHORT -#ifdef __cplusplus -#define SWIGINTERNSHORT static inline -#else /* C case */ -#define SWIGINTERNSHORT static -#endif /* __cplusplus */ +#ifndef SWIGINTERNINLINE +# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE #endif - /* Exception handling in wrappers */ @@ -599,6 +611,9 @@ typedef struct swig_const_info { #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) +/* Runtime API */ +#define SWIG_GetModule(clientdata) SWIG_Python_GetModule() +#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) /* ----------------------------------------------------------------------------- * Pointer declarations @@ -617,6 +632,11 @@ typedef struct swig_const_info { #define SWIG_POINTER_DISOWN 0x2 +/* Add PyOS_snprintf for old Pythons */ +#if PY_VERSION_HEX < 0x02020000 +#define PyOS_snprintf snprintf +#endif + #ifdef __cplusplus extern "C" { #endif @@ -624,11 +644,28 @@ extern "C" { /* ----------------------------------------------------------------------------- * Create a new pointer string * ----------------------------------------------------------------------------- */ - #ifndef SWIG_BUFFER_SIZE #define SWIG_BUFFER_SIZE 1024 #endif +/* A crude PyString_FromFormat implementation for old Pythons */ +#if PY_VERSION_HEX < 0x02020000 +static PyObject * +PyString_FromFormat(const char *fmt, ...) { + va_list ap; + char buf[SWIG_BUFFER_SIZE * 2]; + int res; + va_start(ap, fmt); + res = vsnprintf(buf, sizeof(buf), fmt, ap); + va_end(ap); + return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf); +} +#endif + +#if PY_VERSION_HEX < 0x01060000 +#define PyObject_Del(op) PyMem_DEL((op)) +#endif + #if defined(SWIG_COBJECT_TYPES) #if !defined(SWIG_COBJECT_PYTHON) /* ----------------------------------------------------------------------------- @@ -647,6 +684,7 @@ SWIGRUNTIME int PySwigObject_print(PySwigObject *v, FILE *fp, int flags) { char result[SWIG_BUFFER_SIZE]; + flags = flags; if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) { fputs("", fp); return 0; @@ -674,27 +712,35 @@ PySwigObject_str(PySwigObject *v) SWIGRUNTIME PyObject * PySwigObject_long(PySwigObject *v) { - return PyLong_FromUnsignedLong((unsigned long) v->ptr); + return PyLong_FromVoidPtr(v->ptr); +} + +SWIGRUNTIME PyObject * +PySwigObject_format(const char* fmt, PySwigObject *v) +{ + PyObject *res = NULL; + PyObject *args = PyTuple_New(1); + if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) { + PyObject *ofmt = PyString_FromString(fmt); + if (ofmt) { + res = PyString_Format(ofmt,args); + Py_DECREF(ofmt); + } + Py_DECREF(args); + } + return res; } SWIGRUNTIME PyObject * PySwigObject_oct(PySwigObject *v) { - char buf[100]; - unsigned long x = (unsigned long)v->ptr; - if (x == 0) - strcpy(buf, "0"); - else - PyOS_snprintf(buf, sizeof(buf), "0%lo", x); - return PyString_FromString(buf); + return PySwigObject_format("%o",v); } SWIGRUNTIME PyObject * PySwigObject_hex(PySwigObject *v) { - char buf[100]; - PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr); - return PyString_FromString(buf); + return PySwigObject_format("%x",v); } SWIGRUNTIME int @@ -702,23 +748,23 @@ PySwigObject_compare(PySwigObject *v, PySwigObject *w) { int c = strcmp(v->desc, w->desc); if (c) { - return c; + return (c > 0) ? 1 : -1; } else { void *i = v->ptr; void *j = w->ptr; - return (i < j) ? -1 : (i > j) ? 1 : 0; + return (i < j) ? -1 : ((i > j) ? 1 : 0); } } SWIGRUNTIME void PySwigObject_dealloc(PySwigObject *self) { - PyObject_DEL(self); + PyObject_Del(self); } SWIGRUNTIME PyTypeObject* -PySwigObject_GetType() { - static char PySwigObject_Type__doc__[] = +PySwigObject_type(void) { + static char pyswigobject_type__doc__[] = "Swig object carries a C/C++ instance pointer"; static PyNumberMethods PySwigObject_as_number = { @@ -745,19 +791,24 @@ PySwigObject_GetType() { (unaryfunc)0, /*nb_float*/ (unaryfunc)PySwigObject_oct, /*nb_oct*/ (unaryfunc)PySwigObject_hex, /*nb_hex*/ -#if PY_VERSION_HEX >= 0x02000000 +#if PY_VERSION_HEX >= 0x02020000 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ +#elif PY_VERSION_HEX >= 0x02000000 + 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ #endif }; - static int type_init = 0; - static PyTypeObject PySwigObject_Type; - + static PyTypeObject pyswigobject_type +#if !defined(__cplusplus) + ; + static int type_init = 0; if (!type_init) { - PyTypeObject tmp = { + PyTypeObject tmp +#endif + = { PyObject_HEAD_INIT(&PyType_Type) 0, /*ob_size*/ - "PySwigObject", /*tp_name*/ + (char *)"PySwigObject", /*tp_name*/ sizeof(PySwigObject), /*tp_basicsize*/ 0, /*tp_itemsize*/ /* methods */ @@ -774,8 +825,8 @@ PySwigObject_GetType() { (ternaryfunc)0, /*tp_call*/ (reprfunc)PySwigObject_str, /*tp_str*/ /* Space for future expansion */ - 0L,0L,0L,0L, - PySwigObject_Type__doc__, /* Documentation string */ + 0,0,0,0, + pyswigobject_type__doc__, /* Documentation string */ #if PY_VERSION_HEX >= 0x02000000 0, /* tp_traverse */ 0, /* tp_clear */ @@ -794,21 +845,22 @@ PySwigObject_GetType() { 0,0,0,0 /* tp_alloc -> tp_next */ #endif }; - - PySwigObject_Type = tmp; +#if !defined(__cplusplus) + pyswigobject_type = tmp; type_init = 1; } - - return &PySwigObject_Type; +#endif + return &pyswigobject_type; } SWIGRUNTIME PyObject * PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc) { - PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType()); - if (self == NULL) return NULL; - self->ptr = ptr; - self->desc = desc; + PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type()); + if (self) { + self->ptr = ptr; + self->desc = desc; + } return (PyObject *)self; } @@ -826,7 +878,7 @@ PySwigObject_GetDesc(PyObject *self) SWIGRUNTIMEINLINE int PySwigObject_Check(PyObject *op) { - return ((op)->ob_type == PySwigObject_GetType()) + return ((op)->ob_type == PySwigObject_type()) || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0); } @@ -845,6 +897,7 @@ SWIGRUNTIME int PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags) { char result[SWIG_BUFFER_SIZE]; + flags = flags; fputs("pack, v->size, 0, sizeof(result))) { fputs("at ", fp); @@ -873,7 +926,7 @@ PySwigPacked_str(PySwigPacked *v) if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ return PyString_FromFormat("%s%s", result, v->desc); } else { - return PyString_FromFormat("%s", v->desc); + return PyString_FromString(v->desc); } } @@ -882,11 +935,11 @@ PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) { int c = strcmp(v->desc, w->desc); if (c) { - return c; + return (c > 0) ? 1 : -1; } else { size_t i = v->size; size_t j = w->size; - int s = (i < j) ? -1 : (i > j) ? 1 : 0; + int s = (i < j) ? -1 : ((i > j) ? 1 : 0); return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); } } @@ -895,21 +948,24 @@ SWIGRUNTIME void PySwigPacked_dealloc(PySwigPacked *self) { free(self->pack); - PyObject_DEL(self); + PyObject_Del(self); } SWIGRUNTIME PyTypeObject* -PySwigPacked_GetType() { - static char PySwigPacked_Type__doc__[] = +PySwigPacked_type(void) { + static char pyswigpacked_type__doc__[] = "Swig object carries a C/C++ instance pointer"; - static int type_init = 0; - - static PyTypeObject PySwigPacked_Type; + static PyTypeObject pyswigpacked_type +#if !defined(__cplusplus) + ; + static int type_init = 0; if (!type_init) { - PyTypeObject tmp = { + PyTypeObject tmp +#endif + = { PyObject_HEAD_INIT(&PyType_Type) 0, /*ob_size*/ - "PySwigPacked", /*tp_name*/ + (char *)"PySwigPacked", /*tp_name*/ sizeof(PySwigPacked), /*tp_basicsize*/ 0, /*tp_itemsize*/ /* methods */ @@ -926,8 +982,8 @@ PySwigPacked_GetType() { (ternaryfunc)0, /*tp_call*/ (reprfunc)PySwigPacked_str, /*tp_str*/ /* Space for future expansion */ - 0L,0L,0L,0L, - PySwigPacked_Type__doc__, /* Documentation string */ + 0,0,0,0, + pyswigpacked_type__doc__, /* Documentation string */ #if PY_VERSION_HEX >= 0x02000000 0, /* tp_traverse */ 0, /* tp_clear */ @@ -946,29 +1002,30 @@ PySwigPacked_GetType() { 0,0,0,0 /* tp_alloc -> tp_next */ #endif }; - - PySwigPacked_Type = tmp; +#if !defined(__cplusplus) + pyswigpacked_type = tmp; type_init = 1; } - - - - return &PySwigPacked_Type; +#endif + return &pyswigpacked_type; } SWIGRUNTIME PyObject * PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc) { - PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType()); + PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type()); if (self == NULL) { return NULL; } else { void *pack = malloc(size); - memcpy(pack, ptr, size); - self->pack = pack; - self->desc = desc; - self->size = size; - return (PyObject *) self; + if (pack) { + memcpy(pack, ptr, size); + self->pack = pack; + self->desc = desc; + self->size = size; + return (PyObject *) self; + } + return NULL; } } @@ -989,7 +1046,7 @@ PySwigPacked_GetDesc(PyObject *self) SWIGRUNTIMEINLINE int PySwigPacked_Check(PyObject *op) { - return ((op)->ob_type == PySwigPacked_GetType()) + return ((op)->ob_type == PySwigPacked_type()) || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0); } @@ -1016,7 +1073,7 @@ SWIG_Python_TypeError(const char *type, PyObject *obj) { if (type) { #if defined(SWIG_COBJECT_TYPES) - if (PySwigObject_Check(obj)) { + if (obj && PySwigObject_Check(obj)) { const char *otype = (const char *) PySwigObject_GetDesc(obj); if (otype) { PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received", @@ -1037,7 +1094,7 @@ SWIG_Python_TypeError(const char *type, PyObject *obj) PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", type, otype); } - Py_DECREF(str); + Py_XDECREF(str); return; } } @@ -1088,7 +1145,7 @@ SWIG_Python_ArgFail(int argnum) if (PyErr_Occurred()) { /* add information about failing argument */ char mesg[256]; - sprintf(mesg, "argument number %d:", argnum); + PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum); return SWIG_Python_AddErrMesg(mesg, 1); } else { return 0; @@ -1103,7 +1160,7 @@ SWIG_Python_ArgFail(int argnum) /* Convert a pointer value */ SWIGRUNTIME int SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) { - swig_type_info *tc; + swig_cast_info *tc; const char *c = 0; static PyObject *SWIG_this = 0; int newref = 0; @@ -1146,7 +1203,7 @@ SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) goto type_error; } } - c = PyString_AS_STRING(obj); + c = PyString_AsString(obj); /* Pointer values must start with leading underscore */ c = SWIG_UnpackVoidPtr(c, &vptr, ty->name); if (newref) { Py_DECREF(obj); } @@ -1154,7 +1211,6 @@ SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) #endif type_check: - if (ty) { tc = SWIG_TypeCheck(c,ty); if (!tc) goto type_error; @@ -1162,7 +1218,6 @@ type_check: } else { *ptr = vptr; } - if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) { PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False); } @@ -1177,7 +1232,7 @@ type_error: char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); c = doc ? strstr(doc, "swig_ptr: ") : 0; if (c) { - c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name); + c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0; if (!c) goto type_error; goto type_check; } @@ -1210,14 +1265,14 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) /* Convert a packed value value */ SWIGRUNTIME int SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) { - swig_type_info *tc; + swig_cast_info *tc; const char *c = 0; #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) c = PySwigPacked_UnpackData(obj, ptr, sz); #else if ((!obj) || (!PyString_Check(obj))) goto type_error; - c = PyString_AS_STRING(obj); + c = PyString_AsString(obj); /* Pointer values must start with leading underscore */ c = SWIG_UnpackDataName(c, ptr, sz, ty->name); #endif @@ -1244,6 +1299,12 @@ type_error: SWIGRUNTIME PyObject * SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) { PyObject *robj = 0; + if (!type) { + if (!PyErr_Occurred()) { + PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj"); + } + return robj; + } if (!ptr) { Py_INCREF(Py_None); return Py_None; @@ -1301,8 +1362,8 @@ SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { void *SWIG_ReturnGlobalTypeList(void *); #endif -SWIGRUNTIME swig_type_info ** -SWIG_Python_GetTypeListHandle() { +SWIGRUNTIME swig_module_info * +SWIG_Python_GetModule(void) { static void *type_pointer = (void *)0; /* first check if module already created */ if (!type_pointer) { @@ -1315,21 +1376,54 @@ SWIG_Python_GetTypeListHandle() { PyErr_Clear(); type_pointer = (void *)0; } - } #endif - return (swig_type_info **) type_pointer; + } + return (swig_module_info *) type_pointer; } -/* - Search for a swig_type_info structure - */ -SWIGRUNTIMEINLINE swig_type_info * -SWIG_Python_GetTypeList() { - swig_type_info **tlh = SWIG_Python_GetTypeListHandle(); - return tlh ? *tlh : (swig_type_info*)0; +#if PY_MAJOR_VERSION < 2 +/* PyModule_AddObject function was introduced in Python 2.0. The following function +is copied out of Python/modsupport.c in python version 2.3.4 */ +SWIGINTERN int +PyModule_AddObject(PyObject *m, char *name, PyObject *o) +{ + PyObject *dict; + if (!PyModule_Check(m)) { + PyErr_SetString(PyExc_TypeError, + "PyModule_AddObject() needs module as first arg"); + return -1; + } + if (!o) { + PyErr_SetString(PyExc_TypeError, + "PyModule_AddObject() needs non-NULL value"); + return -1; + } + + dict = PyModule_GetDict(m); + if (dict == NULL) { + /* Internal error -- modules must have a dict! */ + PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", + PyModule_GetName(m)); + return -1; + } + if (PyDict_SetItemString(dict, name, o)) + return -1; + Py_DECREF(o); + return 0; } +#endif -#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList +SWIGRUNTIME void +SWIG_Python_SetModule(swig_module_info *swig_module) { + static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */ + + PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, + swig_empty_runtime_method_table); + PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL); + if (pointer && module) { + PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); + } +} #ifdef __cplusplus } @@ -1338,145 +1432,152 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxLayoutConstraints swig_types[0] -#define SWIGTYPE_p_wxRealPoint swig_types[1] -#define SWIGTYPE_p_wxSizerItem swig_types[2] -#define SWIGTYPE_p_wxGBSizerItem swig_types[3] -#define SWIGTYPE_p_wxScrollEvent swig_types[4] -#define SWIGTYPE_p_wxEventLoop swig_types[5] -#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6] -#define SWIGTYPE_p_wxSizer swig_types[7] -#define SWIGTYPE_p_wxBoxSizer swig_types[8] -#define SWIGTYPE_p_wxStaticBoxSizer swig_types[9] -#define SWIGTYPE_p_wxGridBagSizer swig_types[10] -#define SWIGTYPE_p_wxAcceleratorEntry swig_types[11] -#define SWIGTYPE_p_wxUpdateUIEvent swig_types[12] -#define SWIGTYPE_p_wxEvent swig_types[13] -#define SWIGTYPE_p_buffer swig_types[14] -#define SWIGTYPE_p_wxMenu swig_types[15] -#define SWIGTYPE_p_wxGridSizer swig_types[16] -#define SWIGTYPE_p_wxFlexGridSizer swig_types[17] -#define SWIGTYPE_p_wxInitDialogEvent swig_types[18] -#define SWIGTYPE_p_wxItemContainer swig_types[19] -#define SWIGTYPE_p_wxNcPaintEvent swig_types[20] -#define SWIGTYPE_p_wxPaintEvent swig_types[21] -#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[22] -#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[23] -#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[24] -#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[25] -#define SWIGTYPE_p_wxControl swig_types[26] -#define SWIGTYPE_p_wxFont swig_types[27] -#define SWIGTYPE_p_wxMenuBarBase swig_types[28] -#define SWIGTYPE_p_wxSetCursorEvent swig_types[29] -#define SWIGTYPE_p_wxFSFile swig_types[30] -#define SWIGTYPE_p_wxCaret swig_types[31] -#define SWIGTYPE_ptrdiff_t swig_types[32] -#define SWIGTYPE_std__ptrdiff_t swig_types[33] -#define SWIGTYPE_p_wxRegion swig_types[34] -#define SWIGTYPE_p_wxPoint2D swig_types[35] -#define SWIGTYPE_p_int swig_types[36] -#define SWIGTYPE_p_wxSize swig_types[37] -#define SWIGTYPE_p_wxDC swig_types[38] -#define SWIGTYPE_p_wxPySizer swig_types[39] -#define SWIGTYPE_p_wxVisualAttributes swig_types[40] -#define SWIGTYPE_p_wxNotifyEvent swig_types[41] -#define SWIGTYPE_p_wxPyEvent swig_types[42] -#define SWIGTYPE_p_wxPropagationDisabler swig_types[43] -#define SWIGTYPE_p_form_ops_t swig_types[44] -#define SWIGTYPE_p_wxAppTraits swig_types[45] -#define SWIGTYPE_p_wxArrayString swig_types[46] -#define SWIGTYPE_p_wxShowEvent swig_types[47] -#define SWIGTYPE_p_wxToolTip swig_types[48] -#define SWIGTYPE_p_wxMoveEvent swig_types[49] -#define SWIGTYPE_p_wxSizeEvent swig_types[50] -#define SWIGTYPE_p_wxActivateEvent swig_types[51] -#define SWIGTYPE_p_wxIconizeEvent swig_types[52] -#define SWIGTYPE_p_wxMaximizeEvent swig_types[53] -#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[54] -#define SWIGTYPE_p_wxWindowCreateEvent swig_types[55] -#define SWIGTYPE_p_wxIdleEvent swig_types[56] -#define SWIGTYPE_p_wxDateEvent swig_types[57] -#define SWIGTYPE_p_wxMenuItem swig_types[58] -#define SWIGTYPE_p_wxStaticBox swig_types[59] -#define SWIGTYPE_p_long swig_types[60] -#define SWIGTYPE_p_wxDuplexMode swig_types[61] -#define SWIGTYPE_p_wxTIFFHandler swig_types[62] -#define SWIGTYPE_p_wxXPMHandler swig_types[63] -#define SWIGTYPE_p_wxPNMHandler swig_types[64] -#define SWIGTYPE_p_wxJPEGHandler swig_types[65] -#define SWIGTYPE_p_wxPCXHandler swig_types[66] -#define SWIGTYPE_p_wxGIFHandler swig_types[67] -#define SWIGTYPE_p_wxPNGHandler swig_types[68] -#define SWIGTYPE_p_wxANIHandler swig_types[69] -#define SWIGTYPE_p_wxMemoryFSHandler swig_types[70] -#define SWIGTYPE_p_wxZipFSHandler swig_types[71] -#define SWIGTYPE_p_wxInternetFSHandler swig_types[72] -#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[73] -#define SWIGTYPE_p_wxEvtHandler swig_types[74] -#define SWIGTYPE_p_wxCURHandler swig_types[75] -#define SWIGTYPE_p_wxICOHandler swig_types[76] -#define SWIGTYPE_p_wxBMPHandler swig_types[77] -#define SWIGTYPE_p_wxImageHandler swig_types[78] -#define SWIGTYPE_p_wxFileSystemHandler swig_types[79] -#define SWIGTYPE_p_wxRect swig_types[80] -#define SWIGTYPE_p_wxButton swig_types[81] -#define SWIGTYPE_p_wxGBSpan swig_types[82] -#define SWIGTYPE_p_wxPropagateOnce swig_types[83] -#define SWIGTYPE_p_wxAcceleratorTable swig_types[84] -#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[85] -#define SWIGTYPE_p_char swig_types[86] -#define SWIGTYPE_p_wxGBPosition swig_types[87] -#define SWIGTYPE_p_wxImage swig_types[88] -#define SWIGTYPE_p_wxFrame swig_types[89] -#define SWIGTYPE_p_wxScrollWinEvent swig_types[90] -#define SWIGTYPE_p_wxPaperSize swig_types[91] -#define SWIGTYPE_p_wxImageHistogram swig_types[92] -#define SWIGTYPE_p_wxPoint swig_types[93] -#define SWIGTYPE_p_wxCursor swig_types[94] -#define SWIGTYPE_p_wxObject swig_types[95] -#define SWIGTYPE_p_wxInputStream swig_types[96] -#define SWIGTYPE_p_wxOutputStream swig_types[97] -#define SWIGTYPE_p_wxPyInputStream swig_types[98] -#define SWIGTYPE_p_wxDateTime swig_types[99] -#define SWIGTYPE_p_wxKeyEvent swig_types[100] -#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101] -#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[102] -#define SWIGTYPE_p_unsigned_long swig_types[103] -#define SWIGTYPE_p_wxWindow swig_types[104] -#define SWIGTYPE_p_wxMenuBar swig_types[105] -#define SWIGTYPE_p_wxFileSystem swig_types[106] -#define SWIGTYPE_p_wxBitmap swig_types[107] -#define SWIGTYPE_unsigned_int swig_types[108] -#define SWIGTYPE_p_unsigned_int swig_types[109] -#define SWIGTYPE_p_wxMenuEvent swig_types[110] -#define SWIGTYPE_p_wxContextMenuEvent swig_types[111] -#define SWIGTYPE_p_unsigned_char swig_types[112] -#define SWIGTYPE_p_wxEraseEvent swig_types[113] -#define SWIGTYPE_p_wxMouseEvent swig_types[114] -#define SWIGTYPE_p_wxCloseEvent swig_types[115] -#define SWIGTYPE_p_wxPyApp swig_types[116] -#define SWIGTYPE_p_wxCommandEvent swig_types[117] -#define SWIGTYPE_p_wxPyCommandEvent swig_types[118] -#define SWIGTYPE_p_wxPyDropTarget swig_types[119] -#define SWIGTYPE_p_wxQuantize swig_types[120] -#define SWIGTYPE_p_wxFocusEvent swig_types[121] -#define SWIGTYPE_p_wxChildFocusEvent swig_types[122] -#define SWIGTYPE_p_wxDropFilesEvent swig_types[123] -#define SWIGTYPE_p_wxControlWithItems swig_types[124] -#define SWIGTYPE_p_wxColour swig_types[125] -#define SWIGTYPE_p_wxValidator swig_types[126] -#define SWIGTYPE_p_wxPyValidator swig_types[127] -static swig_type_info *swig_types[129]; +#define SWIGTYPE_p_buffer swig_types[0] +#define SWIGTYPE_p_char swig_types[1] +#define SWIGTYPE_p_form_ops_t swig_types[2] +#define SWIGTYPE_p_int swig_types[3] +#define SWIGTYPE_p_long swig_types[4] +#define SWIGTYPE_p_unsigned_char swig_types[5] +#define SWIGTYPE_p_unsigned_int swig_types[6] +#define SWIGTYPE_p_unsigned_long swig_types[7] +#define SWIGTYPE_p_wxANIHandler swig_types[8] +#define SWIGTYPE_p_wxAcceleratorEntry swig_types[9] +#define SWIGTYPE_p_wxAcceleratorTable swig_types[10] +#define SWIGTYPE_p_wxActivateEvent swig_types[11] +#define SWIGTYPE_p_wxAppTraits swig_types[12] +#define SWIGTYPE_p_wxArrayString swig_types[13] +#define SWIGTYPE_p_wxBMPHandler swig_types[14] +#define SWIGTYPE_p_wxBitmap swig_types[15] +#define SWIGTYPE_p_wxBoxSizer swig_types[16] +#define SWIGTYPE_p_wxButton swig_types[17] +#define SWIGTYPE_p_wxCURHandler swig_types[18] +#define SWIGTYPE_p_wxCaret swig_types[19] +#define SWIGTYPE_p_wxChildFocusEvent swig_types[20] +#define SWIGTYPE_p_wxCloseEvent swig_types[21] +#define SWIGTYPE_p_wxColour swig_types[22] +#define SWIGTYPE_p_wxCommandEvent swig_types[23] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[24] +#define SWIGTYPE_p_wxControl swig_types[25] +#define SWIGTYPE_p_wxControlWithItems swig_types[26] +#define SWIGTYPE_p_wxCursor swig_types[27] +#define SWIGTYPE_p_wxDC swig_types[28] +#define SWIGTYPE_p_wxDateEvent swig_types[29] +#define SWIGTYPE_p_wxDateTime swig_types[30] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[32] +#define SWIGTYPE_p_wxDuplexMode swig_types[33] +#define SWIGTYPE_p_wxEraseEvent swig_types[34] +#define SWIGTYPE_p_wxEvent swig_types[35] +#define SWIGTYPE_p_wxEventLoop swig_types[36] +#define SWIGTYPE_p_wxEventLoopActivator swig_types[37] +#define SWIGTYPE_p_wxEvtHandler swig_types[38] +#define SWIGTYPE_p_wxFSFile swig_types[39] +#define SWIGTYPE_p_wxFileSystem swig_types[40] +#define SWIGTYPE_p_wxFileSystemHandler swig_types[41] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[42] +#define SWIGTYPE_p_wxFocusEvent swig_types[43] +#define SWIGTYPE_p_wxFont swig_types[44] +#define SWIGTYPE_p_wxFrame swig_types[45] +#define SWIGTYPE_p_wxGBPosition swig_types[46] +#define SWIGTYPE_p_wxGBSizerItem swig_types[47] +#define SWIGTYPE_p_wxGBSpan swig_types[48] +#define SWIGTYPE_p_wxGIFHandler swig_types[49] +#define SWIGTYPE_p_wxGridBagSizer swig_types[50] +#define SWIGTYPE_p_wxGridSizer swig_types[51] +#define SWIGTYPE_p_wxICOHandler swig_types[52] +#define SWIGTYPE_p_wxIconizeEvent swig_types[53] +#define SWIGTYPE_p_wxIdleEvent swig_types[54] +#define SWIGTYPE_p_wxImage swig_types[55] +#define SWIGTYPE_p_wxImageHandler swig_types[56] +#define SWIGTYPE_p_wxImageHistogram swig_types[57] +#define SWIGTYPE_p_wxImage_HSVValue swig_types[58] +#define SWIGTYPE_p_wxImage_RGBValue swig_types[59] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[61] +#define SWIGTYPE_p_wxInputStream swig_types[62] +#define SWIGTYPE_p_wxInternetFSHandler swig_types[63] +#define SWIGTYPE_p_wxItemContainer swig_types[64] +#define SWIGTYPE_p_wxJPEGHandler swig_types[65] +#define SWIGTYPE_p_wxKeyEvent swig_types[66] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[67] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[68] +#define SWIGTYPE_p_wxMemoryFSHandler swig_types[69] +#define SWIGTYPE_p_wxMenu swig_types[70] +#define SWIGTYPE_p_wxMenuBar swig_types[71] +#define SWIGTYPE_p_wxMenuBarBase swig_types[72] +#define SWIGTYPE_p_wxMenuEvent swig_types[73] +#define SWIGTYPE_p_wxMenuItem swig_types[74] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[75] +#define SWIGTYPE_p_wxMouseEvent swig_types[76] +#define SWIGTYPE_p_wxMoveEvent swig_types[77] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[78] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[79] +#define SWIGTYPE_p_wxNotifyEvent swig_types[80] +#define SWIGTYPE_p_wxObject swig_types[81] +#define SWIGTYPE_p_wxOutputStream swig_types[82] +#define SWIGTYPE_p_wxPCXHandler swig_types[83] +#define SWIGTYPE_p_wxPNGHandler swig_types[84] +#define SWIGTYPE_p_wxPNMHandler swig_types[85] +#define SWIGTYPE_p_wxPaintEvent swig_types[86] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87] +#define SWIGTYPE_p_wxPaperSize swig_types[88] +#define SWIGTYPE_p_wxPoint swig_types[89] +#define SWIGTYPE_p_wxPoint2D swig_types[90] +#define SWIGTYPE_p_wxPropagateOnce swig_types[91] +#define SWIGTYPE_p_wxPropagationDisabler swig_types[92] +#define SWIGTYPE_p_wxPyApp swig_types[93] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[94] +#define SWIGTYPE_p_wxPyDropTarget swig_types[95] +#define SWIGTYPE_p_wxPyEvent swig_types[96] +#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[97] +#define SWIGTYPE_p_wxPyImageHandler swig_types[98] +#define SWIGTYPE_p_wxPyInputStream swig_types[99] +#define SWIGTYPE_p_wxPySizer swig_types[100] +#define SWIGTYPE_p_wxPyValidator swig_types[101] +#define SWIGTYPE_p_wxQuantize swig_types[102] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[103] +#define SWIGTYPE_p_wxRealPoint swig_types[104] +#define SWIGTYPE_p_wxRect swig_types[105] +#define SWIGTYPE_p_wxRegion swig_types[106] +#define SWIGTYPE_p_wxScrollEvent swig_types[107] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[108] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[109] +#define SWIGTYPE_p_wxShowEvent swig_types[110] +#define SWIGTYPE_p_wxSize swig_types[111] +#define SWIGTYPE_p_wxSizeEvent swig_types[112] +#define SWIGTYPE_p_wxSizer swig_types[113] +#define SWIGTYPE_p_wxSizerItem swig_types[114] +#define SWIGTYPE_p_wxStaticBox swig_types[115] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[116] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[117] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[118] +#define SWIGTYPE_p_wxTIFFHandler swig_types[119] +#define SWIGTYPE_p_wxToolTip swig_types[120] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[121] +#define SWIGTYPE_p_wxValidator swig_types[122] +#define SWIGTYPE_p_wxVisualAttributes swig_types[123] +#define SWIGTYPE_p_wxWindow swig_types[124] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[125] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[126] +#define SWIGTYPE_p_wxXPMHandler swig_types[127] +#define SWIGTYPE_p_wxZipFSHandler swig_types[128] +#define SWIGTYPE_ptrdiff_t swig_types[129] +#define SWIGTYPE_std__ptrdiff_t swig_types[130] +#define SWIGTYPE_unsigned_int swig_types[131] +static swig_type_info *swig_types[133]; +static swig_module_info swig_module = {swig_types, 132, 0, 0, 0, 0}; +#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) +#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) /* -------- TYPES TABLE (END) -------- */ /*----------------------------------------------- - @(target):= __core.so + @(target):= _core_.so ------------------------------------------------*/ -#define SWIG_init init__core +#define SWIG_init init_core_ -#define SWIG_name "__core" +#define SWIG_name "_core_" #include "wx/wxPython/wxPython_int.h" #include "wx/wxPython/pyclasses.h" @@ -1488,7 +1589,7 @@ static swig_type_info *swig_types[129]; // in the wrapper code. #include -WX_DECLARE_STRING_HASH_MAP( swig_type_info*, wxPyTypeInfoHashMap ); + WX_DECLARE_STRING_HASH_MAP( swig_type_info*, wxPyTypeInfoHashMap ); // Maintains a hashmap of className to swig_type_info pointers. Given the @@ -1573,8 +1674,9 @@ PyObject* wxPyMakeSwigPtr(void* ptr, const wxChar* className) { PyObject* robj = NULL; swig_type_info* swigType = wxPyFindSwigType(className); - wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConvertSwigPtr")); + wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyMakeSwigPtr")); +#if SWIG_VERSION < 0x010328 #ifdef SWIG_COBJECT_TYPES robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)swigType->name); #else @@ -1584,11 +1686,40 @@ PyObject* wxPyMakeSwigPtr(void* ptr, const wxChar* className) { PyString_FromString(result) : 0; } #endif - +#else // SWIG_VERSION >= 1.3.28 + robj = PySwigObject_New(ptr, swigType, 0); +#endif return robj; } +// Python's PyInstance_Check does not return True for instances of new-style +// classes. This should get close enough for both new and old classes but I +// should re-evaluate the need for doing instance checks... +bool wxPyInstance_Check(PyObject* obj) { + return PyObject_HasAttrString(obj, "__class__") != 0; +} + + + +// This one checks if the object is an instance of a SWIG proxy class (it has +// a .this attribute, and the .this attribute is a PySwigObject.) +bool wxPySwigInstance_Check(PyObject* obj) { + static PyObject* this_str = NULL; + if (this_str == NULL) + this_str = PyString_FromString("this"); + + PyObject* this_attr = PyObject_GetAttr(obj, this_str); + if (this_attr) { + bool retval = (PySwigObject_Check(this_attr) != 0); + Py_DECREF(this_attr); + return retval; + } + + PyErr_Clear(); + return false; +} + // Export a C API in a struct. Other modules will be able to load this from @@ -1667,23 +1798,10 @@ static wxPyCoreAPI API = { #endif - /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ + /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_int PyInt_FromLong /*@@*/ - -#if ! wxUSE_HOTKEY -enum wxHotkeyModifier -{ - wxMOD_NONE = 0, - wxMOD_ALT = 1, - wxMOD_CONTROL = 2, - wxMOD_SHIFT = 4, - wxMOD_WIN = 8 -}; -#define wxEVT_HOTKEY 9999 -#endif - static const wxString wxPyEmptyString(wxEmptyString); static wxString wxObject_GetClassName(wxObject *self){ return self->GetClassInfo()->GetClassName(); @@ -1731,7 +1849,7 @@ SWIG_AsVal_long(PyObject* obj, long* val) return 1; } else { - SWIG_type_error("number", obj); + SWIG_Python_TypeError("number", obj); } return 0; } @@ -1745,7 +1863,7 @@ SWIGINTERN int long v; if (SWIG_AsVal_long(obj, &v)) { if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) { - if (val) *val = (int)(v); + if (val) *val = static_cast(v); return 1; } else { return 0; @@ -1759,7 +1877,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1767,7 +1885,7 @@ SWIGINTERNSHORT int #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1781,7 +1899,7 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_int(PyObject* obj) { return SWIG_AsVal_int(obj, (int*)0); @@ -1804,13 +1922,13 @@ SWIG_AsVal_double(PyObject *obj, double* val) return 1; } else { - SWIG_type_error("number", obj); + SWIG_Python_TypeError("number", obj); } return 0; } -SWIGINTERNSHORT double +SWIGINTERNINLINE double SWIG_As_double(PyObject* obj) { double v; @@ -1824,14 +1942,14 @@ SWIG_As_double(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_double(PyObject* obj) { return SWIG_AsVal_double(obj, (double*)0); } - /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ + /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_double PyFloat_FromDouble /*@@*/ @@ -1848,7 +1966,7 @@ static PyObject *wxRealPoint_Get(wxRealPoint *self){ return tup; } -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1862,7 +1980,7 @@ SWIG_As_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_long(PyObject* obj) { return SWIG_AsVal_long(obj, (long*)0); @@ -1918,31 +2036,30 @@ static PyObject *wxRect_Get(wxRect *self){ } - static PyObject* t_output_helper(PyObject* target, PyObject* o) { - PyObject* o2; - PyObject* o3; - - if (!target) { - target = o; - } else if (target == Py_None) { - Py_DECREF(Py_None); - target = o; - } else { - if (!PyTuple_Check(target)) { - o2 = target; - target = PyTuple_New(1); - PyTuple_SetItem(target, 0, o2); - } - o3 = PyTuple_New(1); - PyTuple_SetItem(o3, 0, o); - - o2 = target; - target = PySequence_Concat(o2, o3); - Py_DECREF(o2); - Py_DECREF(o3); - } - return target; - } + static PyObject* t_output_helper(PyObject* result, PyObject* obj) + { + PyObject* o2; + PyObject* o3; + if (!result) { + result = obj; + } else if (result == Py_None) { + Py_DECREF(result); + result = obj; + } else { + if (!PyTuple_Check(result)) { + o2 = result; + result = PyTuple_New(1); + PyTuple_SET_ITEM(result, 0, o2); + } + o3 = PyTuple_New(1); + PyTuple_SetItem(o3, 0, obj); + o2 = result; + result = PySequence_Concat(o2, o3); + Py_DECREF(o2); + Py_DECREF(o3); + } + return result; + } static void wxPoint2D_Set(wxPoint2D *self,double x=0,double y=0){ @@ -1968,19 +2085,19 @@ static wxPyInputStream *new_wxPyInputStream(PyObject *p){ return NULL; } -SWIGINTERNSHORT PyObject* +SWIGINTERNINLINE PyObject* SWIG_From_char(char c) { return PyString_FromStringAndSize(&c,1); } -SWIGINTERNSHORT PyObject* +SWIGINTERNINLINE PyObject* SWIG_From_unsigned_SS_long(unsigned long value) { return (value > LONG_MAX) ? PyLong_FromUnsignedLong(value) - : PyInt_FromLong((long)(value)); + : PyInt_FromLong(static_cast(value)); } @@ -2050,7 +2167,7 @@ SWIGINTERN int long v; if (SWIG_AsVal_long(obj, &v)) { if (SWIG_CheckLongInRange(v, CHAR_MIN,CHAR_MAX, errmsg)) { - if (val) *val = (char)(v); + if (val) *val = static_cast(v); return 1; } else { return 0; @@ -2062,7 +2179,7 @@ SWIGINTERN int } -SWIGINTERNSHORT char +SWIGINTERNINLINE char SWIG_As_char(PyObject* obj) { char v; @@ -2076,14 +2193,14 @@ SWIG_As_char(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_char(PyObject* obj) { return SWIG_AsVal_char(obj, (char*)0); } - /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ + /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_long PyInt_FromLong /*@@*/ @@ -2167,7 +2284,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -2181,7 +2298,7 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); @@ -2229,7 +2346,7 @@ SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val) { long v = 0; if (SWIG_AsVal_long(obj, &v) && v < 0) { - SWIG_type_error("unsigned number", obj); + SWIG_Python_TypeError("unsigned number", obj); } else if (val) *val = (unsigned long)v; @@ -2237,7 +2354,7 @@ SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_CheckUnsignedLongInRange(unsigned long value, unsigned long max_value, const char *errmsg) @@ -2261,7 +2378,7 @@ SWIGINTERN int unsigned long v; if (SWIG_AsVal_unsigned_SS_long(obj, &v)) { if (SWIG_CheckUnsignedLongInRange(v, UCHAR_MAX,errmsg)) { - if (val) *val = (unsigned char)(v); + if (val) *val = static_cast(v); return 1; } else { return 0; @@ -2276,7 +2393,7 @@ SWIGINTERN int } -SWIGINTERNSHORT unsigned char +SWIGINTERNINLINE unsigned char SWIG_As_unsigned_SS_char(PyObject* obj) { unsigned char v; @@ -2290,20 +2407,20 @@ SWIG_As_unsigned_SS_char(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_unsigned_SS_char(PyObject* obj) { return SWIG_AsVal_unsigned_SS_char(obj, (unsigned char*)0); } - /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ + /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_unsigned_SS_char PyInt_FromLong /*@@*/ -SWIGINTERNSHORT unsigned long +SWIGINTERNINLINE unsigned long SWIG_As_unsigned_SS_long(PyObject* obj) { unsigned long v; @@ -2317,7 +2434,7 @@ SWIG_As_unsigned_SS_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_unsigned_SS_long(PyObject* obj) { return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0); @@ -2327,7 +2444,7 @@ static unsigned long wxImageHistogram_GetCount(wxImageHistogram *self,unsigned l wxImageHistogramEntry e = (*self)[key]; return e.value; } -static unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram *self,unsigned char r,unsigned char g,unsigned char b){ +static unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram *self,byte r,byte g,byte b){ unsigned long key = wxImageHistogram::MakeKey(r, g, b); wxImageHistogramEntry e = (*self)[key]; return e.value; @@ -2342,6 +2459,11 @@ static unsigned long wxImageHistogram_GetCountColour(wxImageHistogram *self,wxCo typedef unsigned char* buffer; + +// Pull the nested class out to the top level for SWIG's sake +#define wxImage_RGBValue wxImage::RGBValue +#define wxImage_HSVValue wxImage::HSVValue + static wxImage *new_wxImage(int width=0,int height=0,bool clear=true){ if (width > 0 && height > 0) return new wxImage(width, height, clear); @@ -2475,7 +2597,7 @@ static wxBitmap wxImage_ConvertToBitmap(wxImage *self,int depth=-1){ wxBitmap bitmap(*self, depth); return bitmap; } -static wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,unsigned char red,unsigned char green,unsigned char blue){ +static wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,byte red,byte green,byte blue){ wxImage mono = self->ConvertToMono( red, green, blue ); wxBitmap bitmap( mono, 1 ); return bitmap; @@ -2538,6 +2660,11 @@ static void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject *_self,bool inc } } +#if ! wxUSE_HOTKEY +#define wxEVT_HOTKEY -9999 +#endif + + static int wxKeyEvent_GetUnicodeKey(wxKeyEvent *self){ #if wxUSE_UNICODE return self->GetUnicodeKey(); @@ -2547,11 +2674,11 @@ static int wxKeyEvent_GetUnicodeKey(wxKeyEvent *self){ } #if UINT_MAX < LONG_MAX -/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ +/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_unsigned_SS_int SWIG_From_long /*@@*/ #else -/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ +/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long /*@@*/ #endif @@ -2565,7 +2692,7 @@ SWIGINTERN int unsigned long v; if (SWIG_AsVal_unsigned_SS_long(obj, &v)) { if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) { - if (val) *val = (unsigned int)(v); + if (val) *val = static_cast(v); return 1; } } else { @@ -2577,7 +2704,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT unsigned int +SWIGINTERNINLINE unsigned int SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val) { return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val); @@ -2585,7 +2712,7 @@ SWIGINTERNSHORT unsigned int #endif -SWIGINTERNSHORT unsigned int +SWIGINTERNINLINE unsigned int SWIG_As_unsigned_SS_int(PyObject* obj) { unsigned int v; @@ -2599,7 +2726,7 @@ SWIG_As_unsigned_SS_int(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_unsigned_SS_int(PyObject* obj) { return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0); @@ -2611,16 +2738,19 @@ static void wxSizeEvent_SetSize(wxSizeEvent *self,wxSize size){ static PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){ int count = self->GetNumberOfFiles(); wxString* files = self->GetFiles(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); PyObject* list = PyList_New(count); if (!list) { PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!"); + wxPyEndBlockThreads(blocked); return NULL; } for (int i=0; i INT_MAX) { - return SWIG_NewPointerObj((char*)(cptr), + return SWIG_NewPointerObj(const_cast(cptr), SWIG_TypeQuery("char *"), 0); } else { if (size != 0) { @@ -2674,7 +2804,7 @@ SWIG_FromCharPtr(const char* cptr) } -#ifdef __WXMAC__ +#if 0 // #ifdef __WXMAC__ // A dummy class that raises an exception if used... class wxEventLoop @@ -2725,6 +2855,7 @@ static long wxWindow_GetHandle(wxWindow *self){ static void wxWindow_AssociateHandle(wxWindow *self,long handle){ self->AssociateHandle((WXWidget)handle); } +static void wxWindow_DragAcceptFiles(wxWindow *self,bool accept){} wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) { return wxWindow::FindWindowById(id, parent); @@ -2751,7 +2882,8 @@ wxWindow* wxFindWindowByLabel( const wxString& label, WXHWND hWnd = (WXHWND)_hWnd; long id = wxGetWindowId(hWnd); wxWindow* win = new wxWindow; - parent->AddChild(win); + if (parent) + parent->AddChild(win); win->SetEventHandler(win); win->SetHWND(hWnd); win->SetId(id); @@ -2766,6 +2898,11 @@ wxWindow* wxFindWindowByLabel( const wxString& label, } + PyObject* GetTopLevelWindows() { + return wxPy_ConvertList(&wxTopLevelWindows); + } + + IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate); IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow); IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow); @@ -2783,7 +2920,7 @@ static void wxMenuItem_SetTextColour(wxMenuItem *self,wxColour const &colText){} static wxColour wxMenuItem_GetTextColour(wxMenuItem *self){ return wxNullColour; } static void wxMenuItem_SetBackgroundColour(wxMenuItem *self,wxColour const &colBack){} static wxColour wxMenuItem_GetBackgroundColour(wxMenuItem *self){ return wxNullColour; } -static void wxMenuItem_SetBitmaps(wxMenuItem *self,wxBitmap const &bmpChecked,wxBitmap const &bmpUnchecked=wxNullBitmap){} +static void wxMenuItem_SetBitmaps(wxMenuItem *self,wxBitmap const &bmpChecked,wxBitmap const &bmpUnchecked=wxNullBitmap){ self->SetBitmap( bmpChecked ); } static void wxMenuItem_SetDisabledBitmap(wxMenuItem *self,wxBitmap const &bmpDisabled){} static wxBitmap const &wxMenuItem_GetDisabledBitmap(wxMenuItem const *self){ return wxNullBitmap; } static void wxMenuItem_SetMarginWidth(wxMenuItem *self,int nWidth){} @@ -2882,7 +3019,7 @@ SWIGINTERN int double v; if (SWIG_AsVal_double(obj, &v)) { if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) { - if (val) *val = (float)(v); + if (val) *val = static_cast(v); return 1; } else { return 0; @@ -2897,7 +3034,7 @@ SWIGINTERN int } -SWIGINTERNSHORT float +SWIGINTERNINLINE float SWIG_As_float(PyObject* obj) { float v; @@ -2911,14 +3048,14 @@ SWIG_As_float(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_float(PyObject* obj) { return SWIG_AsVal_float(obj, (float*)0); } - /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ + /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_float PyFloat_FromDouble /*@@*/ @@ -2932,6 +3069,15 @@ static PyObject *wxSizerItem_GetUserData(wxSizerItem *self){ return Py_None; } } +static void wxSizerItem_SetUserData(wxSizerItem *self,PyObject *userData){ + wxPyUserData* data = NULL; + if ( userData ) { + wxPyBlock_t blocked = wxPyBeginBlockThreads(); + data = new wxPyUserData(userData); + wxPyEndBlockThreads(blocked); + } + self->SetUserData(data); + } // Figure out the type of the sizer item @@ -2983,14 +3129,14 @@ static wxPySizerItemInfo wxPySizerItemTypeHelper(PyObject* item, bool checkSize, if ( !(info.window || info.sizer || (checkSize && info.gotSize) || (checkIdx && info.gotPos)) ) { // no expected type, figure out what kind of error message to generate if ( !checkSize && !checkIdx ) - PyErr_SetString(PyExc_TypeError, "wxWindow or wxSizer expected for item"); + PyErr_SetString(PyExc_TypeError, "wx.Window or wx.Sizer expected for item"); else if ( checkSize && !checkIdx ) - PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) expected for item"); + PyErr_SetString(PyExc_TypeError, "wx.Window, wx.Sizer, wx.Size, or (w,h) expected for item"); else if ( !checkSize && checkIdx) - PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer or int (position) expected for item"); + PyErr_SetString(PyExc_TypeError, "wx.Window, wx.Sizer or int (position) expected for item"); else // can this one happen? - PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item"); + PyErr_SetString(PyExc_TypeError, "wx.Window, wx.Sizer, wx.Size, or (w,h) or int (position) expected for item"); } return info; @@ -3007,6 +3153,8 @@ static wxSizerItem *wxSizer_Add(wxSizer *self,PyObject *item,int proportion=0,in wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false); if ( userData && (info.window || info.sizer || info.gotSize) ) data = new wxPyUserData(userData); + if ( info.sizer ) + PyObject_SetAttrString(item,"thisown",Py_False); wxPyEndBlockThreads(blocked); // Now call the real Add method if a valid item type was found @@ -3027,6 +3175,8 @@ static wxSizerItem *wxSizer_Insert(wxSizer *self,int before,PyObject *item,int p wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false); if ( userData && (info.window || info.sizer || info.gotSize) ) data = new wxPyUserData(userData); + if ( info.sizer ) + PyObject_SetAttrString(item,"thisown",Py_False); wxPyEndBlockThreads(blocked); // Now call the real Insert method if a valid item type was found @@ -3047,6 +3197,8 @@ static wxSizerItem *wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion= wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false); if ( userData && (info.window || info.sizer || info.gotSize) ) data = new wxPyUserData(userData); + if ( info.sizer ) + PyObject_SetAttrString(item,"thisown",Py_False); wxPyEndBlockThreads(blocked); // Now call the real Prepend method if a valid item type was found @@ -3231,6 +3383,8 @@ static wxGBSizerItem *wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxG wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, true, false); if ( userData && (info.window || info.sizer || info.gotSize) ) data = new wxPyUserData(userData); + if ( info.sizer ) + PyObject_SetAttrString(item,"thisown",Py_False); wxPyEndBlockThreads(blocked); // Now call the real Add method if a valid item type was found @@ -3255,7 +3409,7 @@ static int _wrap_EmptyString_set(PyObject *) { static PyObject *_wrap_EmptyString_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -3268,8 +3422,8 @@ static PyObject *_wrap_EmptyString_get(void) { } -static PyObject *_wrap_wxObject_GetClassName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Object_GetClassName(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxObject *arg1 = (wxObject *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -3277,7 +3431,7 @@ static PyObject *_wrap_wxObject_GetClassName(PyObject *, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxObject_GetClassName",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_GetClassName",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -3300,15 +3454,15 @@ static PyObject *_wrap_wxObject_GetClassName(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxObject_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Object_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxObject *arg1 = (wxObject *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxObject_Destroy",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_Destroy",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -3325,15 +3479,15 @@ static PyObject *_wrap_wxObject_Destroy(PyObject *, PyObject *args, PyObject *kw } -static PyObject * wxObject_swigregister(PyObject *, PyObject *args) { +static PyObject * Object_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxObject, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_wxSize_width_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Size_width_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3342,11 +3496,11 @@ static PyObject *_wrap_wxSize_width_set(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "x", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSize_width_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_width_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->x = arg2; @@ -3358,8 +3512,8 @@ static PyObject *_wrap_wxSize_width_set(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxSize_width_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Size_width_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3367,13 +3521,13 @@ static PyObject *_wrap_wxSize_width_get(PyObject *, PyObject *args, PyObject *kw (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSize_width_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_width_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (int) ((arg1)->x); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3381,8 +3535,8 @@ static PyObject *_wrap_wxSize_width_get(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxSize_height_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Size_height_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3391,11 +3545,11 @@ static PyObject *_wrap_wxSize_height_set(PyObject *, PyObject *args, PyObject *k (char *) "self",(char *) "y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSize_height_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_height_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->y = arg2; @@ -3407,8 +3561,8 @@ static PyObject *_wrap_wxSize_height_set(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxSize_height_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Size_height_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3416,13 +3570,13 @@ static PyObject *_wrap_wxSize_height_get(PyObject *, PyObject *args, PyObject *k (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSize_height_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_height_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (int) ((arg1)->y); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3430,8 +3584,8 @@ static PyObject *_wrap_wxSize_height_get(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_new_wxSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_Size(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; wxSize *result; @@ -3441,16 +3595,16 @@ static PyObject *_wrap_new_wxSize(PyObject *, PyObject *args, PyObject *kwargs) (char *) "w",(char *) "h", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_wxSize",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Size",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -3468,15 +3622,15 @@ static PyObject *_wrap_new_wxSize(PyObject *, PyObject *args, PyObject *kwargs) } -static PyObject *_wrap_delete_wxSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_delete_Size(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_wxSize",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Size",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -3493,8 +3647,8 @@ static PyObject *_wrap_delete_wxSize(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxSize___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Size___eq__(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; wxSize *arg2 = 0 ; bool result; @@ -3505,7 +3659,7 @@ static PyObject *_wrap_wxSize___eq__(PyObject *, PyObject *args, PyObject *kwarg (char *) "self",(char *) "sz", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSize___eq__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___eq__",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -3528,8 +3682,8 @@ static PyObject *_wrap_wxSize___eq__(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxSize___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Size___ne__(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; wxSize *arg2 = 0 ; bool result; @@ -3540,7 +3694,7 @@ static PyObject *_wrap_wxSize___ne__(PyObject *, PyObject *args, PyObject *kwarg (char *) "self",(char *) "sz", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSize___ne__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___ne__",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -3563,8 +3717,8 @@ static PyObject *_wrap_wxSize___ne__(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxSize___add__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Size___add__(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; wxSize *arg2 = 0 ; wxSize result; @@ -3575,7 +3729,7 @@ static PyObject *_wrap_wxSize___add__(PyObject *, PyObject *args, PyObject *kwar (char *) "self",(char *) "sz", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSize___add__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___add__",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -3591,7 +3745,7 @@ static PyObject *_wrap_wxSize___add__(PyObject *, PyObject *args, PyObject *kwar } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -3600,8 +3754,8 @@ static PyObject *_wrap_wxSize___add__(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxSize___sub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Size___sub__(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; wxSize *arg2 = 0 ; wxSize result; @@ -3612,7 +3766,7 @@ static PyObject *_wrap_wxSize___sub__(PyObject *, PyObject *args, PyObject *kwar (char *) "self",(char *) "sz", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSize___sub__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___sub__",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -3628,7 +3782,7 @@ static PyObject *_wrap_wxSize___sub__(PyObject *, PyObject *args, PyObject *kwar } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -3637,8 +3791,8 @@ static PyObject *_wrap_wxSize___sub__(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxSize_IncTo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Size_IncTo(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -3648,7 +3802,7 @@ static PyObject *_wrap_wxSize_IncTo(PyObject *, PyObject *args, PyObject *kwargs (char *) "self",(char *) "sz", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSize_IncTo",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_IncTo",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -3669,8 +3823,8 @@ static PyObject *_wrap_wxSize_IncTo(PyObject *, PyObject *args, PyObject *kwargs } -static PyObject *_wrap_wxSize_DecTo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Size_DecTo(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -3680,7 +3834,7 @@ static PyObject *_wrap_wxSize_DecTo(PyObject *, PyObject *args, PyObject *kwargs (char *) "self",(char *) "sz", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSize_DecTo",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_DecTo",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -3701,8 +3855,8 @@ static PyObject *_wrap_wxSize_DecTo(PyObject *, PyObject *args, PyObject *kwargs } -static PyObject *_wrap_wxSize_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Size_Set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int arg2 ; int arg3 ; @@ -3713,15 +3867,15 @@ static PyObject *_wrap_wxSize_Set(PyObject *, PyObject *args, PyObject *kwargs) (char *) "self",(char *) "w",(char *) "h", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxSize_Set",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Size_Set",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -3738,8 +3892,8 @@ static PyObject *_wrap_wxSize_Set(PyObject *, PyObject *args, PyObject *kwargs) } -static PyObject *_wrap_wxSize_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Size_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3748,11 +3902,11 @@ static PyObject *_wrap_wxSize_SetWidth(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "w", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSize_SetWidth",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetWidth",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3769,8 +3923,8 @@ static PyObject *_wrap_wxSize_SetWidth(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxSize_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Size_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3779,11 +3933,11 @@ static PyObject *_wrap_wxSize_SetHeight(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "h", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSize_SetHeight",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetHeight",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3800,8 +3954,8 @@ static PyObject *_wrap_wxSize_SetHeight(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxSize_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Size_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3809,7 +3963,7 @@ static PyObject *_wrap_wxSize_GetWidth(PyObject *, PyObject *args, PyObject *kwa (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSize_GetWidth",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetWidth",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -3820,7 +3974,7 @@ static PyObject *_wrap_wxSize_GetWidth(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3828,8 +3982,8 @@ static PyObject *_wrap_wxSize_GetWidth(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxSize_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Size_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3837,7 +3991,7 @@ static PyObject *_wrap_wxSize_GetHeight(PyObject *, PyObject *args, PyObject *kw (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSize_GetHeight",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetHeight",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -3848,7 +4002,7 @@ static PyObject *_wrap_wxSize_GetHeight(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3856,8 +4010,8 @@ static PyObject *_wrap_wxSize_GetHeight(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxSize_IsFullySpecified(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Size_IsFullySpecified(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3865,7 +4019,7 @@ static PyObject *_wrap_wxSize_IsFullySpecified(PyObject *, PyObject *args, PyObj (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSize_IsFullySpecified",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_IsFullySpecified",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -3884,8 +4038,8 @@ static PyObject *_wrap_wxSize_IsFullySpecified(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxSize_SetDefaults(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Size_SetDefaults(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -3895,7 +4049,7 @@ static PyObject *_wrap_wxSize_SetDefaults(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "size", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSize_SetDefaults",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetDefaults",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -3916,8 +4070,8 @@ static PyObject *_wrap_wxSize_SetDefaults(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxSize_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Size_Get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -3925,7 +4079,7 @@ static PyObject *_wrap_wxSize_Get(PyObject *, PyObject *args, PyObject *kwargs) (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSize_Get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_Get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -3942,15 +4096,15 @@ static PyObject *_wrap_wxSize_Get(PyObject *, PyObject *args, PyObject *kwargs) } -static PyObject * wxSize_swigregister(PyObject *, PyObject *args) { +static PyObject * Size_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxSize, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_wxRealPoint_x_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_RealPoint_x_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -3959,11 +4113,11 @@ static PyObject *_wrap_wxRealPoint_x_set(PyObject *, PyObject *args, PyObject *k (char *) "self",(char *) "x", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxRealPoint_x_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_x_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->x = arg2; @@ -3975,8 +4129,8 @@ static PyObject *_wrap_wxRealPoint_x_set(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxRealPoint_x_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_RealPoint_x_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; double result; PyObject * obj0 = 0 ; @@ -3984,13 +4138,13 @@ static PyObject *_wrap_wxRealPoint_x_get(PyObject *, PyObject *args, PyObject *k (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxRealPoint_x_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_x_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (double) ((arg1)->x); { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -3998,8 +4152,8 @@ static PyObject *_wrap_wxRealPoint_x_get(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxRealPoint_y_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_RealPoint_y_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -4008,11 +4162,11 @@ static PyObject *_wrap_wxRealPoint_y_set(PyObject *, PyObject *args, PyObject *k (char *) "self",(char *) "y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxRealPoint_y_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_y_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->y = arg2; @@ -4024,8 +4178,8 @@ static PyObject *_wrap_wxRealPoint_y_set(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxRealPoint_y_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_RealPoint_y_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; double result; PyObject * obj0 = 0 ; @@ -4033,13 +4187,13 @@ static PyObject *_wrap_wxRealPoint_y_get(PyObject *, PyObject *args, PyObject *k (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxRealPoint_y_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_y_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (double) ((arg1)->y); { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -4047,8 +4201,8 @@ static PyObject *_wrap_wxRealPoint_y_get(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_new_wxRealPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_RealPoint(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; double arg1 = (double) 0.0 ; double arg2 = (double) 0.0 ; wxRealPoint *result; @@ -4058,16 +4212,16 @@ static PyObject *_wrap_new_wxRealPoint(PyObject *, PyObject *args, PyObject *kwa (char *) "x",(char *) "y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_wxRealPoint",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RealPoint",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (double)(SWIG_As_double(obj0)); + arg1 = static_cast(SWIG_As_double(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -4085,15 +4239,15 @@ static PyObject *_wrap_new_wxRealPoint(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_delete_wxRealPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_delete_RealPoint(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_wxRealPoint",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RealPoint",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -4110,8 +4264,8 @@ static PyObject *_wrap_delete_wxRealPoint(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxRealPoint___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_RealPoint___eq__(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; wxRealPoint *arg2 = 0 ; bool result; @@ -4122,7 +4276,7 @@ static PyObject *_wrap_wxRealPoint___eq__(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxRealPoint___eq__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -4145,8 +4299,8 @@ static PyObject *_wrap_wxRealPoint___eq__(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxRealPoint___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_RealPoint___ne__(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; wxRealPoint *arg2 = 0 ; bool result; @@ -4157,7 +4311,7 @@ static PyObject *_wrap_wxRealPoint___ne__(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxRealPoint___ne__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -4180,8 +4334,8 @@ static PyObject *_wrap_wxRealPoint___ne__(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxRealPoint___add__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_RealPoint___add__(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; wxRealPoint *arg2 = 0 ; wxRealPoint result; @@ -4192,7 +4346,7 @@ static PyObject *_wrap_wxRealPoint___add__(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxRealPoint___add__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -4208,7 +4362,7 @@ static PyObject *_wrap_wxRealPoint___add__(PyObject *, PyObject *args, PyObject } { wxRealPoint * resultptr; - resultptr = new wxRealPoint((wxRealPoint &)(result)); + resultptr = new wxRealPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1); } return resultobj; @@ -4217,8 +4371,8 @@ static PyObject *_wrap_wxRealPoint___add__(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxRealPoint___sub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_RealPoint___sub__(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; wxRealPoint *arg2 = 0 ; wxRealPoint result; @@ -4229,7 +4383,7 @@ static PyObject *_wrap_wxRealPoint___sub__(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxRealPoint___sub__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -4245,7 +4399,7 @@ static PyObject *_wrap_wxRealPoint___sub__(PyObject *, PyObject *args, PyObject } { wxRealPoint * resultptr; - resultptr = new wxRealPoint((wxRealPoint &)(result)); + resultptr = new wxRealPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1); } return resultobj; @@ -4254,8 +4408,8 @@ static PyObject *_wrap_wxRealPoint___sub__(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxRealPoint_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_RealPoint_Set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; double arg2 ; double arg3 ; @@ -4266,15 +4420,15 @@ static PyObject *_wrap_wxRealPoint_Set(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "x",(char *) "y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxRealPoint_Set",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RealPoint_Set",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (double)(SWIG_As_double(obj2)); + arg3 = static_cast(SWIG_As_double(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -4291,8 +4445,8 @@ static PyObject *_wrap_wxRealPoint_Set(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxRealPoint_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_RealPoint_Get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -4300,7 +4454,7 @@ static PyObject *_wrap_wxRealPoint_Get(PyObject *, PyObject *args, PyObject *kwa (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxRealPoint_Get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_Get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRealPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -4317,15 +4471,15 @@ static PyObject *_wrap_wxRealPoint_Get(PyObject *, PyObject *args, PyObject *kwa } -static PyObject * wxRealPoint_swigregister(PyObject *, PyObject *args) { +static PyObject * RealPoint_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_wxPoint_x_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point_x_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -4334,11 +4488,11 @@ static PyObject *_wrap_wxPoint_x_set(PyObject *, PyObject *args, PyObject *kwarg (char *) "self",(char *) "x", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPoint_x_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_x_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->x = arg2; @@ -4350,8 +4504,8 @@ static PyObject *_wrap_wxPoint_x_set(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxPoint_x_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point_x_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; int result; PyObject * obj0 = 0 ; @@ -4359,13 +4513,13 @@ static PyObject *_wrap_wxPoint_x_get(PyObject *, PyObject *args, PyObject *kwarg (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPoint_x_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_x_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (int) ((arg1)->x); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -4373,8 +4527,8 @@ static PyObject *_wrap_wxPoint_x_get(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxPoint_y_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point_y_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -4383,11 +4537,11 @@ static PyObject *_wrap_wxPoint_y_set(PyObject *, PyObject *args, PyObject *kwarg (char *) "self",(char *) "y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPoint_y_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_y_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->y = arg2; @@ -4399,8 +4553,8 @@ static PyObject *_wrap_wxPoint_y_set(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxPoint_y_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point_y_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; int result; PyObject * obj0 = 0 ; @@ -4408,13 +4562,13 @@ static PyObject *_wrap_wxPoint_y_get(PyObject *, PyObject *args, PyObject *kwarg (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPoint_y_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_y_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (int) ((arg1)->y); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -4422,8 +4576,8 @@ static PyObject *_wrap_wxPoint_y_get(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_new_wxPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_Point(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; wxPoint *result; @@ -4433,16 +4587,16 @@ static PyObject *_wrap_new_wxPoint(PyObject *, PyObject *args, PyObject *kwargs) (char *) "x",(char *) "y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_wxPoint",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -4460,15 +4614,15 @@ static PyObject *_wrap_new_wxPoint(PyObject *, PyObject *args, PyObject *kwargs) } -static PyObject *_wrap_delete_wxPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_delete_Point(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_wxPoint",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Point",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -4485,8 +4639,8 @@ static PyObject *_wrap_delete_wxPoint(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxPoint___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point___eq__(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; wxPoint *arg2 = 0 ; bool result; @@ -4497,7 +4651,7 @@ static PyObject *_wrap_wxPoint___eq__(PyObject *, PyObject *args, PyObject *kwar (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPoint___eq__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___eq__",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -4520,8 +4674,8 @@ static PyObject *_wrap_wxPoint___eq__(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxPoint___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point___ne__(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; wxPoint *arg2 = 0 ; bool result; @@ -4532,7 +4686,7 @@ static PyObject *_wrap_wxPoint___ne__(PyObject *, PyObject *args, PyObject *kwar (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPoint___ne__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___ne__",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -4555,8 +4709,8 @@ static PyObject *_wrap_wxPoint___ne__(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxPoint___add__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point___add__(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; wxPoint *arg2 = 0 ; wxPoint result; @@ -4567,7 +4721,7 @@ static PyObject *_wrap_wxPoint___add__(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPoint___add__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___add__",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -4583,7 +4737,7 @@ static PyObject *_wrap_wxPoint___add__(PyObject *, PyObject *args, PyObject *kwa } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -4592,8 +4746,8 @@ static PyObject *_wrap_wxPoint___add__(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxPoint___sub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point___sub__(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; wxPoint *arg2 = 0 ; wxPoint result; @@ -4604,7 +4758,7 @@ static PyObject *_wrap_wxPoint___sub__(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPoint___sub__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___sub__",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -4620,7 +4774,7 @@ static PyObject *_wrap_wxPoint___sub__(PyObject *, PyObject *args, PyObject *kwa } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -4629,8 +4783,8 @@ static PyObject *_wrap_wxPoint___sub__(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxPoint___iadd__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point___iadd__(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; wxPoint *arg2 = 0 ; wxPoint *result; @@ -4641,7 +4795,7 @@ static PyObject *_wrap_wxPoint___iadd__(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPoint___iadd__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___iadd__",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -4665,8 +4819,8 @@ static PyObject *_wrap_wxPoint___iadd__(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxPoint___isub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point___isub__(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; wxPoint *arg2 = 0 ; wxPoint *result; @@ -4677,7 +4831,7 @@ static PyObject *_wrap_wxPoint___isub__(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPoint___isub__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___isub__",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -4701,8 +4855,8 @@ static PyObject *_wrap_wxPoint___isub__(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxPoint_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point_Set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; long arg2 ; long arg3 ; @@ -4713,15 +4867,15 @@ static PyObject *_wrap_wxPoint_Set(PyObject *, PyObject *args, PyObject *kwargs) (char *) "self",(char *) "x",(char *) "y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxPoint_Set",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Point_Set",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -4738,8 +4892,8 @@ static PyObject *_wrap_wxPoint_Set(PyObject *, PyObject *args, PyObject *kwargs) } -static PyObject *_wrap_wxPoint_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point_Get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -4747,7 +4901,7 @@ static PyObject *_wrap_wxPoint_Get(PyObject *, PyObject *args, PyObject *kwargs) (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPoint_Get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_Get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -4764,15 +4918,15 @@ static PyObject *_wrap_wxPoint_Get(PyObject *, PyObject *args, PyObject *kwargs) } -static PyObject * wxPoint_swigregister(PyObject *, PyObject *args) { +static PyObject * Point_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxPoint, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_Rect(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -4786,28 +4940,28 @@ static PyObject *_wrap_new_wxRect(PyObject *, PyObject *args, PyObject *kwargs) (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_wxRect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Rect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -4826,7 +4980,7 @@ static PyObject *_wrap_new_wxRect(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_RectPP(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = 0 ; wxPoint *arg2 = 0 ; wxRect *result; @@ -4862,7 +5016,7 @@ static PyObject *_wrap_new_RectPP(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_RectPS(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = 0 ; wxSize *arg2 = 0 ; wxRect *result; @@ -4898,7 +5052,7 @@ static PyObject *_wrap_new_RectPS(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_RectS(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = 0 ; wxRect *result; wxSize temp1 ; @@ -4926,15 +5080,15 @@ static PyObject *_wrap_new_RectS(PyObject *, PyObject *args, PyObject *kwargs) { } -static PyObject *_wrap_delete_wxRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_delete_Rect(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_wxRect",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Rect",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -4951,8 +5105,8 @@ static PyObject *_wrap_delete_wxRect(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxRect_GetX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_GetX(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -4960,7 +5114,7 @@ static PyObject *_wrap_wxRect_GetX(PyObject *, PyObject *args, PyObject *kwargs) (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxRect_GetX",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetX",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -4971,7 +5125,7 @@ static PyObject *_wrap_wxRect_GetX(PyObject *, PyObject *args, PyObject *kwargs) if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -4979,8 +5133,8 @@ static PyObject *_wrap_wxRect_GetX(PyObject *, PyObject *args, PyObject *kwargs) } -static PyObject *_wrap_wxRect_SetX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_SetX(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -4989,11 +5143,11 @@ static PyObject *_wrap_wxRect_SetX(PyObject *, PyObject *args, PyObject *kwargs) (char *) "self",(char *) "x", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxRect_SetX",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetX",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5010,8 +5164,8 @@ static PyObject *_wrap_wxRect_SetX(PyObject *, PyObject *args, PyObject *kwargs) } -static PyObject *_wrap_wxRect_GetY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_GetY(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5019,7 +5173,7 @@ static PyObject *_wrap_wxRect_GetY(PyObject *, PyObject *args, PyObject *kwargs) (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxRect_GetY",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetY",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -5030,7 +5184,7 @@ static PyObject *_wrap_wxRect_GetY(PyObject *, PyObject *args, PyObject *kwargs) if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5038,8 +5192,8 @@ static PyObject *_wrap_wxRect_GetY(PyObject *, PyObject *args, PyObject *kwargs) } -static PyObject *_wrap_wxRect_SetY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_SetY(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5048,11 +5202,11 @@ static PyObject *_wrap_wxRect_SetY(PyObject *, PyObject *args, PyObject *kwargs) (char *) "self",(char *) "y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxRect_SetY",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetY",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5069,8 +5223,8 @@ static PyObject *_wrap_wxRect_SetY(PyObject *, PyObject *args, PyObject *kwargs) } -static PyObject *_wrap_wxRect_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5078,7 +5232,7 @@ static PyObject *_wrap_wxRect_GetWidth(PyObject *, PyObject *args, PyObject *kwa (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxRect_GetWidth",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetWidth",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -5089,7 +5243,7 @@ static PyObject *_wrap_wxRect_GetWidth(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5097,8 +5251,8 @@ static PyObject *_wrap_wxRect_GetWidth(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxRect_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5107,11 +5261,11 @@ static PyObject *_wrap_wxRect_SetWidth(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "w", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxRect_SetWidth",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetWidth",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5128,8 +5282,8 @@ static PyObject *_wrap_wxRect_SetWidth(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxRect_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5137,7 +5291,7 @@ static PyObject *_wrap_wxRect_GetHeight(PyObject *, PyObject *args, PyObject *kw (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxRect_GetHeight",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetHeight",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -5148,7 +5302,7 @@ static PyObject *_wrap_wxRect_GetHeight(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5156,8 +5310,8 @@ static PyObject *_wrap_wxRect_GetHeight(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxRect_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5166,11 +5320,11 @@ static PyObject *_wrap_wxRect_SetHeight(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "h", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxRect_SetHeight",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetHeight",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5187,8 +5341,8 @@ static PyObject *_wrap_wxRect_SetHeight(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxRect_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -5196,7 +5350,7 @@ static PyObject *_wrap_wxRect_GetPosition(PyObject *, PyObject *args, PyObject * (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxRect_GetPosition",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetPosition",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -5208,7 +5362,7 @@ static PyObject *_wrap_wxRect_GetPosition(PyObject *, PyObject *args, PyObject * } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -5217,8 +5371,8 @@ static PyObject *_wrap_wxRect_GetPosition(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxRect_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -5228,7 +5382,7 @@ static PyObject *_wrap_wxRect_SetPosition(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "p", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxRect_SetPosition",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetPosition",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -5249,8 +5403,8 @@ static PyObject *_wrap_wxRect_SetPosition(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxRect_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -5258,7 +5412,7 @@ static PyObject *_wrap_wxRect_GetSize(PyObject *, PyObject *args, PyObject *kwar (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxRect_GetSize",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetSize",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -5270,7 +5424,7 @@ static PyObject *_wrap_wxRect_GetSize(PyObject *, PyObject *args, PyObject *kwar } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -5279,8 +5433,8 @@ static PyObject *_wrap_wxRect_GetSize(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxRect_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -5290,7 +5444,7 @@ static PyObject *_wrap_wxRect_SetSize(PyObject *, PyObject *args, PyObject *kwar (char *) "self",(char *) "s", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxRect_SetSize",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetSize",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -5311,8 +5465,8 @@ static PyObject *_wrap_wxRect_SetSize(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxRect_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5320,7 +5474,7 @@ static PyObject *_wrap_wxRect_IsEmpty(PyObject *, PyObject *args, PyObject *kwar (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxRect_IsEmpty",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_IsEmpty",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -5339,8 +5493,8 @@ static PyObject *_wrap_wxRect_IsEmpty(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxRect_GetTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_GetTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -5348,7 +5502,7 @@ static PyObject *_wrap_wxRect_GetTopLeft(PyObject *, PyObject *args, PyObject *k (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxRect_GetTopLeft",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTopLeft",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -5360,7 +5514,7 @@ static PyObject *_wrap_wxRect_GetTopLeft(PyObject *, PyObject *args, PyObject *k } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -5369,8 +5523,8 @@ static PyObject *_wrap_wxRect_GetTopLeft(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxRect_SetTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_SetTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -5380,7 +5534,7 @@ static PyObject *_wrap_wxRect_SetTopLeft(PyObject *, PyObject *args, PyObject *k (char *) "self",(char *) "p", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxRect_SetTopLeft",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTopLeft",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -5401,8 +5555,8 @@ static PyObject *_wrap_wxRect_SetTopLeft(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxRect_GetBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_GetBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -5410,7 +5564,7 @@ static PyObject *_wrap_wxRect_GetBottomRight(PyObject *, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxRect_GetBottomRight",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottomRight",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -5422,7 +5576,7 @@ static PyObject *_wrap_wxRect_GetBottomRight(PyObject *, PyObject *args, PyObjec } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -5431,8 +5585,8 @@ static PyObject *_wrap_wxRect_GetBottomRight(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxRect_SetBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_SetBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -5442,7 +5596,7 @@ static PyObject *_wrap_wxRect_SetBottomRight(PyObject *, PyObject *args, PyObjec (char *) "self",(char *) "p", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxRect_SetBottomRight",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottomRight",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -5463,8 +5617,8 @@ static PyObject *_wrap_wxRect_SetBottomRight(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxRect_GetLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_GetLeft(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5472,7 +5626,7 @@ static PyObject *_wrap_wxRect_GetLeft(PyObject *, PyObject *args, PyObject *kwar (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxRect_GetLeft",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetLeft",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -5483,7 +5637,7 @@ static PyObject *_wrap_wxRect_GetLeft(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5491,8 +5645,8 @@ static PyObject *_wrap_wxRect_GetLeft(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxRect_GetTop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_GetTop(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5500,7 +5654,7 @@ static PyObject *_wrap_wxRect_GetTop(PyObject *, PyObject *args, PyObject *kwarg (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxRect_GetTop",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTop",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -5511,7 +5665,7 @@ static PyObject *_wrap_wxRect_GetTop(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5519,8 +5673,8 @@ static PyObject *_wrap_wxRect_GetTop(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxRect_GetBottom(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_GetBottom(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5528,7 +5682,7 @@ static PyObject *_wrap_wxRect_GetBottom(PyObject *, PyObject *args, PyObject *kw (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxRect_GetBottom",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottom",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -5539,7 +5693,7 @@ static PyObject *_wrap_wxRect_GetBottom(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5547,8 +5701,8 @@ static PyObject *_wrap_wxRect_GetBottom(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxRect_GetRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_GetRight(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5556,7 +5710,7 @@ static PyObject *_wrap_wxRect_GetRight(PyObject *, PyObject *args, PyObject *kwa (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxRect_GetRight",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetRight",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -5567,7 +5721,7 @@ static PyObject *_wrap_wxRect_GetRight(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -5575,8 +5729,8 @@ static PyObject *_wrap_wxRect_GetRight(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxRect_SetLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_SetLeft(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5585,11 +5739,11 @@ static PyObject *_wrap_wxRect_SetLeft(PyObject *, PyObject *args, PyObject *kwar (char *) "self",(char *) "left", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxRect_SetLeft",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetLeft",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5606,8 +5760,8 @@ static PyObject *_wrap_wxRect_SetLeft(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxRect_SetRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_SetRight(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5616,11 +5770,11 @@ static PyObject *_wrap_wxRect_SetRight(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "right", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxRect_SetRight",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetRight",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5637,8 +5791,8 @@ static PyObject *_wrap_wxRect_SetRight(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxRect_SetTop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_SetTop(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5647,11 +5801,11 @@ static PyObject *_wrap_wxRect_SetTop(PyObject *, PyObject *args, PyObject *kwarg (char *) "self",(char *) "top", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxRect_SetTop",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTop",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5668,8 +5822,8 @@ static PyObject *_wrap_wxRect_SetTop(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxRect_SetBottom(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_SetBottom(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5678,11 +5832,11 @@ static PyObject *_wrap_wxRect_SetBottom(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "bottom", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxRect_SetBottom",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottom",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5699,8 +5853,8 @@ static PyObject *_wrap_wxRect_SetBottom(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxRect_Inflate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_Inflate(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; int arg3 ; @@ -5712,15 +5866,15 @@ static PyObject *_wrap_wxRect_Inflate(PyObject *, PyObject *args, PyObject *kwar (char *) "self",(char *) "dx",(char *) "dy", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxRect_Inflate",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Inflate",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -5740,8 +5894,8 @@ static PyObject *_wrap_wxRect_Inflate(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxRect_Deflate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_Deflate(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; int arg3 ; @@ -5753,15 +5907,15 @@ static PyObject *_wrap_wxRect_Deflate(PyObject *, PyObject *args, PyObject *kwar (char *) "self",(char *) "dx",(char *) "dy", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxRect_Deflate",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Deflate",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -5781,8 +5935,8 @@ static PyObject *_wrap_wxRect_Deflate(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxRect_OffsetXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_OffsetXY(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; int arg3 ; @@ -5793,15 +5947,15 @@ static PyObject *_wrap_wxRect_OffsetXY(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "dx",(char *) "dy", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxRect_OffsetXY",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_OffsetXY",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -5818,8 +5972,8 @@ static PyObject *_wrap_wxRect_OffsetXY(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxRect_Offset(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_Offset(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -5829,7 +5983,7 @@ static PyObject *_wrap_wxRect_Offset(PyObject *, PyObject *args, PyObject *kwarg (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxRect_Offset",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Offset",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -5850,8 +6004,8 @@ static PyObject *_wrap_wxRect_Offset(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxRect_Intersect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_Intersect(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = 0 ; wxRect result; @@ -5862,7 +6016,7 @@ static PyObject *_wrap_wxRect_Intersect(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "rect", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxRect_Intersect",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersect",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -5878,7 +6032,7 @@ static PyObject *_wrap_wxRect_Intersect(PyObject *, PyObject *args, PyObject *kw } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -5887,8 +6041,8 @@ static PyObject *_wrap_wxRect_Intersect(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxRect_Union(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_Union(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = 0 ; wxRect result; @@ -5899,7 +6053,7 @@ static PyObject *_wrap_wxRect_Union(PyObject *, PyObject *args, PyObject *kwargs (char *) "self",(char *) "rect", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxRect_Union",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Union",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -5915,7 +6069,7 @@ static PyObject *_wrap_wxRect_Union(PyObject *, PyObject *args, PyObject *kwargs } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -5924,8 +6078,8 @@ static PyObject *_wrap_wxRect_Union(PyObject *, PyObject *args, PyObject *kwargs } -static PyObject *_wrap_wxRect___add__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect___add__(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = 0 ; wxRect result; @@ -5936,7 +6090,7 @@ static PyObject *_wrap_wxRect___add__(PyObject *, PyObject *args, PyObject *kwar (char *) "self",(char *) "rect", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxRect___add__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___add__",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -5952,7 +6106,7 @@ static PyObject *_wrap_wxRect___add__(PyObject *, PyObject *args, PyObject *kwar } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -5961,8 +6115,8 @@ static PyObject *_wrap_wxRect___add__(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxRect___iadd__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect___iadd__(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = 0 ; wxRect *result; @@ -5973,7 +6127,7 @@ static PyObject *_wrap_wxRect___iadd__(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "rect", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxRect___iadd__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___iadd__",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -5997,8 +6151,8 @@ static PyObject *_wrap_wxRect___iadd__(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxRect___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect___eq__(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = 0 ; bool result; @@ -6009,7 +6163,7 @@ static PyObject *_wrap_wxRect___eq__(PyObject *, PyObject *args, PyObject *kwarg (char *) "self",(char *) "rect", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxRect___eq__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___eq__",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -6032,8 +6186,8 @@ static PyObject *_wrap_wxRect___eq__(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxRect___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect___ne__(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = 0 ; bool result; @@ -6044,7 +6198,7 @@ static PyObject *_wrap_wxRect___ne__(PyObject *, PyObject *args, PyObject *kwarg (char *) "self",(char *) "rect", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxRect___ne__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___ne__",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -6067,8 +6221,8 @@ static PyObject *_wrap_wxRect___ne__(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxRect_InsideXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_InsideXY(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; int arg3 ; @@ -6080,15 +6234,15 @@ static PyObject *_wrap_wxRect_InsideXY(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "x",(char *) "y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxRect_InsideXY",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_InsideXY",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -6107,8 +6261,8 @@ static PyObject *_wrap_wxRect_InsideXY(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxRect_Inside(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_Inside(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint *arg2 = 0 ; bool result; @@ -6119,7 +6273,7 @@ static PyObject *_wrap_wxRect_Inside(PyObject *, PyObject *args, PyObject *kwarg (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxRect_Inside",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Inside",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -6142,8 +6296,8 @@ static PyObject *_wrap_wxRect_Inside(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxRect_Intersects(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_Intersects(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = 0 ; bool result; @@ -6154,7 +6308,7 @@ static PyObject *_wrap_wxRect_Intersects(PyObject *, PyObject *args, PyObject *k (char *) "self",(char *) "rect", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxRect_Intersects",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersects",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -6177,8 +6331,8 @@ static PyObject *_wrap_wxRect_Intersects(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxRect_x_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_x_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6187,11 +6341,11 @@ static PyObject *_wrap_wxRect_x_set(PyObject *, PyObject *args, PyObject *kwargs (char *) "self",(char *) "x", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxRect_x_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_x_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->x = arg2; @@ -6203,8 +6357,8 @@ static PyObject *_wrap_wxRect_x_set(PyObject *, PyObject *args, PyObject *kwargs } -static PyObject *_wrap_wxRect_x_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_x_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6212,13 +6366,13 @@ static PyObject *_wrap_wxRect_x_get(PyObject *, PyObject *args, PyObject *kwargs (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxRect_x_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_x_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (int) ((arg1)->x); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6226,8 +6380,8 @@ static PyObject *_wrap_wxRect_x_get(PyObject *, PyObject *args, PyObject *kwargs } -static PyObject *_wrap_wxRect_y_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_y_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6236,11 +6390,11 @@ static PyObject *_wrap_wxRect_y_set(PyObject *, PyObject *args, PyObject *kwargs (char *) "self",(char *) "y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxRect_y_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_y_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->y = arg2; @@ -6252,8 +6406,8 @@ static PyObject *_wrap_wxRect_y_set(PyObject *, PyObject *args, PyObject *kwargs } -static PyObject *_wrap_wxRect_y_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_y_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6261,13 +6415,13 @@ static PyObject *_wrap_wxRect_y_get(PyObject *, PyObject *args, PyObject *kwargs (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxRect_y_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_y_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (int) ((arg1)->y); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6275,8 +6429,8 @@ static PyObject *_wrap_wxRect_y_get(PyObject *, PyObject *args, PyObject *kwargs } -static PyObject *_wrap_wxRect_width_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_width_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6285,11 +6439,11 @@ static PyObject *_wrap_wxRect_width_set(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "width", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxRect_width_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_width_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->width = arg2; @@ -6301,8 +6455,8 @@ static PyObject *_wrap_wxRect_width_set(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxRect_width_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_width_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6310,13 +6464,13 @@ static PyObject *_wrap_wxRect_width_get(PyObject *, PyObject *args, PyObject *kw (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxRect_width_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_width_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (int) ((arg1)->width); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6324,8 +6478,8 @@ static PyObject *_wrap_wxRect_width_get(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxRect_height_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_height_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6334,11 +6488,11 @@ static PyObject *_wrap_wxRect_height_set(PyObject *, PyObject *args, PyObject *k (char *) "self",(char *) "height", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxRect_height_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_height_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->height = arg2; @@ -6350,8 +6504,8 @@ static PyObject *_wrap_wxRect_height_set(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxRect_height_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_height_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6359,13 +6513,13 @@ static PyObject *_wrap_wxRect_height_get(PyObject *, PyObject *args, PyObject *k (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxRect_height_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_height_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (int) ((arg1)->height); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6373,8 +6527,8 @@ static PyObject *_wrap_wxRect_height_get(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxRect_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_Set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -6389,30 +6543,30 @@ static PyObject *_wrap_wxRect_Set(PyObject *, PyObject *args, PyObject *kwargs) (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:wxRect_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Rect_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -6430,8 +6584,8 @@ static PyObject *_wrap_wxRect_Set(PyObject *, PyObject *args, PyObject *kwargs) } -static PyObject *_wrap_wxRect_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Rect_Get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -6439,7 +6593,7 @@ static PyObject *_wrap_wxRect_Get(PyObject *, PyObject *args, PyObject *kwargs) (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxRect_Get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_Get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -6456,15 +6610,15 @@ static PyObject *_wrap_wxRect_Get(PyObject *, PyObject *args, PyObject *kwargs) } -static PyObject * wxRect_swigregister(PyObject *, PyObject *args) { +static PyObject * Rect_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxRect, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_wxIntersectRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IntersectRect(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = (wxRect *) 0 ; PyObject *result; @@ -6474,7 +6628,7 @@ static PyObject *_wrap_wxIntersectRect(PyObject *, PyObject *args, PyObject *kwa (char *) "r1",(char *) "r2", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxIntersectRect",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IntersectRect",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); @@ -6494,8 +6648,8 @@ static PyObject *_wrap_wxIntersectRect(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_new_wxPoint2D(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_Point2D(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; double arg1 = (double) 0.0 ; double arg2 = (double) 0.0 ; wxPoint2D *result; @@ -6505,16 +6659,16 @@ static PyObject *_wrap_new_wxPoint2D(PyObject *, PyObject *args, PyObject *kwarg (char *) "x",(char *) "y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_wxPoint2D",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point2D",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (double)(SWIG_As_double(obj0)); + arg1 = static_cast(SWIG_As_double(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -6533,7 +6687,7 @@ static PyObject *_wrap_new_wxPoint2D(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_Point2DCopy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = 0 ; wxPoint2D *result; wxPoint2D temp1 ; @@ -6562,7 +6716,7 @@ static PyObject *_wrap_new_Point2DCopy(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_new_Point2DFromPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = 0 ; wxPoint2D *result; wxPoint temp1 ; @@ -6590,8 +6744,8 @@ static PyObject *_wrap_new_Point2DFromPoint(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxPoint2D_GetFloor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point2D_GetFloor(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -6606,7 +6760,7 @@ static PyObject *_wrap_wxPoint2D_GetFloor(PyObject *, PyObject *args, PyObject * arg2 = &temp2; res2 = SWIG_NEWOBJ; arg3 = &temp3; res3 = SWIG_NEWOBJ; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPoint2D_GetFloor",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetFloor",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -6627,8 +6781,8 @@ static PyObject *_wrap_wxPoint2D_GetFloor(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxPoint2D_GetRounded(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point2D_GetRounded(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -6643,7 +6797,7 @@ static PyObject *_wrap_wxPoint2D_GetRounded(PyObject *, PyObject *args, PyObject arg2 = &temp2; res2 = SWIG_NEWOBJ; arg3 = &temp3; res3 = SWIG_NEWOBJ; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPoint2D_GetRounded",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetRounded",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -6664,8 +6818,8 @@ static PyObject *_wrap_wxPoint2D_GetRounded(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxPoint2D_GetVectorLength(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point2D_GetVectorLength(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double result; PyObject * obj0 = 0 ; @@ -6673,7 +6827,7 @@ static PyObject *_wrap_wxPoint2D_GetVectorLength(PyObject *, PyObject *args, PyO (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPoint2D_GetVectorLength",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorLength",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -6684,7 +6838,7 @@ static PyObject *_wrap_wxPoint2D_GetVectorLength(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -6692,8 +6846,8 @@ static PyObject *_wrap_wxPoint2D_GetVectorLength(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxPoint2D_GetVectorAngle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double result; PyObject * obj0 = 0 ; @@ -6701,7 +6855,7 @@ static PyObject *_wrap_wxPoint2D_GetVectorAngle(PyObject *, PyObject *args, PyOb (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPoint2D_GetVectorAngle",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorAngle",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -6712,7 +6866,7 @@ static PyObject *_wrap_wxPoint2D_GetVectorAngle(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -6720,8 +6874,8 @@ static PyObject *_wrap_wxPoint2D_GetVectorAngle(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxPoint2D_SetVectorLength(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point2D_SetVectorLength(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -6730,11 +6884,11 @@ static PyObject *_wrap_wxPoint2D_SetVectorLength(PyObject *, PyObject *args, PyO (char *) "self",(char *) "length", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPoint2D_SetVectorLength",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorLength",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6751,8 +6905,8 @@ static PyObject *_wrap_wxPoint2D_SetVectorLength(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxPoint2D_SetVectorAngle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -6761,11 +6915,11 @@ static PyObject *_wrap_wxPoint2D_SetVectorAngle(PyObject *, PyObject *args, PyOb (char *) "self",(char *) "degrees", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPoint2D_SetVectorAngle",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorAngle",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6782,8 +6936,8 @@ static PyObject *_wrap_wxPoint2D_SetVectorAngle(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxPoint2D_GetDistance(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point2D_GetDistance(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; double result; @@ -6794,7 +6948,7 @@ static PyObject *_wrap_wxPoint2D_GetDistance(PyObject *, PyObject *args, PyObjec (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPoint2D_GetDistance",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistance",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -6809,7 +6963,7 @@ static PyObject *_wrap_wxPoint2D_GetDistance(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -6817,8 +6971,8 @@ static PyObject *_wrap_wxPoint2D_GetDistance(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxPoint2D_GetDistanceSquare(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; double result; @@ -6829,7 +6983,7 @@ static PyObject *_wrap_wxPoint2D_GetDistanceSquare(PyObject *, PyObject *args, P (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPoint2D_GetDistanceSquare",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistanceSquare",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -6844,7 +6998,7 @@ static PyObject *_wrap_wxPoint2D_GetDistanceSquare(PyObject *, PyObject *args, P if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -6852,8 +7006,8 @@ static PyObject *_wrap_wxPoint2D_GetDistanceSquare(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxPoint2D_GetDotProduct(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point2D_GetDotProduct(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; double result; @@ -6864,7 +7018,7 @@ static PyObject *_wrap_wxPoint2D_GetDotProduct(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "vec", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPoint2D_GetDotProduct",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDotProduct",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -6879,7 +7033,7 @@ static PyObject *_wrap_wxPoint2D_GetDotProduct(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -6887,8 +7041,8 @@ static PyObject *_wrap_wxPoint2D_GetDotProduct(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxPoint2D_GetCrossProduct(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; double result; @@ -6899,7 +7053,7 @@ static PyObject *_wrap_wxPoint2D_GetCrossProduct(PyObject *, PyObject *args, PyO (char *) "self",(char *) "vec", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPoint2D_GetCrossProduct",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetCrossProduct",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -6914,7 +7068,7 @@ static PyObject *_wrap_wxPoint2D_GetCrossProduct(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -6922,8 +7076,8 @@ static PyObject *_wrap_wxPoint2D_GetCrossProduct(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxPoint2D___neg__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point2D___neg__(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D result; PyObject * obj0 = 0 ; @@ -6931,7 +7085,7 @@ static PyObject *_wrap_wxPoint2D___neg__(PyObject *, PyObject *args, PyObject *k (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPoint2D___neg__",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D___neg__",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -6943,7 +7097,7 @@ static PyObject *_wrap_wxPoint2D___neg__(PyObject *, PyObject *args, PyObject *k } { wxPoint2D * resultptr; - resultptr = new wxPoint2D((wxPoint2D &)(result)); + resultptr = new wxPoint2D(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint2D, 1); } return resultobj; @@ -6952,8 +7106,8 @@ static PyObject *_wrap_wxPoint2D___neg__(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxPoint2D___iadd__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point2D___iadd__(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; wxPoint2D *result; @@ -6964,7 +7118,7 @@ static PyObject *_wrap_wxPoint2D___iadd__(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPoint2D___iadd__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___iadd__",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -6988,8 +7142,8 @@ static PyObject *_wrap_wxPoint2D___iadd__(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxPoint2D___isub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point2D___isub__(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; wxPoint2D *result; @@ -7000,7 +7154,7 @@ static PyObject *_wrap_wxPoint2D___isub__(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPoint2D___isub__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___isub__",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -7024,8 +7178,8 @@ static PyObject *_wrap_wxPoint2D___isub__(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxPoint2D___imul__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point2D___imul__(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; wxPoint2D *result; @@ -7036,7 +7190,7 @@ static PyObject *_wrap_wxPoint2D___imul__(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPoint2D___imul__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___imul__",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -7060,8 +7214,8 @@ static PyObject *_wrap_wxPoint2D___imul__(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxPoint2D___idiv__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point2D___idiv__(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; wxPoint2D *result; @@ -7072,7 +7226,7 @@ static PyObject *_wrap_wxPoint2D___idiv__(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPoint2D___idiv__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___idiv__",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -7096,8 +7250,8 @@ static PyObject *_wrap_wxPoint2D___idiv__(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxPoint2D___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point2D___eq__(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; bool result; @@ -7108,7 +7262,7 @@ static PyObject *_wrap_wxPoint2D___eq__(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPoint2D___eq__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___eq__",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -7131,8 +7285,8 @@ static PyObject *_wrap_wxPoint2D___eq__(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxPoint2D___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point2D___ne__(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; bool result; @@ -7143,7 +7297,7 @@ static PyObject *_wrap_wxPoint2D___ne__(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPoint2D___ne__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___ne__",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -7166,8 +7320,8 @@ static PyObject *_wrap_wxPoint2D___ne__(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxPoint2D_x_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point2D_x_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -7176,11 +7330,11 @@ static PyObject *_wrap_wxPoint2D_x_set(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "m_x", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPoint2D_x_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_x_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_x = arg2; @@ -7192,8 +7346,8 @@ static PyObject *_wrap_wxPoint2D_x_set(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxPoint2D_x_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point2D_x_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double result; PyObject * obj0 = 0 ; @@ -7201,13 +7355,13 @@ static PyObject *_wrap_wxPoint2D_x_get(PyObject *, PyObject *args, PyObject *kwa (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPoint2D_x_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_x_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (double) ((arg1)->m_x); { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -7215,8 +7369,8 @@ static PyObject *_wrap_wxPoint2D_x_get(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxPoint2D_y_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point2D_y_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -7225,11 +7379,11 @@ static PyObject *_wrap_wxPoint2D_y_set(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "m_y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPoint2D_y_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_y_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_y = arg2; @@ -7241,8 +7395,8 @@ static PyObject *_wrap_wxPoint2D_y_set(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxPoint2D_y_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point2D_y_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double result; PyObject * obj0 = 0 ; @@ -7250,13 +7404,13 @@ static PyObject *_wrap_wxPoint2D_y_get(PyObject *, PyObject *args, PyObject *kwa (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPoint2D_y_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_y_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (double) ((arg1)->m_y); { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -7264,8 +7418,8 @@ static PyObject *_wrap_wxPoint2D_y_get(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxPoint2D_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point2D_Set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double arg2 = (double) 0 ; double arg3 = (double) 0 ; @@ -7276,18 +7430,18 @@ static PyObject *_wrap_wxPoint2D_Set(PyObject *, PyObject *args, PyObject *kwarg (char *) "self",(char *) "x",(char *) "y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:wxPoint2D_Set",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Point2D_Set",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (double)(SWIG_As_double(obj2)); + arg3 = static_cast(SWIG_As_double(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -7305,8 +7459,8 @@ static PyObject *_wrap_wxPoint2D_Set(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxPoint2D_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Point2D_Get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -7314,7 +7468,7 @@ static PyObject *_wrap_wxPoint2D_Get(PyObject *, PyObject *args, PyObject *kwarg (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPoint2D_Get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_Get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPoint2D, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -7331,35 +7485,35 @@ static PyObject *_wrap_wxPoint2D_Get(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject * wxPoint2D_swigregister(PyObject *, PyObject *args) { +static PyObject * Point2D_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static int _wrap_wxDefaultPosition_set(PyObject *) { - PyErr_SetString(PyExc_TypeError,"Variable wxDefaultPosition is read-only."); +static int _wrap_DefaultPosition_set(PyObject *) { + PyErr_SetString(PyExc_TypeError,"Variable DefaultPosition is read-only."); return 1; } -static PyObject *_wrap_wxDefaultPosition_get(void) { - PyObject *pyobj; +static PyObject *_wrap_DefaultPosition_get(void) { + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxDefaultPosition), SWIGTYPE_p_wxPoint, 0); return pyobj; } -static int _wrap_wxDefaultSize_set(PyObject *) { - PyErr_SetString(PyExc_TypeError,"Variable wxDefaultSize is read-only."); +static int _wrap_DefaultSize_set(PyObject *) { + PyErr_SetString(PyExc_TypeError,"Variable DefaultSize is read-only."); return 1; } -static PyObject *_wrap_wxDefaultSize_get(void) { - PyObject *pyobj; +static PyObject *_wrap_DefaultSize_get(void) { + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSize), SWIGTYPE_p_wxSize, 0); return pyobj; @@ -7367,7 +7521,7 @@ static PyObject *_wrap_wxDefaultSize_get(void) { static PyObject *_wrap_new_InputStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; PyObject *arg1 = (PyObject *) 0 ; wxPyInputStream *result; PyObject * obj0 = 0 ; @@ -7392,7 +7546,7 @@ static PyObject *_wrap_new_InputStream(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_delete_InputStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7417,7 +7571,7 @@ static PyObject *_wrap_delete_InputStream(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_InputStream_close(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7442,7 +7596,7 @@ static PyObject *_wrap_InputStream_close(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_InputStream_flush(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7467,7 +7621,7 @@ static PyObject *_wrap_InputStream_flush(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_InputStream_eof(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -7495,7 +7649,7 @@ static PyObject *_wrap_InputStream_eof(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_InputStream_read(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; int arg2 = (int) -1 ; PyObject *result; @@ -7510,7 +7664,7 @@ static PyObject *_wrap_InputStream_read(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -7529,7 +7683,7 @@ static PyObject *_wrap_InputStream_read(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_InputStream_readline(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; int arg2 = (int) -1 ; PyObject *result; @@ -7544,7 +7698,7 @@ static PyObject *_wrap_InputStream_readline(PyObject *, PyObject *args, PyObject if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -7563,7 +7717,7 @@ static PyObject *_wrap_InputStream_readline(PyObject *, PyObject *args, PyObject static PyObject *_wrap_InputStream_readlines(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; int arg2 = (int) -1 ; PyObject *result; @@ -7578,7 +7732,7 @@ static PyObject *_wrap_InputStream_readlines(PyObject *, PyObject *args, PyObjec if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -7597,7 +7751,7 @@ static PyObject *_wrap_InputStream_readlines(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_InputStream_seek(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; int arg2 ; int arg3 = (int) 0 ; @@ -7612,12 +7766,12 @@ static PyObject *_wrap_InputStream_seek(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -7636,7 +7790,7 @@ static PyObject *_wrap_InputStream_seek(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_InputStream_tell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7655,7 +7809,7 @@ static PyObject *_wrap_InputStream_tell(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -7664,7 +7818,7 @@ static PyObject *_wrap_InputStream_tell(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_InputStream_Peek(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; char result; PyObject * obj0 = 0 ; @@ -7683,7 +7837,7 @@ static PyObject *_wrap_InputStream_Peek(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_char((char)(result)); + resultobj = SWIG_From_char(static_cast(result)); } return resultobj; fail: @@ -7692,7 +7846,7 @@ static PyObject *_wrap_InputStream_Peek(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_InputStream_GetC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; char result; PyObject * obj0 = 0 ; @@ -7711,7 +7865,7 @@ static PyObject *_wrap_InputStream_GetC(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_char((char)(result)); + resultobj = SWIG_From_char(static_cast(result)); } return resultobj; fail: @@ -7720,7 +7874,7 @@ static PyObject *_wrap_InputStream_GetC(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_InputStream_LastRead(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -7739,7 +7893,7 @@ static PyObject *_wrap_InputStream_LastRead(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -7748,7 +7902,7 @@ static PyObject *_wrap_InputStream_LastRead(PyObject *, PyObject *args, PyObject static PyObject *_wrap_InputStream_CanRead(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -7776,7 +7930,7 @@ static PyObject *_wrap_InputStream_CanRead(PyObject *, PyObject *args, PyObject static PyObject *_wrap_InputStream_Eof(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -7804,7 +7958,7 @@ static PyObject *_wrap_InputStream_Eof(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_InputStream_Ungetch(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; char arg2 ; bool result; @@ -7818,7 +7972,7 @@ static PyObject *_wrap_InputStream_Ungetch(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (char)(SWIG_As_char(obj1)); + arg2 = static_cast(SWIG_As_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7838,7 +7992,7 @@ static PyObject *_wrap_InputStream_Ungetch(PyObject *, PyObject *args, PyObject static PyObject *_wrap_InputStream_SeekI(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; long arg2 ; wxSeekMode arg3 = (wxSeekMode) wxFromStart ; @@ -7854,24 +8008,24 @@ static PyObject *_wrap_InputStream_SeekI(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyInputStream, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (wxSeekMode)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (long)(arg1)->SeekI(arg2,(wxSeekMode )arg3); + result = (long)(arg1)->SeekI(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -7880,7 +8034,7 @@ static PyObject *_wrap_InputStream_SeekI(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_InputStream_TellI(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyInputStream *arg1 = (wxPyInputStream *) 0 ; long result; PyObject * obj0 = 0 ; @@ -7899,7 +8053,7 @@ static PyObject *_wrap_InputStream_TellI(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -7914,8 +8068,8 @@ static PyObject * InputStream_swigregister(PyObject *, PyObject *args) { Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_wxOutputStream_write(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_OutputStream_write(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxOutputStream *arg1 = (wxOutputStream *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -7924,7 +8078,7 @@ static PyObject *_wrap_wxOutputStream_write(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "obj", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxOutputStream_write",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:OutputStream_write",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxOutputStream, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; arg2 = obj1; @@ -7942,15 +8096,15 @@ static PyObject *_wrap_wxOutputStream_write(PyObject *, PyObject *args, PyObject } -static PyObject * wxOutputStream_swigregister(PyObject *, PyObject *args) { +static PyObject * OutputStream_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxFSFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_FSFile(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxInputStream *arg1 = (wxInputStream *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -7970,7 +8124,7 @@ static PyObject *_wrap_new_wxFSFile(PyObject *, PyObject *args, PyObject *kwargs (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_wxFSFile",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_FSFile",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; { if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) { arg1 = wxPyCBInputStream_copy((wxPyCBInputStream*)temp1->m_wxis); @@ -8016,7 +8170,7 @@ static PyObject *_wrap_new_wxFSFile(PyObject *, PyObject *args, PyObject *kwargs if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 1); + resultobj = wxPyMake_wxObject(result, (bool)1); } { if (temp2) @@ -8048,15 +8202,15 @@ static PyObject *_wrap_new_wxFSFile(PyObject *, PyObject *args, PyObject *kwargs } -static PyObject *_wrap_delete_wxFSFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_delete_FSFile(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxFSFile *arg1 = (wxFSFile *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_wxFSFile",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FSFile",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFSFile, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -8073,8 +8227,8 @@ static PyObject *_wrap_delete_wxFSFile(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxFSFile_GetStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FSFile_GetStream(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxFSFile *arg1 = (wxFSFile *) 0 ; wxInputStream *result; PyObject * obj0 = 0 ; @@ -8082,7 +8236,7 @@ static PyObject *_wrap_wxFSFile_GetStream(PyObject *, PyObject *args, PyObject * (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxFSFile_GetStream",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetStream",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFSFile, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -8106,8 +8260,8 @@ static PyObject *_wrap_wxFSFile_GetStream(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxFSFile_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FSFile_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxFSFile *arg1 = (wxFSFile *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -8115,7 +8269,7 @@ static PyObject *_wrap_wxFSFile_GetMimeType(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxFSFile_GetMimeType",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetMimeType",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFSFile, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -8141,8 +8295,8 @@ static PyObject *_wrap_wxFSFile_GetMimeType(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxFSFile_GetLocation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FSFile_GetLocation(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxFSFile *arg1 = (wxFSFile *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -8150,7 +8304,7 @@ static PyObject *_wrap_wxFSFile_GetLocation(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxFSFile_GetLocation",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetLocation",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFSFile, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -8176,8 +8330,8 @@ static PyObject *_wrap_wxFSFile_GetLocation(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxFSFile_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FSFile_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxFSFile *arg1 = (wxFSFile *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -8185,7 +8339,7 @@ static PyObject *_wrap_wxFSFile_GetAnchor(PyObject *, PyObject *args, PyObject * (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxFSFile_GetAnchor",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetAnchor",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFSFile, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -8211,8 +8365,8 @@ static PyObject *_wrap_wxFSFile_GetAnchor(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxFSFile_GetModificationTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FSFile_GetModificationTime(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxFSFile *arg1 = (wxFSFile *) 0 ; wxDateTime result; PyObject * obj0 = 0 ; @@ -8220,7 +8374,7 @@ static PyObject *_wrap_wxFSFile_GetModificationTime(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxFSFile_GetModificationTime",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetModificationTime",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFSFile, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -8232,7 +8386,7 @@ static PyObject *_wrap_wxFSFile_GetModificationTime(PyObject *, PyObject *args, } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -8241,7 +8395,7 @@ static PyObject *_wrap_wxFSFile_GetModificationTime(PyObject *, PyObject *args, } -static PyObject * wxFSFile_swigregister(PyObject *, PyObject *args) { +static PyObject * FSFile_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxFSFile, obj); @@ -8256,7 +8410,7 @@ static PyObject * CPPFileSystemHandler_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FileSystemHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *result; char *kwnames[] = { NULL @@ -8278,7 +8432,7 @@ static PyObject *_wrap_new_FileSystemHandler(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -8309,7 +8463,7 @@ static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *, PyObject * static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; bool result; @@ -8353,7 +8507,7 @@ static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *, PyObject *args, PyO static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxFileSystem *arg2 = 0 ; wxString *arg3 = 0 ; @@ -8390,7 +8544,7 @@ static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 1); + resultobj = wxPyMake_wxObject(result, (bool)1); } { if (temp3) @@ -8407,7 +8561,7 @@ static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *, PyObject *args, Py static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; @@ -8430,7 +8584,7 @@ static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *, PyObject *args, P } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8463,7 +8617,7 @@ static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *, PyObject *args, P static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -8495,7 +8649,7 @@ static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *, PyObject *args, Py static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -8543,7 +8697,7 @@ static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *, PyObject *args, static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -8591,7 +8745,7 @@ static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *, PyObject *a static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -8639,7 +8793,7 @@ static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *, PyObject *args, P static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -8687,7 +8841,7 @@ static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *, PyObject * static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -8741,14 +8895,14 @@ static PyObject * FileSystemHandler_swigregister(PyObject *, PyObject *args) { Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxFileSystem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_FileSystem(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxFileSystem *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_wxFileSystem",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystem",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxFileSystem *)new wxFileSystem(); @@ -8757,7 +8911,7 @@ static PyObject *_wrap_new_wxFileSystem(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 1); + resultobj = wxPyMake_wxObject(result, (bool)1); } return resultobj; fail: @@ -8765,15 +8919,15 @@ static PyObject *_wrap_new_wxFileSystem(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_delete_wxFileSystem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_delete_FileSystem(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxFileSystem *arg1 = (wxFileSystem *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_wxFileSystem",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileSystem",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -8790,8 +8944,8 @@ static PyObject *_wrap_delete_wxFileSystem(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxFileSystem_ChangePathTo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxFileSystem *arg1 = (wxFileSystem *) 0 ; wxString *arg2 = 0 ; bool arg3 = (bool) false ; @@ -8803,7 +8957,7 @@ static PyObject *_wrap_wxFileSystem_ChangePathTo(PyObject *, PyObject *args, PyO (char *) "self",(char *) "location",(char *) "is_dir", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:wxFileSystem_ChangePathTo",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_ChangePathTo",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -8813,7 +8967,7 @@ static PyObject *_wrap_wxFileSystem_ChangePathTo(PyObject *, PyObject *args, PyO } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8839,8 +8993,8 @@ static PyObject *_wrap_wxFileSystem_ChangePathTo(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxFileSystem_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FileSystem_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxFileSystem *arg1 = (wxFileSystem *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -8848,7 +9002,7 @@ static PyObject *_wrap_wxFileSystem_GetPath(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxFileSystem_GetPath",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_GetPath",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -8871,8 +9025,8 @@ static PyObject *_wrap_wxFileSystem_GetPath(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxFileSystem_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FileSystem_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxFileSystem *arg1 = (wxFileSystem *) 0 ; wxString *arg2 = 0 ; wxFSFile *result; @@ -8883,7 +9037,7 @@ static PyObject *_wrap_wxFileSystem_OpenFile(PyObject *, PyObject *args, PyObjec (char *) "self",(char *) "location", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxFileSystem_OpenFile",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystem_OpenFile",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -8899,7 +9053,7 @@ static PyObject *_wrap_wxFileSystem_OpenFile(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 1); + resultobj = wxPyMake_wxObject(result, (bool)1); } { if (temp2) @@ -8915,8 +9069,8 @@ static PyObject *_wrap_wxFileSystem_OpenFile(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxFileSystem_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FileSystem_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxFileSystem *arg1 = (wxFileSystem *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; @@ -8929,7 +9083,7 @@ static PyObject *_wrap_wxFileSystem_FindFirst(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "spec",(char *) "flags", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:wxFileSystem_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -8939,7 +9093,7 @@ static PyObject *_wrap_wxFileSystem_FindFirst(PyObject *, PyObject *args, PyObje } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8971,8 +9125,8 @@ static PyObject *_wrap_wxFileSystem_FindFirst(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxFileSystem_FindNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FileSystem_FindNext(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxFileSystem *arg1 = (wxFileSystem *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -8980,7 +9134,7 @@ static PyObject *_wrap_wxFileSystem_FindNext(PyObject *, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxFileSystem_FindNext",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FindNext",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileSystem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -9003,15 +9157,15 @@ static PyObject *_wrap_wxFileSystem_FindNext(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxFileSystem_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FileSystem_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "handler", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxFileSystem_AddHandler",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_AddHandler",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileSystemHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -9028,13 +9182,13 @@ static PyObject *_wrap_wxFileSystem_AddHandler(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxFileSystem_CleanUpHandlers(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":wxFileSystem_CleanUpHandlers",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FileSystem_CleanUpHandlers",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); wxFileSystem::CleanUpHandlers(); @@ -9049,8 +9203,8 @@ static PyObject *_wrap_wxFileSystem_CleanUpHandlers(PyObject *, PyObject *args, } -static PyObject *_wrap_wxFileSystem_FileNameToURL(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString result; bool temp1 = false ; @@ -9059,7 +9213,7 @@ static PyObject *_wrap_wxFileSystem_FileNameToURL(PyObject *, PyObject *args, Py (char *) "filename", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxFileSystem_FileNameToURL",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FileNameToURL",kwnames,&obj0)) goto fail; { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; @@ -9093,8 +9247,8 @@ static PyObject *_wrap_wxFileSystem_FileNameToURL(PyObject *, PyObject *args, Py } -static PyObject *_wrap_wxFileSystem_URLToFileName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FileSystem_URLToFileName(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString result; bool temp1 = false ; @@ -9103,7 +9257,7 @@ static PyObject *_wrap_wxFileSystem_URLToFileName(PyObject *, PyObject *args, Py (char *) "url", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxFileSystem_URLToFileName",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_URLToFileName",kwnames,&obj0)) goto fail; { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; @@ -9137,21 +9291,21 @@ static PyObject *_wrap_wxFileSystem_URLToFileName(PyObject *, PyObject *args, Py } -static PyObject * wxFileSystem_swigregister(PyObject *, PyObject *args) { +static PyObject * FileSystem_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxInternetFSHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_InternetFSHandler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxInternetFSHandler *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_wxInternetFSHandler",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_InternetFSHandler",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxInternetFSHandler *)new wxInternetFSHandler(); @@ -9166,8 +9320,8 @@ static PyObject *_wrap_new_wxInternetFSHandler(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxInternetFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ; wxString *arg2 = 0 ; bool result; @@ -9178,7 +9332,7 @@ static PyObject *_wrap_wxInternetFSHandler_CanOpen(PyObject *, PyObject *args, P (char *) "self",(char *) "location", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxInternetFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InternetFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxInternetFSHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -9210,8 +9364,8 @@ static PyObject *_wrap_wxInternetFSHandler_CanOpen(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxInternetFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ; wxFileSystem *arg2 = 0 ; wxString *arg3 = 0 ; @@ -9224,7 +9378,7 @@ static PyObject *_wrap_wxInternetFSHandler_OpenFile(PyObject *, PyObject *args, (char *) "self",(char *) "fs",(char *) "location", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxInternetFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:InternetFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxInternetFSHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -9248,7 +9402,7 @@ static PyObject *_wrap_wxInternetFSHandler_OpenFile(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 1); + resultobj = wxPyMake_wxObject(result, (bool)1); } { if (temp3) @@ -9264,21 +9418,21 @@ static PyObject *_wrap_wxInternetFSHandler_OpenFile(PyObject *, PyObject *args, } -static PyObject * wxInternetFSHandler_swigregister(PyObject *, PyObject *args) { +static PyObject * InternetFSHandler_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxZipFSHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_ZipFSHandler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxZipFSHandler *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_wxZipFSHandler",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ZipFSHandler",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxZipFSHandler *)new wxZipFSHandler(); @@ -9293,8 +9447,8 @@ static PyObject *_wrap_new_wxZipFSHandler(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxZipFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ; wxString *arg2 = 0 ; bool result; @@ -9305,7 +9459,7 @@ static PyObject *_wrap_wxZipFSHandler_CanOpen(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "location", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxZipFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ZipFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxZipFSHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -9337,8 +9491,8 @@ static PyObject *_wrap_wxZipFSHandler_CanOpen(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxZipFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ; wxFileSystem *arg2 = 0 ; wxString *arg3 = 0 ; @@ -9351,7 +9505,7 @@ static PyObject *_wrap_wxZipFSHandler_OpenFile(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "fs",(char *) "location", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxZipFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ZipFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxZipFSHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -9375,7 +9529,7 @@ static PyObject *_wrap_wxZipFSHandler_OpenFile(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 1); + resultobj = wxPyMake_wxObject(result, (bool)1); } { if (temp3) @@ -9391,8 +9545,8 @@ static PyObject *_wrap_wxZipFSHandler_OpenFile(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxZipFSHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; @@ -9405,7 +9559,7 @@ static PyObject *_wrap_wxZipFSHandler_FindFirst(PyObject *, PyObject *args, PyOb (char *) "self",(char *) "spec",(char *) "flags", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:wxZipFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxZipFSHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -9415,7 +9569,7 @@ static PyObject *_wrap_wxZipFSHandler_FindFirst(PyObject *, PyObject *args, PyOb } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -9447,8 +9601,8 @@ static PyObject *_wrap_wxZipFSHandler_FindFirst(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxZipFSHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ZipFSHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -9456,7 +9610,7 @@ static PyObject *_wrap_wxZipFSHandler_FindNext(PyObject *, PyObject *args, PyObj (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxZipFSHandler_FindNext",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ZipFSHandler_FindNext",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxZipFSHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -9479,7 +9633,7 @@ static PyObject *_wrap_wxZipFSHandler_FindNext(PyObject *, PyObject *args, PyObj } -static PyObject * wxZipFSHandler_swigregister(PyObject *, PyObject *args) { +static PyObject * ZipFSHandler_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler, obj); @@ -9487,7 +9641,7 @@ static PyObject * wxZipFSHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxImage *arg2 = 0 ; long arg3 ; @@ -9514,7 +9668,7 @@ static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *, PyObject if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -9540,7 +9694,7 @@ static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *, PyObject static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxBitmap *arg2 = 0 ; long arg3 ; @@ -9567,7 +9721,7 @@ static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *, PyObject if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -9593,7 +9747,7 @@ static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *, PyObject static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; PyObject *arg2 = (PyObject *) 0 ; bool temp1 = false ; @@ -9632,14 +9786,14 @@ static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *, PyObject *ar } -static PyObject *_wrap_new_wxMemoryFSHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_MemoryFSHandler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMemoryFSHandler *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_wxMemoryFSHandler",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryFSHandler",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxMemoryFSHandler *)new wxMemoryFSHandler(); @@ -9654,8 +9808,8 @@ static PyObject *_wrap_new_wxMemoryFSHandler(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxMemoryFSHandler_RemoveFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -9663,7 +9817,7 @@ static PyObject *_wrap_wxMemoryFSHandler_RemoveFile(PyObject *, PyObject *args, (char *) "filename", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMemoryFSHandler_RemoveFile",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_RemoveFile",kwnames,&obj0)) goto fail; { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; @@ -9691,8 +9845,8 @@ static PyObject *_wrap_wxMemoryFSHandler_RemoveFile(PyObject *, PyObject *args, } -static PyObject *_wrap_wxMemoryFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ; wxString *arg2 = 0 ; bool result; @@ -9703,7 +9857,7 @@ static PyObject *_wrap_wxMemoryFSHandler_CanOpen(PyObject *, PyObject *args, PyO (char *) "self",(char *) "location", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMemoryFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMemoryFSHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -9735,8 +9889,8 @@ static PyObject *_wrap_wxMemoryFSHandler_CanOpen(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxMemoryFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ; wxFileSystem *arg2 = 0 ; wxString *arg3 = 0 ; @@ -9749,7 +9903,7 @@ static PyObject *_wrap_wxMemoryFSHandler_OpenFile(PyObject *, PyObject *args, Py (char *) "self",(char *) "fs",(char *) "location", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxMemoryFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMemoryFSHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -9773,7 +9927,7 @@ static PyObject *_wrap_wxMemoryFSHandler_OpenFile(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 1); + resultobj = wxPyMake_wxObject(result, (bool)1); } { if (temp3) @@ -9789,8 +9943,8 @@ static PyObject *_wrap_wxMemoryFSHandler_OpenFile(PyObject *, PyObject *args, Py } -static PyObject *_wrap_wxMemoryFSHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; @@ -9803,7 +9957,7 @@ static PyObject *_wrap_wxMemoryFSHandler_FindFirst(PyObject *, PyObject *args, P (char *) "self",(char *) "spec",(char *) "flags", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:wxMemoryFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMemoryFSHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -9813,7 +9967,7 @@ static PyObject *_wrap_wxMemoryFSHandler_FindFirst(PyObject *, PyObject *args, P } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -9845,8 +9999,8 @@ static PyObject *_wrap_wxMemoryFSHandler_FindFirst(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxMemoryFSHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MemoryFSHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -9854,7 +10008,7 @@ static PyObject *_wrap_wxMemoryFSHandler_FindNext(PyObject *, PyObject *args, Py (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMemoryFSHandler_FindNext",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_FindNext",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMemoryFSHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -9877,15 +10031,15 @@ static PyObject *_wrap_wxMemoryFSHandler_FindNext(PyObject *, PyObject *args, Py } -static PyObject * wxMemoryFSHandler_swigregister(PyObject *, PyObject *args) { +static PyObject * MemoryFSHandler_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_wxImageHandler_GetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ImageHandler_GetName(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -9893,7 +10047,7 @@ static PyObject *_wrap_wxImageHandler_GetName(PyObject *, PyObject *args, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxImageHandler_GetName",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetName",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -9916,8 +10070,8 @@ static PyObject *_wrap_wxImageHandler_GetName(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxImageHandler_GetExtension(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ImageHandler_GetExtension(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -9925,7 +10079,7 @@ static PyObject *_wrap_wxImageHandler_GetExtension(PyObject *, PyObject *args, P (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxImageHandler_GetExtension",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetExtension",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -9948,8 +10102,8 @@ static PyObject *_wrap_wxImageHandler_GetExtension(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxImageHandler_GetType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ImageHandler_GetType(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; long result; PyObject * obj0 = 0 ; @@ -9957,7 +10111,7 @@ static PyObject *_wrap_wxImageHandler_GetType(PyObject *, PyObject *args, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxImageHandler_GetType",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetType",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -9968,7 +10122,7 @@ static PyObject *_wrap_wxImageHandler_GetType(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -9976,8 +10130,8 @@ static PyObject *_wrap_wxImageHandler_GetType(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxImageHandler_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -9985,7 +10139,7 @@ static PyObject *_wrap_wxImageHandler_GetMimeType(PyObject *, PyObject *args, Py (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxImageHandler_GetMimeType",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetMimeType",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -10008,8 +10162,8 @@ static PyObject *_wrap_wxImageHandler_GetMimeType(PyObject *, PyObject *args, Py } -static PyObject *_wrap_wxImageHandler_CanRead(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ImageHandler_CanRead(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString *arg2 = 0 ; bool result; @@ -10020,7 +10174,7 @@ static PyObject *_wrap_wxImageHandler_CanRead(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "name", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxImageHandler_CanRead",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_CanRead",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -10052,8 +10206,8 @@ static PyObject *_wrap_wxImageHandler_CanRead(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxImageHandler_SetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ImageHandler_SetName(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10063,7 +10217,7 @@ static PyObject *_wrap_wxImageHandler_SetName(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "name", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxImageHandler_SetName",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetName",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -10093,8 +10247,8 @@ static PyObject *_wrap_wxImageHandler_SetName(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxImageHandler_SetExtension(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ImageHandler_SetExtension(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10104,7 +10258,7 @@ static PyObject *_wrap_wxImageHandler_SetExtension(PyObject *, PyObject *args, P (char *) "self",(char *) "extension", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxImageHandler_SetExtension",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetExtension",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -10134,8 +10288,8 @@ static PyObject *_wrap_wxImageHandler_SetExtension(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxImageHandler_SetType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ImageHandler_SetType(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -10144,11 +10298,11 @@ static PyObject *_wrap_wxImageHandler_SetType(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "type", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxImageHandler_SetType",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetType",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -10165,8 +10319,8 @@ static PyObject *_wrap_wxImageHandler_SetType(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxImageHandler_SetMimeType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10176,7 +10330,7 @@ static PyObject *_wrap_wxImageHandler_SetMimeType(PyObject *, PyObject *args, Py (char *) "self",(char *) "mimetype", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxImageHandler_SetMimeType",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetMimeType",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -10206,21 +10360,78 @@ static PyObject *_wrap_wxImageHandler_SetMimeType(PyObject *, PyObject *args, Py } -static PyObject * wxImageHandler_swigregister(PyObject *, PyObject *args) { +static PyObject * ImageHandler_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxImageHistogram(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_PyImageHandler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxPyImageHandler *result; + char *kwnames[] = { + NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyImageHandler",kwnames)) goto fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxPyImageHandler *)new wxPyImageHandler(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyImageHandler, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_PyImageHandler__SetSelf(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxPyImageHandler *arg1 = (wxPyImageHandler *) 0 ; + PyObject *arg2 = (PyObject *) 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyImageHandler__SetSelf",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyImageHandler, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + arg2 = obj1; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->_SetSelf(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject * PyImageHandler_swigregister(PyObject *, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxPyImageHandler, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); +} +static PyObject *_wrap_new_ImageHistogram(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImageHistogram *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_wxImageHistogram",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ImageHistogram",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxImageHistogram *)new wxImageHistogram(); @@ -10235,11 +10446,11 @@ static PyObject *_wrap_new_wxImageHistogram(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxImageHistogram_MakeKey(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - unsigned char arg1 ; - unsigned char arg2 ; - unsigned char arg3 ; +static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + byte arg1 ; + byte arg2 ; + byte arg3 ; unsigned long result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -10248,17 +10459,17 @@ static PyObject *_wrap_wxImageHistogram_MakeKey(PyObject *, PyObject *args, PyOb (char *) "r",(char *) "g",(char *) "b", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail; { - arg1 = (unsigned char)(SWIG_As_unsigned_SS_char(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_char(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (unsigned char)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (unsigned char)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -10269,7 +10480,7 @@ static PyObject *_wrap_wxImageHistogram_MakeKey(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -10277,21 +10488,21 @@ static PyObject *_wrap_wxImageHistogram_MakeKey(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxImageHistogram_FindFirstUnusedColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImageHistogram *arg1 = (wxImageHistogram *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - unsigned char *arg3 = (unsigned char *) 0 ; - unsigned char *arg4 = (unsigned char *) 0 ; - unsigned char arg5 = (unsigned char) 1 ; - unsigned char arg6 = (unsigned char) 0 ; - unsigned char arg7 = (unsigned char) 0 ; + byte *arg2 = (byte *) 0 ; + byte *arg3 = (byte *) 0 ; + byte *arg4 = (byte *) 0 ; + byte arg5 = (byte) 1 ; + byte arg6 = (byte) 0 ; + byte arg7 = (byte) 0 ; bool result; - unsigned char temp2 ; + byte temp2 ; int res2 = 0 ; - unsigned char temp3 ; + byte temp3 ; int res3 = 0 ; - unsigned char temp4 ; + byte temp4 ; int res4 = 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -10304,24 +10515,24 @@ static PyObject *_wrap_wxImageHistogram_FindFirstUnusedColour(PyObject *, PyObje arg2 = &temp2; res2 = SWIG_NEWOBJ; arg3 = &temp3; res3 = SWIG_NEWOBJ; arg4 = &temp4; res4 = SWIG_NEWOBJ; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:wxImageHistogram_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHistogram, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg5 = (unsigned char)(SWIG_As_unsigned_SS_char(obj1)); + arg5 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj2) { { - arg6 = (unsigned char)(SWIG_As_unsigned_SS_char(obj2)); + arg6 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(6)) SWIG_fail; } } if (obj3) { { - arg7 = (unsigned char)(SWIG_As_unsigned_SS_char(obj3)); + arg7 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -10347,8 +10558,8 @@ static PyObject *_wrap_wxImageHistogram_FindFirstUnusedColour(PyObject *, PyObje } -static PyObject *_wrap_wxImageHistogram_GetCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ImageHistogram_GetCount(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImageHistogram *arg1 = (wxImageHistogram *) 0 ; unsigned long arg2 ; unsigned long result; @@ -10358,11 +10569,11 @@ static PyObject *_wrap_wxImageHistogram_GetCount(PyObject *, PyObject *args, PyO (char *) "self",(char *) "key", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxImageHistogram_GetCount",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHistogram_GetCount",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHistogram, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -10373,7 +10584,7 @@ static PyObject *_wrap_wxImageHistogram_GetCount(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -10381,12 +10592,12 @@ static PyObject *_wrap_wxImageHistogram_GetCount(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxImageHistogram_GetCountRGB(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ImageHistogram_GetCountRGB(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImageHistogram *arg1 = (wxImageHistogram *) 0 ; - unsigned char arg2 ; - unsigned char arg3 ; - unsigned char arg4 ; + byte arg2 ; + byte arg3 ; + byte arg4 ; unsigned long result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -10396,19 +10607,19 @@ static PyObject *_wrap_wxImageHistogram_GetCountRGB(PyObject *, PyObject *args, (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:wxImageHistogram_GetCountRGB",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHistogram, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (unsigned char)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (unsigned char)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (unsigned char)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -10419,7 +10630,7 @@ static PyObject *_wrap_wxImageHistogram_GetCountRGB(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -10427,8 +10638,8 @@ static PyObject *_wrap_wxImageHistogram_GetCountRGB(PyObject *, PyObject *args, } -static PyObject *_wrap_wxImageHistogram_GetCountColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ImageHistogram_GetCountColour(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImageHistogram *arg1 = (wxImageHistogram *) 0 ; wxColour *arg2 = 0 ; unsigned long result; @@ -10439,7 +10650,7 @@ static PyObject *_wrap_wxImageHistogram_GetCountColour(PyObject *, PyObject *arg (char *) "self",(char *) "colour", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxImageHistogram_GetCountColour",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHistogram_GetCountColour",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHistogram, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -10454,7 +10665,7 @@ static PyObject *_wrap_wxImageHistogram_GetCountColour(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -10462,15 +10673,415 @@ static PyObject *_wrap_wxImageHistogram_GetCountColour(PyObject *, PyObject *arg } -static PyObject * wxImageHistogram_swigregister(PyObject *, PyObject *args) { +static PyObject * ImageHistogram_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_Image_RGBValue(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + byte arg1 = (byte) 0 ; + byte arg2 = (byte) 0 ; + byte arg3 = (byte) 0 ; + wxImage_RGBValue *result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char *kwnames[] = { + (char *) "r",(char *) "g",(char *) "b", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_Image_RGBValue",kwnames,&obj0,&obj1,&obj2)) goto fail; + if (obj0) { + { + arg1 = static_cast(SWIG_As_unsigned_SS_char(obj0)); + if (SWIG_arg_fail(1)) SWIG_fail; + } + } + if (obj1) { + { + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + } + if (obj2) { + { + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxImage_RGBValue *)new wxImage_RGBValue(arg1,arg2,arg3); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage_RGBValue, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Image_RGBValue_red_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxImage_RGBValue *arg1 = (wxImage_RGBValue *) 0 ; + byte arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "red", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_RGBValue_red_set",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_RGBValue, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + if (arg1) (arg1)->red = arg2; + + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Image_RGBValue_red_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxImage_RGBValue *arg1 = (wxImage_RGBValue *) 0 ; + byte result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RGBValue_red_get",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_RGBValue, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + result = (byte) ((arg1)->red); + + { + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Image_RGBValue_green_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxImage_RGBValue *arg1 = (wxImage_RGBValue *) 0 ; + byte arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "green", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_RGBValue_green_set",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_RGBValue, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + if (arg1) (arg1)->green = arg2; + + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Image_RGBValue_green_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxImage_RGBValue *arg1 = (wxImage_RGBValue *) 0 ; + byte result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RGBValue_green_get",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_RGBValue, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + result = (byte) ((arg1)->green); + + { + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Image_RGBValue_blue_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxImage_RGBValue *arg1 = (wxImage_RGBValue *) 0 ; + byte arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "blue", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_RGBValue_blue_set",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_RGBValue, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + if (arg1) (arg1)->blue = arg2; + + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Image_RGBValue_blue_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxImage_RGBValue *arg1 = (wxImage_RGBValue *) 0 ; + byte result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RGBValue_blue_get",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_RGBValue, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + result = (byte) ((arg1)->blue); + + { + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject * Image_RGBValue_swigregister(PyObject *, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxImage_RGBValue, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); +} +static PyObject *_wrap_new_Image_HSVValue(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + double arg1 = (double) 0.0 ; + double arg2 = (double) 0.0 ; + double arg3 = (double) 0.0 ; + wxImage_HSVValue *result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char *kwnames[] = { + (char *) "h",(char *) "s",(char *) "v", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_Image_HSVValue",kwnames,&obj0,&obj1,&obj2)) goto fail; + if (obj0) { + { + arg1 = static_cast(SWIG_As_double(obj0)); + if (SWIG_arg_fail(1)) SWIG_fail; + } + } + if (obj1) { + { + arg2 = static_cast(SWIG_As_double(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + } + if (obj2) { + { + arg3 = static_cast(SWIG_As_double(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxImage_HSVValue *)new wxImage_HSVValue(arg1,arg2,arg3); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage_HSVValue, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Image_HSVValue_hue_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxImage_HSVValue *arg1 = (wxImage_HSVValue *) 0 ; + double arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "hue", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HSVValue_hue_set",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_HSVValue, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_double(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + if (arg1) (arg1)->hue = arg2; + + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Image_HSVValue_hue_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxImage_HSVValue *arg1 = (wxImage_HSVValue *) 0 ; + double result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HSVValue_hue_get",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_HSVValue, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + result = (double) ((arg1)->hue); + + { + resultobj = SWIG_From_double(static_cast(result)); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Image_HSVValue_saturation_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxImage_HSVValue *arg1 = (wxImage_HSVValue *) 0 ; + double arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "saturation", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HSVValue_saturation_set",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_HSVValue, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_double(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + if (arg1) (arg1)->saturation = arg2; + + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Image_HSVValue_saturation_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxImage_HSVValue *arg1 = (wxImage_HSVValue *) 0 ; + double result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HSVValue_saturation_get",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_HSVValue, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + result = (double) ((arg1)->saturation); + + { + resultobj = SWIG_From_double(static_cast(result)); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Image_HSVValue_value_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxImage_HSVValue *arg1 = (wxImage_HSVValue *) 0 ; + double arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "value", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HSVValue_value_set",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_HSVValue, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_double(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + if (arg1) (arg1)->value = arg2; + + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Image_HSVValue_value_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxImage_HSVValue *arg1 = (wxImage_HSVValue *) 0 ; + double result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HSVValue_value_get",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage_HSVValue, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + result = (double) ((arg1)->value); + + { + resultobj = SWIG_From_double(static_cast(result)); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject * Image_HSVValue_swigregister(PyObject *, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxImage_HSVValue, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); +} +static PyObject *_wrap_new_Image(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxString *arg1 = 0 ; long arg2 = (long) wxBITMAP_TYPE_ANY ; int arg3 = (int) -1 ; @@ -10483,7 +11094,7 @@ static PyObject *_wrap_new_wxImage(PyObject *, PyObject *args, PyObject *kwargs) (char *) "name",(char *) "type",(char *) "index", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_wxImage",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_Image",kwnames,&obj0,&obj1,&obj2)) goto fail; { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; @@ -10491,13 +11102,13 @@ static PyObject *_wrap_new_wxImage(PyObject *, PyObject *args, PyObject *kwargs) } if (obj1) { { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -10523,15 +11134,15 @@ static PyObject *_wrap_new_wxImage(PyObject *, PyObject *args, PyObject *kwargs) } -static PyObject *_wrap_delete_wxImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_delete_Image(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_wxImage",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Image",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -10549,7 +11160,7 @@ static PyObject *_wrap_delete_wxImage(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_ImageFromMime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; int arg3 = (int) -1 ; @@ -10576,7 +11187,7 @@ static PyObject *_wrap_new_ImageFromMime(PyObject *, PyObject *args, PyObject *k } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -10611,7 +11222,7 @@ static PyObject *_wrap_new_ImageFromMime(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_new_ImageFromStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxInputStream *arg1 = 0 ; long arg2 = (long) wxBITMAP_TYPE_ANY ; int arg3 = (int) -1 ; @@ -10642,13 +11253,13 @@ static PyObject *_wrap_new_ImageFromStream(PyObject *, PyObject *args, PyObject } if (obj1) { { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -10673,7 +11284,7 @@ static PyObject *_wrap_new_ImageFromStream(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_ImageFromStreamMime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxInputStream *arg1 = 0 ; wxString *arg2 = 0 ; int arg3 = (int) -1 ; @@ -10710,7 +11321,7 @@ static PyObject *_wrap_new_ImageFromStreamMime(PyObject *, PyObject *args, PyObj } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -10743,7 +11354,7 @@ static PyObject *_wrap_new_ImageFromStreamMime(PyObject *, PyObject *args, PyObj static PyObject *_wrap_new_EmptyImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; bool arg3 = (bool) true ; @@ -10758,19 +11369,19 @@ static PyObject *_wrap_new_EmptyImage(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_EmptyImage",kwnames,&obj0,&obj1,&obj2)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -10789,7 +11400,7 @@ static PyObject *_wrap_new_EmptyImage(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_ImageFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = 0 ; wxImage *result; PyObject * obj0 = 0 ; @@ -10822,7 +11433,7 @@ static PyObject *_wrap_new_ImageFromBitmap(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_ImageFromData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int arg2 ; buffer arg3 ; @@ -10837,11 +11448,11 @@ static PyObject *_wrap_new_ImageFromData(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ImageFromData",kwnames,&obj0,&obj1,&obj2)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -10862,7 +11473,7 @@ static PyObject *_wrap_new_ImageFromData(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_new_ImageFromDataWithAlpha(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int arg2 ; buffer arg3 ; @@ -10880,11 +11491,11 @@ static PyObject *_wrap_new_ImageFromDataWithAlpha(PyObject *, PyObject *args, Py if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -10907,32 +11518,40 @@ static PyObject *_wrap_new_ImageFromDataWithAlpha(PyObject *, PyObject *args, Py } -static PyObject *_wrap_wxImage_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_Create(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; + bool arg4 = (bool) true ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "width",(char *) "height", NULL + (char *) "self",(char *) "width",(char *) "height",(char *) "clear", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxImage_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_Create",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } + if (obj3) { + { + arg4 = static_cast(SWIG_As_bool(obj3)); + if (SWIG_arg_fail(4)) SWIG_fail; + } + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->Create(arg2,arg3); + (arg1)->Create(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -10944,15 +11563,15 @@ static PyObject *_wrap_wxImage_Create(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxImage_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxImage_Destroy",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Destroy",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -10969,8 +11588,8 @@ static PyObject *_wrap_wxImage_Destroy(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxImage_Scale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_Scale(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; @@ -10982,15 +11601,15 @@ static PyObject *_wrap_wxImage_Scale(PyObject *, PyObject *args, PyObject *kwarg (char *) "self",(char *) "width",(char *) "height", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxImage_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -11002,7 +11621,7 @@ static PyObject *_wrap_wxImage_Scale(PyObject *, PyObject *args, PyObject *kwarg } { wxImage * resultptr; - resultptr = new wxImage((wxImage &)(result)); + resultptr = new wxImage(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); } return resultobj; @@ -11011,8 +11630,8 @@ static PyObject *_wrap_wxImage_Scale(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxImage_ShrinkBy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_ShrinkBy(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; @@ -11024,15 +11643,15 @@ static PyObject *_wrap_wxImage_ShrinkBy(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxImage_ShrinkBy",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_ShrinkBy",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -11044,7 +11663,7 @@ static PyObject *_wrap_wxImage_ShrinkBy(PyObject *, PyObject *args, PyObject *kw } { wxImage * resultptr; - resultptr = new wxImage((wxImage &)(result)); + resultptr = new wxImage(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); } return resultobj; @@ -11053,8 +11672,8 @@ static PyObject *_wrap_wxImage_ShrinkBy(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxImage_Rescale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_Rescale(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; @@ -11066,15 +11685,15 @@ static PyObject *_wrap_wxImage_Rescale(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "width",(char *) "height", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxImage_Rescale",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Rescale",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -11094,8 +11713,8 @@ static PyObject *_wrap_wxImage_Rescale(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxImage_Resize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_Resize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxSize *arg2 = 0 ; wxPoint *arg3 = 0 ; @@ -11115,7 +11734,7 @@ static PyObject *_wrap_wxImage_Resize(PyObject *, PyObject *args, PyObject *kwar (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:wxImage_Resize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:Image_Resize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -11128,19 +11747,19 @@ static PyObject *_wrap_wxImage_Resize(PyObject *, PyObject *args, PyObject *kwar } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -11161,14 +11780,14 @@ static PyObject *_wrap_wxImage_Resize(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxImage_SetRGB(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_SetRGB(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; - unsigned char arg4 ; - unsigned char arg5 ; - unsigned char arg6 ; + byte arg4 ; + byte arg5 ; + byte arg6 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -11179,27 +11798,27 @@ static PyObject *_wrap_wxImage_SetRGB(PyObject *, PyObject *args, PyObject *kwar (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:wxImage_SetRGB",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Image_SetRGB",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (unsigned char)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (unsigned char)(SWIG_As_unsigned_SS_char(obj4)); + arg5 = static_cast(SWIG_As_unsigned_SS_char(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { - arg6 = (unsigned char)(SWIG_As_unsigned_SS_char(obj5)); + arg6 = static_cast(SWIG_As_unsigned_SS_char(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } { @@ -11216,13 +11835,13 @@ static PyObject *_wrap_wxImage_SetRGB(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxImage_SetRGBRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_SetRGBRect(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxRect *arg2 = 0 ; - unsigned char arg3 ; - unsigned char arg4 ; - unsigned char arg5 ; + byte arg3 ; + byte arg4 ; + byte arg5 ; wxRect temp2 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -11233,7 +11852,7 @@ static PyObject *_wrap_wxImage_SetRGBRect(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:wxImage_SetRGBRect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetRGBRect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -11241,15 +11860,15 @@ static PyObject *_wrap_wxImage_SetRGBRect(PyObject *, PyObject *args, PyObject * if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; } { - arg3 = (unsigned char)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (unsigned char)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (unsigned char)(SWIG_As_unsigned_SS_char(obj4)); + arg5 = static_cast(SWIG_As_unsigned_SS_char(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { @@ -11266,12 +11885,12 @@ static PyObject *_wrap_wxImage_SetRGBRect(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxImage_GetRed(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_GetRed(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; - unsigned char result; + byte result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -11279,26 +11898,26 @@ static PyObject *_wrap_wxImage_GetRed(PyObject *, PyObject *args, PyObject *kwar (char *) "self",(char *) "x",(char *) "y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxImage_GetRed",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetRed",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (unsigned char)(arg1)->GetRed(arg2,arg3); + result = (byte)(arg1)->GetRed(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -11306,12 +11925,12 @@ static PyObject *_wrap_wxImage_GetRed(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxImage_GetGreen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_GetGreen(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; - unsigned char result; + byte result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -11319,26 +11938,26 @@ static PyObject *_wrap_wxImage_GetGreen(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "x",(char *) "y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxImage_GetGreen",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetGreen",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (unsigned char)(arg1)->GetGreen(arg2,arg3); + result = (byte)(arg1)->GetGreen(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -11346,12 +11965,12 @@ static PyObject *_wrap_wxImage_GetGreen(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxImage_GetBlue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_GetBlue(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; - unsigned char result; + byte result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -11359,26 +11978,26 @@ static PyObject *_wrap_wxImage_GetBlue(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "x",(char *) "y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxImage_GetBlue",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetBlue",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (unsigned char)(arg1)->GetBlue(arg2,arg3); + result = (byte)(arg1)->GetBlue(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -11386,12 +12005,12 @@ static PyObject *_wrap_wxImage_GetBlue(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxImage_SetAlpha(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_SetAlpha(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; - unsigned char arg4 ; + byte arg4 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -11400,19 +12019,19 @@ static PyObject *_wrap_wxImage_SetAlpha(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:wxImage_SetAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (unsigned char)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -11429,12 +12048,12 @@ static PyObject *_wrap_wxImage_SetAlpha(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxImage_GetAlpha(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_GetAlpha(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; - unsigned char result; + byte result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -11442,26 +12061,26 @@ static PyObject *_wrap_wxImage_GetAlpha(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "x",(char *) "y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxImage_GetAlpha",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetAlpha",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (unsigned char)(arg1)->GetAlpha(arg2,arg3); + result = (byte)(arg1)->GetAlpha(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -11469,8 +12088,8 @@ static PyObject *_wrap_wxImage_GetAlpha(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxImage_HasAlpha(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_HasAlpha(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11478,7 +12097,7 @@ static PyObject *_wrap_wxImage_HasAlpha(PyObject *, PyObject *args, PyObject *kw (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxImage_HasAlpha",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasAlpha",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -11497,15 +12116,15 @@ static PyObject *_wrap_wxImage_HasAlpha(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxImage_InitAlpha(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_InitAlpha(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxImage_InitAlpha",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InitAlpha",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -11522,8 +12141,56 @@ static PyObject *_wrap_wxImage_InitAlpha(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxImage_FindFirstUnusedColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_IsTransparent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxImage *arg1 = (wxImage *) 0 ; + int arg2 ; + int arg3 ; + byte arg4 = (byte) wxIMAGE_ALPHA_THRESHOLD ; + bool result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_IsTransparent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_int(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + arg3 = static_cast(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } + if (obj3) { + { + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); + if (SWIG_arg_fail(4)) SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)((wxImage const *)arg1)->IsTransparent(arg2,arg3,arg4); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; byte *arg2 = (byte *) 0 ; byte *arg3 = (byte *) 0 ; @@ -11549,24 +12216,24 @@ static PyObject *_wrap_wxImage_FindFirstUnusedColour(PyObject *, PyObject *args, arg2 = &temp2; res2 = SWIG_NEWOBJ; arg3 = &temp3; res3 = SWIG_NEWOBJ; arg4 = &temp4; res4 = SWIG_NEWOBJ; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:wxImage_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg5 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg5 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj2) { { - arg6 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg6 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(6)) SWIG_fail; } } if (obj3) { { - arg7 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg7 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -11592,10 +12259,10 @@ static PyObject *_wrap_wxImage_FindFirstUnusedColour(PyObject *, PyObject *args, } -static PyObject *_wrap_wxImage_ConvertAlphaToMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_ConvertAlphaToMask(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; - byte arg2 = (byte) 128 ; + byte arg2 = (byte) wxIMAGE_ALPHA_THRESHOLD ; bool result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -11603,12 +12270,12 @@ static PyObject *_wrap_wxImage_ConvertAlphaToMask(PyObject *, PyObject *args, Py (char *) "self",(char *) "threshold", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxImage_ConvertAlphaToMask",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_ConvertAlphaToMask",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (byte)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -11628,12 +12295,12 @@ static PyObject *_wrap_wxImage_ConvertAlphaToMask(PyObject *, PyObject *args, Py } -static PyObject *_wrap_wxImage_ConvertColourToAlpha(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_ConvertColourToAlpha(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; - unsigned char arg2 ; - unsigned char arg3 ; - unsigned char arg4 ; + byte arg2 ; + byte arg3 ; + byte arg4 ; bool result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -11643,19 +12310,19 @@ static PyObject *_wrap_wxImage_ConvertColourToAlpha(PyObject *, PyObject *args, (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:wxImage_ConvertColourToAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (unsigned char)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (unsigned char)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (unsigned char)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -11674,8 +12341,8 @@ static PyObject *_wrap_wxImage_ConvertColourToAlpha(PyObject *, PyObject *args, } -static PyObject *_wrap_wxImage_SetMaskFromImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_SetMaskFromImage(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxImage *arg2 = 0 ; byte arg3 ; @@ -11691,7 +12358,7 @@ static PyObject *_wrap_wxImage_SetMaskFromImage(PyObject *, PyObject *args, PyOb (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:wxImage_SetMaskFromImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetMaskFromImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -11703,15 +12370,15 @@ static PyObject *_wrap_wxImage_SetMaskFromImage(PyObject *, PyObject *args, PyOb if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (byte)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (byte)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (byte)(SWIG_As_unsigned_SS_char(obj4)); + arg5 = static_cast(SWIG_As_unsigned_SS_char(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { @@ -11730,17 +12397,17 @@ static PyObject *_wrap_wxImage_SetMaskFromImage(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxImage_CanRead(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_CanRead(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool result; bool temp1 = false ; PyObject * obj0 = 0 ; char *kwnames[] = { - (char *) "name", NULL + (char *) "filename", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxImage_CanRead",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanRead",kwnames,&obj0)) goto fail; { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; @@ -11770,8 +12437,8 @@ static PyObject *_wrap_wxImage_CanRead(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxImage_GetImageCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_GetImageCount(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxString *arg1 = 0 ; long arg2 = (long) wxBITMAP_TYPE_ANY ; int result; @@ -11779,10 +12446,10 @@ static PyObject *_wrap_wxImage_GetImageCount(PyObject *, PyObject *args, PyObjec PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "name",(char *) "type", NULL + (char *) "filename",(char *) "type", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxImage_GetImageCount",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_GetImageCount",kwnames,&obj0,&obj1)) goto fail; { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; @@ -11790,7 +12457,7 @@ static PyObject *_wrap_wxImage_GetImageCount(PyObject *, PyObject *args, PyObjec } if (obj1) { { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -11802,7 +12469,7 @@ static PyObject *_wrap_wxImage_GetImageCount(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp1) @@ -11818,8 +12485,8 @@ static PyObject *_wrap_wxImage_GetImageCount(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxImage_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; long arg3 = (long) wxBITMAP_TYPE_ANY ; @@ -11834,7 +12501,7 @@ static PyObject *_wrap_wxImage_LoadFile(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:wxImage_LoadFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -11844,13 +12511,13 @@ static PyObject *_wrap_wxImage_LoadFile(PyObject *, PyObject *args, PyObject *kw } if (obj2) { { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -11878,8 +12545,8 @@ static PyObject *_wrap_wxImage_LoadFile(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxImage_LoadMimeFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_LoadMimeFile(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -11895,7 +12562,7 @@ static PyObject *_wrap_wxImage_LoadMimeFile(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:wxImage_LoadMimeFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -11910,7 +12577,7 @@ static PyObject *_wrap_wxImage_LoadMimeFile(PyObject *, PyObject *args, PyObject } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -11946,8 +12613,8 @@ static PyObject *_wrap_wxImage_LoadMimeFile(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxImage_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; int arg3 ; @@ -11960,7 +12627,7 @@ static PyObject *_wrap_wxImage_SaveFile(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "name",(char *) "type", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxImage_SaveFile",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveFile",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -11969,7 +12636,7 @@ static PyObject *_wrap_wxImage_SaveFile(PyObject *, PyObject *args, PyObject *kw temp2 = true; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -11996,8 +12663,8 @@ static PyObject *_wrap_wxImage_SaveFile(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxImage_SaveMimeFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_SaveMimeFile(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -12011,7 +12678,7 @@ static PyObject *_wrap_wxImage_SaveMimeFile(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "name",(char *) "mimetype", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxImage_SaveMimeFile",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveMimeFile",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -12056,8 +12723,8 @@ static PyObject *_wrap_wxImage_SaveMimeFile(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxImage_CanReadStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_CanReadStream(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxInputStream *arg1 = 0 ; bool result; wxPyInputStream *temp1 ; @@ -12067,7 +12734,7 @@ static PyObject *_wrap_wxImage_CanReadStream(PyObject *, PyObject *args, PyObjec (char *) "stream", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxImage_CanReadStream",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanReadStream",kwnames,&obj0)) goto fail; { if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) { arg1 = temp1->m_wxis; @@ -12104,8 +12771,8 @@ static PyObject *_wrap_wxImage_CanReadStream(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxImage_LoadStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_LoadStream(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxInputStream *arg2 = 0 ; long arg3 = (long) wxBITMAP_TYPE_ANY ; @@ -12121,7 +12788,7 @@ static PyObject *_wrap_wxImage_LoadStream(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:wxImage_LoadStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -12140,13 +12807,13 @@ static PyObject *_wrap_wxImage_LoadStream(PyObject *, PyObject *args, PyObject * } if (obj2) { { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -12172,8 +12839,8 @@ static PyObject *_wrap_wxImage_LoadStream(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxImage_LoadMimeStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_LoadMimeStream(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxInputStream *arg2 = 0 ; wxString *arg3 = 0 ; @@ -12190,7 +12857,7 @@ static PyObject *_wrap_wxImage_LoadMimeStream(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:wxImage_LoadMimeStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -12214,7 +12881,7 @@ static PyObject *_wrap_wxImage_LoadMimeStream(PyObject *, PyObject *args, PyObje } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -12248,8 +12915,8 @@ static PyObject *_wrap_wxImage_LoadMimeStream(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxImage_Ok(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_Ok(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12257,7 +12924,7 @@ static PyObject *_wrap_wxImage_Ok(PyObject *, PyObject *args, PyObject *kwargs) (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxImage_Ok",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Ok",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -12276,8 +12943,8 @@ static PyObject *_wrap_wxImage_Ok(PyObject *, PyObject *args, PyObject *kwargs) } -static PyObject *_wrap_wxImage_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12285,7 +12952,7 @@ static PyObject *_wrap_wxImage_GetWidth(PyObject *, PyObject *args, PyObject *kw (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxImage_GetWidth",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetWidth",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -12296,7 +12963,7 @@ static PyObject *_wrap_wxImage_GetWidth(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12304,8 +12971,8 @@ static PyObject *_wrap_wxImage_GetWidth(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxImage_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12313,7 +12980,7 @@ static PyObject *_wrap_wxImage_GetHeight(PyObject *, PyObject *args, PyObject *k (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxImage_GetHeight",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetHeight",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -12324,7 +12991,7 @@ static PyObject *_wrap_wxImage_GetHeight(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12332,8 +12999,8 @@ static PyObject *_wrap_wxImage_GetHeight(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxImage_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -12341,7 +13008,7 @@ static PyObject *_wrap_wxImage_GetSize(PyObject *, PyObject *args, PyObject *kwa (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxImage_GetSize",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetSize",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -12353,7 +13020,7 @@ static PyObject *_wrap_wxImage_GetSize(PyObject *, PyObject *args, PyObject *kwa } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -12362,8 +13029,8 @@ static PyObject *_wrap_wxImage_GetSize(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxImage_GetSubImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_GetSubImage(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxRect *arg2 = 0 ; SwigValueWrapper result; @@ -12374,7 +13041,7 @@ static PyObject *_wrap_wxImage_GetSubImage(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "rect", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxImage_GetSubImage",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetSubImage",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -12390,7 +13057,7 @@ static PyObject *_wrap_wxImage_GetSubImage(PyObject *, PyObject *args, PyObject } { wxImage * resultptr; - resultptr = new wxImage((wxImage &)(result)); + resultptr = new wxImage(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); } return resultobj; @@ -12399,8 +13066,8 @@ static PyObject *_wrap_wxImage_GetSubImage(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxImage_Size(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_Size(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxSize *arg2 = 0 ; wxPoint *arg3 = 0 ; @@ -12420,7 +13087,7 @@ static PyObject *_wrap_wxImage_Size(PyObject *, PyObject *args, PyObject *kwargs (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:wxImage_Size",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:Image_Size",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -12433,19 +13100,19 @@ static PyObject *_wrap_wxImage_Size(PyObject *, PyObject *args, PyObject *kwargs } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -12458,7 +13125,7 @@ static PyObject *_wrap_wxImage_Size(PyObject *, PyObject *args, PyObject *kwargs } { wxImage * resultptr; - resultptr = new wxImage((wxImage &)(result)); + resultptr = new wxImage(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); } return resultobj; @@ -12467,8 +13134,8 @@ static PyObject *_wrap_wxImage_Size(PyObject *, PyObject *args, PyObject *kwargs } -static PyObject *_wrap_wxImage_Copy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_Copy(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; SwigValueWrapper result; PyObject * obj0 = 0 ; @@ -12476,7 +13143,7 @@ static PyObject *_wrap_wxImage_Copy(PyObject *, PyObject *args, PyObject *kwargs (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxImage_Copy",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Copy",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -12488,7 +13155,7 @@ static PyObject *_wrap_wxImage_Copy(PyObject *, PyObject *args, PyObject *kwargs } { wxImage * resultptr; - resultptr = new wxImage((wxImage &)(result)); + resultptr = new wxImage(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); } return resultobj; @@ -12497,8 +13164,8 @@ static PyObject *_wrap_wxImage_Copy(PyObject *, PyObject *args, PyObject *kwargs } -static PyObject *_wrap_wxImage_Paste(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_Paste(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxImage *arg2 = 0 ; int arg3 ; @@ -12511,7 +13178,7 @@ static PyObject *_wrap_wxImage_Paste(PyObject *, PyObject *args, PyObject *kwarg (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:wxImage_Paste",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_Paste",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -12523,11 +13190,11 @@ static PyObject *_wrap_wxImage_Paste(PyObject *, PyObject *args, PyObject *kwarg if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -12544,8 +13211,8 @@ static PyObject *_wrap_wxImage_Paste(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxImage_GetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_GetData(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -12553,7 +13220,7 @@ static PyObject *_wrap_wxImage_GetData(PyObject *, PyObject *args, PyObject *kwa (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxImage_GetData",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetData",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -12570,8 +13237,8 @@ static PyObject *_wrap_wxImage_GetData(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxImage_SetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_SetData(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; buffer arg2 ; int arg3 ; @@ -12581,7 +13248,7 @@ static PyObject *_wrap_wxImage_SetData(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "data", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxImage_SetData",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetData",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -12601,8 +13268,8 @@ static PyObject *_wrap_wxImage_SetData(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxImage_GetDataBuffer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_GetDataBuffer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -12610,7 +13277,7 @@ static PyObject *_wrap_wxImage_GetDataBuffer(PyObject *, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxImage_GetDataBuffer",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetDataBuffer",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -12627,8 +13294,8 @@ static PyObject *_wrap_wxImage_GetDataBuffer(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxImage_SetDataBuffer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_SetDataBuffer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; buffer arg2 ; int arg3 ; @@ -12638,7 +13305,7 @@ static PyObject *_wrap_wxImage_SetDataBuffer(PyObject *, PyObject *args, PyObjec (char *) "self",(char *) "data", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxImage_SetDataBuffer",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetDataBuffer",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -12658,8 +13325,8 @@ static PyObject *_wrap_wxImage_SetDataBuffer(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxImage_GetAlphaData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_GetAlphaData(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -12667,7 +13334,7 @@ static PyObject *_wrap_wxImage_GetAlphaData(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxImage_GetAlphaData",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaData",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -12684,8 +13351,8 @@ static PyObject *_wrap_wxImage_GetAlphaData(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxImage_SetAlphaData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_SetAlphaData(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; buffer arg2 ; int arg3 ; @@ -12695,7 +13362,7 @@ static PyObject *_wrap_wxImage_SetAlphaData(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "alpha", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxImage_SetAlphaData",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaData",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -12715,8 +13382,8 @@ static PyObject *_wrap_wxImage_SetAlphaData(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxImage_GetAlphaBuffer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -12724,7 +13391,7 @@ static PyObject *_wrap_wxImage_GetAlphaBuffer(PyObject *, PyObject *args, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxImage_GetAlphaBuffer",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaBuffer",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -12741,8 +13408,8 @@ static PyObject *_wrap_wxImage_GetAlphaBuffer(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxImage_SetAlphaBuffer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; buffer arg2 ; int arg3 ; @@ -12752,7 +13419,7 @@ static PyObject *_wrap_wxImage_SetAlphaBuffer(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "alpha", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxImage_SetAlphaBuffer",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaBuffer",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -12772,12 +13439,12 @@ static PyObject *_wrap_wxImage_SetAlphaBuffer(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxImage_SetMaskColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_SetMaskColour(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; - unsigned char arg2 ; - unsigned char arg3 ; - unsigned char arg4 ; + byte arg2 ; + byte arg3 ; + byte arg4 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -12786,19 +13453,19 @@ static PyObject *_wrap_wxImage_SetMaskColour(PyObject *, PyObject *args, PyObjec (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:wxImage_SetMaskColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetMaskColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (unsigned char)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (unsigned char)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (unsigned char)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -12815,17 +13482,17 @@ static PyObject *_wrap_wxImage_SetMaskColour(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxImage_GetOrFindMaskColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_GetOrFindMaskColour(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; - unsigned char *arg2 = (unsigned char *) 0 ; - unsigned char *arg3 = (unsigned char *) 0 ; - unsigned char *arg4 = (unsigned char *) 0 ; - unsigned char temp2 ; + byte *arg2 = (byte *) 0 ; + byte *arg3 = (byte *) 0 ; + byte *arg4 = (byte *) 0 ; + byte temp2 ; int res2 = 0 ; - unsigned char temp3 ; + byte temp3 ; int res3 = 0 ; - unsigned char temp4 ; + byte temp4 ; int res4 = 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12835,7 +13502,7 @@ static PyObject *_wrap_wxImage_GetOrFindMaskColour(PyObject *, PyObject *args, P arg2 = &temp2; res2 = SWIG_NEWOBJ; arg3 = &temp3; res3 = SWIG_NEWOBJ; arg4 = &temp4; res4 = SWIG_NEWOBJ; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxImage_GetOrFindMaskColour",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetOrFindMaskColour",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -12858,27 +13525,27 @@ static PyObject *_wrap_wxImage_GetOrFindMaskColour(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxImage_GetMaskRed(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_GetMaskRed(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; - unsigned char result; + byte result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxImage_GetMaskRed",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskRed",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (unsigned char)(arg1)->GetMaskRed(); + result = (byte)(arg1)->GetMaskRed(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -12886,27 +13553,27 @@ static PyObject *_wrap_wxImage_GetMaskRed(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxImage_GetMaskGreen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_GetMaskGreen(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; - unsigned char result; + byte result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxImage_GetMaskGreen",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskGreen",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (unsigned char)(arg1)->GetMaskGreen(); + result = (byte)(arg1)->GetMaskGreen(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -12914,27 +13581,27 @@ static PyObject *_wrap_wxImage_GetMaskGreen(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxImage_GetMaskBlue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_GetMaskBlue(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; - unsigned char result; + byte result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxImage_GetMaskBlue",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskBlue",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (unsigned char)(arg1)->GetMaskBlue(); + result = (byte)(arg1)->GetMaskBlue(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_char((unsigned char)(result)); + resultobj = SWIG_From_unsigned_SS_char(static_cast(result)); } return resultobj; fail: @@ -12942,8 +13609,8 @@ static PyObject *_wrap_wxImage_GetMaskBlue(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxImage_SetMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_SetMask(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -12952,12 +13619,12 @@ static PyObject *_wrap_wxImage_SetMask(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "mask", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxImage_SetMask",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_SetMask",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -12975,8 +13642,8 @@ static PyObject *_wrap_wxImage_SetMask(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxImage_HasMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_HasMask(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12984,7 +13651,7 @@ static PyObject *_wrap_wxImage_HasMask(PyObject *, PyObject *args, PyObject *kwa (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxImage_HasMask",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasMask",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -13003,8 +13670,8 @@ static PyObject *_wrap_wxImage_HasMask(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxImage_Rotate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_Rotate(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; double arg2 ; wxPoint *arg3 = 0 ; @@ -13021,11 +13688,11 @@ static PyObject *_wrap_wxImage_Rotate(PyObject *, PyObject *args, PyObject *kwar (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:wxImage_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Image_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13034,7 +13701,7 @@ static PyObject *_wrap_wxImage_Rotate(PyObject *, PyObject *args, PyObject *kwar } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -13051,7 +13718,7 @@ static PyObject *_wrap_wxImage_Rotate(PyObject *, PyObject *args, PyObject *kwar } { wxImage * resultptr; - resultptr = new wxImage((wxImage &)(result)); + resultptr = new wxImage(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); } return resultobj; @@ -13060,8 +13727,8 @@ static PyObject *_wrap_wxImage_Rotate(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxImage_Rotate90(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_Rotate90(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; bool arg2 = (bool) true ; SwigValueWrapper result; @@ -13071,12 +13738,12 @@ static PyObject *_wrap_wxImage_Rotate90(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "clockwise", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxImage_Rotate90",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Rotate90",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -13089,7 +13756,7 @@ static PyObject *_wrap_wxImage_Rotate90(PyObject *, PyObject *args, PyObject *kw } { wxImage * resultptr; - resultptr = new wxImage((wxImage &)(result)); + resultptr = new wxImage(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); } return resultobj; @@ -13098,8 +13765,8 @@ static PyObject *_wrap_wxImage_Rotate90(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxImage_Mirror(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_Mirror(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; bool arg2 = (bool) true ; SwigValueWrapper result; @@ -13109,12 +13776,12 @@ static PyObject *_wrap_wxImage_Mirror(PyObject *, PyObject *args, PyObject *kwar (char *) "self",(char *) "horizontally", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxImage_Mirror",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Mirror",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -13127,7 +13794,7 @@ static PyObject *_wrap_wxImage_Mirror(PyObject *, PyObject *args, PyObject *kwar } { wxImage * resultptr; - resultptr = new wxImage((wxImage &)(result)); + resultptr = new wxImage(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); } return resultobj; @@ -13136,15 +13803,15 @@ static PyObject *_wrap_wxImage_Mirror(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxImage_Replace(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_Replace(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; - unsigned char arg2 ; - unsigned char arg3 ; - unsigned char arg4 ; - unsigned char arg5 ; - unsigned char arg6 ; - unsigned char arg7 ; + byte arg2 ; + byte arg3 ; + byte arg4 ; + byte arg5 ; + byte arg6 ; + byte arg7 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -13156,31 +13823,31 @@ static PyObject *_wrap_wxImage_Replace(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:wxImage_Replace",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:Image_Replace",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (unsigned char)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (unsigned char)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (unsigned char)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (unsigned char)(SWIG_As_unsigned_SS_char(obj4)); + arg5 = static_cast(SWIG_As_unsigned_SS_char(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { - arg6 = (unsigned char)(SWIG_As_unsigned_SS_char(obj5)); + arg6 = static_cast(SWIG_As_unsigned_SS_char(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } { - arg7 = (unsigned char)(SWIG_As_unsigned_SS_char(obj6)); + arg7 = static_cast(SWIG_As_unsigned_SS_char(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } { @@ -13197,12 +13864,66 @@ static PyObject *_wrap_wxImage_Replace(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxImage_ConvertToMono(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_ConvertToGreyscale(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxImage *arg1 = (wxImage *) 0 ; + double arg2 = (double) 0.299 ; + double arg3 = (double) 0.587 ; + double arg4 = (double) 0.114 ; + SwigValueWrapper result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "lr",(char *) "lg",(char *) "lb", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_ConvertToGreyscale",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + if (obj1) { + { + arg2 = static_cast(SWIG_As_double(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + } + if (obj2) { + { + arg3 = static_cast(SWIG_As_double(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } + } + if (obj3) { + { + arg4 = static_cast(SWIG_As_double(obj3)); + if (SWIG_arg_fail(4)) SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxImage const *)arg1)->ConvertToGreyscale(arg2,arg3,arg4); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + wxImage * resultptr; + resultptr = new wxImage(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Image_ConvertToMono(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; - unsigned char arg2 ; - unsigned char arg3 ; - unsigned char arg4 ; + byte arg2 ; + byte arg3 ; + byte arg4 ; SwigValueWrapper result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -13212,19 +13933,19 @@ static PyObject *_wrap_wxImage_ConvertToMono(PyObject *, PyObject *args, PyObjec (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:wxImage_ConvertToMono",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMono",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (unsigned char)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (unsigned char)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (unsigned char)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -13236,7 +13957,7 @@ static PyObject *_wrap_wxImage_ConvertToMono(PyObject *, PyObject *args, PyObjec } { wxImage * resultptr; - resultptr = new wxImage((wxImage &)(result)); + resultptr = new wxImage(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); } return resultobj; @@ -13245,8 +13966,8 @@ static PyObject *_wrap_wxImage_ConvertToMono(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxImage_SetOption(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_SetOption(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -13259,7 +13980,7 @@ static PyObject *_wrap_wxImage_SetOption(PyObject *, PyObject *args, PyObject *k (char *) "self",(char *) "name",(char *) "value", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxImage_SetOption",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOption",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -13302,8 +14023,8 @@ static PyObject *_wrap_wxImage_SetOption(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxImage_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; int arg3 ; @@ -13315,7 +14036,7 @@ static PyObject *_wrap_wxImage_SetOptionInt(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "name",(char *) "value", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxImage_SetOptionInt",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOptionInt",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -13324,7 +14045,7 @@ static PyObject *_wrap_wxImage_SetOptionInt(PyObject *, PyObject *args, PyObject temp2 = true; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -13349,8 +14070,8 @@ static PyObject *_wrap_wxImage_SetOptionInt(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxImage_GetOption(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_GetOption(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -13361,7 +14082,7 @@ static PyObject *_wrap_wxImage_GetOption(PyObject *, PyObject *args, PyObject *k (char *) "self",(char *) "name", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxImage_GetOption",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOption",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -13397,8 +14118,8 @@ static PyObject *_wrap_wxImage_GetOption(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxImage_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; int result; @@ -13409,7 +14130,7 @@ static PyObject *_wrap_wxImage_GetOptionInt(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "name", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxImage_GetOptionInt",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOptionInt",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -13425,7 +14146,7 @@ static PyObject *_wrap_wxImage_GetOptionInt(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -13441,8 +14162,8 @@ static PyObject *_wrap_wxImage_GetOptionInt(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxImage_HasOption(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_HasOption(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; bool result; @@ -13453,7 +14174,7 @@ static PyObject *_wrap_wxImage_HasOption(PyObject *, PyObject *args, PyObject *k (char *) "self",(char *) "name", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxImage_HasOption",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HasOption",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -13485,8 +14206,8 @@ static PyObject *_wrap_wxImage_HasOption(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxImage_CountColours(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_CountColours(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; unsigned long arg2 = (unsigned long) (unsigned long) -1 ; unsigned long result; @@ -13496,12 +14217,12 @@ static PyObject *_wrap_wxImage_CountColours(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "stopafter", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxImage_CountColours",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_CountColours",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -13513,7 +14234,7 @@ static PyObject *_wrap_wxImage_CountColours(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -13521,8 +14242,8 @@ static PyObject *_wrap_wxImage_CountColours(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxImage_ComputeHistogram(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_ComputeHistogram(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxImageHistogram *arg2 = 0 ; unsigned long result; @@ -13532,7 +14253,7 @@ static PyObject *_wrap_wxImage_ComputeHistogram(PyObject *, PyObject *args, PyOb (char *) "self",(char *) "h", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxImage_ComputeHistogram",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_ComputeHistogram",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -13551,7 +14272,7 @@ static PyObject *_wrap_wxImage_ComputeHistogram(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -13559,15 +14280,15 @@ static PyObject *_wrap_wxImage_ComputeHistogram(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxImage_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "handler", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxImage_AddHandler",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_AddHandler",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -13584,15 +14305,15 @@ static PyObject *_wrap_wxImage_AddHandler(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxImage_InsertHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_InsertHandler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "handler", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxImage_InsertHandler",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InsertHandler",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImageHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -13609,8 +14330,8 @@ static PyObject *_wrap_wxImage_InsertHandler(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxImage_RemoveHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_RemoveHandler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool result; bool temp1 = false ; @@ -13619,7 +14340,7 @@ static PyObject *_wrap_wxImage_RemoveHandler(PyObject *, PyObject *args, PyObjec (char *) "name", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxImage_RemoveHandler",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RemoveHandler",kwnames,&obj0)) goto fail; { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; @@ -13649,14 +14370,14 @@ static PyObject *_wrap_wxImage_RemoveHandler(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxImage_GetImageExtWildcard(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":wxImage_GetImageExtWildcard",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Image_GetImageExtWildcard",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = wxImage::GetImageExtWildcard(); @@ -13677,8 +14398,8 @@ static PyObject *_wrap_wxImage_GetImageExtWildcard(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxImage_ConvertToBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_ConvertToBitmap(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 = (int) -1 ; wxBitmap result; @@ -13688,12 +14409,12 @@ static PyObject *_wrap_wxImage_ConvertToBitmap(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "depth", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxImage_ConvertToBitmap",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_ConvertToBitmap",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -13707,7 +14428,7 @@ static PyObject *_wrap_wxImage_ConvertToBitmap(PyObject *, PyObject *args, PyObj } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -13716,12 +14437,12 @@ static PyObject *_wrap_wxImage_ConvertToBitmap(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxImage_ConvertToMonoBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; - unsigned char arg2 ; - unsigned char arg3 ; - unsigned char arg4 ; + byte arg2 ; + byte arg3 ; + byte arg4 ; wxBitmap result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -13731,19 +14452,19 @@ static PyObject *_wrap_wxImage_ConvertToMonoBitmap(PyObject *, PyObject *args, P (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:wxImage_ConvertToMonoBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (unsigned char)(SWIG_As_unsigned_SS_char(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_char(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (unsigned char)(SWIG_As_unsigned_SS_char(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_char(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (unsigned char)(SWIG_As_unsigned_SS_char(obj3)); + arg4 = static_cast(SWIG_As_unsigned_SS_char(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -13756,7 +14477,7 @@ static PyObject *_wrap_wxImage_ConvertToMonoBitmap(PyObject *, PyObject *args, P } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -13765,21 +14486,128 @@ static PyObject *_wrap_wxImage_ConvertToMonoBitmap(PyObject *, PyObject *args, P } -static PyObject * wxImage_swigregister(PyObject *, PyObject *args) { +static PyObject *_wrap_Image_RotateHue(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxImage *arg1 = (wxImage *) 0 ; + double arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "angle", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_RotateHue",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_double(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->RotateHue(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Image_RGBtoHSV(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxImage_RGBValue arg1 ; + wxImage_HSVValue result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "rgb", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RGBtoHSV",kwnames,&obj0)) goto fail; + { + wxImage_RGBValue * argp; + SWIG_Python_ConvertPtr(obj0, (void **)&argp, SWIGTYPE_p_wxImage_RGBValue, SWIG_POINTER_EXCEPTION); + if (SWIG_arg_fail(1)) SWIG_fail; + if (argp == NULL) { + SWIG_null_ref("wxImage_RGBValue"); + } + if (SWIG_arg_fail(1)) SWIG_fail; + arg1 = *argp; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = wxImage::RGBtoHSV(arg1); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + wxImage_HSVValue * resultptr; + resultptr = new wxImage_HSVValue(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage_HSVValue, 1); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Image_HSVtoRGB(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxImage_HSVValue arg1 ; + wxImage_RGBValue result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "hsv", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HSVtoRGB",kwnames,&obj0)) goto fail; + { + wxImage_HSVValue * argp; + SWIG_Python_ConvertPtr(obj0, (void **)&argp, SWIGTYPE_p_wxImage_HSVValue, SWIG_POINTER_EXCEPTION); + if (SWIG_arg_fail(1)) SWIG_fail; + if (argp == NULL) { + SWIG_null_ref("wxImage_HSVValue"); + } + if (SWIG_arg_fail(1)) SWIG_fail; + arg1 = *argp; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = wxImage::HSVtoRGB(arg1); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + wxImage_RGBValue * resultptr; + resultptr = new wxImage_RGBValue(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage_RGBValue, 1); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject * Image_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxImage, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static int _wrap_wxNullImage_set(PyObject *) { - PyErr_SetString(PyExc_TypeError,"Variable wxNullImage is read-only."); +static int _wrap_NullImage_set(PyObject *) { + PyErr_SetString(PyExc_TypeError,"Variable NullImage is read-only."); return 1; } -static PyObject *_wrap_wxNullImage_get(void) { - PyObject *pyobj; +static PyObject *_wrap_NullImage_get(void) { + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxNullImage), SWIGTYPE_p_wxImage, 0); return pyobj; @@ -13793,7 +14621,7 @@ static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_FILENAME_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13813,7 +14641,7 @@ static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13833,7 +14661,7 @@ static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13853,7 +14681,7 @@ static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13873,7 +14701,7 @@ static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13893,7 +14721,7 @@ static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13913,7 +14741,7 @@ static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13933,7 +14761,7 @@ static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13953,7 +14781,7 @@ static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_QUALITY_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13973,7 +14801,7 @@ static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13993,7 +14821,7 @@ static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14013,7 +14841,7 @@ static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_COMPRESSION_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14033,7 +14861,7 @@ static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14053,7 +14881,7 @@ static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14073,7 +14901,7 @@ static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject *) { static PyObject *_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -14086,14 +14914,14 @@ static PyObject *_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) { } -static PyObject *_wrap_new_wxBMPHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_BMPHandler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxBMPHandler *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_wxBMPHandler",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_BMPHandler",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxBMPHandler *)new wxBMPHandler(); @@ -14108,21 +14936,21 @@ static PyObject *_wrap_new_wxBMPHandler(PyObject *, PyObject *args, PyObject *kw } -static PyObject * wxBMPHandler_swigregister(PyObject *, PyObject *args) { +static PyObject * BMPHandler_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxICOHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_ICOHandler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxICOHandler *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_wxICOHandler",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ICOHandler",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxICOHandler *)new wxICOHandler(); @@ -14137,21 +14965,21 @@ static PyObject *_wrap_new_wxICOHandler(PyObject *, PyObject *args, PyObject *kw } -static PyObject * wxICOHandler_swigregister(PyObject *, PyObject *args) { +static PyObject * ICOHandler_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxCURHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_CURHandler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxCURHandler *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_wxCURHandler",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_CURHandler",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxCURHandler *)new wxCURHandler(); @@ -14166,21 +14994,21 @@ static PyObject *_wrap_new_wxCURHandler(PyObject *, PyObject *args, PyObject *kw } -static PyObject * wxCURHandler_swigregister(PyObject *, PyObject *args) { +static PyObject * CURHandler_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxANIHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_ANIHandler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxANIHandler *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_wxANIHandler",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ANIHandler",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxANIHandler *)new wxANIHandler(); @@ -14195,21 +15023,21 @@ static PyObject *_wrap_new_wxANIHandler(PyObject *, PyObject *args, PyObject *kw } -static PyObject * wxANIHandler_swigregister(PyObject *, PyObject *args) { +static PyObject * ANIHandler_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxPNGHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_PNGHandler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPNGHandler *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_wxPNGHandler",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNGHandler",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxPNGHandler *)new wxPNGHandler(); @@ -14224,21 +15052,21 @@ static PyObject *_wrap_new_wxPNGHandler(PyObject *, PyObject *args, PyObject *kw } -static PyObject * wxPNGHandler_swigregister(PyObject *, PyObject *args) { +static PyObject * PNGHandler_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxGIFHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_GIFHandler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGIFHandler *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_wxGIFHandler",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GIFHandler",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxGIFHandler *)new wxGIFHandler(); @@ -14253,21 +15081,21 @@ static PyObject *_wrap_new_wxGIFHandler(PyObject *, PyObject *args, PyObject *kw } -static PyObject * wxGIFHandler_swigregister(PyObject *, PyObject *args) { +static PyObject * GIFHandler_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxPCXHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_PCXHandler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPCXHandler *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_wxPCXHandler",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PCXHandler",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxPCXHandler *)new wxPCXHandler(); @@ -14282,21 +15110,21 @@ static PyObject *_wrap_new_wxPCXHandler(PyObject *, PyObject *args, PyObject *kw } -static PyObject * wxPCXHandler_swigregister(PyObject *, PyObject *args) { +static PyObject * PCXHandler_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxJPEGHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_JPEGHandler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxJPEGHandler *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_wxJPEGHandler",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_JPEGHandler",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxJPEGHandler *)new wxJPEGHandler(); @@ -14311,21 +15139,21 @@ static PyObject *_wrap_new_wxJPEGHandler(PyObject *, PyObject *args, PyObject *k } -static PyObject * wxJPEGHandler_swigregister(PyObject *, PyObject *args) { +static PyObject * JPEGHandler_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxPNMHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_PNMHandler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPNMHandler *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_wxPNMHandler",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNMHandler",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxPNMHandler *)new wxPNMHandler(); @@ -14340,21 +15168,21 @@ static PyObject *_wrap_new_wxPNMHandler(PyObject *, PyObject *args, PyObject *kw } -static PyObject * wxPNMHandler_swigregister(PyObject *, PyObject *args) { +static PyObject * PNMHandler_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxXPMHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_XPMHandler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxXPMHandler *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_wxXPMHandler",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_XPMHandler",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxXPMHandler *)new wxXPMHandler(); @@ -14369,21 +15197,21 @@ static PyObject *_wrap_new_wxXPMHandler(PyObject *, PyObject *args, PyObject *kw } -static PyObject * wxXPMHandler_swigregister(PyObject *, PyObject *args) { +static PyObject * XPMHandler_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxTIFFHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_TIFFHandler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxTIFFHandler *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_wxTIFFHandler",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TIFFHandler",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxTIFFHandler *)new wxTIFFHandler(); @@ -14398,15 +15226,15 @@ static PyObject *_wrap_new_wxTIFFHandler(PyObject *, PyObject *args, PyObject *k } -static PyObject * wxTIFFHandler_swigregister(PyObject *, PyObject *args) { +static PyObject * TIFFHandler_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_wxQuantize_Quantize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Quantize_Quantize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxImage *arg1 = 0 ; wxImage *arg2 = 0 ; int arg3 = (int) 236 ; @@ -14420,7 +15248,7 @@ static PyObject *_wrap_wxQuantize_Quantize(PyObject *, PyObject *args, PyObject (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:wxQuantize_Quantize",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Quantize_Quantize",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; { SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxImage, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; @@ -14439,13 +15267,13 @@ static PyObject *_wrap_wxQuantize_Quantize(PyObject *, PyObject *args, PyObject } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -14465,21 +15293,21 @@ static PyObject *_wrap_wxQuantize_Quantize(PyObject *, PyObject *args, PyObject } -static PyObject * wxQuantize_swigregister(PyObject *, PyObject *args) { +static PyObject * Quantize_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxQuantize, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxEvtHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_EvtHandler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvtHandler *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_wxEvtHandler",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EvtHandler",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxEvtHandler *)new wxEvtHandler(); @@ -14494,8 +15322,8 @@ static PyObject *_wrap_new_wxEvtHandler(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxEvtHandler_GetNextHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; wxEvtHandler *result; PyObject * obj0 = 0 ; @@ -14503,7 +15331,7 @@ static PyObject *_wrap_wxEvtHandler_GetNextHandler(PyObject *, PyObject *args, P (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxEvtHandler_GetNextHandler",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetNextHandler",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -14522,8 +15350,8 @@ static PyObject *_wrap_wxEvtHandler_GetNextHandler(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxEvtHandler_GetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; wxEvtHandler *result; PyObject * obj0 = 0 ; @@ -14531,7 +15359,7 @@ static PyObject *_wrap_wxEvtHandler_GetPreviousHandler(PyObject *, PyObject *arg (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxEvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -14550,8 +15378,8 @@ static PyObject *_wrap_wxEvtHandler_GetPreviousHandler(PyObject *, PyObject *arg } -static PyObject *_wrap_wxEvtHandler_SetNextHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; wxEvtHandler *arg2 = (wxEvtHandler *) 0 ; PyObject * obj0 = 0 ; @@ -14560,7 +15388,7 @@ static PyObject *_wrap_wxEvtHandler_SetNextHandler(PyObject *, PyObject *args, P (char *) "self",(char *) "handler", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxEvtHandler_SetNextHandler",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetNextHandler",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0); @@ -14579,8 +15407,8 @@ static PyObject *_wrap_wxEvtHandler_SetNextHandler(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxEvtHandler_SetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; wxEvtHandler *arg2 = (wxEvtHandler *) 0 ; PyObject * obj0 = 0 ; @@ -14589,7 +15417,7 @@ static PyObject *_wrap_wxEvtHandler_SetPreviousHandler(PyObject *, PyObject *arg (char *) "self",(char *) "handler", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxEvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0); @@ -14608,8 +15436,8 @@ static PyObject *_wrap_wxEvtHandler_SetPreviousHandler(PyObject *, PyObject *arg } -static PyObject *_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -14617,7 +15445,7 @@ static PyObject *_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject *, PyObject *a (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxEvtHandler_GetEvtHandlerEnabled",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -14636,8 +15464,8 @@ static PyObject *_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject *, PyObject *a } -static PyObject *_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -14646,11 +15474,11 @@ static PyObject *_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject *, PyObject *a (char *) "self",(char *) "enabled", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxEvtHandler_SetEvtHandlerEnabled",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14667,8 +15495,8 @@ static PyObject *_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject *, PyObject *a } -static PyObject *_wrap_wxEvtHandler_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; wxEvent *arg2 = 0 ; bool result; @@ -14678,7 +15506,7 @@ static PyObject *_wrap_wxEvtHandler_ProcessEvent(PyObject *, PyObject *args, PyO (char *) "self",(char *) "event", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxEvtHandler_ProcessEvent",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_ProcessEvent",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -14705,8 +15533,8 @@ static PyObject *_wrap_wxEvtHandler_ProcessEvent(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxEvtHandler_AddPendingEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; wxEvent *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -14715,7 +15543,7 @@ static PyObject *_wrap_wxEvtHandler_AddPendingEvent(PyObject *, PyObject *args, (char *) "self",(char *) "event", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxEvtHandler_AddPendingEvent",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_AddPendingEvent",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -14740,15 +15568,15 @@ static PyObject *_wrap_wxEvtHandler_AddPendingEvent(PyObject *, PyObject *args, } -static PyObject *_wrap_wxEvtHandler_ProcessPendingEvents(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxEvtHandler_ProcessPendingEvents",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -14765,8 +15593,8 @@ static PyObject *_wrap_wxEvtHandler_ProcessPendingEvents(PyObject *, PyObject *a } -static PyObject *_wrap_wxEvtHandler_Connect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_EvtHandler_Connect(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; int arg2 ; int arg3 ; @@ -14781,19 +15609,19 @@ static PyObject *_wrap_wxEvtHandler_Connect(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:wxEvtHandler_Connect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:EvtHandler_Connect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } arg5 = obj4; @@ -14811,8 +15639,8 @@ static PyObject *_wrap_wxEvtHandler_Connect(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxEvtHandler_Disconnect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_EvtHandler_Disconnect(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; int arg2 ; int arg3 = (int) -1 ; @@ -14826,22 +15654,22 @@ static PyObject *_wrap_wxEvtHandler_Disconnect(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:wxEvtHandler_Disconnect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:EvtHandler_Disconnect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (wxEventType)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -14861,8 +15689,8 @@ static PyObject *_wrap_wxEvtHandler_Disconnect(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxEvtHandler__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; PyObject *arg2 = (PyObject *) 0 ; bool arg3 = (bool) true ; @@ -14873,13 +15701,13 @@ static PyObject *_wrap_wxEvtHandler__setOORInfo(PyObject *, PyObject *args, PyOb (char *) "self",(char *) "_self",(char *) "incref", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:wxEvtHandler__setOORInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:EvtHandler__setOORInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; arg2 = obj1; if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -14897,21 +15725,21 @@ static PyObject *_wrap_wxEvtHandler__setOORInfo(PyObject *, PyObject *args, PyOb } -static PyObject * wxEvtHandler_swigregister(PyObject *, PyObject *args) { +static PyObject * EvtHandler_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_wxNewEventType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_NewEventType(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEventType result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":wxNewEventType",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewEventType",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxEventType)wxNewEventType(); @@ -14920,7 +15748,7 @@ static PyObject *_wrap_wxNewEventType(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -14928,15 +15756,15 @@ static PyObject *_wrap_wxNewEventType(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_delete_wxEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_delete_Event(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_wxEvent",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Event",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -14953,8 +15781,8 @@ static PyObject *_wrap_delete_wxEvent(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxEvent_SetEventType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Event_SetEventType(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; wxEventType arg2 ; PyObject * obj0 = 0 ; @@ -14963,11 +15791,11 @@ static PyObject *_wrap_wxEvent_SetEventType(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "typ", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxEvent_SetEventType",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventType",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxEventType)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14984,8 +15812,8 @@ static PyObject *_wrap_wxEvent_SetEventType(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxEvent_GetEventType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Event_GetEventType(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; wxEventType result; PyObject * obj0 = 0 ; @@ -14993,7 +15821,7 @@ static PyObject *_wrap_wxEvent_GetEventType(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxEvent_GetEventType",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventType",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -15004,7 +15832,7 @@ static PyObject *_wrap_wxEvent_GetEventType(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -15012,8 +15840,8 @@ static PyObject *_wrap_wxEvent_GetEventType(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxEvent_GetEventObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Event_GetEventObject(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; wxObject *result; PyObject * obj0 = 0 ; @@ -15021,7 +15849,7 @@ static PyObject *_wrap_wxEvent_GetEventObject(PyObject *, PyObject *args, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxEvent_GetEventObject",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventObject",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -15032,7 +15860,7 @@ static PyObject *_wrap_wxEvent_GetEventObject(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -15040,8 +15868,8 @@ static PyObject *_wrap_wxEvent_GetEventObject(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxEvent_SetEventObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Event_SetEventObject(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; wxObject *arg2 = (wxObject *) 0 ; PyObject * obj0 = 0 ; @@ -15050,7 +15878,7 @@ static PyObject *_wrap_wxEvent_SetEventObject(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "obj", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxEvent_SetEventObject",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventObject",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0); @@ -15069,8 +15897,8 @@ static PyObject *_wrap_wxEvent_SetEventObject(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxEvent_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Event_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -15078,7 +15906,7 @@ static PyObject *_wrap_wxEvent_GetTimestamp(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxEvent_GetTimestamp",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetTimestamp",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -15089,7 +15917,7 @@ static PyObject *_wrap_wxEvent_GetTimestamp(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -15097,8 +15925,8 @@ static PyObject *_wrap_wxEvent_GetTimestamp(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxEvent_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Event_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; long arg2 = (long) 0 ; PyObject * obj0 = 0 ; @@ -15107,12 +15935,12 @@ static PyObject *_wrap_wxEvent_SetTimestamp(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "ts", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxEvent_SetTimestamp",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_SetTimestamp",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -15130,8 +15958,8 @@ static PyObject *_wrap_wxEvent_SetTimestamp(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxEvent_GetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Event_GetId(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15139,7 +15967,7 @@ static PyObject *_wrap_wxEvent_GetId(PyObject *, PyObject *args, PyObject *kwarg (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxEvent_GetId",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetId",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -15150,7 +15978,7 @@ static PyObject *_wrap_wxEvent_GetId(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -15158,8 +15986,8 @@ static PyObject *_wrap_wxEvent_GetId(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxEvent_SetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Event_SetId(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15168,11 +15996,11 @@ static PyObject *_wrap_wxEvent_SetId(PyObject *, PyObject *args, PyObject *kwarg (char *) "self",(char *) "Id", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxEvent_SetId",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetId",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15189,8 +16017,8 @@ static PyObject *_wrap_wxEvent_SetId(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxEvent_IsCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Event_IsCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15198,7 +16026,7 @@ static PyObject *_wrap_wxEvent_IsCommandEvent(PyObject *, PyObject *args, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxEvent_IsCommandEvent",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_IsCommandEvent",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -15217,8 +16045,8 @@ static PyObject *_wrap_wxEvent_IsCommandEvent(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxEvent_Skip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Event_Skip(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -15227,12 +16055,12 @@ static PyObject *_wrap_wxEvent_Skip(PyObject *, PyObject *args, PyObject *kwargs (char *) "self",(char *) "skip", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxEvent_Skip",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_Skip",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -15250,8 +16078,8 @@ static PyObject *_wrap_wxEvent_Skip(PyObject *, PyObject *args, PyObject *kwargs } -static PyObject *_wrap_wxEvent_GetSkipped(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Event_GetSkipped(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15259,7 +16087,7 @@ static PyObject *_wrap_wxEvent_GetSkipped(PyObject *, PyObject *args, PyObject * (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxEvent_GetSkipped",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetSkipped",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -15278,8 +16106,8 @@ static PyObject *_wrap_wxEvent_GetSkipped(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxEvent_ShouldPropagate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Event_ShouldPropagate(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15287,7 +16115,7 @@ static PyObject *_wrap_wxEvent_ShouldPropagate(PyObject *, PyObject *args, PyObj (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxEvent_ShouldPropagate",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_ShouldPropagate",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -15306,8 +16134,8 @@ static PyObject *_wrap_wxEvent_ShouldPropagate(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxEvent_StopPropagation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Event_StopPropagation(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15315,7 +16143,7 @@ static PyObject *_wrap_wxEvent_StopPropagation(PyObject *, PyObject *args, PyObj (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxEvent_StopPropagation",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_StopPropagation",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -15326,7 +16154,7 @@ static PyObject *_wrap_wxEvent_StopPropagation(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -15334,8 +16162,8 @@ static PyObject *_wrap_wxEvent_StopPropagation(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxEvent_ResumePropagation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Event_ResumePropagation(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15344,11 +16172,11 @@ static PyObject *_wrap_wxEvent_ResumePropagation(PyObject *, PyObject *args, PyO (char *) "self",(char *) "propagationLevel", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxEvent_ResumePropagation",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_ResumePropagation",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15365,8 +16193,8 @@ static PyObject *_wrap_wxEvent_ResumePropagation(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Event_Clone(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; wxEvent *result; PyObject * obj0 = 0 ; @@ -15374,7 +16202,7 @@ static PyObject *_wrap_wxEvent_Clone(PyObject *, PyObject *args, PyObject *kwarg (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxEvent_Clone",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_Clone",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -15391,15 +16219,15 @@ static PyObject *_wrap_wxEvent_Clone(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject * wxEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * Event_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxPropagationDisabler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_PropagationDisabler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvent *arg1 = 0 ; wxPropagationDisabler *result; PyObject * obj0 = 0 ; @@ -15407,7 +16235,7 @@ static PyObject *_wrap_new_wxPropagationDisabler(PyObject *, PyObject *args, PyO (char *) "event", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_wxPropagationDisabler",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagationDisabler",kwnames,&obj0)) goto fail; { SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; @@ -15430,15 +16258,15 @@ static PyObject *_wrap_new_wxPropagationDisabler(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_delete_wxPropagationDisabler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_delete_PropagationDisabler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_wxPropagationDisabler",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagationDisabler",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPropagationDisabler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -15455,15 +16283,15 @@ static PyObject *_wrap_delete_wxPropagationDisabler(PyObject *, PyObject *args, } -static PyObject * wxPropagationDisabler_swigregister(PyObject *, PyObject *args) { +static PyObject * PropagationDisabler_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxPropagateOnce(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_PropagateOnce(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvent *arg1 = 0 ; wxPropagateOnce *result; PyObject * obj0 = 0 ; @@ -15471,7 +16299,7 @@ static PyObject *_wrap_new_wxPropagateOnce(PyObject *, PyObject *args, PyObject (char *) "event", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_wxPropagateOnce",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagateOnce",kwnames,&obj0)) goto fail; { SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; @@ -15494,15 +16322,15 @@ static PyObject *_wrap_new_wxPropagateOnce(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_delete_wxPropagateOnce(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_delete_PropagateOnce(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_wxPropagateOnce",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagateOnce",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPropagateOnce, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -15519,15 +16347,15 @@ static PyObject *_wrap_delete_wxPropagateOnce(PyObject *, PyObject *args, PyObje } -static PyObject * wxPropagateOnce_swigregister(PyObject *, PyObject *args) { +static PyObject * PropagateOnce_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_CommandEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxCommandEvent *result; @@ -15537,16 +16365,16 @@ static PyObject *_wrap_new_wxCommandEvent(PyObject *, PyObject *args, PyObject * (char *) "commandType",(char *) "winid", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_wxCommandEvent",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CommandEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -15564,8 +16392,8 @@ static PyObject *_wrap_new_wxCommandEvent(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxCommandEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_CommandEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15573,7 +16401,7 @@ static PyObject *_wrap_wxCommandEvent_GetSelection(PyObject *, PyObject *args, P (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxCommandEvent_GetSelection",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetSelection",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -15584,7 +16412,7 @@ static PyObject *_wrap_wxCommandEvent_GetSelection(PyObject *, PyObject *args, P if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -15592,8 +16420,8 @@ static PyObject *_wrap_wxCommandEvent_GetSelection(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxCommandEvent_SetString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_CommandEvent_SetString(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -15603,7 +16431,7 @@ static PyObject *_wrap_wxCommandEvent_SetString(PyObject *, PyObject *args, PyOb (char *) "self",(char *) "s", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxCommandEvent_SetString",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetString",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -15633,8 +16461,8 @@ static PyObject *_wrap_wxCommandEvent_SetString(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxCommandEvent_GetString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_CommandEvent_GetString(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -15642,7 +16470,7 @@ static PyObject *_wrap_wxCommandEvent_GetString(PyObject *, PyObject *args, PyOb (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxCommandEvent_GetString",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetString",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -15665,8 +16493,8 @@ static PyObject *_wrap_wxCommandEvent_GetString(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxCommandEvent_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_CommandEvent_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15674,7 +16502,7 @@ static PyObject *_wrap_wxCommandEvent_IsChecked(PyObject *, PyObject *args, PyOb (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxCommandEvent_IsChecked",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsChecked",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -15693,8 +16521,8 @@ static PyObject *_wrap_wxCommandEvent_IsChecked(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxCommandEvent_IsSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_CommandEvent_IsSelection(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15702,7 +16530,7 @@ static PyObject *_wrap_wxCommandEvent_IsSelection(PyObject *, PyObject *args, Py (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxCommandEvent_IsSelection",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsSelection",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -15721,8 +16549,8 @@ static PyObject *_wrap_wxCommandEvent_IsSelection(PyObject *, PyObject *args, Py } -static PyObject *_wrap_wxCommandEvent_SetExtraLong(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -15731,11 +16559,11 @@ static PyObject *_wrap_wxCommandEvent_SetExtraLong(PyObject *, PyObject *args, P (char *) "self",(char *) "extraLong", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxCommandEvent_SetExtraLong",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetExtraLong",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15752,8 +16580,8 @@ static PyObject *_wrap_wxCommandEvent_SetExtraLong(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxCommandEvent_GetExtraLong(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -15761,7 +16589,7 @@ static PyObject *_wrap_wxCommandEvent_GetExtraLong(PyObject *, PyObject *args, P (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxCommandEvent_GetExtraLong",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetExtraLong",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -15772,7 +16600,7 @@ static PyObject *_wrap_wxCommandEvent_GetExtraLong(PyObject *, PyObject *args, P if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -15780,8 +16608,8 @@ static PyObject *_wrap_wxCommandEvent_GetExtraLong(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxCommandEvent_SetInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_CommandEvent_SetInt(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15790,11 +16618,11 @@ static PyObject *_wrap_wxCommandEvent_SetInt(PyObject *, PyObject *args, PyObjec (char *) "self",(char *) "i", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxCommandEvent_SetInt",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetInt",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -15811,8 +16639,8 @@ static PyObject *_wrap_wxCommandEvent_SetInt(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxCommandEvent_GetInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_CommandEvent_GetInt(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -15820,7 +16648,7 @@ static PyObject *_wrap_wxCommandEvent_GetInt(PyObject *, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxCommandEvent_GetInt",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetInt",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -15831,7 +16659,7 @@ static PyObject *_wrap_wxCommandEvent_GetInt(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -15839,8 +16667,8 @@ static PyObject *_wrap_wxCommandEvent_GetInt(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxCommandEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_CommandEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; wxEvent *result; PyObject * obj0 = 0 ; @@ -15848,7 +16676,7 @@ static PyObject *_wrap_wxCommandEvent_Clone(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxCommandEvent_Clone",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_Clone",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCommandEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -15865,15 +16693,15 @@ static PyObject *_wrap_wxCommandEvent_Clone(PyObject *, PyObject *args, PyObject } -static PyObject * wxCommandEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * CommandEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxNotifyEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_NotifyEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxNotifyEvent *result; @@ -15883,16 +16711,16 @@ static PyObject *_wrap_new_wxNotifyEvent(PyObject *, PyObject *args, PyObject *k (char *) "commandType",(char *) "winid", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_wxNotifyEvent",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_NotifyEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -15910,15 +16738,15 @@ static PyObject *_wrap_new_wxNotifyEvent(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxNotifyEvent_Veto(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_NotifyEvent_Veto(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxNotifyEvent_Veto",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Veto",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotifyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -15935,15 +16763,15 @@ static PyObject *_wrap_wxNotifyEvent_Veto(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxNotifyEvent_Allow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_NotifyEvent_Allow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxNotifyEvent_Allow",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Allow",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotifyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -15960,8 +16788,8 @@ static PyObject *_wrap_wxNotifyEvent_Allow(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxNotifyEvent_IsAllowed(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15969,7 +16797,7 @@ static PyObject *_wrap_wxNotifyEvent_IsAllowed(PyObject *, PyObject *args, PyObj (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxNotifyEvent_IsAllowed",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_IsAllowed",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotifyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -15988,15 +16816,15 @@ static PyObject *_wrap_wxNotifyEvent_IsAllowed(PyObject *, PyObject *args, PyObj } -static PyObject * wxNotifyEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * NotifyEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxScrollEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_ScrollEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -16010,28 +16838,28 @@ static PyObject *_wrap_new_wxScrollEvent(PyObject *, PyObject *args, PyObject *k (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_wxScrollEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ScrollEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -16049,8 +16877,8 @@ static PyObject *_wrap_new_wxScrollEvent(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxScrollEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxScrollEvent *arg1 = (wxScrollEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16058,7 +16886,7 @@ static PyObject *_wrap_wxScrollEvent_GetOrientation(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxScrollEvent_GetOrientation",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetOrientation",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -16069,7 +16897,7 @@ static PyObject *_wrap_wxScrollEvent_GetOrientation(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16077,8 +16905,8 @@ static PyObject *_wrap_wxScrollEvent_GetOrientation(PyObject *, PyObject *args, } -static PyObject *_wrap_wxScrollEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxScrollEvent *arg1 = (wxScrollEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16086,7 +16914,7 @@ static PyObject *_wrap_wxScrollEvent_GetPosition(PyObject *, PyObject *args, PyO (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxScrollEvent_GetPosition",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetPosition",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -16097,7 +16925,7 @@ static PyObject *_wrap_wxScrollEvent_GetPosition(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16105,8 +16933,8 @@ static PyObject *_wrap_wxScrollEvent_GetPosition(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxScrollEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxScrollEvent *arg1 = (wxScrollEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16115,11 +16943,11 @@ static PyObject *_wrap_wxScrollEvent_SetOrientation(PyObject *, PyObject *args, (char *) "self",(char *) "orient", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxScrollEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16136,8 +16964,8 @@ static PyObject *_wrap_wxScrollEvent_SetOrientation(PyObject *, PyObject *args, } -static PyObject *_wrap_wxScrollEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxScrollEvent *arg1 = (wxScrollEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16146,11 +16974,11 @@ static PyObject *_wrap_wxScrollEvent_SetPosition(PyObject *, PyObject *args, PyO (char *) "self",(char *) "pos", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxScrollEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16167,15 +16995,15 @@ static PyObject *_wrap_wxScrollEvent_SetPosition(PyObject *, PyObject *args, PyO } -static PyObject * wxScrollEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * ScrollEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxScrollWinEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_ScrollWinEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -16187,22 +17015,22 @@ static PyObject *_wrap_new_wxScrollWinEvent(PyObject *, PyObject *args, PyObject (char *) "commandType",(char *) "pos",(char *) "orient", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_wxScrollWinEvent",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ScrollWinEvent",kwnames,&obj0,&obj1,&obj2)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -16220,8 +17048,8 @@ static PyObject *_wrap_new_wxScrollWinEvent(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxScrollWinEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16229,7 +17057,7 @@ static PyObject *_wrap_wxScrollWinEvent_GetOrientation(PyObject *, PyObject *arg (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxScrollWinEvent_GetOrientation",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetOrientation",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -16240,7 +17068,7 @@ static PyObject *_wrap_wxScrollWinEvent_GetOrientation(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16248,8 +17076,8 @@ static PyObject *_wrap_wxScrollWinEvent_GetOrientation(PyObject *, PyObject *arg } -static PyObject *_wrap_wxScrollWinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16257,7 +17085,7 @@ static PyObject *_wrap_wxScrollWinEvent_GetPosition(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxScrollWinEvent_GetPosition",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetPosition",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -16268,7 +17096,7 @@ static PyObject *_wrap_wxScrollWinEvent_GetPosition(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16276,8 +17104,8 @@ static PyObject *_wrap_wxScrollWinEvent_GetPosition(PyObject *, PyObject *args, } -static PyObject *_wrap_wxScrollWinEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16286,11 +17114,11 @@ static PyObject *_wrap_wxScrollWinEvent_SetOrientation(PyObject *, PyObject *arg (char *) "self",(char *) "orient", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxScrollWinEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16307,8 +17135,8 @@ static PyObject *_wrap_wxScrollWinEvent_SetOrientation(PyObject *, PyObject *arg } -static PyObject *_wrap_wxScrollWinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16317,11 +17145,11 @@ static PyObject *_wrap_wxScrollWinEvent_SetPosition(PyObject *, PyObject *args, (char *) "self",(char *) "pos", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxScrollWinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16338,15 +17166,15 @@ static PyObject *_wrap_wxScrollWinEvent_SetPosition(PyObject *, PyObject *args, } -static PyObject * wxScrollWinEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * ScrollWinEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_MouseEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; wxMouseEvent *result; PyObject * obj0 = 0 ; @@ -16354,10 +17182,10 @@ static PyObject *_wrap_new_wxMouseEvent(PyObject *, PyObject *args, PyObject *kw (char *) "mouseType", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_wxMouseEvent",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MouseEvent",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -16369,7 +17197,7 @@ static PyObject *_wrap_new_wxMouseEvent(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 1); + resultobj = wxPyMake_wxObject(result, (bool)1); } return resultobj; fail: @@ -16377,8 +17205,8 @@ static PyObject *_wrap_new_wxMouseEvent(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxMouseEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16386,7 +17214,7 @@ static PyObject *_wrap_wxMouseEvent_IsButton(PyObject *, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_IsButton",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsButton",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -16405,8 +17233,8 @@ static PyObject *_wrap_wxMouseEvent_IsButton(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxMouseEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 = (int) wxMOUSE_BTN_ANY ; bool result; @@ -16416,12 +17244,12 @@ static PyObject *_wrap_wxMouseEvent_ButtonDown(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "but", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxMouseEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -16441,8 +17269,8 @@ static PyObject *_wrap_wxMouseEvent_ButtonDown(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxMouseEvent_ButtonDClick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 = (int) wxMOUSE_BTN_ANY ; bool result; @@ -16452,12 +17280,12 @@ static PyObject *_wrap_wxMouseEvent_ButtonDClick(PyObject *, PyObject *args, PyO (char *) "self",(char *) "but", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxMouseEvent_ButtonDClick",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDClick",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -16477,8 +17305,8 @@ static PyObject *_wrap_wxMouseEvent_ButtonDClick(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxMouseEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 = (int) wxMOUSE_BTN_ANY ; bool result; @@ -16488,12 +17316,12 @@ static PyObject *_wrap_wxMouseEvent_ButtonUp(PyObject *, PyObject *args, PyObjec (char *) "self",(char *) "but", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxMouseEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -16513,22 +17341,22 @@ static PyObject *_wrap_wxMouseEvent_ButtonUp(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxMouseEvent_Button(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_Button(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 ; bool result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "but", NULL + (char *) "self",(char *) "button", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMouseEvent_Button",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_Button",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16547,8 +17375,8 @@ static PyObject *_wrap_wxMouseEvent_Button(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxMouseEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 ; bool result; @@ -16558,11 +17386,11 @@ static PyObject *_wrap_wxMouseEvent_ButtonIsDown(PyObject *, PyObject *args, PyO (char *) "self",(char *) "but", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMouseEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16581,8 +17409,8 @@ static PyObject *_wrap_wxMouseEvent_ButtonIsDown(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxMouseEvent_GetButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_GetButton(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16590,7 +17418,7 @@ static PyObject *_wrap_wxMouseEvent_GetButton(PyObject *, PyObject *args, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_GetButton",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetButton",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -16601,7 +17429,7 @@ static PyObject *_wrap_wxMouseEvent_GetButton(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -16609,8 +17437,8 @@ static PyObject *_wrap_wxMouseEvent_GetButton(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxMouseEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16618,7 +17446,7 @@ static PyObject *_wrap_wxMouseEvent_ControlDown(PyObject *, PyObject *args, PyOb (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_ControlDown",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ControlDown",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -16637,8 +17465,8 @@ static PyObject *_wrap_wxMouseEvent_ControlDown(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxMouseEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16646,7 +17474,7 @@ static PyObject *_wrap_wxMouseEvent_MetaDown(PyObject *, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_MetaDown",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MetaDown",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -16665,8 +17493,8 @@ static PyObject *_wrap_wxMouseEvent_MetaDown(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxMouseEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16674,7 +17502,7 @@ static PyObject *_wrap_wxMouseEvent_AltDown(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_AltDown",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_AltDown",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -16693,8 +17521,8 @@ static PyObject *_wrap_wxMouseEvent_AltDown(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxMouseEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16702,7 +17530,7 @@ static PyObject *_wrap_wxMouseEvent_ShiftDown(PyObject *, PyObject *args, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_ShiftDown",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ShiftDown",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -16721,8 +17549,8 @@ static PyObject *_wrap_wxMouseEvent_ShiftDown(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxMouseEvent_CmdDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_CmdDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16730,7 +17558,7 @@ static PyObject *_wrap_wxMouseEvent_CmdDown(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_CmdDown",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_CmdDown",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -16749,8 +17577,8 @@ static PyObject *_wrap_wxMouseEvent_CmdDown(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxMouseEvent_LeftDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_LeftDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16758,7 +17586,7 @@ static PyObject *_wrap_wxMouseEvent_LeftDown(PyObject *, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_LeftDown",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDown",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -16777,8 +17605,8 @@ static PyObject *_wrap_wxMouseEvent_LeftDown(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxMouseEvent_MiddleDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16786,7 +17614,7 @@ static PyObject *_wrap_wxMouseEvent_MiddleDown(PyObject *, PyObject *args, PyObj (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_MiddleDown",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDown",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -16805,8 +17633,8 @@ static PyObject *_wrap_wxMouseEvent_MiddleDown(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxMouseEvent_RightDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_RightDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16814,7 +17642,7 @@ static PyObject *_wrap_wxMouseEvent_RightDown(PyObject *, PyObject *args, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_RightDown",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDown",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -16833,8 +17661,8 @@ static PyObject *_wrap_wxMouseEvent_RightDown(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxMouseEvent_LeftUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_LeftUp(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16842,7 +17670,7 @@ static PyObject *_wrap_wxMouseEvent_LeftUp(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_LeftUp",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftUp",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -16861,8 +17689,8 @@ static PyObject *_wrap_wxMouseEvent_LeftUp(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxMouseEvent_MiddleUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16870,7 +17698,7 @@ static PyObject *_wrap_wxMouseEvent_MiddleUp(PyObject *, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_MiddleUp",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleUp",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -16889,8 +17717,8 @@ static PyObject *_wrap_wxMouseEvent_MiddleUp(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxMouseEvent_RightUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_RightUp(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16898,7 +17726,7 @@ static PyObject *_wrap_wxMouseEvent_RightUp(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_RightUp",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightUp",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -16917,8 +17745,8 @@ static PyObject *_wrap_wxMouseEvent_RightUp(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxMouseEvent_LeftDClick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16926,7 +17754,7 @@ static PyObject *_wrap_wxMouseEvent_LeftDClick(PyObject *, PyObject *args, PyObj (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_LeftDClick",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDClick",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -16945,8 +17773,8 @@ static PyObject *_wrap_wxMouseEvent_LeftDClick(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxMouseEvent_MiddleDClick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16954,7 +17782,7 @@ static PyObject *_wrap_wxMouseEvent_MiddleDClick(PyObject *, PyObject *args, PyO (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_MiddleDClick",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDClick",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -16973,8 +17801,8 @@ static PyObject *_wrap_wxMouseEvent_MiddleDClick(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxMouseEvent_RightDClick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_RightDClick(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16982,7 +17810,7 @@ static PyObject *_wrap_wxMouseEvent_RightDClick(PyObject *, PyObject *args, PyOb (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_RightDClick",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDClick",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -17001,8 +17829,8 @@ static PyObject *_wrap_wxMouseEvent_RightDClick(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxMouseEvent_LeftIsDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17010,7 +17838,7 @@ static PyObject *_wrap_wxMouseEvent_LeftIsDown(PyObject *, PyObject *args, PyObj (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_LeftIsDown",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftIsDown",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -17029,8 +17857,8 @@ static PyObject *_wrap_wxMouseEvent_LeftIsDown(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxMouseEvent_MiddleIsDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17038,7 +17866,7 @@ static PyObject *_wrap_wxMouseEvent_MiddleIsDown(PyObject *, PyObject *args, PyO (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_MiddleIsDown",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleIsDown",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -17057,8 +17885,8 @@ static PyObject *_wrap_wxMouseEvent_MiddleIsDown(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxMouseEvent_RightIsDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17066,7 +17894,7 @@ static PyObject *_wrap_wxMouseEvent_RightIsDown(PyObject *, PyObject *args, PyOb (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_RightIsDown",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightIsDown",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -17085,8 +17913,8 @@ static PyObject *_wrap_wxMouseEvent_RightIsDown(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxMouseEvent_Dragging(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_Dragging(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17094,7 +17922,7 @@ static PyObject *_wrap_wxMouseEvent_Dragging(PyObject *, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_Dragging",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Dragging",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -17113,8 +17941,8 @@ static PyObject *_wrap_wxMouseEvent_Dragging(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxMouseEvent_Moving(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_Moving(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17122,7 +17950,7 @@ static PyObject *_wrap_wxMouseEvent_Moving(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_Moving",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Moving",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -17141,8 +17969,8 @@ static PyObject *_wrap_wxMouseEvent_Moving(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxMouseEvent_Entering(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_Entering(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17150,7 +17978,7 @@ static PyObject *_wrap_wxMouseEvent_Entering(PyObject *, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_Entering",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Entering",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -17169,8 +17997,8 @@ static PyObject *_wrap_wxMouseEvent_Entering(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxMouseEvent_Leaving(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_Leaving(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17178,7 +18006,7 @@ static PyObject *_wrap_wxMouseEvent_Leaving(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_Leaving",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Leaving",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -17197,8 +18025,8 @@ static PyObject *_wrap_wxMouseEvent_Leaving(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxMouseEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -17206,7 +18034,7 @@ static PyObject *_wrap_wxMouseEvent_GetPosition(PyObject *, PyObject *args, PyOb (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_GetPosition",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPosition",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -17218,7 +18046,7 @@ static PyObject *_wrap_wxMouseEvent_GetPosition(PyObject *, PyObject *args, PyOb } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -17227,8 +18055,8 @@ static PyObject *_wrap_wxMouseEvent_GetPosition(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxMouseEvent_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; long *arg2 = (long *) 0 ; long *arg3 = (long *) 0 ; @@ -17243,7 +18071,7 @@ static PyObject *_wrap_wxMouseEvent_GetPositionTuple(PyObject *, PyObject *args, arg2 = &temp2; res2 = SWIG_NEWOBJ; arg3 = &temp3; res3 = SWIG_NEWOBJ; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_GetPositionTuple",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPositionTuple",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -17264,8 +18092,8 @@ static PyObject *_wrap_wxMouseEvent_GetPositionTuple(PyObject *, PyObject *args, } -static PyObject *_wrap_wxMouseEvent_GetLogicalPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; wxDC *arg2 = 0 ; wxPoint result; @@ -17275,7 +18103,7 @@ static PyObject *_wrap_wxMouseEvent_GetLogicalPosition(PyObject *, PyObject *arg (char *) "self",(char *) "dc", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMouseEvent_GetLogicalPosition",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -17295,7 +18123,7 @@ static PyObject *_wrap_wxMouseEvent_GetLogicalPosition(PyObject *, PyObject *arg } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -17304,8 +18132,8 @@ static PyObject *_wrap_wxMouseEvent_GetLogicalPosition(PyObject *, PyObject *arg } -static PyObject *_wrap_wxMouseEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17313,7 +18141,7 @@ static PyObject *_wrap_wxMouseEvent_GetX(PyObject *, PyObject *args, PyObject *k (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_GetX",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetX",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -17324,7 +18152,7 @@ static PyObject *_wrap_wxMouseEvent_GetX(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -17332,8 +18160,8 @@ static PyObject *_wrap_wxMouseEvent_GetX(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxMouseEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17341,7 +18169,7 @@ static PyObject *_wrap_wxMouseEvent_GetY(PyObject *, PyObject *args, PyObject *k (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_GetY",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetY",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -17352,7 +18180,7 @@ static PyObject *_wrap_wxMouseEvent_GetY(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -17360,8 +18188,8 @@ static PyObject *_wrap_wxMouseEvent_GetY(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxMouseEvent_GetWheelRotation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17369,7 +18197,7 @@ static PyObject *_wrap_wxMouseEvent_GetWheelRotation(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_GetWheelRotation",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelRotation",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -17380,7 +18208,7 @@ static PyObject *_wrap_wxMouseEvent_GetWheelRotation(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -17388,8 +18216,8 @@ static PyObject *_wrap_wxMouseEvent_GetWheelRotation(PyObject *, PyObject *args, } -static PyObject *_wrap_wxMouseEvent_GetWheelDelta(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17397,7 +18225,7 @@ static PyObject *_wrap_wxMouseEvent_GetWheelDelta(PyObject *, PyObject *args, Py (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_GetWheelDelta",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelDelta",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -17408,7 +18236,7 @@ static PyObject *_wrap_wxMouseEvent_GetWheelDelta(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -17416,8 +18244,8 @@ static PyObject *_wrap_wxMouseEvent_GetWheelDelta(PyObject *, PyObject *args, Py } -static PyObject *_wrap_wxMouseEvent_GetLinesPerAction(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17425,7 +18253,7 @@ static PyObject *_wrap_wxMouseEvent_GetLinesPerAction(PyObject *, PyObject *args (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_GetLinesPerAction",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetLinesPerAction",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -17436,7 +18264,7 @@ static PyObject *_wrap_wxMouseEvent_GetLinesPerAction(PyObject *, PyObject *args if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -17444,8 +18272,8 @@ static PyObject *_wrap_wxMouseEvent_GetLinesPerAction(PyObject *, PyObject *args } -static PyObject *_wrap_wxMouseEvent_IsPageScroll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17453,7 +18281,7 @@ static PyObject *_wrap_wxMouseEvent_IsPageScroll(PyObject *, PyObject *args, PyO (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_IsPageScroll",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsPageScroll",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -17472,8 +18300,8 @@ static PyObject *_wrap_wxMouseEvent_IsPageScroll(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxMouseEvent_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -17482,11 +18310,11 @@ static PyObject *_wrap_wxMouseEvent_m_x_set(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "m_x", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMouseEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_x = arg2; @@ -17498,8 +18326,8 @@ static PyObject *_wrap_wxMouseEvent_m_x_set(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxMouseEvent_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17507,13 +18335,13 @@ static PyObject *_wrap_wxMouseEvent_m_x_get(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_m_x_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_x_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (int) ((arg1)->m_x); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -17521,8 +18349,8 @@ static PyObject *_wrap_wxMouseEvent_m_x_get(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxMouseEvent_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -17531,11 +18359,11 @@ static PyObject *_wrap_wxMouseEvent_m_y_set(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "m_y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMouseEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_y = arg2; @@ -17547,8 +18375,8 @@ static PyObject *_wrap_wxMouseEvent_m_y_set(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxMouseEvent_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17556,13 +18384,13 @@ static PyObject *_wrap_wxMouseEvent_m_y_get(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_m_y_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_y_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (int) ((arg1)->m_y); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -17570,8 +18398,8 @@ static PyObject *_wrap_wxMouseEvent_m_y_get(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxMouseEvent_m_leftDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -17580,11 +18408,11 @@ static PyObject *_wrap_wxMouseEvent_m_leftDown_set(PyObject *, PyObject *args, P (char *) "self",(char *) "m_leftDown", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMouseEvent_m_leftDown_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_leftDown_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_leftDown = arg2; @@ -17596,8 +18424,8 @@ static PyObject *_wrap_wxMouseEvent_m_leftDown_set(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxMouseEvent_m_leftDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17605,7 +18433,7 @@ static PyObject *_wrap_wxMouseEvent_m_leftDown_get(PyObject *, PyObject *args, P (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_m_leftDown_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_leftDown_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (bool) ((arg1)->m_leftDown); @@ -17619,8 +18447,8 @@ static PyObject *_wrap_wxMouseEvent_m_leftDown_get(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxMouseEvent_m_middleDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -17629,11 +18457,11 @@ static PyObject *_wrap_wxMouseEvent_m_middleDown_set(PyObject *, PyObject *args, (char *) "self",(char *) "m_middleDown", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMouseEvent_m_middleDown_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_middleDown_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_middleDown = arg2; @@ -17645,8 +18473,8 @@ static PyObject *_wrap_wxMouseEvent_m_middleDown_set(PyObject *, PyObject *args, } -static PyObject *_wrap_wxMouseEvent_m_middleDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17654,7 +18482,7 @@ static PyObject *_wrap_wxMouseEvent_m_middleDown_get(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_m_middleDown_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_middleDown_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (bool) ((arg1)->m_middleDown); @@ -17668,8 +18496,8 @@ static PyObject *_wrap_wxMouseEvent_m_middleDown_get(PyObject *, PyObject *args, } -static PyObject *_wrap_wxMouseEvent_m_rightDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -17678,11 +18506,11 @@ static PyObject *_wrap_wxMouseEvent_m_rightDown_set(PyObject *, PyObject *args, (char *) "self",(char *) "m_rightDown", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMouseEvent_m_rightDown_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_rightDown_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_rightDown = arg2; @@ -17694,8 +18522,8 @@ static PyObject *_wrap_wxMouseEvent_m_rightDown_set(PyObject *, PyObject *args, } -static PyObject *_wrap_wxMouseEvent_m_rightDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17703,7 +18531,7 @@ static PyObject *_wrap_wxMouseEvent_m_rightDown_get(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_m_rightDown_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_rightDown_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (bool) ((arg1)->m_rightDown); @@ -17717,8 +18545,8 @@ static PyObject *_wrap_wxMouseEvent_m_rightDown_get(PyObject *, PyObject *args, } -static PyObject *_wrap_wxMouseEvent_m_controlDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -17727,11 +18555,11 @@ static PyObject *_wrap_wxMouseEvent_m_controlDown_set(PyObject *, PyObject *args (char *) "self",(char *) "m_controlDown", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMouseEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_controlDown = arg2; @@ -17743,8 +18571,8 @@ static PyObject *_wrap_wxMouseEvent_m_controlDown_set(PyObject *, PyObject *args } -static PyObject *_wrap_wxMouseEvent_m_controlDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17752,7 +18580,7 @@ static PyObject *_wrap_wxMouseEvent_m_controlDown_get(PyObject *, PyObject *args (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_m_controlDown_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_controlDown_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (bool) ((arg1)->m_controlDown); @@ -17766,8 +18594,8 @@ static PyObject *_wrap_wxMouseEvent_m_controlDown_get(PyObject *, PyObject *args } -static PyObject *_wrap_wxMouseEvent_m_shiftDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -17776,11 +18604,11 @@ static PyObject *_wrap_wxMouseEvent_m_shiftDown_set(PyObject *, PyObject *args, (char *) "self",(char *) "m_shiftDown", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMouseEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_shiftDown = arg2; @@ -17792,8 +18620,8 @@ static PyObject *_wrap_wxMouseEvent_m_shiftDown_set(PyObject *, PyObject *args, } -static PyObject *_wrap_wxMouseEvent_m_shiftDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17801,7 +18629,7 @@ static PyObject *_wrap_wxMouseEvent_m_shiftDown_get(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_m_shiftDown_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_shiftDown_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (bool) ((arg1)->m_shiftDown); @@ -17815,8 +18643,8 @@ static PyObject *_wrap_wxMouseEvent_m_shiftDown_get(PyObject *, PyObject *args, } -static PyObject *_wrap_wxMouseEvent_m_altDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -17825,11 +18653,11 @@ static PyObject *_wrap_wxMouseEvent_m_altDown_set(PyObject *, PyObject *args, Py (char *) "self",(char *) "m_altDown", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMouseEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_altDown = arg2; @@ -17841,8 +18669,8 @@ static PyObject *_wrap_wxMouseEvent_m_altDown_set(PyObject *, PyObject *args, Py } -static PyObject *_wrap_wxMouseEvent_m_altDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17850,7 +18678,7 @@ static PyObject *_wrap_wxMouseEvent_m_altDown_get(PyObject *, PyObject *args, Py (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_m_altDown_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_altDown_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (bool) ((arg1)->m_altDown); @@ -17864,8 +18692,8 @@ static PyObject *_wrap_wxMouseEvent_m_altDown_get(PyObject *, PyObject *args, Py } -static PyObject *_wrap_wxMouseEvent_m_metaDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -17874,11 +18702,11 @@ static PyObject *_wrap_wxMouseEvent_m_metaDown_set(PyObject *, PyObject *args, P (char *) "self",(char *) "m_metaDown", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMouseEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_metaDown = arg2; @@ -17890,8 +18718,8 @@ static PyObject *_wrap_wxMouseEvent_m_metaDown_set(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxMouseEvent_m_metaDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17899,7 +18727,7 @@ static PyObject *_wrap_wxMouseEvent_m_metaDown_get(PyObject *, PyObject *args, P (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_m_metaDown_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_metaDown_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (bool) ((arg1)->m_metaDown); @@ -17913,8 +18741,8 @@ static PyObject *_wrap_wxMouseEvent_m_metaDown_get(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxMouseEvent_m_wheelRotation_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -17923,11 +18751,11 @@ static PyObject *_wrap_wxMouseEvent_m_wheelRotation_set(PyObject *, PyObject *ar (char *) "self",(char *) "m_wheelRotation", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMouseEvent_m_wheelRotation_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_wheelRotation = arg2; @@ -17939,8 +18767,8 @@ static PyObject *_wrap_wxMouseEvent_m_wheelRotation_set(PyObject *, PyObject *ar } -static PyObject *_wrap_wxMouseEvent_m_wheelRotation_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17948,13 +18776,13 @@ static PyObject *_wrap_wxMouseEvent_m_wheelRotation_get(PyObject *, PyObject *ar (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_m_wheelRotation_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (int) ((arg1)->m_wheelRotation); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -17962,8 +18790,8 @@ static PyObject *_wrap_wxMouseEvent_m_wheelRotation_get(PyObject *, PyObject *ar } -static PyObject *_wrap_wxMouseEvent_m_wheelDelta_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -17972,11 +18800,11 @@ static PyObject *_wrap_wxMouseEvent_m_wheelDelta_set(PyObject *, PyObject *args, (char *) "self",(char *) "m_wheelDelta", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMouseEvent_m_wheelDelta_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_wheelDelta = arg2; @@ -17988,8 +18816,8 @@ static PyObject *_wrap_wxMouseEvent_m_wheelDelta_set(PyObject *, PyObject *args, } -static PyObject *_wrap_wxMouseEvent_m_wheelDelta_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17997,13 +18825,13 @@ static PyObject *_wrap_wxMouseEvent_m_wheelDelta_get(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_m_wheelDelta_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (int) ((arg1)->m_wheelDelta); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18011,8 +18839,8 @@ static PyObject *_wrap_wxMouseEvent_m_wheelDelta_get(PyObject *, PyObject *args, } -static PyObject *_wrap_wxMouseEvent_m_linesPerAction_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -18021,11 +18849,11 @@ static PyObject *_wrap_wxMouseEvent_m_linesPerAction_set(PyObject *, PyObject *a (char *) "self",(char *) "m_linesPerAction", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMouseEvent_m_linesPerAction_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_linesPerAction = arg2; @@ -18037,8 +18865,8 @@ static PyObject *_wrap_wxMouseEvent_m_linesPerAction_set(PyObject *, PyObject *a } -static PyObject *_wrap_wxMouseEvent_m_linesPerAction_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18046,13 +18874,13 @@ static PyObject *_wrap_wxMouseEvent_m_linesPerAction_get(PyObject *, PyObject *a (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseEvent_m_linesPerAction_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (int) ((arg1)->m_linesPerAction); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18060,15 +18888,15 @@ static PyObject *_wrap_wxMouseEvent_m_linesPerAction_get(PyObject *, PyObject *a } -static PyObject * wxMouseEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * MouseEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxSetCursorEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_SetCursorEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; wxSetCursorEvent *result; @@ -18078,16 +18906,16 @@ static PyObject *_wrap_new_wxSetCursorEvent(PyObject *, PyObject *args, PyObject (char *) "x",(char *) "y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_wxSetCursorEvent",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SetCursorEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -18105,8 +18933,8 @@ static PyObject *_wrap_new_wxSetCursorEvent(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxSetCursorEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SetCursorEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18114,7 +18942,7 @@ static PyObject *_wrap_wxSetCursorEvent_GetX(PyObject *, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSetCursorEvent_GetX",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetX",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSetCursorEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -18125,7 +18953,7 @@ static PyObject *_wrap_wxSetCursorEvent_GetX(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18133,8 +18961,8 @@ static PyObject *_wrap_wxSetCursorEvent_GetX(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxSetCursorEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SetCursorEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18142,7 +18970,7 @@ static PyObject *_wrap_wxSetCursorEvent_GetY(PyObject *, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSetCursorEvent_GetY",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetY",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSetCursorEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -18153,7 +18981,7 @@ static PyObject *_wrap_wxSetCursorEvent_GetY(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18161,8 +18989,8 @@ static PyObject *_wrap_wxSetCursorEvent_GetY(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxSetCursorEvent_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ; wxCursor *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -18171,7 +18999,7 @@ static PyObject *_wrap_wxSetCursorEvent_SetCursor(PyObject *, PyObject *args, Py (char *) "self",(char *) "cursor", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSetCursorEvent_SetCursor",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SetCursorEvent_SetCursor",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSetCursorEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -18196,8 +19024,8 @@ static PyObject *_wrap_wxSetCursorEvent_SetCursor(PyObject *, PyObject *args, Py } -static PyObject *_wrap_wxSetCursorEvent_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ; wxCursor *result; PyObject * obj0 = 0 ; @@ -18205,7 +19033,7 @@ static PyObject *_wrap_wxSetCursorEvent_GetCursor(PyObject *, PyObject *args, Py (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSetCursorEvent_GetCursor",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetCursor",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSetCursorEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -18228,8 +19056,8 @@ static PyObject *_wrap_wxSetCursorEvent_GetCursor(PyObject *, PyObject *args, Py } -static PyObject *_wrap_wxSetCursorEvent_HasCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18237,7 +19065,7 @@ static PyObject *_wrap_wxSetCursorEvent_HasCursor(PyObject *, PyObject *args, Py (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSetCursorEvent_HasCursor",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_HasCursor",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSetCursorEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -18256,26 +19084,26 @@ static PyObject *_wrap_wxSetCursorEvent_HasCursor(PyObject *, PyObject *args, Py } -static PyObject * wxSetCursorEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * SetCursorEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_KeyEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; wxKeyEvent *result; PyObject * obj0 = 0 ; char *kwnames[] = { - (char *) "keyType", NULL + (char *) "eventType", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_wxKeyEvent",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_KeyEvent",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -18293,8 +19121,8 @@ static PyObject *_wrap_new_wxKeyEvent(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxKeyEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18302,7 +19130,7 @@ static PyObject *_wrap_wxKeyEvent_ControlDown(PyObject *, PyObject *args, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxKeyEvent_ControlDown",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ControlDown",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -18321,8 +19149,8 @@ static PyObject *_wrap_wxKeyEvent_ControlDown(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxKeyEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18330,7 +19158,7 @@ static PyObject *_wrap_wxKeyEvent_MetaDown(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxKeyEvent_MetaDown",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_MetaDown",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -18349,8 +19177,8 @@ static PyObject *_wrap_wxKeyEvent_MetaDown(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxKeyEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18358,7 +19186,7 @@ static PyObject *_wrap_wxKeyEvent_AltDown(PyObject *, PyObject *args, PyObject * (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxKeyEvent_AltDown",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_AltDown",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -18377,8 +19205,8 @@ static PyObject *_wrap_wxKeyEvent_AltDown(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxKeyEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18386,7 +19214,7 @@ static PyObject *_wrap_wxKeyEvent_ShiftDown(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxKeyEvent_ShiftDown",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ShiftDown",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -18405,8 +19233,8 @@ static PyObject *_wrap_wxKeyEvent_ShiftDown(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxKeyEvent_CmdDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_CmdDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18414,7 +19242,7 @@ static PyObject *_wrap_wxKeyEvent_CmdDown(PyObject *, PyObject *args, PyObject * (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxKeyEvent_CmdDown",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_CmdDown",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -18433,8 +19261,8 @@ static PyObject *_wrap_wxKeyEvent_CmdDown(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxKeyEvent_HasModifiers(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18442,7 +19270,7 @@ static PyObject *_wrap_wxKeyEvent_HasModifiers(PyObject *, PyObject *args, PyObj (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxKeyEvent_HasModifiers",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_HasModifiers",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -18461,8 +19289,8 @@ static PyObject *_wrap_wxKeyEvent_HasModifiers(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxKeyEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18470,7 +19298,7 @@ static PyObject *_wrap_wxKeyEvent_GetKeyCode(PyObject *, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxKeyEvent_GetKeyCode",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetKeyCode",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -18481,7 +19309,7 @@ static PyObject *_wrap_wxKeyEvent_GetKeyCode(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18489,8 +19317,8 @@ static PyObject *_wrap_wxKeyEvent_GetKeyCode(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxKeyEvent_GetUnicodeKey(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_GetUnicodeKey(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18498,7 +19326,7 @@ static PyObject *_wrap_wxKeyEvent_GetUnicodeKey(PyObject *, PyObject *args, PyOb (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxKeyEvent_GetUnicodeKey",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUnicodeKey",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -18509,7 +19337,7 @@ static PyObject *_wrap_wxKeyEvent_GetUnicodeKey(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18517,8 +19345,8 @@ static PyObject *_wrap_wxKeyEvent_GetUnicodeKey(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxKeyEvent_GetRawKeyCode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; unsigned int result; PyObject * obj0 = 0 ; @@ -18526,7 +19354,7 @@ static PyObject *_wrap_wxKeyEvent_GetRawKeyCode(PyObject *, PyObject *args, PyOb (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxKeyEvent_GetRawKeyCode",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyCode",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -18537,7 +19365,7 @@ static PyObject *_wrap_wxKeyEvent_GetRawKeyCode(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + resultobj = SWIG_From_unsigned_SS_int(static_cast(result)); } return resultobj; fail: @@ -18545,8 +19373,8 @@ static PyObject *_wrap_wxKeyEvent_GetRawKeyCode(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxKeyEvent_GetRawKeyFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; unsigned int result; PyObject * obj0 = 0 ; @@ -18554,7 +19382,7 @@ static PyObject *_wrap_wxKeyEvent_GetRawKeyFlags(PyObject *, PyObject *args, PyO (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxKeyEvent_GetRawKeyFlags",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -18565,7 +19393,7 @@ static PyObject *_wrap_wxKeyEvent_GetRawKeyFlags(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + resultobj = SWIG_From_unsigned_SS_int(static_cast(result)); } return resultobj; fail: @@ -18573,8 +19401,8 @@ static PyObject *_wrap_wxKeyEvent_GetRawKeyFlags(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxKeyEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -18582,7 +19410,7 @@ static PyObject *_wrap_wxKeyEvent_GetPosition(PyObject *, PyObject *args, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxKeyEvent_GetPosition",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPosition",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -18594,7 +19422,7 @@ static PyObject *_wrap_wxKeyEvent_GetPosition(PyObject *, PyObject *args, PyObje } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -18603,8 +19431,8 @@ static PyObject *_wrap_wxKeyEvent_GetPosition(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxKeyEvent_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; long *arg2 = (long *) 0 ; long *arg3 = (long *) 0 ; @@ -18619,7 +19447,7 @@ static PyObject *_wrap_wxKeyEvent_GetPositionTuple(PyObject *, PyObject *args, P arg2 = &temp2; res2 = SWIG_NEWOBJ; arg3 = &temp3; res3 = SWIG_NEWOBJ; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxKeyEvent_GetPositionTuple",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPositionTuple",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -18640,8 +19468,8 @@ static PyObject *_wrap_wxKeyEvent_GetPositionTuple(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxKeyEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18649,7 +19477,7 @@ static PyObject *_wrap_wxKeyEvent_GetX(PyObject *, PyObject *args, PyObject *kwa (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxKeyEvent_GetX",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetX",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -18660,7 +19488,7 @@ static PyObject *_wrap_wxKeyEvent_GetX(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18668,8 +19496,8 @@ static PyObject *_wrap_wxKeyEvent_GetX(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxKeyEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18677,7 +19505,7 @@ static PyObject *_wrap_wxKeyEvent_GetY(PyObject *, PyObject *args, PyObject *kwa (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxKeyEvent_GetY",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetY",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -18688,7 +19516,7 @@ static PyObject *_wrap_wxKeyEvent_GetY(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18696,8 +19524,8 @@ static PyObject *_wrap_wxKeyEvent_GetY(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxKeyEvent_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -18706,11 +19534,11 @@ static PyObject *_wrap_wxKeyEvent_m_x_set(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "m_x", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxKeyEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_x = arg2; @@ -18722,8 +19550,8 @@ static PyObject *_wrap_wxKeyEvent_m_x_set(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxKeyEvent_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18731,13 +19559,13 @@ static PyObject *_wrap_wxKeyEvent_m_x_get(PyObject *, PyObject *args, PyObject * (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxKeyEvent_m_x_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_x_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (int) ((arg1)->m_x); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18745,8 +19573,8 @@ static PyObject *_wrap_wxKeyEvent_m_x_get(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxKeyEvent_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -18755,11 +19583,11 @@ static PyObject *_wrap_wxKeyEvent_m_y_set(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "m_y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxKeyEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_y = arg2; @@ -18771,8 +19599,8 @@ static PyObject *_wrap_wxKeyEvent_m_y_set(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxKeyEvent_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18780,13 +19608,13 @@ static PyObject *_wrap_wxKeyEvent_m_y_get(PyObject *, PyObject *args, PyObject * (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxKeyEvent_m_y_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_y_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (int) ((arg1)->m_y); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18794,8 +19622,8 @@ static PyObject *_wrap_wxKeyEvent_m_y_get(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxKeyEvent_m_keyCode_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -18804,11 +19632,11 @@ static PyObject *_wrap_wxKeyEvent_m_keyCode_set(PyObject *, PyObject *args, PyOb (char *) "self",(char *) "m_keyCode", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxKeyEvent_m_keyCode_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_keyCode_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_keyCode = arg2; @@ -18820,8 +19648,8 @@ static PyObject *_wrap_wxKeyEvent_m_keyCode_set(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxKeyEvent_m_keyCode_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -18829,13 +19657,13 @@ static PyObject *_wrap_wxKeyEvent_m_keyCode_get(PyObject *, PyObject *args, PyOb (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxKeyEvent_m_keyCode_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_keyCode_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (long) ((arg1)->m_keyCode); { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -18843,8 +19671,8 @@ static PyObject *_wrap_wxKeyEvent_m_keyCode_get(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxKeyEvent_m_controlDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -18853,11 +19681,11 @@ static PyObject *_wrap_wxKeyEvent_m_controlDown_set(PyObject *, PyObject *args, (char *) "self",(char *) "m_controlDown", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxKeyEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_controlDown = arg2; @@ -18869,8 +19697,8 @@ static PyObject *_wrap_wxKeyEvent_m_controlDown_set(PyObject *, PyObject *args, } -static PyObject *_wrap_wxKeyEvent_m_controlDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18878,7 +19706,7 @@ static PyObject *_wrap_wxKeyEvent_m_controlDown_get(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxKeyEvent_m_controlDown_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_controlDown_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (bool) ((arg1)->m_controlDown); @@ -18892,8 +19720,8 @@ static PyObject *_wrap_wxKeyEvent_m_controlDown_get(PyObject *, PyObject *args, } -static PyObject *_wrap_wxKeyEvent_m_shiftDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -18902,11 +19730,11 @@ static PyObject *_wrap_wxKeyEvent_m_shiftDown_set(PyObject *, PyObject *args, Py (char *) "self",(char *) "m_shiftDown", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxKeyEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_shiftDown = arg2; @@ -18918,8 +19746,8 @@ static PyObject *_wrap_wxKeyEvent_m_shiftDown_set(PyObject *, PyObject *args, Py } -static PyObject *_wrap_wxKeyEvent_m_shiftDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18927,7 +19755,7 @@ static PyObject *_wrap_wxKeyEvent_m_shiftDown_get(PyObject *, PyObject *args, Py (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxKeyEvent_m_shiftDown_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_shiftDown_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (bool) ((arg1)->m_shiftDown); @@ -18941,8 +19769,8 @@ static PyObject *_wrap_wxKeyEvent_m_shiftDown_get(PyObject *, PyObject *args, Py } -static PyObject *_wrap_wxKeyEvent_m_altDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -18951,11 +19779,11 @@ static PyObject *_wrap_wxKeyEvent_m_altDown_set(PyObject *, PyObject *args, PyOb (char *) "self",(char *) "m_altDown", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxKeyEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_altDown = arg2; @@ -18967,8 +19795,8 @@ static PyObject *_wrap_wxKeyEvent_m_altDown_set(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxKeyEvent_m_altDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18976,7 +19804,7 @@ static PyObject *_wrap_wxKeyEvent_m_altDown_get(PyObject *, PyObject *args, PyOb (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxKeyEvent_m_altDown_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_altDown_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (bool) ((arg1)->m_altDown); @@ -18990,8 +19818,8 @@ static PyObject *_wrap_wxKeyEvent_m_altDown_get(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxKeyEvent_m_metaDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -19000,11 +19828,11 @@ static PyObject *_wrap_wxKeyEvent_m_metaDown_set(PyObject *, PyObject *args, PyO (char *) "self",(char *) "m_metaDown", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxKeyEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_metaDown = arg2; @@ -19016,8 +19844,8 @@ static PyObject *_wrap_wxKeyEvent_m_metaDown_set(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxKeyEvent_m_metaDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19025,7 +19853,7 @@ static PyObject *_wrap_wxKeyEvent_m_metaDown_get(PyObject *, PyObject *args, PyO (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxKeyEvent_m_metaDown_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_metaDown_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (bool) ((arg1)->m_metaDown); @@ -19039,8 +19867,8 @@ static PyObject *_wrap_wxKeyEvent_m_metaDown_get(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxKeyEvent_m_scanCode_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -19049,11 +19877,11 @@ static PyObject *_wrap_wxKeyEvent_m_scanCode_set(PyObject *, PyObject *args, PyO (char *) "self",(char *) "m_scanCode", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxKeyEvent_m_scanCode_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_scanCode_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_scanCode = arg2; @@ -19065,8 +19893,8 @@ static PyObject *_wrap_wxKeyEvent_m_scanCode_set(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxKeyEvent_m_scanCode_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19074,7 +19902,7 @@ static PyObject *_wrap_wxKeyEvent_m_scanCode_get(PyObject *, PyObject *args, PyO (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxKeyEvent_m_scanCode_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_scanCode_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (bool) ((arg1)->m_scanCode); @@ -19088,8 +19916,8 @@ static PyObject *_wrap_wxKeyEvent_m_scanCode_get(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxKeyEvent_m_rawCode_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; unsigned int arg2 ; PyObject * obj0 = 0 ; @@ -19098,11 +19926,11 @@ static PyObject *_wrap_wxKeyEvent_m_rawCode_set(PyObject *, PyObject *args, PyOb (char *) "self",(char *) "m_rawCode", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxKeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_rawCode = arg2; @@ -19114,8 +19942,8 @@ static PyObject *_wrap_wxKeyEvent_m_rawCode_set(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxKeyEvent_m_rawCode_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; unsigned int result; PyObject * obj0 = 0 ; @@ -19123,13 +19951,13 @@ static PyObject *_wrap_wxKeyEvent_m_rawCode_get(PyObject *, PyObject *args, PyOb (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxKeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (unsigned int) ((arg1)->m_rawCode); { - resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + resultobj = SWIG_From_unsigned_SS_int(static_cast(result)); } return resultobj; fail: @@ -19137,8 +19965,8 @@ static PyObject *_wrap_wxKeyEvent_m_rawCode_get(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxKeyEvent_m_rawFlags_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; unsigned int arg2 ; PyObject * obj0 = 0 ; @@ -19147,11 +19975,11 @@ static PyObject *_wrap_wxKeyEvent_m_rawFlags_set(PyObject *, PyObject *args, PyO (char *) "self",(char *) "m_rawFlags", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxKeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (arg1) (arg1)->m_rawFlags = arg2; @@ -19163,8 +19991,8 @@ static PyObject *_wrap_wxKeyEvent_m_rawFlags_set(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxKeyEvent_m_rawFlags_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; unsigned int result; PyObject * obj0 = 0 ; @@ -19172,13 +20000,13 @@ static PyObject *_wrap_wxKeyEvent_m_rawFlags_get(PyObject *, PyObject *args, PyO (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxKeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (unsigned int) ((arg1)->m_rawFlags); { - resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); + resultobj = SWIG_From_unsigned_SS_int(static_cast(result)); } return resultobj; fail: @@ -19186,15 +20014,15 @@ static PyObject *_wrap_wxKeyEvent_m_rawFlags_get(PyObject *, PyObject *args, PyO } -static PyObject * wxKeyEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * KeyEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_SizeEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSize const &arg1_defvalue = wxDefaultSize ; wxSize *arg1 = (wxSize *) &arg1_defvalue ; int arg2 = (int) 0 ; @@ -19206,7 +20034,7 @@ static PyObject *_wrap_new_wxSizeEvent(PyObject *, PyObject *args, PyObject *kwa (char *) "sz",(char *) "winid", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_wxSizeEvent",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SizeEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { arg1 = &temp1; @@ -19215,7 +20043,7 @@ static PyObject *_wrap_new_wxSizeEvent(PyObject *, PyObject *args, PyObject *kwa } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -19233,8 +20061,8 @@ static PyObject *_wrap_new_wxSizeEvent(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxSizeEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizeEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -19242,7 +20070,7 @@ static PyObject *_wrap_wxSizeEvent_GetSize(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizeEvent_GetSize",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetSize",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -19254,7 +20082,7 @@ static PyObject *_wrap_wxSizeEvent_GetSize(PyObject *, PyObject *args, PyObject } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -19263,8 +20091,8 @@ static PyObject *_wrap_wxSizeEvent_GetSize(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxSizeEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizeEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -19272,7 +20100,7 @@ static PyObject *_wrap_wxSizeEvent_GetRect(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizeEvent_GetRect",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetRect",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -19284,7 +20112,7 @@ static PyObject *_wrap_wxSizeEvent_GetRect(PyObject *, PyObject *args, PyObject } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -19293,8 +20121,8 @@ static PyObject *_wrap_wxSizeEvent_GetRect(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxSizeEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizeEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxRect arg2 ; PyObject * obj0 = 0 ; @@ -19303,7 +20131,7 @@ static PyObject *_wrap_wxSizeEvent_SetRect(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "rect", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSizeEvent_SetRect",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetRect",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -19330,8 +20158,8 @@ static PyObject *_wrap_wxSizeEvent_SetRect(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxSizeEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizeEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxSize arg2 ; PyObject * obj0 = 0 ; @@ -19340,7 +20168,7 @@ static PyObject *_wrap_wxSizeEvent_SetSize(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "size", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSizeEvent_SetSize",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetSize",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -19367,8 +20195,8 @@ static PyObject *_wrap_wxSizeEvent_SetSize(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxSizeEvent_m_size_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizeEvent_m_size_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxSize *arg2 = (wxSize *) 0 ; PyObject * obj0 = 0 ; @@ -19377,7 +20205,7 @@ static PyObject *_wrap_wxSizeEvent_m_size_set(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "m_size", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSizeEvent_m_size_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_size_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION | 0); @@ -19391,8 +20219,8 @@ static PyObject *_wrap_wxSizeEvent_m_size_set(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxSizeEvent_m_size_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizeEvent_m_size_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxSize *result; PyObject * obj0 = 0 ; @@ -19400,7 +20228,7 @@ static PyObject *_wrap_wxSizeEvent_m_size_get(PyObject *, PyObject *args, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizeEvent_m_size_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_size_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (wxSize *)& ((arg1)->m_size); @@ -19412,8 +20240,8 @@ static PyObject *_wrap_wxSizeEvent_m_size_get(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxSizeEvent_m_rect_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxRect *arg2 = (wxRect *) 0 ; PyObject * obj0 = 0 ; @@ -19422,7 +20250,7 @@ static PyObject *_wrap_wxSizeEvent_m_rect_set(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "m_rect", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSizeEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0); @@ -19436,8 +20264,8 @@ static PyObject *_wrap_wxSizeEvent_m_rect_set(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxSizeEvent_m_rect_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxRect *result; PyObject * obj0 = 0 ; @@ -19445,7 +20273,7 @@ static PyObject *_wrap_wxSizeEvent_m_rect_get(PyObject *, PyObject *args, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizeEvent_m_rect_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_rect_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizeEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (wxRect *)& ((arg1)->m_rect); @@ -19457,15 +20285,15 @@ static PyObject *_wrap_wxSizeEvent_m_rect_get(PyObject *, PyObject *args, PyObje } -static PyObject * wxSizeEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * SizeEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxMoveEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_MoveEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPoint const &arg1_defvalue = wxDefaultPosition ; wxPoint *arg1 = (wxPoint *) &arg1_defvalue ; int arg2 = (int) 0 ; @@ -19477,7 +20305,7 @@ static PyObject *_wrap_new_wxMoveEvent(PyObject *, PyObject *args, PyObject *kwa (char *) "pos",(char *) "winid", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_wxMoveEvent",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MoveEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { arg1 = &temp1; @@ -19486,7 +20314,7 @@ static PyObject *_wrap_new_wxMoveEvent(PyObject *, PyObject *args, PyObject *kwa } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -19504,8 +20332,8 @@ static PyObject *_wrap_new_wxMoveEvent(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxMoveEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MoveEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMoveEvent *arg1 = (wxMoveEvent *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -19513,7 +20341,7 @@ static PyObject *_wrap_wxMoveEvent_GetPosition(PyObject *, PyObject *args, PyObj (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMoveEvent_GetPosition",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetPosition",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMoveEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -19525,7 +20353,7 @@ static PyObject *_wrap_wxMoveEvent_GetPosition(PyObject *, PyObject *args, PyObj } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -19534,8 +20362,8 @@ static PyObject *_wrap_wxMoveEvent_GetPosition(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxMoveEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MoveEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMoveEvent *arg1 = (wxMoveEvent *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -19543,7 +20371,7 @@ static PyObject *_wrap_wxMoveEvent_GetRect(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMoveEvent_GetRect",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetRect",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMoveEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -19555,7 +20383,7 @@ static PyObject *_wrap_wxMoveEvent_GetRect(PyObject *, PyObject *args, PyObject } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -19564,8 +20392,8 @@ static PyObject *_wrap_wxMoveEvent_GetRect(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxMoveEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MoveEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMoveEvent *arg1 = (wxMoveEvent *) 0 ; wxRect *arg2 = 0 ; wxRect temp2 ; @@ -19575,7 +20403,7 @@ static PyObject *_wrap_wxMoveEvent_SetRect(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "rect", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMoveEvent_SetRect",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetRect",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMoveEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -19596,8 +20424,8 @@ static PyObject *_wrap_wxMoveEvent_SetRect(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxMoveEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MoveEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMoveEvent *arg1 = (wxMoveEvent *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -19607,7 +20435,7 @@ static PyObject *_wrap_wxMoveEvent_SetPosition(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "pos", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMoveEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMoveEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -19628,15 +20456,15 @@ static PyObject *_wrap_wxMoveEvent_SetPosition(PyObject *, PyObject *args, PyObj } -static PyObject * wxMoveEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * MoveEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxPaintEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_PaintEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxPaintEvent *result; PyObject * obj0 = 0 ; @@ -19644,10 +20472,10 @@ static PyObject *_wrap_new_wxPaintEvent(PyObject *, PyObject *args, PyObject *kw (char *) "Id", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_wxPaintEvent",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaintEvent",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -19665,15 +20493,15 @@ static PyObject *_wrap_new_wxPaintEvent(PyObject *, PyObject *args, PyObject *kw } -static PyObject * wxPaintEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * PaintEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxNcPaintEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_NcPaintEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxNcPaintEvent *result; PyObject * obj0 = 0 ; @@ -19681,10 +20509,10 @@ static PyObject *_wrap_new_wxNcPaintEvent(PyObject *, PyObject *args, PyObject * (char *) "winid", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_wxNcPaintEvent",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_NcPaintEvent",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -19702,17 +20530,17 @@ static PyObject *_wrap_new_wxNcPaintEvent(PyObject *, PyObject *args, PyObject * } -static PyObject * wxNcPaintEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * NcPaintEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxEraseEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_EraseEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; int arg1 = (int) 0 ; - wxDC *arg2 = (wxDC *) (wxDC *) NULL ; + wxDC *arg2 = (wxDC *) NULL ; wxEraseEvent *result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -19720,10 +20548,10 @@ static PyObject *_wrap_new_wxEraseEvent(PyObject *, PyObject *args, PyObject *kw (char *) "Id",(char *) "dc", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_wxEraseEvent",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_EraseEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -19745,8 +20573,8 @@ static PyObject *_wrap_new_wxEraseEvent(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxEraseEvent_GetDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_EraseEvent_GetDC(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEraseEvent *arg1 = (wxEraseEvent *) 0 ; wxDC *result; PyObject * obj0 = 0 ; @@ -19754,7 +20582,7 @@ static PyObject *_wrap_wxEraseEvent_GetDC(PyObject *, PyObject *args, PyObject * (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxEraseEvent_GetDC",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EraseEvent_GetDC",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEraseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -19765,7 +20593,7 @@ static PyObject *_wrap_wxEraseEvent_GetDC(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -19773,15 +20601,15 @@ static PyObject *_wrap_wxEraseEvent_GetDC(PyObject *, PyObject *args, PyObject * } -static PyObject * wxEraseEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * EraseEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxFocusEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_FocusEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxFocusEvent *result; @@ -19791,16 +20619,16 @@ static PyObject *_wrap_new_wxFocusEvent(PyObject *, PyObject *args, PyObject *kw (char *) "type",(char *) "winid", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_wxFocusEvent",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FocusEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -19818,8 +20646,8 @@ static PyObject *_wrap_new_wxFocusEvent(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxFocusEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FocusEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxFocusEvent *arg1 = (wxFocusEvent *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -19827,7 +20655,7 @@ static PyObject *_wrap_wxFocusEvent_GetWindow(PyObject *, PyObject *args, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxFocusEvent_GetWindow",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FocusEvent_GetWindow",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFocusEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -19838,7 +20666,7 @@ static PyObject *_wrap_wxFocusEvent_GetWindow(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -19846,8 +20674,8 @@ static PyObject *_wrap_wxFocusEvent_GetWindow(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxFocusEvent_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FocusEvent_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxFocusEvent *arg1 = (wxFocusEvent *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -19856,7 +20684,7 @@ static PyObject *_wrap_wxFocusEvent_SetWindow(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "win", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxFocusEvent_SetWindow",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FocusEvent_SetWindow",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFocusEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -19875,15 +20703,15 @@ static PyObject *_wrap_wxFocusEvent_SetWindow(PyObject *, PyObject *args, PyObje } -static PyObject * wxFocusEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * FocusEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxChildFocusEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_ChildFocusEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) NULL ; wxChildFocusEvent *result; PyObject * obj0 = 0 ; @@ -19891,7 +20719,7 @@ static PyObject *_wrap_new_wxChildFocusEvent(PyObject *, PyObject *args, PyObjec (char *) "win", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_wxChildFocusEvent",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ChildFocusEvent",kwnames,&obj0)) goto fail; if (obj0) { SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; @@ -19910,8 +20738,8 @@ static PyObject *_wrap_new_wxChildFocusEvent(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxChildFocusEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -19919,7 +20747,7 @@ static PyObject *_wrap_wxChildFocusEvent_GetWindow(PyObject *, PyObject *args, P (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxChildFocusEvent_GetWindow",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ChildFocusEvent_GetWindow",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChildFocusEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -19930,7 +20758,7 @@ static PyObject *_wrap_wxChildFocusEvent_GetWindow(PyObject *, PyObject *args, P if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -19938,15 +20766,15 @@ static PyObject *_wrap_wxChildFocusEvent_GetWindow(PyObject *, PyObject *args, P } -static PyObject * wxChildFocusEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * ChildFocusEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxActivateEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_ActivateEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; bool arg2 = (bool) true ; int arg3 = (int) 0 ; @@ -19958,22 +20786,22 @@ static PyObject *_wrap_new_wxActivateEvent(PyObject *, PyObject *args, PyObject (char *) "type",(char *) "active",(char *) "Id", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_wxActivateEvent",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ActivateEvent",kwnames,&obj0,&obj1,&obj2)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -19991,8 +20819,8 @@ static PyObject *_wrap_new_wxActivateEvent(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxActivateEvent_GetActive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ActivateEvent_GetActive(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxActivateEvent *arg1 = (wxActivateEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20000,7 +20828,7 @@ static PyObject *_wrap_wxActivateEvent_GetActive(PyObject *, PyObject *args, PyO (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxActivateEvent_GetActive",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ActivateEvent_GetActive",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxActivateEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -20019,15 +20847,15 @@ static PyObject *_wrap_wxActivateEvent_GetActive(PyObject *, PyObject *args, PyO } -static PyObject * wxActivateEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * ActivateEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxInitDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_InitDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxInitDialogEvent *result; PyObject * obj0 = 0 ; @@ -20035,10 +20863,10 @@ static PyObject *_wrap_new_wxInitDialogEvent(PyObject *, PyObject *args, PyObjec (char *) "Id", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_wxInitDialogEvent",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_InitDialogEvent",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -20056,15 +20884,15 @@ static PyObject *_wrap_new_wxInitDialogEvent(PyObject *, PyObject *args, PyObjec } -static PyObject * wxInitDialogEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * InitDialogEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxMenuEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_MenuEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxMenu *arg3 = (wxMenu *) NULL ; @@ -20076,16 +20904,16 @@ static PyObject *_wrap_new_wxMenuEvent(PyObject *, PyObject *args, PyObject *kwa (char *) "type",(char *) "winid",(char *) "menu", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_wxMenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_MenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -20107,8 +20935,8 @@ static PyObject *_wrap_new_wxMenuEvent(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxMenuEvent_GetMenuId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuEvent *arg1 = (wxMenuEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -20116,7 +20944,7 @@ static PyObject *_wrap_wxMenuEvent_GetMenuId(PyObject *, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenuEvent_GetMenuId",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenuId",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -20127,7 +20955,7 @@ static PyObject *_wrap_wxMenuEvent_GetMenuId(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -20135,8 +20963,8 @@ static PyObject *_wrap_wxMenuEvent_GetMenuId(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxMenuEvent_IsPopup(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuEvent_IsPopup(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuEvent *arg1 = (wxMenuEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20144,7 +20972,7 @@ static PyObject *_wrap_wxMenuEvent_IsPopup(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenuEvent_IsPopup",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_IsPopup",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -20163,8 +20991,8 @@ static PyObject *_wrap_wxMenuEvent_IsPopup(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxMenuEvent_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuEvent_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuEvent *arg1 = (wxMenuEvent *) 0 ; wxMenu *result; PyObject * obj0 = 0 ; @@ -20172,7 +21000,7 @@ static PyObject *_wrap_wxMenuEvent_GetMenu(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenuEvent_GetMenu",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenu",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -20183,7 +21011,7 @@ static PyObject *_wrap_wxMenuEvent_GetMenu(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -20191,15 +21019,15 @@ static PyObject *_wrap_wxMenuEvent_GetMenu(PyObject *, PyObject *args, PyObject } -static PyObject * wxMenuEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * MenuEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxCloseEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_CloseEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxCloseEvent *result; @@ -20209,16 +21037,16 @@ static PyObject *_wrap_new_wxCloseEvent(PyObject *, PyObject *args, PyObject *kw (char *) "type",(char *) "winid", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_wxCloseEvent",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CloseEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -20236,8 +21064,8 @@ static PyObject *_wrap_new_wxCloseEvent(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxCloseEvent_SetLoggingOff(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxCloseEvent *arg1 = (wxCloseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -20246,11 +21074,11 @@ static PyObject *_wrap_wxCloseEvent_SetLoggingOff(PyObject *, PyObject *args, Py (char *) "self",(char *) "logOff", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxCloseEvent_SetLoggingOff",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetLoggingOff",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20267,8 +21095,8 @@ static PyObject *_wrap_wxCloseEvent_SetLoggingOff(PyObject *, PyObject *args, Py } -static PyObject *_wrap_wxCloseEvent_GetLoggingOff(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxCloseEvent *arg1 = (wxCloseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20276,7 +21104,7 @@ static PyObject *_wrap_wxCloseEvent_GetLoggingOff(PyObject *, PyObject *args, Py (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxCloseEvent_GetLoggingOff",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetLoggingOff",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -20295,8 +21123,8 @@ static PyObject *_wrap_wxCloseEvent_GetLoggingOff(PyObject *, PyObject *args, Py } -static PyObject *_wrap_wxCloseEvent_Veto(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_CloseEvent_Veto(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxCloseEvent *arg1 = (wxCloseEvent *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -20305,12 +21133,12 @@ static PyObject *_wrap_wxCloseEvent_Veto(PyObject *, PyObject *args, PyObject *k (char *) "self",(char *) "veto", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxCloseEvent_Veto",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CloseEvent_Veto",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -20328,67 +21156,67 @@ static PyObject *_wrap_wxCloseEvent_Veto(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxCloseEvent_SetCanVeto(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_CloseEvent_GetVeto(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxCloseEvent *arg1 = (wxCloseEvent *) 0 ; - bool arg2 ; + bool result; PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "canVeto", NULL + (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxCloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; - { - arg2 = (bool)(SWIG_As_bool(obj1)); - if (SWIG_arg_fail(2)) SWIG_fail; - } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetCanVeto(arg2); + result = (bool)((wxCloseEvent const *)arg1)->GetVeto(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - Py_INCREF(Py_None); resultobj = Py_None; + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } return resultobj; fail: return NULL; } -static PyObject *_wrap_wxCloseEvent_CanVeto(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxCloseEvent *arg1 = (wxCloseEvent *) 0 ; - bool result; + bool arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self", NULL + (char *) "self",(char *) "canVeto", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxCloseEvent_CanVeto",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxCloseEvent const *)arg1)->CanVeto(); + (arg1)->SetCanVeto(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); - } + Py_INCREF(Py_None); resultobj = Py_None; return resultobj; fail: return NULL; } -static PyObject *_wrap_wxCloseEvent_GetVeto(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_CloseEvent_CanVeto(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxCloseEvent *arg1 = (wxCloseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20396,12 +21224,12 @@ static PyObject *_wrap_wxCloseEvent_GetVeto(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxCloseEvent_GetVeto",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_CanVeto",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCloseEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxCloseEvent const *)arg1)->GetVeto(); + result = (bool)((wxCloseEvent const *)arg1)->CanVeto(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -20415,15 +21243,15 @@ static PyObject *_wrap_wxCloseEvent_GetVeto(PyObject *, PyObject *args, PyObject } -static PyObject * wxCloseEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * CloseEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxShowEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_ShowEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; int arg1 = (int) 0 ; bool arg2 = (bool) false ; wxShowEvent *result; @@ -20433,16 +21261,16 @@ static PyObject *_wrap_new_wxShowEvent(PyObject *, PyObject *args, PyObject *kwa (char *) "winid",(char *) "show", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_wxShowEvent",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ShowEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -20460,8 +21288,8 @@ static PyObject *_wrap_new_wxShowEvent(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxShowEvent_SetShow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ShowEvent_SetShow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxShowEvent *arg1 = (wxShowEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -20470,11 +21298,11 @@ static PyObject *_wrap_wxShowEvent_SetShow(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "show", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxShowEvent_SetShow",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShowEvent_SetShow",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShowEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20491,8 +21319,8 @@ static PyObject *_wrap_wxShowEvent_SetShow(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxShowEvent_GetShow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ShowEvent_GetShow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxShowEvent *arg1 = (wxShowEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20500,7 +21328,7 @@ static PyObject *_wrap_wxShowEvent_GetShow(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxShowEvent_GetShow",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShowEvent_GetShow",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxShowEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -20519,15 +21347,15 @@ static PyObject *_wrap_wxShowEvent_GetShow(PyObject *, PyObject *args, PyObject } -static PyObject * wxShowEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * ShowEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxIconizeEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_IconizeEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; int arg1 = (int) 0 ; bool arg2 = (bool) true ; wxIconizeEvent *result; @@ -20537,16 +21365,16 @@ static PyObject *_wrap_new_wxIconizeEvent(PyObject *, PyObject *args, PyObject * (char *) "id",(char *) "iconized", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_wxIconizeEvent",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconizeEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -20564,8 +21392,8 @@ static PyObject *_wrap_new_wxIconizeEvent(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxIconizeEvent_Iconized(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IconizeEvent_Iconized(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20573,7 +21401,7 @@ static PyObject *_wrap_wxIconizeEvent_Iconized(PyObject *, PyObject *args, PyObj (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxIconizeEvent_Iconized",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconizeEvent_Iconized",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIconizeEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -20592,15 +21420,15 @@ static PyObject *_wrap_wxIconizeEvent_Iconized(PyObject *, PyObject *args, PyObj } -static PyObject * wxIconizeEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * IconizeEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxMaximizeEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_MaximizeEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxMaximizeEvent *result; PyObject * obj0 = 0 ; @@ -20608,10 +21436,10 @@ static PyObject *_wrap_new_wxMaximizeEvent(PyObject *, PyObject *args, PyObject (char *) "id", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_wxMaximizeEvent",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MaximizeEvent",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -20629,15 +21457,15 @@ static PyObject *_wrap_new_wxMaximizeEvent(PyObject *, PyObject *args, PyObject } -static PyObject * wxMaximizeEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * MaximizeEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_wxDropFilesEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -20645,7 +21473,7 @@ static PyObject *_wrap_wxDropFilesEvent_GetPosition(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxDropFilesEvent_GetPosition",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetPosition",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDropFilesEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -20657,7 +21485,7 @@ static PyObject *_wrap_wxDropFilesEvent_GetPosition(PyObject *, PyObject *args, } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -20666,8 +21494,8 @@ static PyObject *_wrap_wxDropFilesEvent_GetPosition(PyObject *, PyObject *args, } -static PyObject *_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -20675,7 +21503,7 @@ static PyObject *_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject *, PyObject *a (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxDropFilesEvent_GetNumberOfFiles",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDropFilesEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -20686,7 +21514,7 @@ static PyObject *_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject *, PyObject *a if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -20694,8 +21522,8 @@ static PyObject *_wrap_wxDropFilesEvent_GetNumberOfFiles(PyObject *, PyObject *a } -static PyObject *_wrap_wxDropFilesEvent_GetFiles(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -20703,7 +21531,7 @@ static PyObject *_wrap_wxDropFilesEvent_GetFiles(PyObject *, PyObject *args, PyO (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxDropFilesEvent_GetFiles",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetFiles",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDropFilesEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -20720,15 +21548,15 @@ static PyObject *_wrap_wxDropFilesEvent_GetFiles(PyObject *, PyObject *args, PyO } -static PyObject * wxDropFilesEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * DropFilesEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxUpdateUIEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_UpdateUIEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxUpdateUIEvent *result; PyObject * obj0 = 0 ; @@ -20736,10 +21564,10 @@ static PyObject *_wrap_new_wxUpdateUIEvent(PyObject *, PyObject *args, PyObject (char *) "commandId", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_wxUpdateUIEvent",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_UpdateUIEvent",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -20757,8 +21585,8 @@ static PyObject *_wrap_new_wxUpdateUIEvent(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxUpdateUIEvent_GetChecked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20766,7 +21594,7 @@ static PyObject *_wrap_wxUpdateUIEvent_GetChecked(PyObject *, PyObject *args, Py (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxUpdateUIEvent_GetChecked",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetChecked",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -20785,8 +21613,8 @@ static PyObject *_wrap_wxUpdateUIEvent_GetChecked(PyObject *, PyObject *args, Py } -static PyObject *_wrap_wxUpdateUIEvent_GetEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20794,7 +21622,7 @@ static PyObject *_wrap_wxUpdateUIEvent_GetEnabled(PyObject *, PyObject *args, Py (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxUpdateUIEvent_GetEnabled",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetEnabled",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -20813,8 +21641,8 @@ static PyObject *_wrap_wxUpdateUIEvent_GetEnabled(PyObject *, PyObject *args, Py } -static PyObject *_wrap_wxUpdateUIEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -20822,7 +21650,7 @@ static PyObject *_wrap_wxUpdateUIEvent_GetText(PyObject *, PyObject *args, PyObj (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxUpdateUIEvent_GetText",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetText",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -20845,8 +21673,8 @@ static PyObject *_wrap_wxUpdateUIEvent_GetText(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxUpdateUIEvent_GetSetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20854,7 +21682,7 @@ static PyObject *_wrap_wxUpdateUIEvent_GetSetText(PyObject *, PyObject *args, Py (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxUpdateUIEvent_GetSetText",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetText",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -20873,8 +21701,8 @@ static PyObject *_wrap_wxUpdateUIEvent_GetSetText(PyObject *, PyObject *args, Py } -static PyObject *_wrap_wxUpdateUIEvent_GetSetChecked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20882,7 +21710,7 @@ static PyObject *_wrap_wxUpdateUIEvent_GetSetChecked(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxUpdateUIEvent_GetSetChecked",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -20901,8 +21729,8 @@ static PyObject *_wrap_wxUpdateUIEvent_GetSetChecked(PyObject *, PyObject *args, } -static PyObject *_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20910,7 +21738,7 @@ static PyObject *_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxUpdateUIEvent_GetSetEnabled",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -20929,8 +21757,8 @@ static PyObject *_wrap_wxUpdateUIEvent_GetSetEnabled(PyObject *, PyObject *args, } -static PyObject *_wrap_wxUpdateUIEvent_Check(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_UpdateUIEvent_Check(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -20939,11 +21767,11 @@ static PyObject *_wrap_wxUpdateUIEvent_Check(PyObject *, PyObject *args, PyObjec (char *) "self",(char *) "check", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxUpdateUIEvent_Check",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Check",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20960,8 +21788,8 @@ static PyObject *_wrap_wxUpdateUIEvent_Check(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxUpdateUIEvent_Enable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -20970,11 +21798,11 @@ static PyObject *_wrap_wxUpdateUIEvent_Enable(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "enable", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxUpdateUIEvent_Enable",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Enable",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20991,8 +21819,8 @@ static PyObject *_wrap_wxUpdateUIEvent_Enable(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxUpdateUIEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -21002,7 +21830,7 @@ static PyObject *_wrap_wxUpdateUIEvent_SetText(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "text", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxUpdateUIEvent_SetText",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_SetText",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxUpdateUIEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -21032,17 +21860,17 @@ static PyObject *_wrap_wxUpdateUIEvent_SetText(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxUpdateUIEvent_SetUpdateInterval(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; long arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "updateInterval", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxUpdateUIEvent_SetUpdateInterval",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -21059,14 +21887,14 @@ static PyObject *_wrap_wxUpdateUIEvent_SetUpdateInterval(PyObject *, PyObject *a } -static PyObject *_wrap_wxUpdateUIEvent_GetUpdateInterval(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; long result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":wxUpdateUIEvent_GetUpdateInterval",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (long)wxUpdateUIEvent::GetUpdateInterval(); @@ -21075,7 +21903,7 @@ static PyObject *_wrap_wxUpdateUIEvent_GetUpdateInterval(PyObject *, PyObject *a if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -21083,8 +21911,8 @@ static PyObject *_wrap_wxUpdateUIEvent_GetUpdateInterval(PyObject *, PyObject *a } -static PyObject *_wrap_wxUpdateUIEvent_CanUpdate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21092,7 +21920,7 @@ static PyObject *_wrap_wxUpdateUIEvent_CanUpdate(PyObject *, PyObject *args, PyO (char *) "win", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxUpdateUIEvent_CanUpdate",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_CanUpdate",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -21111,13 +21939,13 @@ static PyObject *_wrap_wxUpdateUIEvent_CanUpdate(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxUpdateUIEvent_ResetUpdateTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":wxUpdateUIEvent_ResetUpdateTime",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); wxUpdateUIEvent::ResetUpdateTime(); @@ -21132,22 +21960,22 @@ static PyObject *_wrap_wxUpdateUIEvent_ResetUpdateTime(PyObject *, PyObject *arg } -static PyObject *_wrap_wxUpdateUIEvent_SetMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxUpdateUIMode arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "mode", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxUpdateUIEvent_SetMode",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetMode",kwnames,&obj0)) goto fail; { - arg1 = (wxUpdateUIMode)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - wxUpdateUIEvent::SetMode((wxUpdateUIMode )arg1); + wxUpdateUIEvent::SetMode(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -21159,14 +21987,14 @@ static PyObject *_wrap_wxUpdateUIEvent_SetMode(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxUpdateUIEvent_GetMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxUpdateUIMode result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":wxUpdateUIEvent_GetMode",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetMode",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxUpdateUIMode)wxUpdateUIEvent::GetMode(); @@ -21181,21 +22009,21 @@ static PyObject *_wrap_wxUpdateUIEvent_GetMode(PyObject *, PyObject *args, PyObj } -static PyObject * wxUpdateUIEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * UpdateUIEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxSysColourChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_SysColourChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSysColourChangedEvent *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_wxSysColourChangedEvent",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SysColourChangedEvent",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxSysColourChangedEvent *)new wxSysColourChangedEvent(); @@ -21210,15 +22038,15 @@ static PyObject *_wrap_new_wxSysColourChangedEvent(PyObject *, PyObject *args, P } -static PyObject * wxSysColourChangedEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * SysColourChangedEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxMouseCaptureChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxWindow *arg2 = (wxWindow *) NULL ; wxMouseCaptureChangedEvent *result; @@ -21228,10 +22056,10 @@ static PyObject *_wrap_new_wxMouseCaptureChangedEvent(PyObject *, PyObject *args (char *) "winid",(char *) "gainedCapture", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_wxMouseCaptureChangedEvent",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -21253,8 +22081,8 @@ static PyObject *_wrap_new_wxMouseCaptureChangedEvent(PyObject *, PyObject *args } -static PyObject *_wrap_wxMouseCaptureChangedEvent_GetCapturedWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -21262,7 +22090,7 @@ static PyObject *_wrap_wxMouseCaptureChangedEvent_GetCapturedWindow(PyObject *, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMouseCaptureChangedEvent_GetCapturedWindow",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseCaptureChangedEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -21273,7 +22101,7 @@ static PyObject *_wrap_wxMouseCaptureChangedEvent_GetCapturedWindow(PyObject *, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -21281,21 +22109,21 @@ static PyObject *_wrap_wxMouseCaptureChangedEvent_GetCapturedWindow(PyObject *, } -static PyObject * wxMouseCaptureChangedEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxDisplayChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_DisplayChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxDisplayChangedEvent *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_wxDisplayChangedEvent",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DisplayChangedEvent",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxDisplayChangedEvent *)new wxDisplayChangedEvent(); @@ -21310,15 +22138,15 @@ static PyObject *_wrap_new_wxDisplayChangedEvent(PyObject *, PyObject *args, PyO } -static PyObject * wxDisplayChangedEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * DisplayChangedEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxPaletteChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_PaletteChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxPaletteChangedEvent *result; PyObject * obj0 = 0 ; @@ -21326,10 +22154,10 @@ static PyObject *_wrap_new_wxPaletteChangedEvent(PyObject *, PyObject *args, PyO (char *) "id", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_wxPaletteChangedEvent",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaletteChangedEvent",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -21347,8 +22175,8 @@ static PyObject *_wrap_new_wxPaletteChangedEvent(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxPaletteChangedEvent_SetChangedWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -21357,7 +22185,7 @@ static PyObject *_wrap_wxPaletteChangedEvent_SetChangedWindow(PyObject *, PyObje (char *) "self",(char *) "win", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPaletteChangedEvent_SetChangedWindow",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPaletteChangedEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -21376,8 +22204,8 @@ static PyObject *_wrap_wxPaletteChangedEvent_SetChangedWindow(PyObject *, PyObje } -static PyObject *_wrap_wxPaletteChangedEvent_GetChangedWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -21385,7 +22213,7 @@ static PyObject *_wrap_wxPaletteChangedEvent_GetChangedWindow(PyObject *, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPaletteChangedEvent_GetChangedWindow",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPaletteChangedEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -21396,7 +22224,7 @@ static PyObject *_wrap_wxPaletteChangedEvent_GetChangedWindow(PyObject *, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -21404,15 +22232,15 @@ static PyObject *_wrap_wxPaletteChangedEvent_GetChangedWindow(PyObject *, PyObje } -static PyObject * wxPaletteChangedEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * PaletteChangedEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxQueryNewPaletteEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxQueryNewPaletteEvent *result; PyObject * obj0 = 0 ; @@ -21420,10 +22248,10 @@ static PyObject *_wrap_new_wxQueryNewPaletteEvent(PyObject *, PyObject *args, Py (char *) "winid", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_wxQueryNewPaletteEvent",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryNewPaletteEvent",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -21441,8 +22269,8 @@ static PyObject *_wrap_new_wxQueryNewPaletteEvent(PyObject *, PyObject *args, Py } -static PyObject *_wrap_wxQueryNewPaletteEvent_SetPaletteRealized(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -21451,11 +22279,11 @@ static PyObject *_wrap_wxQueryNewPaletteEvent_SetPaletteRealized(PyObject *, PyO (char *) "self",(char *) "realized", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxQueryNewPaletteEvent_SetPaletteRealized",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryNewPaletteEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -21472,8 +22300,8 @@ static PyObject *_wrap_wxQueryNewPaletteEvent_SetPaletteRealized(PyObject *, PyO } -static PyObject *_wrap_wxQueryNewPaletteEvent_GetPaletteRealized(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21481,7 +22309,7 @@ static PyObject *_wrap_wxQueryNewPaletteEvent_GetPaletteRealized(PyObject *, PyO (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxQueryNewPaletteEvent_GetPaletteRealized",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryNewPaletteEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -21500,21 +22328,21 @@ static PyObject *_wrap_wxQueryNewPaletteEvent_GetPaletteRealized(PyObject *, PyO } -static PyObject * wxQueryNewPaletteEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * QueryNewPaletteEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxNavigationKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_NavigationKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxNavigationKeyEvent *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_wxNavigationKeyEvent",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NavigationKeyEvent",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxNavigationKeyEvent *)new wxNavigationKeyEvent(); @@ -21529,8 +22357,8 @@ static PyObject *_wrap_new_wxNavigationKeyEvent(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxNavigationKeyEvent_GetDirection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21538,7 +22366,7 @@ static PyObject *_wrap_wxNavigationKeyEvent_GetDirection(PyObject *, PyObject *a (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxNavigationKeyEvent_GetDirection",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetDirection",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -21557,8 +22385,8 @@ static PyObject *_wrap_wxNavigationKeyEvent_GetDirection(PyObject *, PyObject *a } -static PyObject *_wrap_wxNavigationKeyEvent_SetDirection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -21567,11 +22395,11 @@ static PyObject *_wrap_wxNavigationKeyEvent_SetDirection(PyObject *, PyObject *a (char *) "self",(char *) "forward", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxNavigationKeyEvent_SetDirection",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -21588,8 +22416,8 @@ static PyObject *_wrap_wxNavigationKeyEvent_SetDirection(PyObject *, PyObject *a } -static PyObject *_wrap_wxNavigationKeyEvent_IsWindowChange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21597,7 +22425,7 @@ static PyObject *_wrap_wxNavigationKeyEvent_IsWindowChange(PyObject *, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxNavigationKeyEvent_IsWindowChange",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -21616,8 +22444,8 @@ static PyObject *_wrap_wxNavigationKeyEvent_IsWindowChange(PyObject *, PyObject } -static PyObject *_wrap_wxNavigationKeyEvent_SetWindowChange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -21626,11 +22454,11 @@ static PyObject *_wrap_wxNavigationKeyEvent_SetWindowChange(PyObject *, PyObject (char *) "self",(char *) "ischange", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxNavigationKeyEvent_SetWindowChange",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -21647,8 +22475,8 @@ static PyObject *_wrap_wxNavigationKeyEvent_SetWindowChange(PyObject *, PyObject } -static PyObject *_wrap_wxNavigationKeyEvent_IsFromTab(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_NavigationKeyEvent_IsFromTab(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21656,7 +22484,7 @@ static PyObject *_wrap_wxNavigationKeyEvent_IsFromTab(PyObject *, PyObject *args (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxNavigationKeyEvent_IsFromTab",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -21675,8 +22503,8 @@ static PyObject *_wrap_wxNavigationKeyEvent_IsFromTab(PyObject *, PyObject *args } -static PyObject *_wrap_wxNavigationKeyEvent_SetFromTab(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_NavigationKeyEvent_SetFromTab(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -21685,11 +22513,11 @@ static PyObject *_wrap_wxNavigationKeyEvent_SetFromTab(PyObject *, PyObject *arg (char *) "self",(char *) "bIs", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxNavigationKeyEvent_SetFromTab",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -21706,8 +22534,8 @@ static PyObject *_wrap_wxNavigationKeyEvent_SetFromTab(PyObject *, PyObject *arg } -static PyObject *_wrap_wxNavigationKeyEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_NavigationKeyEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -21716,11 +22544,11 @@ static PyObject *_wrap_wxNavigationKeyEvent_SetFlags(PyObject *, PyObject *args, (char *) "self",(char *) "flags", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxNavigationKeyEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -21737,8 +22565,8 @@ static PyObject *_wrap_wxNavigationKeyEvent_SetFlags(PyObject *, PyObject *args, } -static PyObject *_wrap_wxNavigationKeyEvent_GetCurrentFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -21746,7 +22574,7 @@ static PyObject *_wrap_wxNavigationKeyEvent_GetCurrentFocus(PyObject *, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxNavigationKeyEvent_GetCurrentFocus",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -21757,7 +22585,7 @@ static PyObject *_wrap_wxNavigationKeyEvent_GetCurrentFocus(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -21765,8 +22593,8 @@ static PyObject *_wrap_wxNavigationKeyEvent_GetCurrentFocus(PyObject *, PyObject } -static PyObject *_wrap_wxNavigationKeyEvent_SetCurrentFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -21775,7 +22603,7 @@ static PyObject *_wrap_wxNavigationKeyEvent_SetCurrentFocus(PyObject *, PyObject (char *) "self",(char *) "win", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxNavigationKeyEvent_SetCurrentFocus",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNavigationKeyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -21794,15 +22622,15 @@ static PyObject *_wrap_wxNavigationKeyEvent_SetCurrentFocus(PyObject *, PyObject } -static PyObject * wxNavigationKeyEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * NavigationKeyEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxWindowCreateEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_WindowCreateEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) NULL ; wxWindowCreateEvent *result; PyObject * obj0 = 0 ; @@ -21810,7 +22638,7 @@ static PyObject *_wrap_new_wxWindowCreateEvent(PyObject *, PyObject *args, PyObj (char *) "win", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_wxWindowCreateEvent",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowCreateEvent",kwnames,&obj0)) goto fail; if (obj0) { SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; @@ -21829,8 +22657,8 @@ static PyObject *_wrap_new_wxWindowCreateEvent(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxWindowCreateEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -21838,7 +22666,7 @@ static PyObject *_wrap_wxWindowCreateEvent_GetWindow(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindowCreateEvent_GetWindow",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowCreateEvent_GetWindow",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindowCreateEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -21849,7 +22677,7 @@ static PyObject *_wrap_wxWindowCreateEvent_GetWindow(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -21857,15 +22685,15 @@ static PyObject *_wrap_wxWindowCreateEvent_GetWindow(PyObject *, PyObject *args, } -static PyObject * wxWindowCreateEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * WindowCreateEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxWindowDestroyEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_WindowDestroyEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) NULL ; wxWindowDestroyEvent *result; PyObject * obj0 = 0 ; @@ -21873,7 +22701,7 @@ static PyObject *_wrap_new_wxWindowDestroyEvent(PyObject *, PyObject *args, PyOb (char *) "win", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_wxWindowDestroyEvent",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDestroyEvent",kwnames,&obj0)) goto fail; if (obj0) { SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; @@ -21892,8 +22720,8 @@ static PyObject *_wrap_new_wxWindowDestroyEvent(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxWindowDestroyEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -21901,7 +22729,7 @@ static PyObject *_wrap_wxWindowDestroyEvent_GetWindow(PyObject *, PyObject *args (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindowDestroyEvent_GetWindow",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowDestroyEvent_GetWindow",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindowDestroyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -21912,7 +22740,7 @@ static PyObject *_wrap_wxWindowDestroyEvent_GetWindow(PyObject *, PyObject *args if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -21920,15 +22748,15 @@ static PyObject *_wrap_wxWindowDestroyEvent_GetWindow(PyObject *, PyObject *args } -static PyObject * wxWindowDestroyEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * WindowDestroyEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxContextMenuEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_ContextMenuEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -21942,16 +22770,16 @@ static PyObject *_wrap_new_wxContextMenuEvent(PyObject *, PyObject *args, PyObje (char *) "type",(char *) "winid",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_wxContextMenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ContextMenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -21975,8 +22803,8 @@ static PyObject *_wrap_new_wxContextMenuEvent(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxContextMenuEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ; wxPoint *result; PyObject * obj0 = 0 ; @@ -21984,7 +22812,7 @@ static PyObject *_wrap_wxContextMenuEvent_GetPosition(PyObject *, PyObject *args (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxContextMenuEvent_GetPosition",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextMenuEvent_GetPosition",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextMenuEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -22004,8 +22832,8 @@ static PyObject *_wrap_wxContextMenuEvent_GetPosition(PyObject *, PyObject *args } -static PyObject *_wrap_wxContextMenuEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -22015,7 +22843,7 @@ static PyObject *_wrap_wxContextMenuEvent_SetPosition(PyObject *, PyObject *args (char *) "self",(char *) "pos", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxContextMenuEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ContextMenuEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextMenuEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -22036,21 +22864,21 @@ static PyObject *_wrap_wxContextMenuEvent_SetPosition(PyObject *, PyObject *args } -static PyObject * wxContextMenuEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * ContextMenuEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxIdleEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_IdleEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIdleEvent *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_wxIdleEvent",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IdleEvent",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxIdleEvent *)new wxIdleEvent(); @@ -22065,8 +22893,8 @@ static PyObject *_wrap_new_wxIdleEvent(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxIdleEvent_RequestMore(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IdleEvent_RequestMore(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIdleEvent *arg1 = (wxIdleEvent *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -22075,12 +22903,12 @@ static PyObject *_wrap_wxIdleEvent_RequestMore(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "needMore", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxIdleEvent_RequestMore",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:IdleEvent_RequestMore",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIdleEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -22098,8 +22926,8 @@ static PyObject *_wrap_wxIdleEvent_RequestMore(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxIdleEvent_MoreRequested(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIdleEvent *arg1 = (wxIdleEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -22107,7 +22935,7 @@ static PyObject *_wrap_wxIdleEvent_MoreRequested(PyObject *, PyObject *args, PyO (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxIdleEvent_MoreRequested",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_MoreRequested",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIdleEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -22126,22 +22954,22 @@ static PyObject *_wrap_wxIdleEvent_MoreRequested(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxIdleEvent_SetMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IdleEvent_SetMode(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIdleMode arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "mode", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxIdleEvent_SetMode",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_SetMode",kwnames,&obj0)) goto fail; { - arg1 = (wxIdleMode)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - wxIdleEvent::SetMode((wxIdleMode )arg1); + wxIdleEvent::SetMode(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -22153,14 +22981,14 @@ static PyObject *_wrap_wxIdleEvent_SetMode(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxIdleEvent_GetMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IdleEvent_GetMode(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIdleMode result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":wxIdleEvent_GetMode",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IdleEvent_GetMode",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxIdleMode)wxIdleEvent::GetMode(); @@ -22175,8 +23003,8 @@ static PyObject *_wrap_wxIdleEvent_GetMode(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxIdleEvent_CanSend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IdleEvent_CanSend(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -22184,7 +23012,7 @@ static PyObject *_wrap_wxIdleEvent_CanSend(PyObject *, PyObject *args, PyObject (char *) "win", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxIdleEvent_CanSend",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_CanSend",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -22203,34 +23031,34 @@ static PyObject *_wrap_wxIdleEvent_CanSend(PyObject *, PyObject *args, PyObject } -static PyObject * wxIdleEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * IdleEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxPyEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxEventType arg2 = (wxEventType) wxEVT_NULL ; wxPyEvent *result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "winid",(char *) "commandType", NULL + (char *) "winid",(char *) "eventType", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_wxPyEvent",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (wxEventType)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -22248,15 +23076,15 @@ static PyObject *_wrap_new_wxPyEvent(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_delete_wxPyEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_delete_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyEvent *arg1 = (wxPyEvent *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_wxPyEvent",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyEvent",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -22273,8 +23101,8 @@ static PyObject *_wrap_delete_wxPyEvent(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxPyEvent_SetSelf(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyEvent__SetSelf(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyEvent *arg1 = (wxPyEvent *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -22283,7 +23111,7 @@ static PyObject *_wrap_wxPyEvent_SetSelf(PyObject *, PyObject *args, PyObject *k (char *) "self",(char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPyEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent__SetSelf",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; arg2 = obj1; @@ -22301,8 +23129,8 @@ static PyObject *_wrap_wxPyEvent_SetSelf(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxPyEvent_GetSelf(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyEvent__GetSelf(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyEvent *arg1 = (wxPyEvent *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -22310,7 +23138,7 @@ static PyObject *_wrap_wxPyEvent_GetSelf(PyObject *, PyObject *args, PyObject *k (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPyEvent_GetSelf",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent__GetSelf",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -22327,34 +23155,34 @@ static PyObject *_wrap_wxPyEvent_GetSelf(PyObject *, PyObject *args, PyObject *k } -static PyObject * wxPyEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * PyEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxPyCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_PyCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxPyCommandEvent *result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "commandType",(char *) "id", NULL + (char *) "eventType",(char *) "id", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_wxPyCommandEvent",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyCommandEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -22372,15 +23200,15 @@ static PyObject *_wrap_new_wxPyCommandEvent(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_delete_wxPyCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_delete_PyCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_wxPyCommandEvent",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyCommandEvent",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCommandEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -22397,8 +23225,8 @@ static PyObject *_wrap_delete_wxPyCommandEvent(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxPyCommandEvent_SetSelf(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyCommandEvent__SetSelf(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -22407,7 +23235,7 @@ static PyObject *_wrap_wxPyCommandEvent_SetSelf(PyObject *, PyObject *args, PyOb (char *) "self",(char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPyCommandEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent__SetSelf",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCommandEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; arg2 = obj1; @@ -22425,8 +23253,8 @@ static PyObject *_wrap_wxPyCommandEvent_SetSelf(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxPyCommandEvent_GetSelf(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyCommandEvent__GetSelf(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -22434,7 +23262,7 @@ static PyObject *_wrap_wxPyCommandEvent_GetSelf(PyObject *, PyObject *args, PyOb (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPyCommandEvent_GetSelf",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent__GetSelf",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyCommandEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -22451,15 +23279,15 @@ static PyObject *_wrap_wxPyCommandEvent_GetSelf(PyObject *, PyObject *args, PyOb } -static PyObject * wxPyCommandEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * PyCommandEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxDateEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_DateEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxDateTime *arg2 = 0 ; wxEventType arg3 ; @@ -22471,7 +23299,7 @@ static PyObject *_wrap_new_wxDateEvent(PyObject *, PyObject *args, PyObject *kwa (char *) "win",(char *) "dt",(char *) "type", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_wxDateEvent",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_DateEvent",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -22483,7 +23311,7 @@ static PyObject *_wrap_new_wxDateEvent(PyObject *, PyObject *args, PyObject *kwa if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (wxEventType)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -22500,8 +23328,8 @@ static PyObject *_wrap_new_wxDateEvent(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxDateEvent_GetDate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_DateEvent_GetDate(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxDateEvent *arg1 = (wxDateEvent *) 0 ; wxDateTime *result; PyObject * obj0 = 0 ; @@ -22509,7 +23337,7 @@ static PyObject *_wrap_wxDateEvent_GetDate(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxDateEvent_GetDate",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateEvent_GetDate",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -22529,8 +23357,8 @@ static PyObject *_wrap_wxDateEvent_GetDate(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxDateEvent_SetDate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_DateEvent_SetDate(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxDateEvent *arg1 = (wxDateEvent *) 0 ; wxDateTime *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -22539,7 +23367,7 @@ static PyObject *_wrap_wxDateEvent_SetDate(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "date", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxDateEvent_SetDate",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateEvent_SetDate",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -22564,21 +23392,21 @@ static PyObject *_wrap_wxDateEvent_SetDate(PyObject *, PyObject *args, PyObject } -static PyObject * wxDateEvent_swigregister(PyObject *, PyObject *args) { +static PyObject * DateEvent_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxPyApp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_PyApp(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_wxPyApp",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyApp",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxPyApp *)new_wxPyApp(); @@ -22593,15 +23421,15 @@ static PyObject *_wrap_new_wxPyApp(PyObject *, PyObject *args, PyObject *kwargs) } -static PyObject *_wrap_delete_wxPyApp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_delete_PyApp(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_wxPyApp",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyApp",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -22618,26 +23446,32 @@ static PyObject *_wrap_delete_wxPyApp(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxPyApp__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; + bool arg4 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "self",(char *) "_class", NULL + (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxPyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; arg2 = obj1; arg3 = obj2; + { + arg4 = static_cast(SWIG_As_bool(obj3)); + if (SWIG_arg_fail(4)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->_setCallbackInfo(arg2,arg3); + (arg1)->_setCallbackInfo(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -22649,8 +23483,8 @@ static PyObject *_wrap_wxPyApp__setCallbackInfo(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxPyApp_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -22658,7 +23492,7 @@ static PyObject *_wrap_wxPyApp_GetAppName(PyObject *, PyObject *args, PyObject * (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPyApp_GetAppName",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAppName",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -22681,8 +23515,8 @@ static PyObject *_wrap_wxPyApp_GetAppName(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxPyApp_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -22692,7 +23526,7 @@ static PyObject *_wrap_wxPyApp_SetAppName(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "name", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPyApp_SetAppName",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAppName",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -22722,8 +23556,8 @@ static PyObject *_wrap_wxPyApp_SetAppName(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxPyApp_GetClassName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_GetClassName(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -22731,7 +23565,7 @@ static PyObject *_wrap_wxPyApp_GetClassName(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPyApp_GetClassName",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetClassName",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -22754,8 +23588,8 @@ static PyObject *_wrap_wxPyApp_GetClassName(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxPyApp_SetClassName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_SetClassName(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -22765,7 +23599,7 @@ static PyObject *_wrap_wxPyApp_SetClassName(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "name", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPyApp_SetClassName",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetClassName",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -22795,8 +23629,8 @@ static PyObject *_wrap_wxPyApp_SetClassName(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxPyApp_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -22804,7 +23638,7 @@ static PyObject *_wrap_wxPyApp_GetVendorName(PyObject *, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPyApp_GetVendorName",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetVendorName",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -22830,8 +23664,8 @@ static PyObject *_wrap_wxPyApp_GetVendorName(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxPyApp_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -22841,7 +23675,7 @@ static PyObject *_wrap_wxPyApp_SetVendorName(PyObject *, PyObject *args, PyObjec (char *) "self",(char *) "name", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPyApp_SetVendorName",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetVendorName",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -22871,8 +23705,8 @@ static PyObject *_wrap_wxPyApp_SetVendorName(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxPyApp_GetTraits(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_GetTraits(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxAppTraits *result; PyObject * obj0 = 0 ; @@ -22880,7 +23714,7 @@ static PyObject *_wrap_wxPyApp_GetTraits(PyObject *, PyObject *args, PyObject *k (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPyApp_GetTraits",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTraits",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -22897,15 +23731,15 @@ static PyObject *_wrap_wxPyApp_GetTraits(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxPyApp_ProcessPendingEvents(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPyApp_ProcessPendingEvents",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessPendingEvents",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -22922,8 +23756,8 @@ static PyObject *_wrap_wxPyApp_ProcessPendingEvents(PyObject *, PyObject *args, } -static PyObject *_wrap_wxPyApp_Yield(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_Yield(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool arg2 = (bool) false ; bool result; @@ -22933,12 +23767,12 @@ static PyObject *_wrap_wxPyApp_Yield(PyObject *, PyObject *args, PyObject *kwarg (char *) "self",(char *) "onlyIfNeeded", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxPyApp_Yield",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyApp_Yield",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -22958,15 +23792,15 @@ static PyObject *_wrap_wxPyApp_Yield(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxPyApp_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPyApp_WakeUpIdle",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_WakeUpIdle",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -22983,14 +23817,14 @@ static PyObject *_wrap_wxPyApp_WakeUpIdle(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxPyApp_IsMainLoopRunning(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_IsMainLoopRunning(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":wxPyApp_IsMainLoopRunning",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_IsMainLoopRunning",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)wxPyApp::IsMainLoopRunning(); @@ -23007,8 +23841,8 @@ static PyObject *_wrap_wxPyApp_IsMainLoopRunning(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxPyApp_MainLoop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_MainLoop(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; int result; PyObject * obj0 = 0 ; @@ -23016,7 +23850,7 @@ static PyObject *_wrap_wxPyApp_MainLoop(PyObject *, PyObject *args, PyObject *kw (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPyApp_MainLoop",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_MainLoop",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -23027,7 +23861,7 @@ static PyObject *_wrap_wxPyApp_MainLoop(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -23035,15 +23869,15 @@ static PyObject *_wrap_wxPyApp_MainLoop(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxPyApp_Exit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_Exit(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPyApp_Exit",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Exit",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -23060,15 +23894,15 @@ static PyObject *_wrap_wxPyApp_Exit(PyObject *, PyObject *args, PyObject *kwargs } -static PyObject *_wrap_wxPyApp_ExitMainLoop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPyApp_ExitMainLoop",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ExitMainLoop",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -23085,8 +23919,8 @@ static PyObject *_wrap_wxPyApp_ExitMainLoop(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxPyApp_Pending(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_Pending(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -23094,7 +23928,7 @@ static PyObject *_wrap_wxPyApp_Pending(PyObject *, PyObject *args, PyObject *kwa (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPyApp_Pending",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Pending",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -23113,8 +23947,8 @@ static PyObject *_wrap_wxPyApp_Pending(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxPyApp_Dispatch(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_Dispatch(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -23122,7 +23956,7 @@ static PyObject *_wrap_wxPyApp_Dispatch(PyObject *, PyObject *args, PyObject *kw (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPyApp_Dispatch",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Dispatch",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -23141,8 +23975,8 @@ static PyObject *_wrap_wxPyApp_Dispatch(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxPyApp_ProcessIdle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_ProcessIdle(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -23150,7 +23984,7 @@ static PyObject *_wrap_wxPyApp_ProcessIdle(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPyApp_ProcessIdle",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessIdle",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -23169,8 +24003,8 @@ static PyObject *_wrap_wxPyApp_ProcessIdle(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxPyApp_SendIdleEvents(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxIdleEvent *arg3 = 0 ; @@ -23182,7 +24016,7 @@ static PyObject *_wrap_wxPyApp_SendIdleEvents(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "win",(char *) "event", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxPyApp_SendIdleEvents",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp_SendIdleEvents",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -23211,8 +24045,8 @@ static PyObject *_wrap_wxPyApp_SendIdleEvents(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxPyApp_IsActive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_IsActive(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -23220,7 +24054,7 @@ static PyObject *_wrap_wxPyApp_IsActive(PyObject *, PyObject *args, PyObject *kw (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPyApp_IsActive",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_IsActive",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -23239,8 +24073,8 @@ static PyObject *_wrap_wxPyApp_IsActive(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxPyApp_SetTopWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_SetTopWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -23249,7 +24083,7 @@ static PyObject *_wrap_wxPyApp_SetTopWindow(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "win", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -23268,8 +24102,8 @@ static PyObject *_wrap_wxPyApp_SetTopWindow(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxPyApp_GetTopWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_GetTopWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -23277,7 +24111,7 @@ static PyObject *_wrap_wxPyApp_GetTopWindow(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPyApp_GetTopWindow",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTopWindow",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -23288,7 +24122,7 @@ static PyObject *_wrap_wxPyApp_GetTopWindow(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -23296,8 +24130,8 @@ static PyObject *_wrap_wxPyApp_GetTopWindow(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxPyApp_SetExitOnFrameDelete(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -23306,11 +24140,11 @@ static PyObject *_wrap_wxPyApp_SetExitOnFrameDelete(PyObject *, PyObject *args, (char *) "self",(char *) "flag", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -23327,8 +24161,8 @@ static PyObject *_wrap_wxPyApp_SetExitOnFrameDelete(PyObject *, PyObject *args, } -static PyObject *_wrap_wxPyApp_GetExitOnFrameDelete(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -23336,7 +24170,7 @@ static PyObject *_wrap_wxPyApp_GetExitOnFrameDelete(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPyApp_GetExitOnFrameDelete",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -23355,8 +24189,8 @@ static PyObject *_wrap_wxPyApp_GetExitOnFrameDelete(PyObject *, PyObject *args, } -static PyObject *_wrap_wxPyApp_SetUseBestVisual(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -23365,11 +24199,11 @@ static PyObject *_wrap_wxPyApp_SetUseBestVisual(PyObject *, PyObject *args, PyOb (char *) "self",(char *) "flag", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -23386,8 +24220,8 @@ static PyObject *_wrap_wxPyApp_SetUseBestVisual(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxPyApp_GetUseBestVisual(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -23395,7 +24229,7 @@ static PyObject *_wrap_wxPyApp_GetUseBestVisual(PyObject *, PyObject *args, PyOb (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPyApp_GetUseBestVisual",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetUseBestVisual",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -23414,8 +24248,8 @@ static PyObject *_wrap_wxPyApp_GetUseBestVisual(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxPyApp_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -23424,11 +24258,11 @@ static PyObject *_wrap_wxPyApp_SetPrintMode(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "mode", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPyApp_SetPrintMode",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetPrintMode",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -23445,8 +24279,8 @@ static PyObject *_wrap_wxPyApp_SetPrintMode(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxPyApp_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; int result; PyObject * obj0 = 0 ; @@ -23454,7 +24288,7 @@ static PyObject *_wrap_wxPyApp_GetPrintMode(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPyApp_GetPrintMode",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetPrintMode",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -23465,7 +24299,7 @@ static PyObject *_wrap_wxPyApp_GetPrintMode(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -23473,8 +24307,8 @@ static PyObject *_wrap_wxPyApp_GetPrintMode(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxPyApp_SetAssertMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_SetAssertMode(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -23483,11 +24317,11 @@ static PyObject *_wrap_wxPyApp_SetAssertMode(PyObject *, PyObject *args, PyObjec (char *) "self",(char *) "mode", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPyApp_SetAssertMode",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAssertMode",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -23504,8 +24338,8 @@ static PyObject *_wrap_wxPyApp_SetAssertMode(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxPyApp_GetAssertMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_GetAssertMode(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; int result; PyObject * obj0 = 0 ; @@ -23513,7 +24347,7 @@ static PyObject *_wrap_wxPyApp_GetAssertMode(PyObject *, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPyApp_GetAssertMode",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAssertMode",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -23524,7 +24358,7 @@ static PyObject *_wrap_wxPyApp_GetAssertMode(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -23532,14 +24366,14 @@ static PyObject *_wrap_wxPyApp_GetAssertMode(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxPyApp_GetMacSupportPCMenuShortcuts(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":wxPyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)wxPyApp::GetMacSupportPCMenuShortcuts(); @@ -23556,14 +24390,14 @@ static PyObject *_wrap_wxPyApp_GetMacSupportPCMenuShortcuts(PyObject *, PyObject } -static PyObject *_wrap_wxPyApp_GetMacAboutMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; long result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":wxPyApp_GetMacAboutMenuItemId",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacAboutMenuItemId",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (long)wxPyApp::GetMacAboutMenuItemId(); @@ -23572,7 +24406,7 @@ static PyObject *_wrap_wxPyApp_GetMacAboutMenuItemId(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -23580,14 +24414,14 @@ static PyObject *_wrap_wxPyApp_GetMacAboutMenuItemId(PyObject *, PyObject *args, } -static PyObject *_wrap_wxPyApp_GetMacPreferencesMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; long result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":wxPyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (long)wxPyApp::GetMacPreferencesMenuItemId(); @@ -23596,7 +24430,7 @@ static PyObject *_wrap_wxPyApp_GetMacPreferencesMenuItemId(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -23604,14 +24438,14 @@ static PyObject *_wrap_wxPyApp_GetMacPreferencesMenuItemId(PyObject *, PyObject } -static PyObject *_wrap_wxPyApp_GetMacExitMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; long result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":wxPyApp_GetMacExitMenuItemId",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacExitMenuItemId",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (long)wxPyApp::GetMacExitMenuItemId(); @@ -23620,7 +24454,7 @@ static PyObject *_wrap_wxPyApp_GetMacExitMenuItemId(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -23628,14 +24462,14 @@ static PyObject *_wrap_wxPyApp_GetMacExitMenuItemId(PyObject *, PyObject *args, } -static PyObject *_wrap_wxPyApp_GetMacHelpMenuTitleName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":wxPyApp_GetMacHelpMenuTitleName",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = wxPyApp::GetMacHelpMenuTitleName(); @@ -23656,17 +24490,17 @@ static PyObject *_wrap_wxPyApp_GetMacHelpMenuTitleName(PyObject *, PyObject *arg } -static PyObject *_wrap_wxPyApp_SetMacSupportPCMenuShortcuts(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; bool arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "val", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail; { - arg1 = (bool)(SWIG_As_bool(obj0)); + arg1 = static_cast(SWIG_As_bool(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -23683,17 +24517,17 @@ static PyObject *_wrap_wxPyApp_SetMacSupportPCMenuShortcuts(PyObject *, PyObject } -static PyObject *_wrap_wxPyApp_SetMacAboutMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; long arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "val", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPyApp_SetMacAboutMenuItemId",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -23710,17 +24544,17 @@ static PyObject *_wrap_wxPyApp_SetMacAboutMenuItemId(PyObject *, PyObject *args, } -static PyObject *_wrap_wxPyApp_SetMacPreferencesMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; long arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "val", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPyApp_SetMacPreferencesMenuItemId",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -23737,17 +24571,17 @@ static PyObject *_wrap_wxPyApp_SetMacPreferencesMenuItemId(PyObject *, PyObject } -static PyObject *_wrap_wxPyApp_SetMacExitMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; long arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "val", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPyApp_SetMacExitMenuItemId",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -23764,8 +24598,8 @@ static PyObject *_wrap_wxPyApp_SetMacExitMenuItemId(PyObject *, PyObject *args, } -static PyObject *_wrap_wxPyApp_SetMacHelpMenuTitleName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -23773,7 +24607,7 @@ static PyObject *_wrap_wxPyApp_SetMacHelpMenuTitleName(PyObject *, PyObject *arg (char *) "val", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail; { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; @@ -23801,15 +24635,15 @@ static PyObject *_wrap_wxPyApp_SetMacHelpMenuTitleName(PyObject *, PyObject *arg } -static PyObject *_wrap_wxPyApp__BootstrapApp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp__BootstrapApp(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxPyApp__BootstrapApp",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp__BootstrapApp",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyApp, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -23826,14 +24660,14 @@ static PyObject *_wrap_wxPyApp__BootstrapApp(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxPyApp_GetComCtl32Version(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; int result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":wxPyApp_GetComCtl32Version",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)wxPyApp_GetComCtl32Version(); @@ -23842,7 +24676,7 @@ static PyObject *_wrap_wxPyApp_GetComCtl32Version(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -23850,20 +24684,20 @@ static PyObject *_wrap_wxPyApp_GetComCtl32Version(PyObject *, PyObject *args, Py } -static PyObject * wxPyApp_swigregister(PyObject *, PyObject *args) { +static PyObject * PyApp_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxPyApp, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_wxExit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Exit(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":wxExit",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Exit",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); wxExit(); @@ -23878,14 +24712,14 @@ static PyObject *_wrap_wxExit(PyObject *, PyObject *args, PyObject *kwargs) { } -static PyObject *_wrap_wxYield(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Yield(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":wxYield",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Yield",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)wxYield(); @@ -23902,14 +24736,14 @@ static PyObject *_wrap_wxYield(PyObject *, PyObject *args, PyObject *kwargs) { } -static PyObject *_wrap_wxYieldIfNeeded(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_YieldIfNeeded(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":wxYieldIfNeeded",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":YieldIfNeeded",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)wxYieldIfNeeded(); @@ -23926,8 +24760,8 @@ static PyObject *_wrap_wxYieldIfNeeded(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxSafeYield(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SafeYield(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) NULL ; bool arg2 = (bool) false ; bool result; @@ -23937,14 +24771,14 @@ static PyObject *_wrap_wxSafeYield(PyObject *, PyObject *args, PyObject *kwargs) (char *) "win",(char *) "onlyIfNeeded", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:wxSafeYield",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:SafeYield",kwnames,&obj0,&obj1)) goto fail; if (obj0) { SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; } if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -23964,13 +24798,13 @@ static PyObject *_wrap_wxSafeYield(PyObject *, PyObject *args, PyObject *kwargs) } -static PyObject *_wrap_wxWakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":wxWakeUpIdle",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpIdle",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); wxWakeUpIdle(); @@ -23985,8 +24819,8 @@ static PyObject *_wrap_wxWakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs } -static PyObject *_wrap_wxPostEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PostEvent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; wxEvent *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -23995,7 +24829,7 @@ static PyObject *_wrap_wxPostEvent(PyObject *, PyObject *args, PyObject *kwargs) (char *) "dest",(char *) "event", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxPostEvent",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostEvent",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -24020,13 +24854,13 @@ static PyObject *_wrap_wxPostEvent(PyObject *, PyObject *args, PyObject *kwargs) } -static PyObject *_wrap_wxApp_CleanUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_App_CleanUp(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":wxApp_CleanUp",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":App_CleanUp",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); wxApp_CleanUp(); @@ -24042,7 +24876,7 @@ static PyObject *_wrap_wxApp_CleanUp(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_GetApp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *result; char *kwnames[] = { NULL @@ -24065,15 +24899,15 @@ static PyObject *_wrap_GetApp(PyObject *, PyObject *args, PyObject *kwargs) { } -static PyObject *_wrap_wxSetDefaultPyEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SetDefaultPyEncoding(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; char *arg1 = (char *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "encoding", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSetDefaultPyEncoding",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetDefaultPyEncoding",kwnames,&obj0)) goto fail; if (!SWIG_AsCharPtr(obj0, (char**)&arg1)) { SWIG_arg_fail(1);SWIG_fail; } @@ -24091,14 +24925,14 @@ static PyObject *_wrap_wxSetDefaultPyEncoding(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxGetDefaultPyEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GetDefaultPyEncoding(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; char *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":wxGetDefaultPyEncoding",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDefaultPyEncoding",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (char *)wxGetDefaultPyEncoding(); @@ -24113,14 +24947,14 @@ static PyObject *_wrap_wxGetDefaultPyEncoding(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_new_wxEventLoop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_EventLoop(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEventLoop *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_wxEventLoop",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EventLoop",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxEventLoop *)new wxEventLoop(); @@ -24135,15 +24969,15 @@ static PyObject *_wrap_new_wxEventLoop(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_delete_wxEventLoop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_delete_EventLoop(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEventLoop *arg1 = (wxEventLoop *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_wxEventLoop",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_EventLoop",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -24160,8 +24994,8 @@ static PyObject *_wrap_delete_wxEventLoop(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxEventLoop_Run(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_EventLoop_Run(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEventLoop *arg1 = (wxEventLoop *) 0 ; int result; PyObject * obj0 = 0 ; @@ -24169,7 +25003,7 @@ static PyObject *_wrap_wxEventLoop_Run(PyObject *, PyObject *args, PyObject *kwa (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxEventLoop_Run",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_Run",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -24180,7 +25014,7 @@ static PyObject *_wrap_wxEventLoop_Run(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -24188,8 +25022,8 @@ static PyObject *_wrap_wxEventLoop_Run(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxEventLoop_Exit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_EventLoop_Exit(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEventLoop *arg1 = (wxEventLoop *) 0 ; int arg2 = (int) 0 ; PyObject * obj0 = 0 ; @@ -24198,12 +25032,12 @@ static PyObject *_wrap_wxEventLoop_Exit(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "rc", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxEventLoop_Exit",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:EventLoop_Exit",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -24221,8 +25055,8 @@ static PyObject *_wrap_wxEventLoop_Exit(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxEventLoop_Pending(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_EventLoop_Pending(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEventLoop *arg1 = (wxEventLoop *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -24230,7 +25064,7 @@ static PyObject *_wrap_wxEventLoop_Pending(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxEventLoop_Pending",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_Pending",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -24249,8 +25083,8 @@ static PyObject *_wrap_wxEventLoop_Pending(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxEventLoop_Dispatch(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_EventLoop_Dispatch(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEventLoop *arg1 = (wxEventLoop *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -24258,7 +25092,7 @@ static PyObject *_wrap_wxEventLoop_Dispatch(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxEventLoop_Dispatch",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_Dispatch",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -24277,8 +25111,8 @@ static PyObject *_wrap_wxEventLoop_Dispatch(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxEventLoop_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_EventLoop_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEventLoop *arg1 = (wxEventLoop *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -24286,7 +25120,7 @@ static PyObject *_wrap_wxEventLoop_IsRunning(PyObject *, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxEventLoop_IsRunning",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_IsRunning",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -24305,14 +25139,14 @@ static PyObject *_wrap_wxEventLoop_IsRunning(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxEventLoop_GetActive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_EventLoop_GetActive(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEventLoop *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":wxEventLoop_GetActive",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EventLoop_GetActive",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxEventLoop *)wxEventLoop::GetActive(); @@ -24327,15 +25161,15 @@ static PyObject *_wrap_wxEventLoop_GetActive(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxEventLoop_SetActive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_EventLoop_SetActive(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxEventLoop *arg1 = (wxEventLoop *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "loop", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxEventLoop_SetActive",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_SetActive",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -24352,15 +25186,73 @@ static PyObject *_wrap_wxEventLoop_SetActive(PyObject *, PyObject *args, PyObjec } -static PyObject * wxEventLoop_swigregister(PyObject *, PyObject *args) { +static PyObject * EventLoop_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxAcceleratorEntry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_EventLoopActivator(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxEventLoop *arg1 = (wxEventLoop *) 0 ; + wxEventLoopActivator *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "evtLoop", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_EventLoopActivator",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxEventLoopActivator *)new wxEventLoopActivator(arg1); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEventLoopActivator, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_delete_EventLoopActivator(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxEventLoopActivator *arg1 = (wxEventLoopActivator *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_EventLoopActivator",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoopActivator, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + delete arg1; + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject * EventLoopActivator_swigregister(PyObject *, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxEventLoopActivator, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); +} +static PyObject *_wrap_new_AcceleratorEntry(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -24372,22 +25264,22 @@ static PyObject *_wrap_new_wxAcceleratorEntry(PyObject *, PyObject *args, PyObje (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_wxAcceleratorEntry",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_AcceleratorEntry",kwnames,&obj0,&obj1,&obj2)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -24405,15 +25297,15 @@ static PyObject *_wrap_new_wxAcceleratorEntry(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_delete_wxAcceleratorEntry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_delete_AcceleratorEntry(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_wxAcceleratorEntry",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAcceleratorEntry, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -24430,8 +25322,8 @@ static PyObject *_wrap_delete_wxAcceleratorEntry(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxAcceleratorEntry_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_AcceleratorEntry_Set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; int arg2 ; int arg3 ; @@ -24444,19 +25336,19 @@ static PyObject *_wrap_wxAcceleratorEntry_Set(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:wxAcceleratorEntry_Set",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AcceleratorEntry_Set",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAcceleratorEntry, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -24473,8 +25365,8 @@ static PyObject *_wrap_wxAcceleratorEntry_Set(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxAcceleratorEntry_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; int result; PyObject * obj0 = 0 ; @@ -24482,7 +25374,7 @@ static PyObject *_wrap_wxAcceleratorEntry_GetFlags(PyObject *, PyObject *args, P (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxAcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAcceleratorEntry, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -24493,7 +25385,7 @@ static PyObject *_wrap_wxAcceleratorEntry_GetFlags(PyObject *, PyObject *args, P if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -24501,8 +25393,8 @@ static PyObject *_wrap_wxAcceleratorEntry_GetFlags(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxAcceleratorEntry_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; int result; PyObject * obj0 = 0 ; @@ -24510,7 +25402,7 @@ static PyObject *_wrap_wxAcceleratorEntry_GetKeyCode(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxAcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAcceleratorEntry, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -24521,7 +25413,7 @@ static PyObject *_wrap_wxAcceleratorEntry_GetKeyCode(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -24529,8 +25421,8 @@ static PyObject *_wrap_wxAcceleratorEntry_GetKeyCode(PyObject *, PyObject *args, } -static PyObject *_wrap_wxAcceleratorEntry_GetCommand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; int result; PyObject * obj0 = 0 ; @@ -24538,7 +25430,7 @@ static PyObject *_wrap_wxAcceleratorEntry_GetCommand(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxAcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAcceleratorEntry, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -24549,7 +25441,7 @@ static PyObject *_wrap_wxAcceleratorEntry_GetCommand(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -24557,15 +25449,15 @@ static PyObject *_wrap_wxAcceleratorEntry_GetCommand(PyObject *, PyObject *args, } -static PyObject * wxAcceleratorEntry_swigregister(PyObject *, PyObject *args) { +static PyObject * AcceleratorEntry_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_AcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; int arg1 ; wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ; wxAcceleratorTable *result; @@ -24574,7 +25466,7 @@ static PyObject *_wrap_new_wxAcceleratorTable(PyObject *, PyObject *args, PyObje (char *) "n", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_wxAcceleratorTable",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail; { arg2 = wxAcceleratorEntry_LIST_helper(obj0); if (arg2) arg1 = PyList_Size(obj0); @@ -24600,15 +25492,15 @@ static PyObject *_wrap_new_wxAcceleratorTable(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_delete_wxAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_delete_AcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_wxAcceleratorTable",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAcceleratorTable, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -24625,8 +25517,8 @@ static PyObject *_wrap_delete_wxAcceleratorTable(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxAcceleratorTable_Ok(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_AcceleratorTable_Ok(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -24634,7 +25526,7 @@ static PyObject *_wrap_wxAcceleratorTable_Ok(PyObject *, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxAcceleratorTable_Ok",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxAcceleratorTable, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -24653,29 +25545,29 @@ static PyObject *_wrap_wxAcceleratorTable_Ok(PyObject *, PyObject *args, PyObjec } -static PyObject * wxAcceleratorTable_swigregister(PyObject *, PyObject *args) { +static PyObject * AcceleratorTable_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static int _wrap_wxNullAcceleratorTable_set(PyObject *) { - PyErr_SetString(PyExc_TypeError,"Variable wxNullAcceleratorTable is read-only."); +static int _wrap_NullAcceleratorTable_set(PyObject *) { + PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only."); return 1; } -static PyObject *_wrap_wxNullAcceleratorTable_get(void) { - PyObject *pyobj; +static PyObject *_wrap_NullAcceleratorTable_get(void) { + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable), SWIGTYPE_p_wxAcceleratorTable, 0); return pyobj; } -static PyObject *_wrap_wxGetAccelFromString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GetAccelFromString(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxAcceleratorEntry *result; bool temp1 = false ; @@ -24684,7 +25576,7 @@ static PyObject *_wrap_wxGetAccelFromString(PyObject *, PyObject *args, PyObject (char *) "label", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxGetAccelFromString",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail; { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; @@ -24719,7 +25611,7 @@ static int _wrap_PanelNameStr_set(PyObject *) { static PyObject *_wrap_PanelNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -24732,14 +25624,14 @@ static PyObject *_wrap_PanelNameStr_get(void) { } -static PyObject *_wrap_new_wxVisualAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_VisualAttributes(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxVisualAttributes *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_wxVisualAttributes",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_VisualAttributes",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxVisualAttributes *)new_wxVisualAttributes(); @@ -24754,15 +25646,15 @@ static PyObject *_wrap_new_wxVisualAttributes(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_delete_wxVisualAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_delete_VisualAttributes(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_wxVisualAttributes",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VisualAttributes",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -24779,30 +25671,22 @@ static PyObject *_wrap_delete_wxVisualAttributes(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxVisualAttributes_font_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_VisualAttributes_font_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; - wxFont arg2 ; + wxFont *arg2 = (wxFont *) 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "font", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxVisualAttributes_font_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_font_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; - { - wxFont * argp; - SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION); - if (SWIG_arg_fail(2)) SWIG_fail; - if (argp == NULL) { - SWIG_null_ref("wxFont"); - } - if (SWIG_arg_fail(2)) SWIG_fail; - arg2 = *argp; - } - if (arg1) (arg1)->font = arg2; + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + if (arg1) (arg1)->font = *arg2; Py_INCREF(Py_None); resultobj = Py_None; return resultobj; @@ -24811,55 +25695,43 @@ static PyObject *_wrap_wxVisualAttributes_font_set(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxVisualAttributes_font_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_VisualAttributes_font_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; - wxFont result; + wxFont *result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxVisualAttributes_font_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_font_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; - result = ((arg1)->font); + result = (wxFont *)& ((arg1)->font); - { - wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); - resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); - } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0); return resultobj; fail: return NULL; } -static PyObject *_wrap_wxVisualAttributes_colFg_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_VisualAttributes_colFg_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; - wxColour arg2 ; + wxColour *arg2 = (wxColour *) 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "colFg", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxVisualAttributes_colFg_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colFg_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; - { - wxColour * argp; - SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION); - if (SWIG_arg_fail(2)) SWIG_fail; - if (argp == NULL) { - SWIG_null_ref("wxColour"); - } - if (SWIG_arg_fail(2)) SWIG_fail; - arg2 = *argp; - } - if (arg1) (arg1)->colFg = arg2; + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + if (arg1) (arg1)->colFg = *arg2; Py_INCREF(Py_None); resultobj = Py_None; return resultobj; @@ -24868,55 +25740,43 @@ static PyObject *_wrap_wxVisualAttributes_colFg_set(PyObject *, PyObject *args, } -static PyObject *_wrap_wxVisualAttributes_colFg_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_VisualAttributes_colFg_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; - wxColour result; + wxColour *result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxVisualAttributes_colFg_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colFg_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; - result = ((arg1)->colFg); + result = (wxColour *)& ((arg1)->colFg); - { - wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); - resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); - } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0); return resultobj; fail: return NULL; } -static PyObject *_wrap_wxVisualAttributes_colBg_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_VisualAttributes_colBg_set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; - wxColour arg2 ; + wxColour *arg2 = (wxColour *) 0 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; char *kwnames[] = { (char *) "self",(char *) "colBg", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxVisualAttributes_colBg_set",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colBg_set",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; - { - wxColour * argp; - SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION); - if (SWIG_arg_fail(2)) SWIG_fail; - if (argp == NULL) { - SWIG_null_ref("wxColour"); - } - if (SWIG_arg_fail(2)) SWIG_fail; - arg2 = *argp; - } - if (arg1) (arg1)->colBg = arg2; + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColour, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + if (arg1) (arg1)->colBg = *arg2; Py_INCREF(Py_None); resultobj = Py_None; return resultobj; @@ -24925,40 +25785,36 @@ static PyObject *_wrap_wxVisualAttributes_colBg_set(PyObject *, PyObject *args, } -static PyObject *_wrap_wxVisualAttributes_colBg_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_VisualAttributes_colBg_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; - wxColour result; + wxColour *result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxVisualAttributes_colBg_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colBg_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; - result = ((arg1)->colBg); + result = (wxColour *)& ((arg1)->colBg); - { - wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); - resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); - } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0); return resultobj; fail: return NULL; } -static PyObject * wxVisualAttributes_swigregister(PyObject *, PyObject *args) { +static PyObject * VisualAttributes_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_Window(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) (int)-1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -24982,12 +25838,12 @@ static PyObject *_wrap_new_wxWindow(PyObject *, PyObject *args, PyObject *kwargs (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_wxWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Window",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int const)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -25005,7 +25861,7 @@ static PyObject *_wrap_new_wxWindow(PyObject *, PyObject *args, PyObject *kwargs } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -25040,7 +25896,7 @@ static PyObject *_wrap_new_wxWindow(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_PreWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *result; char *kwnames[] = { NULL @@ -25062,8 +25918,8 @@ static PyObject *_wrap_new_PreWindow(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_Create(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) (int)-1 ; @@ -25089,14 +25945,14 @@ static PyObject *_wrap_wxWindow_Create(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:wxWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Window_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int const)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -25114,7 +25970,7 @@ static PyObject *_wrap_wxWindow_Create(PyObject *, PyObject *args, PyObject *kwa } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -25149,8 +26005,8 @@ static PyObject *_wrap_wxWindow_Create(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_Close(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 = (bool) false ; bool result; @@ -25160,12 +26016,12 @@ static PyObject *_wrap_wxWindow_Close(PyObject *, PyObject *args, PyObject *kwar (char *) "self",(char *) "force", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxWindow_Close",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Close",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -25185,8 +26041,8 @@ static PyObject *_wrap_wxWindow_Close(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxWindow_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -25194,7 +26050,7 @@ static PyObject *_wrap_wxWindow_Destroy(PyObject *, PyObject *args, PyObject *kw (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_Destroy",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Destroy",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -25213,8 +26069,8 @@ static PyObject *_wrap_wxWindow_Destroy(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxWindow_DestroyChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_DestroyChildren(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -25222,7 +26078,7 @@ static PyObject *_wrap_wxWindow_DestroyChildren(PyObject *, PyObject *args, PyOb (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_DestroyChildren",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DestroyChildren",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -25241,8 +26097,8 @@ static PyObject *_wrap_wxWindow_DestroyChildren(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxWindow_IsBeingDeleted(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_IsBeingDeleted(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -25250,7 +26106,7 @@ static PyObject *_wrap_wxWindow_IsBeingDeleted(PyObject *, PyObject *args, PyObj (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_IsBeingDeleted",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsBeingDeleted",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -25269,81 +26125,8 @@ static PyObject *_wrap_wxWindow_IsBeingDeleted(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxWindow *arg1 = (wxWindow *) 0 ; - wxString *arg2 = 0 ; - bool temp2 = false ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char *kwnames[] = { - (char *) "self",(char *) "title", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; - { - arg2 = wxString_in_helper(obj1); - if (arg2 == NULL) SWIG_fail; - temp2 = true; - } - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetTitle((wxString const &)*arg2); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - Py_INCREF(Py_None); resultobj = Py_None; - { - if (temp2) - delete arg2; - } - return resultobj; - fail: - { - if (temp2) - delete arg2; - } - return NULL; -} - - -static PyObject *_wrap_wxWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxWindow *arg1 = (wxWindow *) 0 ; - wxString result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetTitle",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxWindow const *)arg1)->GetTitle(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - { -#if wxUSE_UNICODE - resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); -#else - resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); -#endif - } - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_wxWindow_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -25353,7 +26136,7 @@ static PyObject *_wrap_wxWindow_SetLabel(PyObject *, PyObject *args, PyObject *k (char *) "self",(char *) "label", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetLabel",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetLabel",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -25383,8 +26166,8 @@ static PyObject *_wrap_wxWindow_SetLabel(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxWindow_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -25392,7 +26175,7 @@ static PyObject *_wrap_wxWindow_GetLabel(PyObject *, PyObject *args, PyObject *k (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetLabel",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetLabel",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -25415,8 +26198,8 @@ static PyObject *_wrap_wxWindow_GetLabel(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxWindow_SetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetName(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -25426,7 +26209,7 @@ static PyObject *_wrap_wxWindow_SetName(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "name", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetName",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetName",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -25456,8 +26239,8 @@ static PyObject *_wrap_wxWindow_SetName(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxWindow_GetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetName(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -25465,7 +26248,7 @@ static PyObject *_wrap_wxWindow_GetName(PyObject *, PyObject *args, PyObject *kw (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetName",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetName",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -25488,8 +26271,8 @@ static PyObject *_wrap_wxWindow_GetName(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxWindow_SetWindowVariant(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetWindowVariant(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindowVariant arg2 ; PyObject * obj0 = 0 ; @@ -25498,16 +26281,16 @@ static PyObject *_wrap_wxWindow_SetWindowVariant(PyObject *, PyObject *args, PyO (char *) "self",(char *) "variant", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetWindowVariant",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowVariant",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxWindowVariant)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetWindowVariant((wxWindowVariant )arg2); + (arg1)->SetWindowVariant(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -25519,8 +26302,8 @@ static PyObject *_wrap_wxWindow_SetWindowVariant(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxWindow_GetWindowVariant(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetWindowVariant(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindowVariant result; PyObject * obj0 = 0 ; @@ -25528,7 +26311,7 @@ static PyObject *_wrap_wxWindow_GetWindowVariant(PyObject *, PyObject *args, PyO (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetWindowVariant",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowVariant",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -25545,8 +26328,8 @@ static PyObject *_wrap_wxWindow_GetWindowVariant(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxWindow_SetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetId(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -25555,11 +26338,11 @@ static PyObject *_wrap_wxWindow_SetId(PyObject *, PyObject *args, PyObject *kwar (char *) "self",(char *) "winid", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetId",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetId",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -25576,8 +26359,8 @@ static PyObject *_wrap_wxWindow_SetId(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxWindow_GetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetId(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -25585,7 +26368,7 @@ static PyObject *_wrap_wxWindow_GetId(PyObject *, PyObject *args, PyObject *kwar (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetId",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetId",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -25596,7 +26379,7 @@ static PyObject *_wrap_wxWindow_GetId(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -25604,14 +26387,14 @@ static PyObject *_wrap_wxWindow_GetId(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxWindow_NewControlId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_NewControlId(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; int result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":wxWindow_NewControlId",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_NewControlId",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)wxWindow::NewControlId(); @@ -25620,7 +26403,7 @@ static PyObject *_wrap_wxWindow_NewControlId(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -25628,8 +26411,8 @@ static PyObject *_wrap_wxWindow_NewControlId(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxWindow_NextControlId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_NextControlId(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; int arg1 ; int result; PyObject * obj0 = 0 ; @@ -25637,9 +26420,9 @@ static PyObject *_wrap_wxWindow_NextControlId(PyObject *, PyObject *args, PyObje (char *) "winid", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_NextControlId",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_NextControlId",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -25650,7 +26433,7 @@ static PyObject *_wrap_wxWindow_NextControlId(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -25658,8 +26441,8 @@ static PyObject *_wrap_wxWindow_NextControlId(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxWindow_PrevControlId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_PrevControlId(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; int arg1 ; int result; PyObject * obj0 = 0 ; @@ -25667,9 +26450,9 @@ static PyObject *_wrap_wxWindow_PrevControlId(PyObject *, PyObject *args, PyObje (char *) "winid", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_PrevControlId",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PrevControlId",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -25680,7 +26463,7 @@ static PyObject *_wrap_wxWindow_PrevControlId(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -25688,8 +26471,8 @@ static PyObject *_wrap_wxWindow_PrevControlId(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxWindow_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -25699,7 +26482,7 @@ static PyObject *_wrap_wxWindow_SetSize(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "size", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetSize",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetSize",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -25720,8 +26503,8 @@ static PyObject *_wrap_wxWindow_SetSize(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxWindow_SetDimensions(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetDimensions(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -25738,28 +26521,28 @@ static PyObject *_wrap_wxWindow_SetDimensions(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:wxWindow_SetDimensions",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetDimensions",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -25777,8 +26560,8 @@ static PyObject *_wrap_wxWindow_SetDimensions(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxWindow_SetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetRect(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxRect *arg2 = 0 ; int arg3 = (int) wxSIZE_AUTO ; @@ -25790,7 +26573,7 @@ static PyObject *_wrap_wxWindow_SetRect(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:wxWindow_SetRect",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetRect",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -25799,7 +26582,7 @@ static PyObject *_wrap_wxWindow_SetRect(PyObject *, PyObject *args, PyObject *kw } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -25817,8 +26600,8 @@ static PyObject *_wrap_wxWindow_SetRect(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxWindow_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -25829,15 +26612,15 @@ static PyObject *_wrap_wxWindow_SetSizeWH(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "width",(char *) "height", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxWindow_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -25854,8 +26637,8 @@ static PyObject *_wrap_wxWindow_SetSizeWH(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxWindow_Move(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_Move(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; int arg3 = (int) wxSIZE_USE_EXISTING ; @@ -25867,7 +26650,7 @@ static PyObject *_wrap_wxWindow_Move(PyObject *, PyObject *args, PyObject *kwarg (char *) "self",(char *) "pt",(char *) "flags", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:wxWindow_Move",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_Move",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -25876,7 +26659,7 @@ static PyObject *_wrap_wxWindow_Move(PyObject *, PyObject *args, PyObject *kwarg } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -25894,8 +26677,8 @@ static PyObject *_wrap_wxWindow_Move(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxWindow_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -25908,20 +26691,20 @@ static PyObject *_wrap_wxWindow_MoveXY(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:wxWindow_MoveXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_MoveXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -25939,8 +26722,8 @@ static PyObject *_wrap_wxWindow_MoveXY(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxWindow_SetBestFittingSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetBestFittingSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize const &arg2_defvalue = wxDefaultSize ; wxSize *arg2 = (wxSize *) &arg2_defvalue ; @@ -25951,7 +26734,7 @@ static PyObject *_wrap_wxWindow_SetBestFittingSize(PyObject *, PyObject *args, P (char *) "self",(char *) "size", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxWindow_SetBestFittingSize",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_SetBestFittingSize",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { @@ -25974,15 +26757,15 @@ static PyObject *_wrap_wxWindow_SetBestFittingSize(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxWindow_Raise(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_Raise(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_Raise",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Raise",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -25999,15 +26782,15 @@ static PyObject *_wrap_wxWindow_Raise(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxWindow_Lower(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_Lower(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_Lower",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Lower",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -26024,8 +26807,8 @@ static PyObject *_wrap_wxWindow_Lower(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxWindow_SetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -26035,7 +26818,7 @@ static PyObject *_wrap_wxWindow_SetClientSize(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "size", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetClientSize",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientSize",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -26056,8 +26839,8 @@ static PyObject *_wrap_wxWindow_SetClientSize(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxWindow_SetClientSizeWH(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetClientSizeWH(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -26068,15 +26851,15 @@ static PyObject *_wrap_wxWindow_SetClientSizeWH(PyObject *, PyObject *args, PyOb (char *) "self",(char *) "width",(char *) "height", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxWindow_SetClientSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetClientSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -26093,8 +26876,8 @@ static PyObject *_wrap_wxWindow_SetClientSizeWH(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxWindow_SetClientRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetClientRect(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxRect *arg2 = 0 ; wxRect temp2 ; @@ -26104,7 +26887,7 @@ static PyObject *_wrap_wxWindow_SetClientRect(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "rect", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetClientRect",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientRect",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -26125,8 +26908,8 @@ static PyObject *_wrap_wxWindow_SetClientRect(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxWindow_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -26134,7 +26917,7 @@ static PyObject *_wrap_wxWindow_GetPosition(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetPosition",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPosition",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -26146,7 +26929,7 @@ static PyObject *_wrap_wxWindow_GetPosition(PyObject *, PyObject *args, PyObject } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -26155,8 +26938,172 @@ static PyObject *_wrap_wxWindow_GetPosition(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxWindow_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxWindow *arg1 = (wxWindow *) 0 ; + int *arg2 = (int *) 0 ; + int *arg3 = (int *) 0 ; + int temp2 ; + int res2 = 0 ; + int temp3 ; + int res3 = 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + arg2 = &temp2; res2 = SWIG_NEWOBJ; + arg3 = &temp3; res3 = SWIG_NEWOBJ; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPositionTuple",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->GetPosition(arg2,arg3); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? + SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); + resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? + SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Window_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxWindow *arg1 = (wxWindow *) 0 ; + wxSize result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSize",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxWindow const *)arg1)->GetSize(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + wxSize * resultptr; + resultptr = new wxSize(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Window_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxWindow *arg1 = (wxWindow *) 0 ; + int *arg2 = (int *) 0 ; + int *arg3 = (int *) 0 ; + int temp2 ; + int res2 = 0 ; + int temp3 ; + int res3 = 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + arg2 = &temp2; res2 = SWIG_NEWOBJ; + arg3 = &temp3; res3 = SWIG_NEWOBJ; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizeTuple",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + ((wxWindow const *)arg1)->GetSize(arg2,arg3); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? + SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); + resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? + SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Window_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxWindow *arg1 = (wxWindow *) 0 ; + wxRect result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetRect",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxWindow const *)arg1)->GetRect(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + wxRect * resultptr; + resultptr = new wxRect(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Window_GetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxWindow *arg1 = (wxWindow *) 0 ; + wxSize result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSize",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxWindow const *)arg1)->GetClientSize(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + wxSize * resultptr; + resultptr = new wxSize(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -26171,12 +27118,12 @@ static PyObject *_wrap_wxWindow_GetPositionTuple(PyObject *, PyObject *args, PyO arg2 = &temp2; res2 = SWIG_NEWOBJ; arg3 = &temp3; res3 = SWIG_NEWOBJ; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetPositionTuple",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSizeTuple",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->GetPosition(arg2,arg3); + ((wxWindow const *)arg1)->GetClientSize(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -26192,75 +27139,38 @@ static PyObject *_wrap_wxWindow_GetPositionTuple(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxWindow_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; - wxSize result; + wxPoint result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetSize",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientAreaOrigin",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxWindow const *)arg1)->GetSize(); + result = ((wxWindow const *)arg1)->GetClientAreaOrigin(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); - resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); - } - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_wxWindow_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxWindow *arg1 = (wxWindow *) 0 ; - int *arg2 = (int *) 0 ; - int *arg3 = (int *) 0 ; - int temp2 ; - int res2 = 0 ; - int temp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - arg2 = &temp2; res2 = SWIG_NEWOBJ; - arg3 = &temp3; res3 = SWIG_NEWOBJ; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetSizeTuple",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - ((wxWindow const *)arg1)->GetSize(arg2,arg3); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; + wxPoint * resultptr; + resultptr = new wxPoint(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } - Py_INCREF(Py_None); resultobj = Py_None; - resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? - SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); - resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? - SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); return resultobj; fail: return NULL; } -static PyObject *_wrap_wxWindow_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetClientRect(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -26268,19 +27178,19 @@ static PyObject *_wrap_wxWindow_GetRect(PyObject *, PyObject *args, PyObject *kw (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetRect",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientRect",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxWindow const *)arg1)->GetRect(); + result = ((wxWindow const *)arg1)->GetClientRect(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -26289,8 +27199,8 @@ static PyObject *_wrap_wxWindow_GetRect(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxWindow_GetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -26298,19 +27208,19 @@ static PyObject *_wrap_wxWindow_GetClientSize(PyObject *, PyObject *args, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetClientSize",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSize",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxWindow const *)arg1)->GetClientSize(); + result = ((wxWindow const *)arg1)->GetBestSize(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -26319,8 +27229,8 @@ static PyObject *_wrap_wxWindow_GetClientSize(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxWindow_GetClientSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -26335,12 +27245,12 @@ static PyObject *_wrap_wxWindow_GetClientSizeTuple(PyObject *, PyObject *args, P arg2 = &temp2; res2 = SWIG_NEWOBJ; arg3 = &temp3; res3 = SWIG_NEWOBJ; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetClientSizeTuple",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSizeTuple",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - ((wxWindow const *)arg1)->GetClientSize(arg2,arg3); + ((wxWindow const *)arg1)->GetBestSize(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -26356,160 +27266,65 @@ static PyObject *_wrap_wxWindow_GetClientSizeTuple(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxWindow_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxWindow *arg1 = (wxWindow *) 0 ; - wxPoint result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetClientAreaOrigin",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxWindow const *)arg1)->GetClientAreaOrigin(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - { - wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); - resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); - } - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_wxWindow_GetClientRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_InvalidateBestSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; - wxRect result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetClientRect",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InvalidateBestSize",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxWindow const *)arg1)->GetClientRect(); + (arg1)->InvalidateBestSize(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); - resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); - } + Py_INCREF(Py_None); resultobj = Py_None; return resultobj; fail: return NULL; } -static PyObject *_wrap_wxWindow_GetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_CacheBestSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; - wxSize result; + wxSize *arg2 = 0 ; + wxSize temp2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self", NULL + (char *) "self",(char *) "size", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetBestSize",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_CacheBestSize",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxWindow const *)arg1)->GetBestSize(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - { - wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); - resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); + arg2 = &temp2; + if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; } - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_wxWindow_GetBestSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxWindow *arg1 = (wxWindow *) 0 ; - int *arg2 = (int *) 0 ; - int *arg3 = (int *) 0 ; - int temp2 ; - int res2 = 0 ; - int temp3 ; - int res3 = 0 ; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - arg2 = &temp2; res2 = SWIG_NEWOBJ; - arg3 = &temp3; res3 = SWIG_NEWOBJ; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetBestSizeTuple",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - ((wxWindow const *)arg1)->GetBestSize(arg2,arg3); + ((wxWindow const *)arg1)->CacheBestSize((wxSize const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } Py_INCREF(Py_None); resultobj = Py_None; - resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? - SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); - resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? - SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); return resultobj; fail: return NULL; } -static PyObject *_wrap_wxWindow_InvalidateBestSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxWindow *arg1 = (wxWindow *) 0 ; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_InvalidateBestSize",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->InvalidateBestSize(); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_wxWindow_GetBestFittingSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetBestFittingSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -26517,7 +27332,7 @@ static PyObject *_wrap_wxWindow_GetBestFittingSize(PyObject *, PyObject *args, P (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetBestFittingSize",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestFittingSize",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -26529,7 +27344,7 @@ static PyObject *_wrap_wxWindow_GetBestFittingSize(PyObject *, PyObject *args, P } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -26538,8 +27353,8 @@ static PyObject *_wrap_wxWindow_GetBestFittingSize(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxWindow_GetAdjustedBestSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -26547,7 +27362,7 @@ static PyObject *_wrap_wxWindow_GetAdjustedBestSize(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetAdjustedBestSize",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -26559,7 +27374,7 @@ static PyObject *_wrap_wxWindow_GetAdjustedBestSize(PyObject *, PyObject *args, } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -26568,8 +27383,8 @@ static PyObject *_wrap_wxWindow_GetAdjustedBestSize(PyObject *, PyObject *args, } -static PyObject *_wrap_wxWindow_Center(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_Center(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) wxBOTH ; PyObject * obj0 = 0 ; @@ -26578,12 +27393,12 @@ static PyObject *_wrap_wxWindow_Center(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "direction", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxWindow_Center",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Center",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -26601,8 +27416,8 @@ static PyObject *_wrap_wxWindow_Center(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxWindow_CenterOnScreen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_CenterOnScreen(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) wxBOTH ; PyObject * obj0 = 0 ; @@ -26611,12 +27426,12 @@ static PyObject *_wrap_wxWindow_CenterOnScreen(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "dir", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxWindow_CenterOnScreen",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnScreen",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -26634,8 +27449,8 @@ static PyObject *_wrap_wxWindow_CenterOnScreen(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxWindow_CenterOnParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_CenterOnParent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) wxBOTH ; PyObject * obj0 = 0 ; @@ -26644,12 +27459,12 @@ static PyObject *_wrap_wxWindow_CenterOnParent(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "dir", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxWindow_CenterOnParent",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnParent",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -26667,15 +27482,15 @@ static PyObject *_wrap_wxWindow_CenterOnParent(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxWindow_Fit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_Fit(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_Fit",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Fit",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -26692,15 +27507,15 @@ static PyObject *_wrap_wxWindow_Fit(PyObject *, PyObject *args, PyObject *kwargs } -static PyObject *_wrap_wxWindow_FitInside(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_FitInside(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_FitInside",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FitInside",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -26717,8 +27532,8 @@ static PyObject *_wrap_wxWindow_FitInside(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxWindow_SetSizeHints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetSizeHints(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -26737,38 +27552,38 @@ static PyObject *_wrap_wxWindow_SetSizeHints(PyObject *, PyObject *args, PyObjec (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:wxWindow_SetSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } if (obj6) { { - arg7 = (int)(SWIG_As_int(obj6)); + arg7 = static_cast(SWIG_As_int(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -26786,8 +27601,8 @@ static PyObject *_wrap_wxWindow_SetSizeHints(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxWindow_SetSizeHintsSz(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetSizeHintsSz(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize const &arg3_defvalue = wxDefaultSize ; @@ -26805,7 +27620,7 @@ static PyObject *_wrap_wxWindow_SetSizeHintsSz(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:wxWindow_SetSizeHintsSz",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -26838,8 +27653,8 @@ static PyObject *_wrap_wxWindow_SetSizeHintsSz(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxWindow_SetVirtualSizeHints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -26854,26 +27669,26 @@ static PyObject *_wrap_wxWindow_SetVirtualSizeHints(PyObject *, PyObject *args, (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:wxWindow_SetVirtualSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -26891,8 +27706,8 @@ static PyObject *_wrap_wxWindow_SetVirtualSizeHints(PyObject *, PyObject *args, } -static PyObject *_wrap_wxWindow_SetVirtualSizeHintsSz(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetVirtualSizeHintsSz(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize const &arg3_defvalue = wxDefaultSize ; @@ -26906,7 +27721,7 @@ static PyObject *_wrap_wxWindow_SetVirtualSizeHintsSz(PyObject *, PyObject *args (char *) "self",(char *) "minSize",(char *) "maxSize", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:wxWindow_SetVirtualSizeHintsSz",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -26933,8 +27748,8 @@ static PyObject *_wrap_wxWindow_SetVirtualSizeHintsSz(PyObject *, PyObject *args } -static PyObject *_wrap_wxWindow_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -26942,7 +27757,7 @@ static PyObject *_wrap_wxWindow_GetMaxSize(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetMaxSize",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxSize",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -26954,7 +27769,7 @@ static PyObject *_wrap_wxWindow_GetMaxSize(PyObject *, PyObject *args, PyObject } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -26963,8 +27778,8 @@ static PyObject *_wrap_wxWindow_GetMaxSize(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxWindow_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -26972,7 +27787,7 @@ static PyObject *_wrap_wxWindow_GetMinSize(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetMinSize",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinSize",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -26984,7 +27799,7 @@ static PyObject *_wrap_wxWindow_GetMinSize(PyObject *, PyObject *args, PyObject } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -26993,8 +27808,8 @@ static PyObject *_wrap_wxWindow_GetMinSize(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxWindow_SetMinSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetMinSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -27004,7 +27819,7 @@ static PyObject *_wrap_wxWindow_SetMinSize(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "minSize", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetMinSize",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetMinSize",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -27025,8 +27840,8 @@ static PyObject *_wrap_wxWindow_SetMinSize(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxWindow_SetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -27036,7 +27851,7 @@ static PyObject *_wrap_wxWindow_SetMaxSize(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "maxSize", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetMaxSize",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetMaxSize",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -27057,8 +27872,8 @@ static PyObject *_wrap_wxWindow_SetMaxSize(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxWindow_GetMinWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetMinWidth(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -27066,7 +27881,7 @@ static PyObject *_wrap_wxWindow_GetMinWidth(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetMinWidth",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinWidth",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -27077,7 +27892,7 @@ static PyObject *_wrap_wxWindow_GetMinWidth(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -27085,8 +27900,8 @@ static PyObject *_wrap_wxWindow_GetMinWidth(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxWindow_GetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -27094,7 +27909,7 @@ static PyObject *_wrap_wxWindow_GetMinHeight(PyObject *, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetMinHeight",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinHeight",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -27105,7 +27920,7 @@ static PyObject *_wrap_wxWindow_GetMinHeight(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -27113,8 +27928,8 @@ static PyObject *_wrap_wxWindow_GetMinHeight(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxWindow_GetMaxWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetMaxWidth(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -27122,7 +27937,7 @@ static PyObject *_wrap_wxWindow_GetMaxWidth(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetMaxWidth",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxWidth",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -27133,7 +27948,7 @@ static PyObject *_wrap_wxWindow_GetMaxWidth(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -27141,8 +27956,8 @@ static PyObject *_wrap_wxWindow_GetMaxWidth(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxWindow_GetMaxHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetMaxHeight(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -27150,7 +27965,7 @@ static PyObject *_wrap_wxWindow_GetMaxHeight(PyObject *, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetMaxHeight",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxHeight",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -27161,7 +27976,7 @@ static PyObject *_wrap_wxWindow_GetMaxHeight(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -27169,8 +27984,8 @@ static PyObject *_wrap_wxWindow_GetMaxHeight(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxWindow_SetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -27180,7 +27995,7 @@ static PyObject *_wrap_wxWindow_SetVirtualSize(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "size", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -27201,8 +28016,8 @@ static PyObject *_wrap_wxWindow_SetVirtualSize(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxWindow_SetVirtualSizeWH(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -27213,15 +28028,15 @@ static PyObject *_wrap_wxWindow_SetVirtualSizeWH(PyObject *, PyObject *args, PyO (char *) "self",(char *) "w",(char *) "h", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxWindow_SetVirtualSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetVirtualSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -27238,8 +28053,8 @@ static PyObject *_wrap_wxWindow_SetVirtualSizeWH(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxWindow_GetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -27247,7 +28062,7 @@ static PyObject *_wrap_wxWindow_GetVirtualSize(PyObject *, PyObject *args, PyObj (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetVirtualSize",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSize",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -27259,7 +28074,7 @@ static PyObject *_wrap_wxWindow_GetVirtualSize(PyObject *, PyObject *args, PyObj } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -27268,8 +28083,8 @@ static PyObject *_wrap_wxWindow_GetVirtualSize(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxWindow_GetVirtualSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -27284,7 +28099,7 @@ static PyObject *_wrap_wxWindow_GetVirtualSizeTuple(PyObject *, PyObject *args, arg2 = &temp2; res2 = SWIG_NEWOBJ; arg3 = &temp3; res3 = SWIG_NEWOBJ; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetVirtualSizeTuple",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSizeTuple",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -27305,8 +28120,8 @@ static PyObject *_wrap_wxWindow_GetVirtualSizeTuple(PyObject *, PyObject *args, } -static PyObject *_wrap_wxWindow_GetBestVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -27314,7 +28129,7 @@ static PyObject *_wrap_wxWindow_GetBestVirtualSize(PyObject *, PyObject *args, P (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetBestVirtualSize",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestVirtualSize",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -27326,7 +28141,7 @@ static PyObject *_wrap_wxWindow_GetBestVirtualSize(PyObject *, PyObject *args, P } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -27335,8 +28150,8 @@ static PyObject *_wrap_wxWindow_GetBestVirtualSize(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxWindow_Show(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_Show(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 = (bool) true ; bool result; @@ -27346,12 +28161,12 @@ static PyObject *_wrap_wxWindow_Show(PyObject *, PyObject *args, PyObject *kwarg (char *) "self",(char *) "show", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxWindow_Show",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Show",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -27371,8 +28186,8 @@ static PyObject *_wrap_wxWindow_Show(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxWindow_Hide(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_Hide(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -27380,7 +28195,7 @@ static PyObject *_wrap_wxWindow_Hide(PyObject *, PyObject *args, PyObject *kwarg (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_Hide",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Hide",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -27399,8 +28214,8 @@ static PyObject *_wrap_wxWindow_Hide(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxWindow_Enable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_Enable(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 = (bool) true ; bool result; @@ -27410,12 +28225,12 @@ static PyObject *_wrap_wxWindow_Enable(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "enable", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxWindow_Enable",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Enable",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -27435,8 +28250,8 @@ static PyObject *_wrap_wxWindow_Enable(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxWindow_Disable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_Disable(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -27444,7 +28259,7 @@ static PyObject *_wrap_wxWindow_Disable(PyObject *, PyObject *args, PyObject *kw (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_Disable",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Disable",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -27463,8 +28278,8 @@ static PyObject *_wrap_wxWindow_Disable(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxWindow_IsShown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_IsShown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -27472,7 +28287,7 @@ static PyObject *_wrap_wxWindow_IsShown(PyObject *, PyObject *args, PyObject *kw (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_IsShown",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsShown",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -27491,8 +28306,8 @@ static PyObject *_wrap_wxWindow_IsShown(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxWindow_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -27500,7 +28315,7 @@ static PyObject *_wrap_wxWindow_IsEnabled(PyObject *, PyObject *args, PyObject * (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_IsEnabled",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsEnabled",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -27519,8 +28334,8 @@ static PyObject *_wrap_wxWindow_IsEnabled(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxWindow_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -27529,11 +28344,11 @@ static PyObject *_wrap_wxWindow_SetWindowStyleFlag(PyObject *, PyObject *args, P (char *) "self",(char *) "style", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -27550,8 +28365,8 @@ static PyObject *_wrap_wxWindow_SetWindowStyleFlag(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxWindow_GetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long result; PyObject * obj0 = 0 ; @@ -27559,7 +28374,7 @@ static PyObject *_wrap_wxWindow_GetWindowStyleFlag(PyObject *, PyObject *args, P (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetWindowStyleFlag",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyleFlag",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -27570,7 +28385,7 @@ static PyObject *_wrap_wxWindow_GetWindowStyleFlag(PyObject *, PyObject *args, P if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -27578,8 +28393,8 @@ static PyObject *_wrap_wxWindow_GetWindowStyleFlag(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxWindow_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; bool result; @@ -27589,11 +28404,11 @@ static PyObject *_wrap_wxWindow_HasFlag(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "flag", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_HasFlag",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasFlag",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -27612,8 +28427,8 @@ static PyObject *_wrap_wxWindow_HasFlag(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxWindow_IsRetained(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_IsRetained(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -27621,7 +28436,7 @@ static PyObject *_wrap_wxWindow_IsRetained(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_IsRetained",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsRetained",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -27640,8 +28455,8 @@ static PyObject *_wrap_wxWindow_IsRetained(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxWindow_SetExtraStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetExtraStyle(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -27650,11 +28465,11 @@ static PyObject *_wrap_wxWindow_SetExtraStyle(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "exStyle", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetExtraStyle",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetExtraStyle",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -27671,8 +28486,8 @@ static PyObject *_wrap_wxWindow_SetExtraStyle(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxWindow_GetExtraStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetExtraStyle(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long result; PyObject * obj0 = 0 ; @@ -27680,7 +28495,7 @@ static PyObject *_wrap_wxWindow_GetExtraStyle(PyObject *, PyObject *args, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetExtraStyle",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetExtraStyle",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -27691,7 +28506,7 @@ static PyObject *_wrap_wxWindow_GetExtraStyle(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -27699,8 +28514,8 @@ static PyObject *_wrap_wxWindow_GetExtraStyle(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxWindow_MakeModal(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_MakeModal(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -27709,12 +28524,12 @@ static PyObject *_wrap_wxWindow_MakeModal(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "modal", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxWindow_MakeModal",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_MakeModal",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -27732,8 +28547,8 @@ static PyObject *_wrap_wxWindow_MakeModal(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxWindow_SetThemeEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetThemeEnabled(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -27742,11 +28557,11 @@ static PyObject *_wrap_wxWindow_SetThemeEnabled(PyObject *, PyObject *args, PyOb (char *) "self",(char *) "enableTheme", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -27763,8 +28578,8 @@ static PyObject *_wrap_wxWindow_SetThemeEnabled(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxWindow_GetThemeEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetThemeEnabled(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -27772,7 +28587,7 @@ static PyObject *_wrap_wxWindow_GetThemeEnabled(PyObject *, PyObject *args, PyOb (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetThemeEnabled",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetThemeEnabled",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -27791,15 +28606,15 @@ static PyObject *_wrap_wxWindow_GetThemeEnabled(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxWindow_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_SetFocus",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocus",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -27816,15 +28631,15 @@ static PyObject *_wrap_wxWindow_SetFocus(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxWindow_SetFocusFromKbd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_SetFocusFromKbd",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocusFromKbd",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -27841,14 +28656,14 @@ static PyObject *_wrap_wxWindow_SetFocusFromKbd(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxWindow_FindFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_FindFocus(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":wxWindow_FindFocus",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_FindFocus",kwnames)) goto fail; { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -27866,8 +28681,8 @@ static PyObject *_wrap_wxWindow_FindFocus(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxWindow_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -27875,7 +28690,7 @@ static PyObject *_wrap_wxWindow_AcceptsFocus(PyObject *, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_AcceptsFocus",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocus",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -27894,8 +28709,8 @@ static PyObject *_wrap_wxWindow_AcceptsFocus(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxWindow_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -27903,7 +28718,7 @@ static PyObject *_wrap_wxWindow_AcceptsFocusFromKeyboard(PyObject *, PyObject *a (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -27922,8 +28737,8 @@ static PyObject *_wrap_wxWindow_AcceptsFocusFromKeyboard(PyObject *, PyObject *a } -static PyObject *_wrap_wxWindow_GetDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -27931,7 +28746,7 @@ static PyObject *_wrap_wxWindow_GetDefaultItem(PyObject *, PyObject *args, PyObj (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetDefaultItem",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultItem",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -27950,8 +28765,8 @@ static PyObject *_wrap_wxWindow_GetDefaultItem(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxWindow_SetDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxWindow *result; @@ -27961,7 +28776,7 @@ static PyObject *_wrap_wxWindow_SetDefaultItem(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "child", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -27982,8 +28797,8 @@ static PyObject *_wrap_wxWindow_SetDefaultItem(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxWindow_SetTmpDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -27992,7 +28807,7 @@ static PyObject *_wrap_wxWindow_SetTmpDefaultItem(PyObject *, PyObject *args, Py (char *) "self",(char *) "win", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -28011,8 +28826,8 @@ static PyObject *_wrap_wxWindow_SetTmpDefaultItem(PyObject *, PyObject *args, Py } -static PyObject *_wrap_wxWindow_Navigate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_Navigate(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) wxNavigationKeyEvent::IsForward ; bool result; @@ -28022,12 +28837,12 @@ static PyObject *_wrap_wxWindow_Navigate(PyObject *, PyObject *args, PyObject *k (char *) "self",(char *) "flags", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxWindow_Navigate",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Navigate",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -28047,8 +28862,8 @@ static PyObject *_wrap_wxWindow_Navigate(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxWindow_MoveAfterInTabOrder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_MoveAfterInTabOrder(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -28057,7 +28872,7 @@ static PyObject *_wrap_wxWindow_MoveAfterInTabOrder(PyObject *, PyObject *args, (char *) "self",(char *) "win", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_MoveAfterInTabOrder",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_MoveAfterInTabOrder",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -28076,8 +28891,8 @@ static PyObject *_wrap_wxWindow_MoveAfterInTabOrder(PyObject *, PyObject *args, } -static PyObject *_wrap_wxWindow_MoveBeforeInTabOrder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_MoveBeforeInTabOrder(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -28086,7 +28901,7 @@ static PyObject *_wrap_wxWindow_MoveBeforeInTabOrder(PyObject *, PyObject *args, (char *) "self",(char *) "win", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_MoveBeforeInTabOrder",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -28105,8 +28920,8 @@ static PyObject *_wrap_wxWindow_MoveBeforeInTabOrder(PyObject *, PyObject *args, } -static PyObject *_wrap_wxWindow_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -28114,7 +28929,7 @@ static PyObject *_wrap_wxWindow_GetChildren(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetChildren",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetChildren",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -28131,8 +28946,8 @@ static PyObject *_wrap_wxWindow_GetChildren(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxWindow_GetParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetParent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -28140,7 +28955,7 @@ static PyObject *_wrap_wxWindow_GetParent(PyObject *, PyObject *args, PyObject * (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetParent",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetParent",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -28159,8 +28974,8 @@ static PyObject *_wrap_wxWindow_GetParent(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxWindow_GetGrandParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetGrandParent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -28168,7 +28983,7 @@ static PyObject *_wrap_wxWindow_GetGrandParent(PyObject *, PyObject *args, PyObj (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetGrandParent",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetGrandParent",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -28187,8 +29002,8 @@ static PyObject *_wrap_wxWindow_GetGrandParent(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxWindow_IsTopLevel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_IsTopLevel(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -28196,7 +29011,7 @@ static PyObject *_wrap_wxWindow_IsTopLevel(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_IsTopLevel",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsTopLevel",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -28215,8 +29030,8 @@ static PyObject *_wrap_wxWindow_IsTopLevel(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxWindow_Reparent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_Reparent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; bool result; @@ -28226,7 +29041,7 @@ static PyObject *_wrap_wxWindow_Reparent(PyObject *, PyObject *args, PyObject *k (char *) "self",(char *) "newParent", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_Reparent",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_Reparent",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -28247,8 +29062,8 @@ static PyObject *_wrap_wxWindow_Reparent(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxWindow_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -28257,7 +29072,7 @@ static PyObject *_wrap_wxWindow_AddChild(PyObject *, PyObject *args, PyObject *k (char *) "self",(char *) "child", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_AddChild",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AddChild",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -28276,8 +29091,8 @@ static PyObject *_wrap_wxWindow_AddChild(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxWindow_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -28286,7 +29101,7 @@ static PyObject *_wrap_wxWindow_RemoveChild(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "child", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_RemoveChild",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveChild",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -28305,8 +29120,8 @@ static PyObject *_wrap_wxWindow_RemoveChild(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxWindow_FindWindowById(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_FindWindowById(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long arg2 ; wxWindow *result; @@ -28316,11 +29131,11 @@ static PyObject *_wrap_wxWindow_FindWindowById(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "winid", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_FindWindowById",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowById",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -28339,8 +29154,8 @@ static PyObject *_wrap_wxWindow_FindWindowById(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxWindow_FindWindowByName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_FindWindowByName(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; wxWindow *result; @@ -28351,7 +29166,7 @@ static PyObject *_wrap_wxWindow_FindWindowByName(PyObject *, PyObject *args, PyO (char *) "self",(char *) "name", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_FindWindowByName",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowByName",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -28383,8 +29198,8 @@ static PyObject *_wrap_wxWindow_FindWindowByName(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxWindow_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxEvtHandler *result; PyObject * obj0 = 0 ; @@ -28392,7 +29207,7 @@ static PyObject *_wrap_wxWindow_GetEventHandler(PyObject *, PyObject *args, PyOb (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetEventHandler",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetEventHandler",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -28411,8 +29226,8 @@ static PyObject *_wrap_wxWindow_GetEventHandler(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxWindow_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxEvtHandler *arg2 = (wxEvtHandler *) 0 ; PyObject * obj0 = 0 ; @@ -28421,7 +29236,7 @@ static PyObject *_wrap_wxWindow_SetEventHandler(PyObject *, PyObject *args, PyOb (char *) "self",(char *) "handler", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetEventHandler",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetEventHandler",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0); @@ -28440,8 +29255,8 @@ static PyObject *_wrap_wxWindow_SetEventHandler(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxWindow_PushEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_PushEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxEvtHandler *arg2 = (wxEvtHandler *) 0 ; PyObject * obj0 = 0 ; @@ -28450,7 +29265,7 @@ static PyObject *_wrap_wxWindow_PushEventHandler(PyObject *, PyObject *args, PyO (char *) "self",(char *) "handler", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_PushEventHandler",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PushEventHandler",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0); @@ -28469,8 +29284,8 @@ static PyObject *_wrap_wxWindow_PushEventHandler(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxWindow_PopEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_PopEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 = (bool) false ; wxEvtHandler *result; @@ -28480,12 +29295,12 @@ static PyObject *_wrap_wxWindow_PopEventHandler(PyObject *, PyObject *args, PyOb (char *) "self",(char *) "deleteHandler", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxWindow_PopEventHandler",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_PopEventHandler",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -28505,8 +29320,8 @@ static PyObject *_wrap_wxWindow_PopEventHandler(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxWindow_RemoveEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_RemoveEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxEvtHandler *arg2 = (wxEvtHandler *) 0 ; bool result; @@ -28516,7 +29331,7 @@ static PyObject *_wrap_wxWindow_RemoveEventHandler(PyObject *, PyObject *args, P (char *) "self",(char *) "handler", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_RemoveEventHandler",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveEventHandler",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0); @@ -28537,8 +29352,8 @@ static PyObject *_wrap_wxWindow_RemoveEventHandler(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxWindow_SetValidator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetValidator(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxValidator *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -28547,7 +29362,7 @@ static PyObject *_wrap_wxWindow_SetValidator(PyObject *, PyObject *args, PyObjec (char *) "self",(char *) "validator", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetValidator",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetValidator",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -28572,8 +29387,8 @@ static PyObject *_wrap_wxWindow_SetValidator(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxWindow_GetValidator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetValidator(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxValidator *result; PyObject * obj0 = 0 ; @@ -28581,7 +29396,7 @@ static PyObject *_wrap_wxWindow_GetValidator(PyObject *, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetValidator",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetValidator",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -28592,7 +29407,7 @@ static PyObject *_wrap_wxWindow_GetValidator(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -28600,8 +29415,8 @@ static PyObject *_wrap_wxWindow_GetValidator(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxWindow_Validate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_Validate(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -28609,7 +29424,7 @@ static PyObject *_wrap_wxWindow_Validate(PyObject *, PyObject *args, PyObject *k (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_Validate",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Validate",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -28628,8 +29443,8 @@ static PyObject *_wrap_wxWindow_Validate(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxWindow_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -28637,7 +29452,7 @@ static PyObject *_wrap_wxWindow_TransferDataToWindow(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_TransferDataToWindow",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataToWindow",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -28656,8 +29471,8 @@ static PyObject *_wrap_wxWindow_TransferDataToWindow(PyObject *, PyObject *args, } -static PyObject *_wrap_wxWindow_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -28665,7 +29480,7 @@ static PyObject *_wrap_wxWindow_TransferDataFromWindow(PyObject *, PyObject *arg (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_TransferDataFromWindow",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataFromWindow",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -28684,15 +29499,15 @@ static PyObject *_wrap_wxWindow_TransferDataFromWindow(PyObject *, PyObject *arg } -static PyObject *_wrap_wxWindow_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_InitDialog",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InitDialog",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -28709,8 +29524,8 @@ static PyObject *_wrap_wxWindow_InitDialog(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxWindow_SetAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxAcceleratorTable *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -28719,7 +29534,7 @@ static PyObject *_wrap_wxWindow_SetAcceleratorTable(PyObject *, PyObject *args, (char *) "self",(char *) "accel", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -28744,8 +29559,8 @@ static PyObject *_wrap_wxWindow_SetAcceleratorTable(PyObject *, PyObject *args, } -static PyObject *_wrap_wxWindow_GetAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxAcceleratorTable *result; PyObject * obj0 = 0 ; @@ -28753,7 +29568,7 @@ static PyObject *_wrap_wxWindow_GetAcceleratorTable(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetAcceleratorTable",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAcceleratorTable",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -28770,8 +29585,8 @@ static PyObject *_wrap_wxWindow_GetAcceleratorTable(PyObject *, PyObject *args, } -static PyObject *_wrap_wxWindow_RegisterHotKey(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_RegisterHotKey(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -28785,19 +29600,19 @@ static PyObject *_wrap_wxWindow_RegisterHotKey(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:wxWindow_RegisterHotKey",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_RegisterHotKey",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -28816,8 +29631,8 @@ static PyObject *_wrap_wxWindow_RegisterHotKey(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxWindow_UnregisterHotKey(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_UnregisterHotKey(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; bool result; @@ -28827,11 +29642,11 @@ static PyObject *_wrap_wxWindow_UnregisterHotKey(PyObject *, PyObject *args, PyO (char *) "self",(char *) "hotkeyId", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_UnregisterHotKey",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_UnregisterHotKey",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -28850,8 +29665,8 @@ static PyObject *_wrap_wxWindow_UnregisterHotKey(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxWindow_ConvertDialogPointToPixels(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; wxPoint result; @@ -28862,7 +29677,7 @@ static PyObject *_wrap_wxWindow_ConvertDialogPointToPixels(PyObject *, PyObject (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -28878,7 +29693,7 @@ static PyObject *_wrap_wxWindow_ConvertDialogPointToPixels(PyObject *, PyObject } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -28887,8 +29702,8 @@ static PyObject *_wrap_wxWindow_ConvertDialogPointToPixels(PyObject *, PyObject } -static PyObject *_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize result; @@ -28899,7 +29714,7 @@ static PyObject *_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject *, PyObject * (char *) "self",(char *) "sz", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -28915,7 +29730,7 @@ static PyObject *_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject *, PyObject * } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -28924,8 +29739,8 @@ static PyObject *_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject *, PyObject * } -static PyObject *_wrap_wxWindow_DLG_PNT(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_DLG_PNT(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; wxPoint result; @@ -28936,7 +29751,7 @@ static PyObject *_wrap_wxWindow_DLG_PNT(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_DLG_PNT",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_PNT",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -28952,7 +29767,7 @@ static PyObject *_wrap_wxWindow_DLG_PNT(PyObject *, PyObject *args, PyObject *kw } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -28961,8 +29776,8 @@ static PyObject *_wrap_wxWindow_DLG_PNT(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxWindow_DLG_SZE(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_DLG_SZE(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize result; @@ -28973,7 +29788,7 @@ static PyObject *_wrap_wxWindow_DLG_SZE(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "sz", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_DLG_SZE",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_SZE",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -28989,7 +29804,7 @@ static PyObject *_wrap_wxWindow_DLG_SZE(PyObject *, PyObject *args, PyObject *kw } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -28998,8 +29813,8 @@ static PyObject *_wrap_wxWindow_DLG_SZE(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxWindow_ConvertPixelPointToDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; wxPoint result; @@ -29010,7 +29825,7 @@ static PyObject *_wrap_wxWindow_ConvertPixelPointToDialog(PyObject *, PyObject * (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -29026,7 +29841,7 @@ static PyObject *_wrap_wxWindow_ConvertPixelPointToDialog(PyObject *, PyObject * } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -29035,8 +29850,8 @@ static PyObject *_wrap_wxWindow_ConvertPixelPointToDialog(PyObject *, PyObject * } -static PyObject *_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize result; @@ -29047,7 +29862,7 @@ static PyObject *_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject *, PyObject *a (char *) "self",(char *) "sz", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -29063,7 +29878,7 @@ static PyObject *_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject *, PyObject *a } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -29072,8 +29887,8 @@ static PyObject *_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject *, PyObject *a } -static PyObject *_wrap_wxWindow_WarpPointer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_WarpPointer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -29084,15 +29899,15 @@ static PyObject *_wrap_wxWindow_WarpPointer(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "x",(char *) "y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxWindow_WarpPointer",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_WarpPointer",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -29109,15 +29924,15 @@ static PyObject *_wrap_wxWindow_WarpPointer(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxWindow_CaptureMouse(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_CaptureMouse(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_CaptureMouse",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_CaptureMouse",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -29134,15 +29949,15 @@ static PyObject *_wrap_wxWindow_CaptureMouse(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxWindow_ReleaseMouse(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_ReleaseMouse(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_ReleaseMouse",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ReleaseMouse",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -29159,14 +29974,14 @@ static PyObject *_wrap_wxWindow_ReleaseMouse(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxWindow_GetCapture(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetCapture(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":wxWindow_GetCapture",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_GetCapture",kwnames)) goto fail; { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -29184,8 +29999,8 @@ static PyObject *_wrap_wxWindow_GetCapture(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxWindow_HasCapture(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_HasCapture(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -29193,7 +30008,7 @@ static PyObject *_wrap_wxWindow_HasCapture(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_HasCapture",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasCapture",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -29212,8 +30027,8 @@ static PyObject *_wrap_wxWindow_HasCapture(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxWindow_Refresh(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_Refresh(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 = (bool) true ; wxRect *arg3 = (wxRect *) NULL ; @@ -29224,12 +30039,12 @@ static PyObject *_wrap_wxWindow_Refresh(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:wxWindow_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Window_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -29251,8 +30066,8 @@ static PyObject *_wrap_wxWindow_Refresh(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxWindow_RefreshRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_RefreshRect(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxRect *arg2 = 0 ; bool arg3 = (bool) true ; @@ -29264,7 +30079,7 @@ static PyObject *_wrap_wxWindow_RefreshRect(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:wxWindow_RefreshRect",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_RefreshRect",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -29273,7 +30088,7 @@ static PyObject *_wrap_wxWindow_RefreshRect(PyObject *, PyObject *args, PyObject } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -29291,15 +30106,15 @@ static PyObject *_wrap_wxWindow_RefreshRect(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxWindow_Update(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_Update(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_Update",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Update",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -29316,15 +30131,15 @@ static PyObject *_wrap_wxWindow_Update(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxWindow_ClearBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_ClearBackground(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_ClearBackground",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ClearBackground",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -29341,15 +30156,15 @@ static PyObject *_wrap_wxWindow_ClearBackground(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxWindow_Freeze(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_Freeze(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_Freeze",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Freeze",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -29366,15 +30181,15 @@ static PyObject *_wrap_wxWindow_Freeze(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxWindow_Thaw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_Thaw(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_Thaw",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Thaw",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -29391,8 +30206,8 @@ static PyObject *_wrap_wxWindow_Thaw(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxWindow_PrepareDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_PrepareDC(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxDC *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -29401,7 +30216,7 @@ static PyObject *_wrap_wxWindow_PrepareDC(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "dc", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_PrepareDC",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PrepareDC",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -29426,8 +30241,8 @@ static PyObject *_wrap_wxWindow_PrepareDC(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxWindow_GetUpdateRegion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetUpdateRegion(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxRegion *result; PyObject * obj0 = 0 ; @@ -29435,7 +30250,7 @@ static PyObject *_wrap_wxWindow_GetUpdateRegion(PyObject *, PyObject *args, PyOb (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetUpdateRegion",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateRegion",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -29455,8 +30270,8 @@ static PyObject *_wrap_wxWindow_GetUpdateRegion(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxWindow_GetUpdateClientRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -29464,7 +30279,7 @@ static PyObject *_wrap_wxWindow_GetUpdateClientRect(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetUpdateClientRect",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateClientRect",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -29476,7 +30291,7 @@ static PyObject *_wrap_wxWindow_GetUpdateClientRect(PyObject *, PyObject *args, } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -29485,8 +30300,8 @@ static PyObject *_wrap_wxWindow_GetUpdateClientRect(PyObject *, PyObject *args, } -static PyObject *_wrap_wxWindow_IsExposed(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_IsExposed(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -29502,26 +30317,26 @@ static PyObject *_wrap_wxWindow_IsExposed(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:wxWindow_IsExposed",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_IsExposed",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -29541,8 +30356,8 @@ static PyObject *_wrap_wxWindow_IsExposed(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxWindow_IsExposedPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_IsExposedPoint(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; bool result; @@ -29553,7 +30368,7 @@ static PyObject *_wrap_wxWindow_IsExposedPoint(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -29576,8 +30391,8 @@ static PyObject *_wrap_wxWindow_IsExposedPoint(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxWindow_IsExposedRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_IsExposedRect(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxRect *arg2 = 0 ; bool result; @@ -29588,7 +30403,7 @@ static PyObject *_wrap_wxWindow_IsExposedRect(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "rect", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_IsExposedRect",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedRect",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -29611,8 +30426,8 @@ static PyObject *_wrap_wxWindow_IsExposedRect(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxWindow_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -29620,7 +30435,7 @@ static PyObject *_wrap_wxWindow_GetDefaultAttributes(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetDefaultAttributes",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultAttributes",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -29632,7 +30447,7 @@ static PyObject *_wrap_wxWindow_GetDefaultAttributes(PyObject *, PyObject *args, } { wxVisualAttributes * resultptr; - resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); + resultptr = new wxVisualAttributes(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); } return resultobj; @@ -29641,8 +30456,8 @@ static PyObject *_wrap_wxWindow_GetDefaultAttributes(PyObject *, PyObject *args, } -static PyObject *_wrap_wxWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -29650,24 +30465,24 @@ static PyObject *_wrap_wxWindow_GetClassDefaultAttributes(PyObject *, PyObject * (char *) "variant", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:wxWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Window_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxWindow::GetClassDefaultAttributes(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxVisualAttributes * resultptr; - resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); + resultptr = new wxVisualAttributes(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); } return resultobj; @@ -29676,8 +30491,8 @@ static PyObject *_wrap_wxWindow_GetClassDefaultAttributes(PyObject *, PyObject * } -static PyObject *_wrap_wxWindow_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxColour *arg2 = 0 ; bool result; @@ -29688,7 +30503,7 @@ static PyObject *_wrap_wxWindow_SetBackgroundColour(PyObject *, PyObject *args, (char *) "self",(char *) "colour", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -29711,8 +30526,8 @@ static PyObject *_wrap_wxWindow_SetBackgroundColour(PyObject *, PyObject *args, } -static PyObject *_wrap_wxWindow_SetOwnBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetOwnBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -29722,7 +30537,7 @@ static PyObject *_wrap_wxWindow_SetOwnBackgroundColour(PyObject *, PyObject *arg (char *) "self",(char *) "colour", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetOwnBackgroundColour",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetOwnBackgroundColour",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -29743,8 +30558,8 @@ static PyObject *_wrap_wxWindow_SetOwnBackgroundColour(PyObject *, PyObject *arg } -static PyObject *_wrap_wxWindow_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxColour *arg2 = 0 ; bool result; @@ -29755,7 +30570,7 @@ static PyObject *_wrap_wxWindow_SetForegroundColour(PyObject *, PyObject *args, (char *) "self",(char *) "colour", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -29778,8 +30593,8 @@ static PyObject *_wrap_wxWindow_SetForegroundColour(PyObject *, PyObject *args, } -static PyObject *_wrap_wxWindow_SetOwnForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetOwnForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -29789,7 +30604,7 @@ static PyObject *_wrap_wxWindow_SetOwnForegroundColour(PyObject *, PyObject *arg (char *) "self",(char *) "colour", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetOwnForegroundColour",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetOwnForegroundColour",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -29810,8 +30625,8 @@ static PyObject *_wrap_wxWindow_SetOwnForegroundColour(PyObject *, PyObject *arg } -static PyObject *_wrap_wxWindow_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -29819,7 +30634,7 @@ static PyObject *_wrap_wxWindow_GetBackgroundColour(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetBackgroundColour",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundColour",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -29831,7 +30646,7 @@ static PyObject *_wrap_wxWindow_GetBackgroundColour(PyObject *, PyObject *args, } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -29840,8 +30655,8 @@ static PyObject *_wrap_wxWindow_GetBackgroundColour(PyObject *, PyObject *args, } -static PyObject *_wrap_wxWindow_GetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -29849,7 +30664,7 @@ static PyObject *_wrap_wxWindow_GetForegroundColour(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetForegroundColour",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetForegroundColour",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -29861,7 +30676,7 @@ static PyObject *_wrap_wxWindow_GetForegroundColour(PyObject *, PyObject *args, } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -29870,8 +30685,8 @@ static PyObject *_wrap_wxWindow_GetForegroundColour(PyObject *, PyObject *args, } -static PyObject *_wrap_wxWindow_InheritsBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_InheritsBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -29879,7 +30694,7 @@ static PyObject *_wrap_wxWindow_InheritsBackgroundColour(PyObject *, PyObject *a (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_InheritsBackgroundColour",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InheritsBackgroundColour",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -29898,8 +30713,8 @@ static PyObject *_wrap_wxWindow_InheritsBackgroundColour(PyObject *, PyObject *a } -static PyObject *_wrap_wxWindow_UseBgCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_UseBgCol(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -29907,7 +30722,7 @@ static PyObject *_wrap_wxWindow_UseBgCol(PyObject *, PyObject *args, PyObject *k (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_UseBgCol",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_UseBgCol",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -29926,8 +30741,8 @@ static PyObject *_wrap_wxWindow_UseBgCol(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxWindow_SetBackgroundStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetBackgroundStyle(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxBackgroundStyle arg2 ; bool result; @@ -29937,16 +30752,16 @@ static PyObject *_wrap_wxWindow_SetBackgroundStyle(PyObject *, PyObject *args, P (char *) "self",(char *) "style", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetBackgroundStyle",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundStyle",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxBackgroundStyle)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->SetBackgroundStyle((wxBackgroundStyle )arg2); + result = (bool)(arg1)->SetBackgroundStyle(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -29960,8 +30775,8 @@ static PyObject *_wrap_wxWindow_SetBackgroundStyle(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxWindow_GetBackgroundStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetBackgroundStyle(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxBackgroundStyle result; PyObject * obj0 = 0 ; @@ -29969,7 +30784,7 @@ static PyObject *_wrap_wxWindow_GetBackgroundStyle(PyObject *, PyObject *args, P (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetBackgroundStyle",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundStyle",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -29986,8 +30801,8 @@ static PyObject *_wrap_wxWindow_GetBackgroundStyle(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxWindow_HasTransparentBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_HasTransparentBackground(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -29995,7 +30810,7 @@ static PyObject *_wrap_wxWindow_HasTransparentBackground(PyObject *, PyObject *a (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_HasTransparentBackground",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasTransparentBackground",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -30014,8 +30829,8 @@ static PyObject *_wrap_wxWindow_HasTransparentBackground(PyObject *, PyObject *a } -static PyObject *_wrap_wxWindow_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxCursor *arg2 = 0 ; bool result; @@ -30025,7 +30840,7 @@ static PyObject *_wrap_wxWindow_SetCursor(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "cursor", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetCursor",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCursor",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -30052,8 +30867,8 @@ static PyObject *_wrap_wxWindow_SetCursor(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxWindow_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxCursor result; PyObject * obj0 = 0 ; @@ -30061,7 +30876,7 @@ static PyObject *_wrap_wxWindow_GetCursor(PyObject *, PyObject *args, PyObject * (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetCursor",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCursor",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -30073,7 +30888,7 @@ static PyObject *_wrap_wxWindow_GetCursor(PyObject *, PyObject *args, PyObject * } { wxCursor * resultptr; - resultptr = new wxCursor((wxCursor &)(result)); + resultptr = new wxCursor(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1); } return resultobj; @@ -30082,8 +30897,8 @@ static PyObject *_wrap_wxWindow_GetCursor(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxWindow_SetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetFont(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxFont *arg2 = 0 ; bool result; @@ -30093,7 +30908,7 @@ static PyObject *_wrap_wxWindow_SetFont(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "font", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetFont",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetFont",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -30120,8 +30935,8 @@ static PyObject *_wrap_wxWindow_SetFont(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxWindow_SetOwnFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetOwnFont(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxFont *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -30130,7 +30945,7 @@ static PyObject *_wrap_wxWindow_SetOwnFont(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "font", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetOwnFont",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetOwnFont",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -30155,8 +30970,8 @@ static PyObject *_wrap_wxWindow_SetOwnFont(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxWindow_GetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetFont(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxFont result; PyObject * obj0 = 0 ; @@ -30164,7 +30979,7 @@ static PyObject *_wrap_wxWindow_GetFont(PyObject *, PyObject *args, PyObject *kw (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetFont",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetFont",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -30176,7 +30991,7 @@ static PyObject *_wrap_wxWindow_GetFont(PyObject *, PyObject *args, PyObject *kw } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } return resultobj; @@ -30185,8 +31000,8 @@ static PyObject *_wrap_wxWindow_GetFont(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxWindow_SetCaret(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetCaret(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxCaret *arg2 = (wxCaret *) 0 ; PyObject * obj0 = 0 ; @@ -30195,10 +31010,10 @@ static PyObject *_wrap_wxWindow_SetCaret(PyObject *, PyObject *args, PyObject *k (char *) "self",(char *) "caret", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetCaret",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCaret",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; - SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0); + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(2)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -30214,8 +31029,8 @@ static PyObject *_wrap_wxWindow_SetCaret(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxWindow_GetCaret(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetCaret(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxCaret *result; PyObject * obj0 = 0 ; @@ -30223,7 +31038,7 @@ static PyObject *_wrap_wxWindow_GetCaret(PyObject *, PyObject *args, PyObject *k (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetCaret",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCaret",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -30240,8 +31055,8 @@ static PyObject *_wrap_wxWindow_GetCaret(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxWindow_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -30249,7 +31064,7 @@ static PyObject *_wrap_wxWindow_GetCharHeight(PyObject *, PyObject *args, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetCharHeight",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharHeight",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -30260,7 +31075,7 @@ static PyObject *_wrap_wxWindow_GetCharHeight(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -30268,8 +31083,8 @@ static PyObject *_wrap_wxWindow_GetCharHeight(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxWindow_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -30277,7 +31092,7 @@ static PyObject *_wrap_wxWindow_GetCharWidth(PyObject *, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetCharWidth",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharWidth",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -30288,7 +31103,7 @@ static PyObject *_wrap_wxWindow_GetCharWidth(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -30296,8 +31111,8 @@ static PyObject *_wrap_wxWindow_GetCharWidth(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxWindow_GetTextExtent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetTextExtent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; int *arg3 = (int *) 0 ; @@ -30315,7 +31130,7 @@ static PyObject *_wrap_wxWindow_GetTextExtent(PyObject *, PyObject *args, PyObje arg3 = &temp3; res3 = SWIG_NEWOBJ; arg4 = &temp4; res4 = SWIG_NEWOBJ; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_GetTextExtent",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetTextExtent",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -30349,8 +31164,8 @@ static PyObject *_wrap_wxWindow_GetTextExtent(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxWindow_GetFullTextExtent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetFullTextExtent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; int *arg3 = (int *) 0 ; @@ -30378,7 +31193,7 @@ static PyObject *_wrap_wxWindow_GetFullTextExtent(PyObject *, PyObject *args, Py arg4 = &temp4; res4 = SWIG_NEWOBJ; arg5 = &temp5; res5 = SWIG_NEWOBJ; arg6 = &temp6; res6 = SWIG_NEWOBJ; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:wxWindow_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -30420,8 +31235,8 @@ static PyObject *_wrap_wxWindow_GetFullTextExtent(PyObject *, PyObject *args, Py } -static PyObject *_wrap_wxWindow_ClientToScreenXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_ClientToScreenXY(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -30436,7 +31251,7 @@ static PyObject *_wrap_wxWindow_ClientToScreenXY(PyObject *, PyObject *args, PyO (char *) "self",(char *) "x",(char *) "y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxWindow_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -30473,8 +31288,8 @@ static PyObject *_wrap_wxWindow_ClientToScreenXY(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxWindow_ScreenToClientXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_ScreenToClientXY(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -30489,7 +31304,7 @@ static PyObject *_wrap_wxWindow_ScreenToClientXY(PyObject *, PyObject *args, PyO (char *) "self",(char *) "x",(char *) "y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxWindow_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -30526,8 +31341,8 @@ static PyObject *_wrap_wxWindow_ScreenToClientXY(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxWindow_ClientToScreen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_ClientToScreen(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; wxPoint result; @@ -30538,7 +31353,7 @@ static PyObject *_wrap_wxWindow_ClientToScreen(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_ClientToScreen",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ClientToScreen",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -30554,7 +31369,7 @@ static PyObject *_wrap_wxWindow_ClientToScreen(PyObject *, PyObject *args, PyObj } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -30563,8 +31378,8 @@ static PyObject *_wrap_wxWindow_ClientToScreen(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxWindow_ScreenToClient(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_ScreenToClient(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; wxPoint result; @@ -30575,7 +31390,7 @@ static PyObject *_wrap_wxWindow_ScreenToClient(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_ScreenToClient",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScreenToClient",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -30591,7 +31406,7 @@ static PyObject *_wrap_wxWindow_ScreenToClient(PyObject *, PyObject *args, PyObj } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -30600,8 +31415,8 @@ static PyObject *_wrap_wxWindow_ScreenToClient(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -30613,15 +31428,15 @@ static PyObject *_wrap_wxWindow_HitTestXY(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "x",(char *) "y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -30638,8 +31453,8 @@ static PyObject *_wrap_wxWindow_HitTestXY(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; wxHitTest result; @@ -30650,7 +31465,7 @@ static PyObject *_wrap_wxWindow_HitTest(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_HitTest",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HitTest",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -30671,19 +31486,19 @@ static PyObject *_wrap_wxWindow_HitTest(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxWindow_GetBorder__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetBorder__SWIG_0(PyObject *, PyObject *args) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long arg2 ; wxBorder result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; - if(!PyArg_ParseTuple(args,(char *)"OO:wxWindow_GetBorder",&obj0,&obj1)) goto fail; + if(!PyArg_ParseTuple(args,(char *)"OO:Window_GetBorder",&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -30700,13 +31515,13 @@ static PyObject *_wrap_wxWindow_GetBorder__SWIG_0(PyObject *, PyObject *args) { } -static PyObject *_wrap_wxWindow_GetBorder__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetBorder__SWIG_1(PyObject *, PyObject *args) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxBorder result; PyObject * obj0 = 0 ; - if(!PyArg_ParseTuple(args,(char *)"O:wxWindow_GetBorder",&obj0)) goto fail; + if(!PyArg_ParseTuple(args,(char *)"O:Window_GetBorder",&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -30723,7 +31538,7 @@ static PyObject *_wrap_wxWindow_GetBorder__SWIG_1(PyObject *, PyObject *args) { } -static PyObject *_wrap_wxWindow_GetBorder(PyObject *self, PyObject *args) { +static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; @@ -30744,7 +31559,7 @@ static PyObject *_wrap_wxWindow_GetBorder(PyObject *self, PyObject *args) { } } if (_v) { - return _wrap_wxWindow_GetBorder__SWIG_1(self,args); + return _wrap_Window_GetBorder__SWIG_1(self,args); } } if (argc == 2) { @@ -30761,18 +31576,18 @@ static PyObject *_wrap_wxWindow_GetBorder(PyObject *self, PyObject *args) { if (_v) { _v = SWIG_Check_long(argv[1]); if (_v) { - return _wrap_wxWindow_GetBorder__SWIG_0(self,args); + return _wrap_Window_GetBorder__SWIG_0(self,args); } } } - PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'wxWindow_GetBorder'"); + PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'Window_GetBorder'"); return NULL; } -static PyObject *_wrap_wxWindow_UpdateWindowUI(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_UpdateWindowUI(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long arg2 = (long) wxUPDATE_UI_NONE ; PyObject * obj0 = 0 ; @@ -30781,12 +31596,12 @@ static PyObject *_wrap_wxWindow_UpdateWindowUI(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "flags", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxWindow_UpdateWindowUI",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_UpdateWindowUI",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -30804,8 +31619,8 @@ static PyObject *_wrap_wxWindow_UpdateWindowUI(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxWindow_PopupMenuXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_PopupMenuXY(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; int arg3 = (int) -1 ; @@ -30819,20 +31634,20 @@ static PyObject *_wrap_wxWindow_PopupMenuXY(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:wxWindow_PopupMenuXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Window_PopupMenuXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -30852,8 +31667,8 @@ static PyObject *_wrap_wxWindow_PopupMenuXY(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxWindow_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -30867,7 +31682,7 @@ static PyObject *_wrap_wxWindow_PopupMenu(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "menu",(char *) "pos", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:wxWindow_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); @@ -30894,8 +31709,8 @@ static PyObject *_wrap_wxWindow_PopupMenu(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxWindow_GetHandle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetHandle(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long result; PyObject * obj0 = 0 ; @@ -30903,7 +31718,7 @@ static PyObject *_wrap_wxWindow_GetHandle(PyObject *, PyObject *args, PyObject * (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetHandle",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHandle",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -30914,7 +31729,7 @@ static PyObject *_wrap_wxWindow_GetHandle(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -30922,8 +31737,8 @@ static PyObject *_wrap_wxWindow_GetHandle(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxWindow_AssociateHandle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_AssociateHandle(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -30932,11 +31747,11 @@ static PyObject *_wrap_wxWindow_AssociateHandle(PyObject *, PyObject *args, PyOb (char *) "self",(char *) "handle", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_AssociateHandle",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AssociateHandle",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -30953,15 +31768,15 @@ static PyObject *_wrap_wxWindow_AssociateHandle(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxWindow_DissociateHandle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_DissociateHandle(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_DissociateHandle",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DissociateHandle",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -30978,8 +31793,8 @@ static PyObject *_wrap_wxWindow_DissociateHandle(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxWindow_HasScrollbar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_HasScrollbar(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; bool result; @@ -30989,11 +31804,11 @@ static PyObject *_wrap_wxWindow_HasScrollbar(PyObject *, PyObject *args, PyObjec (char *) "self",(char *) "orient", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_HasScrollbar",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasScrollbar",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -31012,8 +31827,8 @@ static PyObject *_wrap_wxWindow_HasScrollbar(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxWindow_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -31030,28 +31845,28 @@ static PyObject *_wrap_wxWindow_SetScrollbar(PyObject *, PyObject *args, PyObjec (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:wxWindow_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } if (obj5) { { - arg6 = (bool)(SWIG_As_bool(obj5)); + arg6 = static_cast(SWIG_As_bool(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -31069,8 +31884,8 @@ static PyObject *_wrap_wxWindow_SetScrollbar(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxWindow_SetScrollPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetScrollPos(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -31083,20 +31898,20 @@ static PyObject *_wrap_wxWindow_SetScrollPos(PyObject *, PyObject *args, PyObjec (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:wxWindow_SetScrollPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_SetScrollPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -31114,8 +31929,8 @@ static PyObject *_wrap_wxWindow_SetScrollPos(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxWindow_GetScrollPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetScrollPos(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int result; @@ -31125,11 +31940,11 @@ static PyObject *_wrap_wxWindow_GetScrollPos(PyObject *, PyObject *args, PyObjec (char *) "self",(char *) "orientation", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_GetScrollPos",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollPos",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -31140,7 +31955,7 @@ static PyObject *_wrap_wxWindow_GetScrollPos(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -31148,8 +31963,8 @@ static PyObject *_wrap_wxWindow_GetScrollPos(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxWindow_GetScrollThumb(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetScrollThumb(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int result; @@ -31159,11 +31974,11 @@ static PyObject *_wrap_wxWindow_GetScrollThumb(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "orientation", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_GetScrollThumb",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollThumb",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -31174,7 +31989,7 @@ static PyObject *_wrap_wxWindow_GetScrollThumb(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -31182,8 +31997,8 @@ static PyObject *_wrap_wxWindow_GetScrollThumb(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxWindow_GetScrollRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetScrollRange(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int result; @@ -31193,11 +32008,11 @@ static PyObject *_wrap_wxWindow_GetScrollRange(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "orientation", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_GetScrollRange",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollRange",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -31208,7 +32023,7 @@ static PyObject *_wrap_wxWindow_GetScrollRange(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -31216,8 +32031,8 @@ static PyObject *_wrap_wxWindow_GetScrollRange(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxWindow_ScrollWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_ScrollWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -31230,15 +32045,15 @@ static PyObject *_wrap_wxWindow_ScrollWindow(PyObject *, PyObject *args, PyObjec (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:wxWindow_ScrollWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_ScrollWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { @@ -31259,8 +32074,8 @@ static PyObject *_wrap_wxWindow_ScrollWindow(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; bool result; @@ -31270,11 +32085,11 @@ static PyObject *_wrap_wxWindow_ScrollLines(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "lines", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollLines",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -31293,8 +32108,8 @@ static PyObject *_wrap_wxWindow_ScrollLines(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; bool result; @@ -31304,11 +32119,11 @@ static PyObject *_wrap_wxWindow_ScrollPages(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "pages", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollPages",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -31327,8 +32142,8 @@ static PyObject *_wrap_wxWindow_ScrollPages(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxWindow_LineUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_LineUp(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -31336,7 +32151,7 @@ static PyObject *_wrap_wxWindow_LineUp(PyObject *, PyObject *args, PyObject *kwa (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_LineUp",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineUp",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -31355,8 +32170,8 @@ static PyObject *_wrap_wxWindow_LineUp(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxWindow_LineDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_LineDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -31364,7 +32179,7 @@ static PyObject *_wrap_wxWindow_LineDown(PyObject *, PyObject *args, PyObject *k (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_LineDown",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineDown",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -31383,8 +32198,8 @@ static PyObject *_wrap_wxWindow_LineDown(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxWindow_PageUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_PageUp(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -31392,7 +32207,7 @@ static PyObject *_wrap_wxWindow_PageUp(PyObject *, PyObject *args, PyObject *kwa (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_PageUp",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageUp",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -31411,8 +32226,8 @@ static PyObject *_wrap_wxWindow_PageUp(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxWindow_PageDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_PageDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -31420,7 +32235,7 @@ static PyObject *_wrap_wxWindow_PageDown(PyObject *, PyObject *args, PyObject *k (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_PageDown",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageDown",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -31439,8 +32254,8 @@ static PyObject *_wrap_wxWindow_PageDown(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxWindow_SetHelpText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetHelpText(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -31450,7 +32265,7 @@ static PyObject *_wrap_wxWindow_SetHelpText(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "text", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetHelpText",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpText",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -31480,8 +32295,8 @@ static PyObject *_wrap_wxWindow_SetHelpText(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxWindow_SetHelpTextForId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetHelpTextForId(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -31491,7 +32306,7 @@ static PyObject *_wrap_wxWindow_SetHelpTextForId(PyObject *, PyObject *args, PyO (char *) "self",(char *) "text", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -31521,8 +32336,8 @@ static PyObject *_wrap_wxWindow_SetHelpTextForId(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxWindow_GetHelpText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetHelpText(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -31530,7 +32345,7 @@ static PyObject *_wrap_wxWindow_GetHelpText(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetHelpText",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHelpText",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -31553,8 +32368,8 @@ static PyObject *_wrap_wxWindow_GetHelpText(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxWindow_SetToolTipString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetToolTipString(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -31564,7 +32379,7 @@ static PyObject *_wrap_wxWindow_SetToolTipString(PyObject *, PyObject *args, PyO (char *) "self",(char *) "tip", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetToolTipString",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTipString",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -31594,8 +32409,8 @@ static PyObject *_wrap_wxWindow_SetToolTipString(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxWindow_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxToolTip *arg2 = (wxToolTip *) 0 ; PyObject * obj0 = 0 ; @@ -31604,10 +32419,10 @@ static PyObject *_wrap_wxWindow_SetToolTip(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "tip", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetToolTip",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTip",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; - SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | 0); + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(2)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -31623,8 +32438,8 @@ static PyObject *_wrap_wxWindow_SetToolTip(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxWindow_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxToolTip *result; PyObject * obj0 = 0 ; @@ -31632,7 +32447,7 @@ static PyObject *_wrap_wxWindow_GetToolTip(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetToolTip",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetToolTip",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -31643,7 +32458,7 @@ static PyObject *_wrap_wxWindow_GetToolTip(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -31651,8 +32466,8 @@ static PyObject *_wrap_wxWindow_GetToolTip(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxWindow_SetDropTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetDropTarget(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPyDropTarget *arg2 = (wxPyDropTarget *) 0 ; PyObject * obj0 = 0 ; @@ -31661,7 +32476,7 @@ static PyObject *_wrap_wxWindow_SetDropTarget(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "dropTarget", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetDropTarget",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDropTarget",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); @@ -31680,8 +32495,8 @@ static PyObject *_wrap_wxWindow_SetDropTarget(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxWindow_GetDropTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetDropTarget(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPyDropTarget *result; PyObject * obj0 = 0 ; @@ -31689,7 +32504,7 @@ static PyObject *_wrap_wxWindow_GetDropTarget(PyObject *, PyObject *args, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetDropTarget",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDropTarget",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -31706,8 +32521,39 @@ static PyObject *_wrap_wxWindow_GetDropTarget(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxWindow_SetConstraints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_DragAcceptFiles(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxWindow *arg1 = (wxWindow *) 0 ; + bool arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "accept", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DragAcceptFiles",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = static_cast(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + wxWindow_DragAcceptFiles(arg1,arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Window_SetConstraints(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ; PyObject * obj0 = 0 ; @@ -31716,7 +32562,7 @@ static PyObject *_wrap_wxWindow_SetConstraints(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "constraints", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetConstraints",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetConstraints",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0); @@ -31735,8 +32581,8 @@ static PyObject *_wrap_wxWindow_SetConstraints(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxWindow_GetConstraints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetConstraints(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxLayoutConstraints *result; PyObject * obj0 = 0 ; @@ -31744,7 +32590,7 @@ static PyObject *_wrap_wxWindow_GetConstraints(PyObject *, PyObject *args, PyObj (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetConstraints",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetConstraints",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -31761,8 +32607,8 @@ static PyObject *_wrap_wxWindow_GetConstraints(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxWindow_SetAutoLayout(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetAutoLayout(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -31771,11 +32617,11 @@ static PyObject *_wrap_wxWindow_SetAutoLayout(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "autoLayout", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -31792,8 +32638,8 @@ static PyObject *_wrap_wxWindow_SetAutoLayout(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxWindow_GetAutoLayout(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetAutoLayout(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -31801,7 +32647,7 @@ static PyObject *_wrap_wxWindow_GetAutoLayout(PyObject *, PyObject *args, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetAutoLayout",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAutoLayout",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -31820,8 +32666,8 @@ static PyObject *_wrap_wxWindow_GetAutoLayout(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxWindow_Layout(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_Layout(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -31829,7 +32675,7 @@ static PyObject *_wrap_wxWindow_Layout(PyObject *, PyObject *args, PyObject *kwa (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_Layout",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Layout",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -31848,8 +32694,8 @@ static PyObject *_wrap_wxWindow_Layout(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxWindow_SetSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetSizer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; bool arg3 = (bool) true ; @@ -31860,14 +32706,14 @@ static PyObject *_wrap_wxWindow_SetSizer(PyObject *, PyObject *args, PyObject *k (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:wxWindow_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; - SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -31885,8 +32731,8 @@ static PyObject *_wrap_wxWindow_SetSizer(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxWindow_SetSizerAndFit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetSizerAndFit(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; bool arg3 = (bool) true ; @@ -31897,14 +32743,14 @@ static PyObject *_wrap_wxWindow_SetSizerAndFit(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:wxWindow_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; - SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -31922,8 +32768,8 @@ static PyObject *_wrap_wxWindow_SetSizerAndFit(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxWindow_GetSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetSizer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSizer *result; PyObject * obj0 = 0 ; @@ -31931,7 +32777,7 @@ static PyObject *_wrap_wxWindow_GetSizer(PyObject *, PyObject *args, PyObject *k (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetSizer",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizer",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -31942,7 +32788,7 @@ static PyObject *_wrap_wxWindow_GetSizer(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxSizer(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -31950,8 +32796,8 @@ static PyObject *_wrap_wxWindow_GetSizer(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxWindow_SetContainingSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_SetContainingSizer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; PyObject * obj0 = 0 ; @@ -31960,7 +32806,7 @@ static PyObject *_wrap_wxWindow_SetContainingSizer(PyObject *, PyObject *args, P (char *) "self",(char *) "sizer", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); @@ -31979,8 +32825,8 @@ static PyObject *_wrap_wxWindow_SetContainingSizer(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxWindow_GetContainingSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetContainingSizer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSizer *result; PyObject * obj0 = 0 ; @@ -31988,7 +32834,7 @@ static PyObject *_wrap_wxWindow_GetContainingSizer(PyObject *, PyObject *args, P (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_GetContainingSizer",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetContainingSizer",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -31999,7 +32845,7 @@ static PyObject *_wrap_wxWindow_GetContainingSizer(PyObject *, PyObject *args, P if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxSizer(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -32007,15 +32853,15 @@ static PyObject *_wrap_wxWindow_GetContainingSizer(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxWindow_InheritAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_InheritAttributes(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_InheritAttributes",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InheritAttributes",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -32032,8 +32878,8 @@ static PyObject *_wrap_wxWindow_InheritAttributes(PyObject *, PyObject *args, Py } -static PyObject *_wrap_wxWindow_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32041,7 +32887,7 @@ static PyObject *_wrap_wxWindow_ShouldInheritColours(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxWindow_ShouldInheritColours",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ShouldInheritColours",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -32060,15 +32906,15 @@ static PyObject *_wrap_wxWindow_ShouldInheritColours(PyObject *, PyObject *args, } -static PyObject * wxWindow_swigregister(PyObject *, PyObject *args) { +static PyObject * Window_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxWindow, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_wxFindWindowById(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FindWindowById(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; long arg1 ; wxWindow *arg2 = (wxWindow *) NULL ; wxWindow *result; @@ -32078,9 +32924,9 @@ static PyObject *_wrap_wxFindWindowById(PyObject *, PyObject *args, PyObject *kw (char *) "id",(char *) "parent", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxFindWindowById",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowById",kwnames,&obj0,&obj1)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } if (obj1) { @@ -32104,8 +32950,8 @@ static PyObject *_wrap_wxFindWindowById(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxFindWindowByName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FindWindowByName(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxWindow *arg2 = (wxWindow *) NULL ; wxWindow *result; @@ -32116,7 +32962,7 @@ static PyObject *_wrap_wxFindWindowByName(PyObject *, PyObject *args, PyObject * (char *) "name",(char *) "parent", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxFindWindowByName",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByName",kwnames,&obj0,&obj1)) goto fail; { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; @@ -32151,8 +32997,8 @@ static PyObject *_wrap_wxFindWindowByName(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxFindWindowByLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FindWindowByLabel(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxWindow *arg2 = (wxWindow *) NULL ; wxWindow *result; @@ -32163,7 +33009,7 @@ static PyObject *_wrap_wxFindWindowByLabel(PyObject *, PyObject *args, PyObject (char *) "label",(char *) "parent", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxFindWindowByLabel",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByLabel",kwnames,&obj0,&obj1)) goto fail; { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; @@ -32198,8 +33044,8 @@ static PyObject *_wrap_wxFindWindowByLabel(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxWindow_FromHWND(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_FromHWND(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; unsigned long arg2 ; wxWindow *result; @@ -32209,11 +33055,11 @@ static PyObject *_wrap_wxWindow_FromHWND(PyObject *, PyObject *args, PyObject *k (char *) "parent",(char *) "_hWnd", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxWindow_FromHWND",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FromHWND",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -32232,14 +33078,36 @@ static PyObject *_wrap_wxWindow_FromHWND(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_new_wxValidator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GetTopLevelWindows(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + PyObject *result; + char *kwnames[] = { + NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetTopLevelWindows",kwnames)) goto fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (PyObject *)GetTopLevelWindows(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = result; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_new_Validator(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxValidator *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_wxValidator",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Validator",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxValidator *)new wxValidator(); @@ -32254,8 +33122,8 @@ static PyObject *_wrap_new_wxValidator(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxValidator_Clone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Validator_Clone(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxValidator *arg1 = (wxValidator *) 0 ; wxValidator *result; PyObject * obj0 = 0 ; @@ -32263,7 +33131,7 @@ static PyObject *_wrap_wxValidator_Clone(PyObject *, PyObject *args, PyObject *k (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxValidator_Clone",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_Clone",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -32282,8 +33150,8 @@ static PyObject *_wrap_wxValidator_Clone(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxValidator_Validate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Validator_Validate(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxValidator *arg1 = (wxValidator *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; bool result; @@ -32293,7 +33161,7 @@ static PyObject *_wrap_wxValidator_Validate(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "parent", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxValidator_Validate",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_Validate",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -32314,8 +33182,8 @@ static PyObject *_wrap_wxValidator_Validate(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxValidator_TransferToWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Validator_TransferToWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxValidator *arg1 = (wxValidator *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32323,7 +33191,7 @@ static PyObject *_wrap_wxValidator_TransferToWindow(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxValidator_TransferToWindow",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferToWindow",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -32342,8 +33210,8 @@ static PyObject *_wrap_wxValidator_TransferToWindow(PyObject *, PyObject *args, } -static PyObject *_wrap_wxValidator_TransferFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Validator_TransferFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxValidator *arg1 = (wxValidator *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32351,7 +33219,7 @@ static PyObject *_wrap_wxValidator_TransferFromWindow(PyObject *, PyObject *args (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxValidator_TransferFromWindow",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferFromWindow",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -32370,8 +33238,8 @@ static PyObject *_wrap_wxValidator_TransferFromWindow(PyObject *, PyObject *args } -static PyObject *_wrap_wxValidator_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Validator_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxValidator *arg1 = (wxValidator *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -32379,7 +33247,7 @@ static PyObject *_wrap_wxValidator_GetWindow(PyObject *, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxValidator_GetWindow",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_GetWindow",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -32398,8 +33266,8 @@ static PyObject *_wrap_wxValidator_GetWindow(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxValidator_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Validator_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxValidator *arg1 = (wxValidator *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -32408,7 +33276,7 @@ static PyObject *_wrap_wxValidator_SetWindow(PyObject *, PyObject *args, PyObjec (char *) "self",(char *) "window", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxValidator_SetWindow",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_SetWindow",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -32427,14 +33295,14 @@ static PyObject *_wrap_wxValidator_SetWindow(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxValidator_IsSilent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Validator_IsSilent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":wxValidator_IsSilent",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Validator_IsSilent",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (bool)wxValidator::IsSilent(); @@ -32451,18 +33319,18 @@ static PyObject *_wrap_wxValidator_IsSilent(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxValidator_SetBellOnError(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Validator_SetBellOnError(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; int arg1 = (int) true ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "doIt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:wxValidator_SetBellOnError",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Validator_SetBellOnError",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -32480,21 +33348,21 @@ static PyObject *_wrap_wxValidator_SetBellOnError(PyObject *, PyObject *args, Py } -static PyObject * wxValidator_swigregister(PyObject *, PyObject *args) { +static PyObject * Validator_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxValidator, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxPyValidator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_PyValidator(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyValidator *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_wxPyValidator",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyValidator",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxPyValidator *)new wxPyValidator(); @@ -32509,8 +33377,8 @@ static PyObject *_wrap_new_wxPyValidator(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxPyValidator__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyValidator *arg1 = (wxPyValidator *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -32523,14 +33391,14 @@ static PyObject *_wrap_wxPyValidator__setCallbackInfo(PyObject *, PyObject *args (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:wxPyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyValidator, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; arg2 = obj1; arg3 = obj2; if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -32548,29 +33416,29 @@ static PyObject *_wrap_wxPyValidator__setCallbackInfo(PyObject *, PyObject *args } -static PyObject * wxPyValidator_swigregister(PyObject *, PyObject *args) { +static PyObject * PyValidator_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static int _wrap_wxDefaultValidator_set(PyObject *) { - PyErr_SetString(PyExc_TypeError,"Variable wxDefaultValidator is read-only."); +static int _wrap_DefaultValidator_set(PyObject *) { + PyErr_SetString(PyExc_TypeError,"Variable DefaultValidator is read-only."); return 1; } -static PyObject *_wrap_wxDefaultValidator_get(void) { - PyObject *pyobj; +static PyObject *_wrap_DefaultValidator_get(void) { + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxDefaultValidator), SWIGTYPE_p_wxValidator, 0); return pyobj; } -static PyObject *_wrap_new_wxMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_Menu(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; long arg2 = (long) 0 ; @@ -32582,7 +33450,7 @@ static PyObject *_wrap_new_wxMenu(PyObject *, PyObject *args, PyObject *kwargs) (char *) "title",(char *) "style", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_wxMenu",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Menu",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { arg1 = wxString_in_helper(obj0); @@ -32592,7 +33460,7 @@ static PyObject *_wrap_new_wxMenu(PyObject *, PyObject *args, PyObject *kwargs) } if (obj1) { { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -32619,8 +33487,8 @@ static PyObject *_wrap_new_wxMenu(PyObject *, PyObject *args, PyObject *kwargs) } -static PyObject *_wrap_wxMenu_Append(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_Append(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -32639,11 +33507,11 @@ static PyObject *_wrap_wxMenu_Append(PyObject *, PyObject *args, PyObject *kwarg (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:wxMenu_Append",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Append",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -32660,19 +33528,19 @@ static PyObject *_wrap_wxMenu_Append(PyObject *, PyObject *args, PyObject *kwarg } if (obj4) { { - arg5 = (wxItemKind)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5); + result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } { if (temp3) @@ -32696,8 +33564,8 @@ static PyObject *_wrap_wxMenu_Append(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxMenu_AppendSeparator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_AppendSeparator(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuItem *result; PyObject * obj0 = 0 ; @@ -32705,7 +33573,7 @@ static PyObject *_wrap_wxMenu_AppendSeparator(PyObject *, PyObject *args, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenu_AppendSeparator",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_AppendSeparator",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -32716,7 +33584,7 @@ static PyObject *_wrap_wxMenu_AppendSeparator(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -32724,8 +33592,8 @@ static PyObject *_wrap_wxMenu_AppendSeparator(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxMenu_AppendCheckItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_AppendCheckItem(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -32742,11 +33610,11 @@ static PyObject *_wrap_wxMenu_AppendCheckItem(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:wxMenu_AppendCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -32769,7 +33637,7 @@ static PyObject *_wrap_wxMenu_AppendCheckItem(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } { if (temp3) @@ -32793,8 +33661,8 @@ static PyObject *_wrap_wxMenu_AppendCheckItem(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxMenu_AppendRadioItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_AppendRadioItem(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -32811,11 +33679,11 @@ static PyObject *_wrap_wxMenu_AppendRadioItem(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:wxMenu_AppendRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -32838,7 +33706,7 @@ static PyObject *_wrap_wxMenu_AppendRadioItem(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } { if (temp3) @@ -32862,8 +33730,8 @@ static PyObject *_wrap_wxMenu_AppendRadioItem(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxMenu_AppendMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_AppendMenu(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -32882,11 +33750,11 @@ static PyObject *_wrap_wxMenu_AppendMenu(PyObject *, PyObject *args, PyObject *k (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:wxMenu_AppendMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_AppendMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -32911,7 +33779,7 @@ static PyObject *_wrap_wxMenu_AppendMenu(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } { if (temp3) @@ -32935,8 +33803,8 @@ static PyObject *_wrap_wxMenu_AppendMenu(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxMenu_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuItem *arg2 = (wxMenuItem *) 0 ; wxMenuItem *result; @@ -32946,7 +33814,7 @@ static PyObject *_wrap_wxMenu_AppendItem(PyObject *, PyObject *args, PyObject *k (char *) "self",(char *) "item", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenu_AppendItem",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_AppendItem",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); @@ -32959,7 +33827,7 @@ static PyObject *_wrap_wxMenu_AppendItem(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -32967,15 +33835,15 @@ static PyObject *_wrap_wxMenu_AppendItem(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxMenu_Break(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_Break(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenu_Break",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Break",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -32992,8 +33860,8 @@ static PyObject *_wrap_wxMenu_Break(PyObject *, PyObject *args, PyObject *kwargs } -static PyObject *_wrap_wxMenu_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t arg2 ; wxMenuItem *arg3 = (wxMenuItem *) 0 ; @@ -33005,11 +33873,11 @@ static PyObject *_wrap_wxMenu_InsertItem(PyObject *, PyObject *args, PyObject *k (char *) "self",(char *) "pos",(char *) "item", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxMenu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); @@ -33022,7 +33890,7 @@ static PyObject *_wrap_wxMenu_InsertItem(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -33030,8 +33898,8 @@ static PyObject *_wrap_wxMenu_InsertItem(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxMenu_Insert(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_Insert(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t arg2 ; int arg3 ; @@ -33052,15 +33920,15 @@ static PyObject *_wrap_wxMenu_Insert(PyObject *, PyObject *args, PyObject *kwarg (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:wxMenu_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Menu_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -33077,19 +33945,19 @@ static PyObject *_wrap_wxMenu_Insert(PyObject *, PyObject *args, PyObject *kwarg } if (obj5) { { - arg6 = (wxItemKind)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6); + result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } { if (temp4) @@ -33113,8 +33981,8 @@ static PyObject *_wrap_wxMenu_Insert(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxMenu_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t arg2 ; wxMenuItem *result; @@ -33124,11 +33992,11 @@ static PyObject *_wrap_wxMenu_InsertSeparator(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "pos", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -33139,7 +34007,7 @@ static PyObject *_wrap_wxMenu_InsertSeparator(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -33147,8 +34015,8 @@ static PyObject *_wrap_wxMenu_InsertSeparator(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxMenu_InsertCheckItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_InsertCheckItem(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t arg2 ; int arg3 ; @@ -33167,15 +34035,15 @@ static PyObject *_wrap_wxMenu_InsertCheckItem(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:wxMenu_InsertCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -33198,7 +34066,7 @@ static PyObject *_wrap_wxMenu_InsertCheckItem(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } { if (temp4) @@ -33222,8 +34090,8 @@ static PyObject *_wrap_wxMenu_InsertCheckItem(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxMenu_InsertRadioItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_InsertRadioItem(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t arg2 ; int arg3 ; @@ -33242,15 +34110,15 @@ static PyObject *_wrap_wxMenu_InsertRadioItem(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:wxMenu_InsertRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -33273,7 +34141,7 @@ static PyObject *_wrap_wxMenu_InsertRadioItem(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } { if (temp4) @@ -33297,8 +34165,8 @@ static PyObject *_wrap_wxMenu_InsertRadioItem(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxMenu_InsertMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_InsertMenu(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t arg2 ; int arg3 ; @@ -33319,15 +34187,15 @@ static PyObject *_wrap_wxMenu_InsertMenu(PyObject *, PyObject *args, PyObject *k (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:wxMenu_InsertMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Menu_InsertMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -33352,7 +34220,7 @@ static PyObject *_wrap_wxMenu_InsertMenu(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } { if (temp4) @@ -33376,8 +34244,8 @@ static PyObject *_wrap_wxMenu_InsertMenu(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxMenu_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuItem *arg2 = (wxMenuItem *) 0 ; wxMenuItem *result; @@ -33387,7 +34255,7 @@ static PyObject *_wrap_wxMenu_PrependItem(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "item", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenu_PrependItem",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_PrependItem",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); @@ -33400,7 +34268,7 @@ static PyObject *_wrap_wxMenu_PrependItem(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -33408,8 +34276,8 @@ static PyObject *_wrap_wxMenu_PrependItem(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxMenu_Prepend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_Prepend(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -33428,11 +34296,11 @@ static PyObject *_wrap_wxMenu_Prepend(PyObject *, PyObject *args, PyObject *kwar (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:wxMenu_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -33449,19 +34317,19 @@ static PyObject *_wrap_wxMenu_Prepend(PyObject *, PyObject *args, PyObject *kwar } if (obj4) { { - arg5 = (wxItemKind)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5); + result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } { if (temp3) @@ -33485,8 +34353,8 @@ static PyObject *_wrap_wxMenu_Prepend(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxMenu_PrependSeparator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_PrependSeparator(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuItem *result; PyObject * obj0 = 0 ; @@ -33494,7 +34362,7 @@ static PyObject *_wrap_wxMenu_PrependSeparator(PyObject *, PyObject *args, PyObj (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenu_PrependSeparator",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_PrependSeparator",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -33505,7 +34373,7 @@ static PyObject *_wrap_wxMenu_PrependSeparator(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -33513,8 +34381,8 @@ static PyObject *_wrap_wxMenu_PrependSeparator(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxMenu_PrependCheckItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_PrependCheckItem(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -33531,11 +34399,11 @@ static PyObject *_wrap_wxMenu_PrependCheckItem(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:wxMenu_PrependCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -33558,7 +34426,7 @@ static PyObject *_wrap_wxMenu_PrependCheckItem(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } { if (temp3) @@ -33582,8 +34450,8 @@ static PyObject *_wrap_wxMenu_PrependCheckItem(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxMenu_PrependRadioItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_PrependRadioItem(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -33600,11 +34468,11 @@ static PyObject *_wrap_wxMenu_PrependRadioItem(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:wxMenu_PrependRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -33627,7 +34495,7 @@ static PyObject *_wrap_wxMenu_PrependRadioItem(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } { if (temp3) @@ -33651,8 +34519,8 @@ static PyObject *_wrap_wxMenu_PrependRadioItem(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxMenu_PrependMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_PrependMenu(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -33671,11 +34539,11 @@ static PyObject *_wrap_wxMenu_PrependMenu(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:wxMenu_PrependMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_PrependMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -33700,7 +34568,7 @@ static PyObject *_wrap_wxMenu_PrependMenu(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } { if (temp3) @@ -33724,8 +34592,8 @@ static PyObject *_wrap_wxMenu_PrependMenu(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxMenu_Remove(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_Remove(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxMenuItem *result; @@ -33735,11 +34603,11 @@ static PyObject *_wrap_wxMenu_Remove(PyObject *, PyObject *args, PyObject *kwarg (char *) "self",(char *) "id", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenu_Remove",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Remove",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -33750,7 +34618,7 @@ static PyObject *_wrap_wxMenu_Remove(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -33758,8 +34626,8 @@ static PyObject *_wrap_wxMenu_Remove(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxMenu_RemoveItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_RemoveItem(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuItem *arg2 = (wxMenuItem *) 0 ; wxMenuItem *result; @@ -33769,7 +34637,7 @@ static PyObject *_wrap_wxMenu_RemoveItem(PyObject *, PyObject *args, PyObject *k (char *) "self",(char *) "item", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenu_RemoveItem",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_RemoveItem",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); @@ -33782,7 +34650,7 @@ static PyObject *_wrap_wxMenu_RemoveItem(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -33790,8 +34658,8 @@ static PyObject *_wrap_wxMenu_RemoveItem(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxMenu_Delete(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_Delete(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; bool result; @@ -33801,11 +34669,11 @@ static PyObject *_wrap_wxMenu_Delete(PyObject *, PyObject *args, PyObject *kwarg (char *) "self",(char *) "id", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenu_Delete",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Delete",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -33824,8 +34692,8 @@ static PyObject *_wrap_wxMenu_Delete(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxMenu_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuItem *arg2 = (wxMenuItem *) 0 ; bool result; @@ -33835,7 +34703,7 @@ static PyObject *_wrap_wxMenu_DeleteItem(PyObject *, PyObject *args, PyObject *k (char *) "self",(char *) "item", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenu_DeleteItem",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DeleteItem",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); @@ -33856,15 +34724,15 @@ static PyObject *_wrap_wxMenu_DeleteItem(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxMenu_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenu_Destroy",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Destroy",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -33881,8 +34749,8 @@ static PyObject *_wrap_wxMenu_Destroy(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxMenu_DestroyId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_DestroyId(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; bool result; @@ -33892,11 +34760,11 @@ static PyObject *_wrap_wxMenu_DestroyId(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "id", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenu_DestroyId",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyId",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -33915,8 +34783,8 @@ static PyObject *_wrap_wxMenu_DestroyId(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxMenu_DestroyItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_DestroyItem(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuItem *arg2 = (wxMenuItem *) 0 ; bool result; @@ -33926,7 +34794,7 @@ static PyObject *_wrap_wxMenu_DestroyItem(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "item", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenu_DestroyItem",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyItem",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); @@ -33947,8 +34815,8 @@ static PyObject *_wrap_wxMenu_DestroyItem(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxMenu_GetMenuItemCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -33956,7 +34824,7 @@ static PyObject *_wrap_wxMenu_GetMenuItemCount(PyObject *, PyObject *args, PyObj (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenu_GetMenuItemCount",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItemCount",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -33967,7 +34835,7 @@ static PyObject *_wrap_wxMenu_GetMenuItemCount(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -33975,8 +34843,8 @@ static PyObject *_wrap_wxMenu_GetMenuItemCount(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxMenu_GetMenuItems(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_GetMenuItems(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -33984,7 +34852,7 @@ static PyObject *_wrap_wxMenu_GetMenuItems(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenu_GetMenuItems",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItems",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -34001,8 +34869,8 @@ static PyObject *_wrap_wxMenu_GetMenuItems(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxMenu_FindItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_FindItem(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxString *arg2 = 0 ; int result; @@ -34013,7 +34881,7 @@ static PyObject *_wrap_wxMenu_FindItem(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "item", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenu_FindItem",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItem",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -34029,7 +34897,7 @@ static PyObject *_wrap_wxMenu_FindItem(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -34045,8 +34913,8 @@ static PyObject *_wrap_wxMenu_FindItem(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxMenu_FindItemById(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_FindItemById(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxMenuItem *result; @@ -34056,11 +34924,11 @@ static PyObject *_wrap_wxMenu_FindItemById(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "id", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenu_FindItemById",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemById",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34071,7 +34939,7 @@ static PyObject *_wrap_wxMenu_FindItemById(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -34079,8 +34947,8 @@ static PyObject *_wrap_wxMenu_FindItemById(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxMenu_FindItemByPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_FindItemByPosition(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t arg2 ; wxMenuItem *result; @@ -34090,11 +34958,11 @@ static PyObject *_wrap_wxMenu_FindItemByPosition(PyObject *, PyObject *args, PyO (char *) "self",(char *) "position", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34105,7 +34973,7 @@ static PyObject *_wrap_wxMenu_FindItemByPosition(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -34113,8 +34981,8 @@ static PyObject *_wrap_wxMenu_FindItemByPosition(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxMenu_Enable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_Enable(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; bool arg3 ; @@ -34125,15 +34993,15 @@ static PyObject *_wrap_wxMenu_Enable(PyObject *, PyObject *args, PyObject *kwarg (char *) "self",(char *) "id",(char *) "enable", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxMenu_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -34150,8 +35018,8 @@ static PyObject *_wrap_wxMenu_Enable(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxMenu_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; bool result; @@ -34161,11 +35029,11 @@ static PyObject *_wrap_wxMenu_IsEnabled(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "id", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenu_IsEnabled",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsEnabled",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34184,8 +35052,8 @@ static PyObject *_wrap_wxMenu_IsEnabled(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxMenu_Check(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_Check(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; bool arg3 ; @@ -34196,15 +35064,15 @@ static PyObject *_wrap_wxMenu_Check(PyObject *, PyObject *args, PyObject *kwargs (char *) "self",(char *) "id",(char *) "check", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxMenu_Check",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Check",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -34221,8 +35089,8 @@ static PyObject *_wrap_wxMenu_Check(PyObject *, PyObject *args, PyObject *kwargs } -static PyObject *_wrap_wxMenu_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; bool result; @@ -34232,11 +35100,11 @@ static PyObject *_wrap_wxMenu_IsChecked(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "id", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenu_IsChecked",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsChecked",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34255,8 +35123,8 @@ static PyObject *_wrap_wxMenu_IsChecked(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxMenu_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -34268,11 +35136,11 @@ static PyObject *_wrap_wxMenu_SetLabel(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "id",(char *) "label", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxMenu_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34302,8 +35170,8 @@ static PyObject *_wrap_wxMenu_SetLabel(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxMenu_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString result; @@ -34313,11 +35181,11 @@ static PyObject *_wrap_wxMenu_GetLabel(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "id", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenu_GetLabel",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetLabel",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34340,8 +35208,8 @@ static PyObject *_wrap_wxMenu_GetLabel(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxMenu_SetHelpString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_SetHelpString(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -34353,11 +35221,11 @@ static PyObject *_wrap_wxMenu_SetHelpString(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "id",(char *) "helpString", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxMenu_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34387,8 +35255,8 @@ static PyObject *_wrap_wxMenu_SetHelpString(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxMenu_GetHelpString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_GetHelpString(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString result; @@ -34398,11 +35266,11 @@ static PyObject *_wrap_wxMenu_GetHelpString(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "id", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenu_GetHelpString",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetHelpString",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -34425,8 +35293,8 @@ static PyObject *_wrap_wxMenu_GetHelpString(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxMenu_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -34436,7 +35304,7 @@ static PyObject *_wrap_wxMenu_SetTitle(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "title", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenu_SetTitle",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetTitle",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -34466,8 +35334,8 @@ static PyObject *_wrap_wxMenu_SetTitle(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxMenu_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -34475,7 +35343,7 @@ static PyObject *_wrap_wxMenu_GetTitle(PyObject *, PyObject *args, PyObject *kwa (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenu_GetTitle",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetTitle",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -34498,8 +35366,8 @@ static PyObject *_wrap_wxMenu_GetTitle(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxMenu_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxEvtHandler *arg2 = (wxEvtHandler *) 0 ; PyObject * obj0 = 0 ; @@ -34508,7 +35376,7 @@ static PyObject *_wrap_wxMenu_SetEventHandler(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "handler", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0); @@ -34527,8 +35395,8 @@ static PyObject *_wrap_wxMenu_SetEventHandler(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxMenu_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxEvtHandler *result; PyObject * obj0 = 0 ; @@ -34536,7 +35404,7 @@ static PyObject *_wrap_wxMenu_GetEventHandler(PyObject *, PyObject *args, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenu_GetEventHandler",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetEventHandler",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -34555,8 +35423,8 @@ static PyObject *_wrap_wxMenu_GetEventHandler(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxMenu_SetInvokingWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -34565,7 +35433,7 @@ static PyObject *_wrap_wxMenu_SetInvokingWindow(PyObject *, PyObject *args, PyOb (char *) "self",(char *) "win", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -34584,8 +35452,8 @@ static PyObject *_wrap_wxMenu_SetInvokingWindow(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxMenu_GetInvokingWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -34593,7 +35461,7 @@ static PyObject *_wrap_wxMenu_GetInvokingWindow(PyObject *, PyObject *args, PyOb (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenu_GetInvokingWindow",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetInvokingWindow",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -34612,8 +35480,8 @@ static PyObject *_wrap_wxMenu_GetInvokingWindow(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxMenu_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; long result; PyObject * obj0 = 0 ; @@ -34621,7 +35489,7 @@ static PyObject *_wrap_wxMenu_GetStyle(PyObject *, PyObject *args, PyObject *kwa (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenu_GetStyle",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetStyle",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -34632,7 +35500,7 @@ static PyObject *_wrap_wxMenu_GetStyle(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -34640,8 +35508,8 @@ static PyObject *_wrap_wxMenu_GetStyle(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxMenu_UpdateUI(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_UpdateUI(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxEvtHandler *arg2 = (wxEvtHandler *) NULL ; PyObject * obj0 = 0 ; @@ -34650,7 +35518,7 @@ static PyObject *_wrap_wxMenu_UpdateUI(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "source", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxMenu_UpdateUI",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Menu_UpdateUI",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { @@ -34671,8 +35539,8 @@ static PyObject *_wrap_wxMenu_UpdateUI(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxMenu_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuBar *result; PyObject * obj0 = 0 ; @@ -34680,7 +35548,7 @@ static PyObject *_wrap_wxMenu_GetMenuBar(PyObject *, PyObject *args, PyObject *k (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenu_GetMenuBar",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuBar",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -34691,7 +35559,7 @@ static PyObject *_wrap_wxMenu_GetMenuBar(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -34699,8 +35567,8 @@ static PyObject *_wrap_wxMenu_GetMenuBar(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxMenu_Attach(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_Attach(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ; PyObject * obj0 = 0 ; @@ -34709,7 +35577,7 @@ static PyObject *_wrap_wxMenu_Attach(PyObject *, PyObject *args, PyObject *kwarg (char *) "self",(char *) "menubar", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenu_Attach",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Attach",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBarBase, SWIG_POINTER_EXCEPTION | 0); @@ -34728,15 +35596,15 @@ static PyObject *_wrap_wxMenu_Attach(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxMenu_Detach(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_Detach(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenu_Detach",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Detach",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -34753,8 +35621,8 @@ static PyObject *_wrap_wxMenu_Detach(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxMenu_IsAttached(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_IsAttached(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -34762,7 +35630,7 @@ static PyObject *_wrap_wxMenu_IsAttached(PyObject *, PyObject *args, PyObject *k (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenu_IsAttached",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_IsAttached",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -34781,8 +35649,8 @@ static PyObject *_wrap_wxMenu_IsAttached(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxMenu_SetParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_SetParent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; @@ -34791,7 +35659,7 @@ static PyObject *_wrap_wxMenu_SetParent(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "parent", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenu_SetParent",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetParent",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); @@ -34810,8 +35678,8 @@ static PyObject *_wrap_wxMenu_SetParent(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxMenu_GetParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Menu_GetParent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenu *result; PyObject * obj0 = 0 ; @@ -34819,7 +35687,7 @@ static PyObject *_wrap_wxMenu_GetParent(PyObject *, PyObject *args, PyObject *kw (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenu_GetParent",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetParent",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -34838,15 +35706,15 @@ static PyObject *_wrap_wxMenu_GetParent(PyObject *, PyObject *args, PyObject *kw } -static PyObject * wxMenu_swigregister(PyObject *, PyObject *args) { +static PyObject * Menu_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxMenu, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_MenuBar(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; long arg1 = (long) 0 ; wxMenuBar *result; PyObject * obj0 = 0 ; @@ -34854,10 +35722,10 @@ static PyObject *_wrap_new_wxMenuBar(PyObject *, PyObject *args, PyObject *kwarg (char *) "style", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_wxMenuBar",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MenuBar",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -34876,8 +35744,8 @@ static PyObject *_wrap_new_wxMenuBar(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxMenuBar_Append(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuBar_Append(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; wxString *arg3 = 0 ; @@ -34890,7 +35758,7 @@ static PyObject *_wrap_wxMenuBar_Append(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "menu",(char *) "title", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxMenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); @@ -34924,8 +35792,8 @@ static PyObject *_wrap_wxMenuBar_Append(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxMenuBar_Insert(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuBar_Insert(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; wxMenu *arg3 = (wxMenu *) 0 ; @@ -34940,11 +35808,11 @@ static PyObject *_wrap_wxMenuBar_Insert(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:wxMenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); @@ -34978,8 +35846,8 @@ static PyObject *_wrap_wxMenuBar_Insert(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxMenuBar_GetMenuCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -34987,7 +35855,7 @@ static PyObject *_wrap_wxMenuBar_GetMenuCount(PyObject *, PyObject *args, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenuBar_GetMenuCount",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetMenuCount",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -34998,7 +35866,7 @@ static PyObject *_wrap_wxMenuBar_GetMenuCount(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -35006,8 +35874,8 @@ static PyObject *_wrap_wxMenuBar_GetMenuCount(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxMenuBar_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuBar_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; wxMenu *result; @@ -35017,11 +35885,11 @@ static PyObject *_wrap_wxMenuBar_GetMenu(PyObject *, PyObject *args, PyObject *k (char *) "self",(char *) "pos", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -35040,8 +35908,8 @@ static PyObject *_wrap_wxMenuBar_GetMenu(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxMenuBar_Replace(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuBar_Replace(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; wxMenu *arg3 = (wxMenu *) 0 ; @@ -35056,11 +35924,11 @@ static PyObject *_wrap_wxMenuBar_Replace(PyObject *, PyObject *args, PyObject *k (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:wxMenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); @@ -35094,8 +35962,8 @@ static PyObject *_wrap_wxMenuBar_Replace(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxMenuBar_Remove(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuBar_Remove(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; wxMenu *result; @@ -35105,11 +35973,11 @@ static PyObject *_wrap_wxMenuBar_Remove(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "pos", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenuBar_Remove",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Remove",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -35128,8 +35996,8 @@ static PyObject *_wrap_wxMenuBar_Remove(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxMenuBar_EnableTop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuBar_EnableTop(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; bool arg3 ; @@ -35140,15 +36008,15 @@ static PyObject *_wrap_wxMenuBar_EnableTop(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "pos",(char *) "enable", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxMenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -35165,8 +36033,8 @@ static PyObject *_wrap_wxMenuBar_EnableTop(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxMenuBar_IsEnabledTop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; bool result; @@ -35176,11 +36044,11 @@ static PyObject *_wrap_wxMenuBar_IsEnabledTop(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "pos", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenuBar_IsEnabledTop",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabledTop",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -35199,8 +36067,8 @@ static PyObject *_wrap_wxMenuBar_IsEnabledTop(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxMenuBar_SetLabelTop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; wxString *arg3 = 0 ; @@ -35212,11 +36080,11 @@ static PyObject *_wrap_wxMenuBar_SetLabelTop(PyObject *, PyObject *args, PyObjec (char *) "self",(char *) "pos",(char *) "label", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxMenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -35246,8 +36114,8 @@ static PyObject *_wrap_wxMenuBar_SetLabelTop(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxMenuBar_GetLabelTop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; wxString result; @@ -35257,11 +36125,11 @@ static PyObject *_wrap_wxMenuBar_GetLabelTop(PyObject *, PyObject *args, PyObjec (char *) "self",(char *) "pos", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -35284,8 +36152,8 @@ static PyObject *_wrap_wxMenuBar_GetLabelTop(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxMenuBar_FindMenuItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -35299,7 +36167,7 @@ static PyObject *_wrap_wxMenuBar_FindMenuItem(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "menu",(char *) "item", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxMenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -35320,7 +36188,7 @@ static PyObject *_wrap_wxMenuBar_FindMenuItem(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -35344,8 +36212,8 @@ static PyObject *_wrap_wxMenuBar_FindMenuItem(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxMenuBar_FindItemById(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuBar_FindItemById(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; wxMenuItem *result; @@ -35355,11 +36223,11 @@ static PyObject *_wrap_wxMenuBar_FindItemById(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "id", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenuBar_FindItemById",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindItemById",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -35370,7 +36238,7 @@ static PyObject *_wrap_wxMenuBar_FindItemById(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -35378,8 +36246,8 @@ static PyObject *_wrap_wxMenuBar_FindItemById(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxMenuBar_FindMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuBar_FindMenu(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; wxString *arg2 = 0 ; int result; @@ -35390,7 +36258,7 @@ static PyObject *_wrap_wxMenuBar_FindMenu(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "title", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -35400,13 +36268,13 @@ static PyObject *_wrap_wxMenuBar_FindMenu(PyObject *, PyObject *args, PyObject * } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)((wxMenuBar const *)arg1)->FindMenu((wxString const &)*arg2); + result = (int)(arg1)->FindMenu((wxString const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -35422,8 +36290,8 @@ static PyObject *_wrap_wxMenuBar_FindMenu(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxMenuBar_Enable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuBar_Enable(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; bool arg3 ; @@ -35434,15 +36302,15 @@ static PyObject *_wrap_wxMenuBar_Enable(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "id",(char *) "enable", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxMenuBar_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -35459,8 +36327,8 @@ static PyObject *_wrap_wxMenuBar_Enable(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxMenuBar_Check(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuBar_Check(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; bool arg3 ; @@ -35471,15 +36339,15 @@ static PyObject *_wrap_wxMenuBar_Check(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "id",(char *) "check", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxMenuBar_Check",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Check",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -35496,8 +36364,8 @@ static PyObject *_wrap_wxMenuBar_Check(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxMenuBar_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuBar_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; bool result; @@ -35507,11 +36375,11 @@ static PyObject *_wrap_wxMenuBar_IsChecked(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "id", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenuBar_IsChecked",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsChecked",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -35530,8 +36398,8 @@ static PyObject *_wrap_wxMenuBar_IsChecked(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxMenuBar_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuBar_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; bool result; @@ -35541,11 +36409,11 @@ static PyObject *_wrap_wxMenuBar_IsEnabled(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "id", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenuBar_IsEnabled",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabled",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -35564,8 +36432,8 @@ static PyObject *_wrap_wxMenuBar_IsEnabled(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxMenuBar_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuBar_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -35577,11 +36445,11 @@ static PyObject *_wrap_wxMenuBar_SetLabel(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "id",(char *) "label", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxMenuBar_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -35611,8 +36479,8 @@ static PyObject *_wrap_wxMenuBar_SetLabel(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxMenuBar_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuBar_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; wxString result; @@ -35622,11 +36490,11 @@ static PyObject *_wrap_wxMenuBar_GetLabel(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "id", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenuBar_GetLabel",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabel",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -35649,8 +36517,8 @@ static PyObject *_wrap_wxMenuBar_GetLabel(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxMenuBar_SetHelpString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuBar_SetHelpString(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -35662,11 +36530,11 @@ static PyObject *_wrap_wxMenuBar_SetHelpString(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "id",(char *) "helpString", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxMenuBar_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -35696,8 +36564,8 @@ static PyObject *_wrap_wxMenuBar_SetHelpString(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxMenuBar_GetHelpString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuBar_GetHelpString(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; wxString result; @@ -35707,11 +36575,11 @@ static PyObject *_wrap_wxMenuBar_GetHelpString(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "id", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenuBar_GetHelpString",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetHelpString",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -35734,8 +36602,8 @@ static PyObject *_wrap_wxMenuBar_GetHelpString(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxMenuBar_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuBar_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; wxFrame *result; PyObject * obj0 = 0 ; @@ -35743,7 +36611,7 @@ static PyObject *_wrap_wxMenuBar_GetFrame(PyObject *, PyObject *args, PyObject * (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenuBar_GetFrame",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetFrame",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -35754,7 +36622,7 @@ static PyObject *_wrap_wxMenuBar_GetFrame(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -35762,8 +36630,8 @@ static PyObject *_wrap_wxMenuBar_GetFrame(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxMenuBar_IsAttached(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuBar_IsAttached(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -35771,7 +36639,7 @@ static PyObject *_wrap_wxMenuBar_IsAttached(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenuBar_IsAttached",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_IsAttached",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -35790,8 +36658,8 @@ static PyObject *_wrap_wxMenuBar_IsAttached(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxMenuBar_Attach(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuBar_Attach(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; wxFrame *arg2 = (wxFrame *) 0 ; PyObject * obj0 = 0 ; @@ -35800,7 +36668,7 @@ static PyObject *_wrap_wxMenuBar_Attach(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "frame", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenuBar_Attach",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Attach",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); @@ -35819,15 +36687,15 @@ static PyObject *_wrap_wxMenuBar_Attach(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxMenuBar_Detach(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuBar_Detach(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenuBar_Detach",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_Detach",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -35844,15 +36712,66 @@ static PyObject *_wrap_wxMenuBar_Detach(PyObject *, PyObject *args, PyObject *kw } -static PyObject * wxMenuBar_swigregister(PyObject *, PyObject *args) { +static PyObject *_wrap_MenuBar_SetAutoWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + bool arg1 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "enable", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_SetAutoWindowMenu",kwnames,&obj0)) goto fail; + { + arg1 = static_cast(SWIG_As_bool(obj0)); + if (SWIG_arg_fail(1)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + wxMenuBar::SetAutoWindowMenu(arg1); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MenuBar_GetAutoWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + bool result; + char *kwnames[] = { + NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuBar_GetAutoWindowMenu",kwnames)) goto fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)wxMenuBar::GetAutoWindowMenu(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject * MenuBar_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxMenuItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_MenuItem(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) NULL ; int arg2 = (int) wxID_ANY ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -35874,14 +36793,14 @@ static PyObject *_wrap_new_wxMenuItem(PyObject *, PyObject *args, PyObject *kwar (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_wxMenuItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_MenuItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; if (obj0) { SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -35901,7 +36820,7 @@ static PyObject *_wrap_new_wxMenuItem(PyObject *, PyObject *args, PyObject *kwar } if (obj4) { { - arg5 = (wxItemKind)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -35911,13 +36830,13 @@ static PyObject *_wrap_new_wxMenuItem(PyObject *, PyObject *args, PyObject *kwar } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6); + result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 1); + resultobj = wxPyMake_wxObject(result, (bool)1); } { if (temp3) @@ -35941,8 +36860,8 @@ static PyObject *_wrap_new_wxMenuItem(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxMenuItem_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxMenu *result; PyObject * obj0 = 0 ; @@ -35950,7 +36869,7 @@ static PyObject *_wrap_wxMenuItem_GetMenu(PyObject *, PyObject *args, PyObject * (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenuItem_GetMenu",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMenu",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -35969,8 +36888,8 @@ static PyObject *_wrap_wxMenuItem_GetMenu(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxMenuItem_SetMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_SetMenu(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; @@ -35979,7 +36898,7 @@ static PyObject *_wrap_wxMenuItem_SetMenu(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "menu", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); @@ -35998,8 +36917,8 @@ static PyObject *_wrap_wxMenuItem_SetMenu(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxMenuItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -36008,11 +36927,11 @@ static PyObject *_wrap_wxMenuItem_SetId(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "id", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenuItem_SetId",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetId",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -36029,8 +36948,8 @@ static PyObject *_wrap_wxMenuItem_SetId(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxMenuItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -36038,7 +36957,7 @@ static PyObject *_wrap_wxMenuItem_GetId(PyObject *, PyObject *args, PyObject *kw (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenuItem_GetId",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetId",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -36049,7 +36968,7 @@ static PyObject *_wrap_wxMenuItem_GetId(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -36057,8 +36976,8 @@ static PyObject *_wrap_wxMenuItem_GetId(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxMenuItem_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -36066,7 +36985,7 @@ static PyObject *_wrap_wxMenuItem_IsSeparator(PyObject *, PyObject *args, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenuItem_IsSeparator",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSeparator",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -36085,8 +37004,8 @@ static PyObject *_wrap_wxMenuItem_IsSeparator(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxMenuItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -36096,7 +37015,7 @@ static PyObject *_wrap_wxMenuItem_SetText(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "str", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenuItem_SetText",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetText",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -36126,8 +37045,8 @@ static PyObject *_wrap_wxMenuItem_SetText(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxMenuItem_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -36135,7 +37054,7 @@ static PyObject *_wrap_wxMenuItem_GetLabel(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenuItem_GetLabel",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabel",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -36158,8 +37077,8 @@ static PyObject *_wrap_wxMenuItem_GetLabel(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxMenuItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -36167,7 +37086,7 @@ static PyObject *_wrap_wxMenuItem_GetText(PyObject *, PyObject *args, PyObject * (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenuItem_GetText",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetText",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -36193,8 +37112,8 @@ static PyObject *_wrap_wxMenuItem_GetText(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxMenuItem_GetLabelFromText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString result; bool temp1 = false ; @@ -36203,7 +37122,7 @@ static PyObject *_wrap_wxMenuItem_GetLabelFromText(PyObject *, PyObject *args, P (char *) "text", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenuItem_GetLabelFromText",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabelFromText",kwnames,&obj0)) goto fail; { arg1 = wxString_in_helper(obj0); if (arg1 == NULL) SWIG_fail; @@ -36237,8 +37156,8 @@ static PyObject *_wrap_wxMenuItem_GetLabelFromText(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxMenuItem_GetKind(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_GetKind(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxItemKind result; PyObject * obj0 = 0 ; @@ -36246,7 +37165,7 @@ static PyObject *_wrap_wxMenuItem_GetKind(PyObject *, PyObject *args, PyObject * (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenuItem_GetKind",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetKind",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -36263,8 +37182,8 @@ static PyObject *_wrap_wxMenuItem_GetKind(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxMenuItem_SetKind(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_SetKind(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxItemKind arg2 ; PyObject * obj0 = 0 ; @@ -36273,16 +37192,16 @@ static PyObject *_wrap_wxMenuItem_SetKind(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "kind", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenuItem_SetKind",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetKind",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxItemKind)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetKind((wxItemKind )arg2); + (arg1)->SetKind(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -36294,8 +37213,8 @@ static PyObject *_wrap_wxMenuItem_SetKind(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxMenuItem_SetCheckable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_SetCheckable(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -36304,11 +37223,11 @@ static PyObject *_wrap_wxMenuItem_SetCheckable(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "checkable", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -36325,8 +37244,8 @@ static PyObject *_wrap_wxMenuItem_SetCheckable(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxMenuItem_IsCheckable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_IsCheckable(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -36334,7 +37253,7 @@ static PyObject *_wrap_wxMenuItem_IsCheckable(PyObject *, PyObject *args, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenuItem_IsCheckable",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsCheckable",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -36353,8 +37272,8 @@ static PyObject *_wrap_wxMenuItem_IsCheckable(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxMenuItem_IsSubMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -36362,7 +37281,7 @@ static PyObject *_wrap_wxMenuItem_IsSubMenu(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenuItem_IsSubMenu",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSubMenu",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -36381,8 +37300,8 @@ static PyObject *_wrap_wxMenuItem_IsSubMenu(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxMenuItem_SetSubMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; @@ -36391,7 +37310,7 @@ static PyObject *_wrap_wxMenuItem_SetSubMenu(PyObject *, PyObject *args, PyObjec (char *) "self",(char *) "menu", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0); @@ -36410,8 +37329,8 @@ static PyObject *_wrap_wxMenuItem_SetSubMenu(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxMenuItem_GetSubMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxMenu *result; PyObject * obj0 = 0 ; @@ -36419,7 +37338,7 @@ static PyObject *_wrap_wxMenuItem_GetSubMenu(PyObject *, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenuItem_GetSubMenu",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetSubMenu",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -36438,8 +37357,8 @@ static PyObject *_wrap_wxMenuItem_GetSubMenu(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxMenuItem_Enable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_Enable(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -36448,12 +37367,12 @@ static PyObject *_wrap_wxMenuItem_Enable(PyObject *, PyObject *args, PyObject *k (char *) "self",(char *) "enable", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxMenuItem_Enable",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Enable",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -36471,8 +37390,8 @@ static PyObject *_wrap_wxMenuItem_Enable(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxMenuItem_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -36480,7 +37399,7 @@ static PyObject *_wrap_wxMenuItem_IsEnabled(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenuItem_IsEnabled",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsEnabled",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -36499,8 +37418,8 @@ static PyObject *_wrap_wxMenuItem_IsEnabled(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxMenuItem_Check(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_Check(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -36509,12 +37428,12 @@ static PyObject *_wrap_wxMenuItem_Check(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "check", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxMenuItem_Check",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Check",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -36532,8 +37451,8 @@ static PyObject *_wrap_wxMenuItem_Check(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxMenuItem_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -36541,7 +37460,7 @@ static PyObject *_wrap_wxMenuItem_IsChecked(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenuItem_IsChecked",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsChecked",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -36560,15 +37479,15 @@ static PyObject *_wrap_wxMenuItem_IsChecked(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxMenuItem_Toggle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_Toggle(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenuItem_Toggle",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_Toggle",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -36585,8 +37504,8 @@ static PyObject *_wrap_wxMenuItem_Toggle(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxMenuItem_SetHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_SetHelp(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -36596,7 +37515,7 @@ static PyObject *_wrap_wxMenuItem_SetHelp(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "str", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenuItem_SetHelp",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetHelp",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -36626,8 +37545,8 @@ static PyObject *_wrap_wxMenuItem_SetHelp(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxMenuItem_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -36635,7 +37554,7 @@ static PyObject *_wrap_wxMenuItem_GetHelp(PyObject *, PyObject *args, PyObject * (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenuItem_GetHelp",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetHelp",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -36661,8 +37580,8 @@ static PyObject *_wrap_wxMenuItem_GetHelp(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxMenuItem_GetAccel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_GetAccel(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxAcceleratorEntry *result; PyObject * obj0 = 0 ; @@ -36670,7 +37589,7 @@ static PyObject *_wrap_wxMenuItem_GetAccel(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenuItem_GetAccel",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetAccel",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -36687,8 +37606,8 @@ static PyObject *_wrap_wxMenuItem_GetAccel(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxMenuItem_SetAccel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_SetAccel(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ; PyObject * obj0 = 0 ; @@ -36697,7 +37616,7 @@ static PyObject *_wrap_wxMenuItem_SetAccel(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "accel", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxAcceleratorEntry, SWIG_POINTER_EXCEPTION | 0); @@ -36716,8 +37635,75 @@ static PyObject *_wrap_wxMenuItem_SetAccel(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxMenuItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMenuItem *arg1 = (wxMenuItem *) 0 ; + wxBitmap *arg2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "bitmap", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + if (arg2 == NULL) { + SWIG_null_ref("wxBitmap"); + } + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetBitmap((wxBitmap const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MenuItem_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMenuItem *arg1 = (wxMenuItem *) 0 ; + wxBitmap *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + { + wxBitmap const &_result_ref = (arg1)->GetBitmap(); + result = (wxBitmap *) &_result_ref; + } + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + wxBitmap* resultptr = new wxBitmap(*result); + resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MenuItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxFont *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -36726,7 +37712,7 @@ static PyObject *_wrap_wxMenuItem_SetFont(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "font", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenuItem_SetFont",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetFont",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -36751,8 +37737,8 @@ static PyObject *_wrap_wxMenuItem_SetFont(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxMenuItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxFont result; PyObject * obj0 = 0 ; @@ -36760,7 +37746,7 @@ static PyObject *_wrap_wxMenuItem_GetFont(PyObject *, PyObject *args, PyObject * (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenuItem_GetFont",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetFont",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -36772,7 +37758,7 @@ static PyObject *_wrap_wxMenuItem_GetFont(PyObject *, PyObject *args, PyObject * } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } return resultobj; @@ -36781,8 +37767,8 @@ static PyObject *_wrap_wxMenuItem_GetFont(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxMenuItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -36792,7 +37778,7 @@ static PyObject *_wrap_wxMenuItem_SetTextColour(PyObject *, PyObject *args, PyOb (char *) "self",(char *) "colText", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenuItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -36813,8 +37799,8 @@ static PyObject *_wrap_wxMenuItem_SetTextColour(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxMenuItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -36822,7 +37808,7 @@ static PyObject *_wrap_wxMenuItem_GetTextColour(PyObject *, PyObject *args, PyOb (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenuItem_GetTextColour",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetTextColour",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -36834,7 +37820,7 @@ static PyObject *_wrap_wxMenuItem_GetTextColour(PyObject *, PyObject *args, PyOb } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -36843,8 +37829,8 @@ static PyObject *_wrap_wxMenuItem_GetTextColour(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxMenuItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -36854,7 +37840,7 @@ static PyObject *_wrap_wxMenuItem_SetBackgroundColour(PyObject *, PyObject *args (char *) "self",(char *) "colBack", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenuItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -36875,8 +37861,8 @@ static PyObject *_wrap_wxMenuItem_SetBackgroundColour(PyObject *, PyObject *args } -static PyObject *_wrap_wxMenuItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -36884,7 +37870,7 @@ static PyObject *_wrap_wxMenuItem_GetBackgroundColour(PyObject *, PyObject *args (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenuItem_GetBackgroundColour",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBackgroundColour",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -36896,7 +37882,7 @@ static PyObject *_wrap_wxMenuItem_GetBackgroundColour(PyObject *, PyObject *args } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -36905,8 +37891,8 @@ static PyObject *_wrap_wxMenuItem_GetBackgroundColour(PyObject *, PyObject *args } -static PyObject *_wrap_wxMenuItem_SetBitmaps(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_SetBitmaps(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxBitmap *arg2 = 0 ; wxBitmap const &arg3_defvalue = wxNullBitmap ; @@ -36918,7 +37904,7 @@ static PyObject *_wrap_wxMenuItem_SetBitmaps(PyObject *, PyObject *args, PyObjec (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:wxMenuItem_SetBitmaps",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MenuItem_SetBitmaps",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -36953,8 +37939,8 @@ static PyObject *_wrap_wxMenuItem_SetBitmaps(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxMenuItem_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -36963,7 +37949,7 @@ static PyObject *_wrap_wxMenuItem_SetDisabledBitmap(PyObject *, PyObject *args, (char *) "self",(char *) "bmpDisabled", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenuItem_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -36988,8 +37974,8 @@ static PyObject *_wrap_wxMenuItem_SetDisabledBitmap(PyObject *, PyObject *args, } -static PyObject *_wrap_wxMenuItem_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxBitmap *result; PyObject * obj0 = 0 ; @@ -36997,7 +37983,7 @@ static PyObject *_wrap_wxMenuItem_GetDisabledBitmap(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenuItem_GetDisabledBitmap",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetDisabledBitmap",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -37020,8 +38006,8 @@ static PyObject *_wrap_wxMenuItem_GetDisabledBitmap(PyObject *, PyObject *args, } -static PyObject *_wrap_wxMenuItem_SetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_SetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -37030,11 +38016,11 @@ static PyObject *_wrap_wxMenuItem_SetMarginWidth(PyObject *, PyObject *args, PyO (char *) "self",(char *) "nWidth", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenuItem_SetMarginWidth",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMarginWidth",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -37051,8 +38037,8 @@ static PyObject *_wrap_wxMenuItem_SetMarginWidth(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxMenuItem_GetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_GetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -37060,7 +38046,7 @@ static PyObject *_wrap_wxMenuItem_GetMarginWidth(PyObject *, PyObject *args, PyO (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenuItem_GetMarginWidth",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMarginWidth",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -37071,7 +38057,7 @@ static PyObject *_wrap_wxMenuItem_GetMarginWidth(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -37079,14 +38065,14 @@ static PyObject *_wrap_wxMenuItem_GetMarginWidth(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxMenuItem_GetDefaultMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; int result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":wxMenuItem_GetDefaultMarginWidth",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (int)wxMenuItem_GetDefaultMarginWidth(); @@ -37095,7 +38081,7 @@ static PyObject *_wrap_wxMenuItem_GetDefaultMarginWidth(PyObject *, PyObject *ar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -37103,8 +38089,8 @@ static PyObject *_wrap_wxMenuItem_GetDefaultMarginWidth(PyObject *, PyObject *ar } -static PyObject *_wrap_wxMenuItem_IsOwnerDrawn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_IsOwnerDrawn(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -37112,7 +38098,7 @@ static PyObject *_wrap_wxMenuItem_IsOwnerDrawn(PyObject *, PyObject *args, PyObj (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenuItem_IsOwnerDrawn",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsOwnerDrawn",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -37131,8 +38117,8 @@ static PyObject *_wrap_wxMenuItem_IsOwnerDrawn(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxMenuItem_SetOwnerDrawn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_SetOwnerDrawn(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -37141,12 +38127,12 @@ static PyObject *_wrap_wxMenuItem_SetOwnerDrawn(PyObject *, PyObject *args, PyOb (char *) "self",(char *) "ownerDrawn", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxMenuItem_SetOwnerDrawn",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -37164,15 +38150,15 @@ static PyObject *_wrap_wxMenuItem_SetOwnerDrawn(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxMenuItem_ResetOwnerDrawn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_MenuItem_ResetOwnerDrawn(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenuItem_ResetOwnerDrawn",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -37189,74 +38175,7 @@ static PyObject *_wrap_wxMenuItem_ResetOwnerDrawn(PyObject *, PyObject *args, Py } -static PyObject *_wrap_wxMenuItem_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxMenuItem *arg1 = (wxMenuItem *) 0 ; - wxBitmap *arg2 = 0 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - char *kwnames[] = { - (char *) "self",(char *) "bitmap", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxMenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; - { - SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(2)) SWIG_fail; - if (arg2 == NULL) { - SWIG_null_ref("wxBitmap"); - } - if (SWIG_arg_fail(2)) SWIG_fail; - } - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetBitmap((wxBitmap const &)*arg2); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - Py_INCREF(Py_None); resultobj = Py_None; - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_wxMenuItem_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxMenuItem *arg1 = (wxMenuItem *) 0 ; - wxBitmap *result; - PyObject * obj0 = 0 ; - char *kwnames[] = { - (char *) "self", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxMenuItem_GetBitmap",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - { - wxBitmap const &_result_ref = (arg1)->GetBitmap(); - result = (wxBitmap *) &_result_ref; - } - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - { - wxBitmap* resultptr = new wxBitmap(*result); - resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1); - } - return resultobj; - fail: - return NULL; -} - - -static PyObject * wxMenuItem_swigregister(PyObject *, PyObject *args) { +static PyObject * MenuItem_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem, obj); @@ -37270,7 +38189,7 @@ static int _wrap_ControlNameStr_set(PyObject *) { static PyObject *_wrap_ControlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -37283,8 +38202,8 @@ static PyObject *_wrap_ControlNameStr_get(void) { } -static PyObject *_wrap_new_wxControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_Control(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -37311,12 +38230,12 @@ static PyObject *_wrap_new_wxControl(PyObject *, PyObject *args, PyObject *kwarg (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_wxControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Control",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -37334,7 +38253,7 @@ static PyObject *_wrap_new_wxControl(PyObject *, PyObject *args, PyObject *kwarg } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -37379,7 +38298,7 @@ static PyObject *_wrap_new_wxControl(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_PreControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxControl *result; char *kwnames[] = { NULL @@ -37401,8 +38320,8 @@ static PyObject *_wrap_new_PreControl(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxControl_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Control_Create(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxControl *arg1 = (wxControl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -37431,14 +38350,14 @@ static PyObject *_wrap_wxControl_Create(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:wxControl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Control_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -37456,7 +38375,7 @@ static PyObject *_wrap_wxControl_Create(PyObject *, PyObject *args, PyObject *kw } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -37501,8 +38420,8 @@ static PyObject *_wrap_wxControl_Create(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxControl_Command(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Control_Command(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxControl *arg1 = (wxControl *) 0 ; wxCommandEvent *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -37511,7 +38430,7 @@ static PyObject *_wrap_wxControl_Command(PyObject *, PyObject *args, PyObject *k (char *) "self",(char *) "event", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxControl_Command",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_Command",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -37536,8 +38455,8 @@ static PyObject *_wrap_wxControl_Command(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxControl_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Control_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxControl *arg1 = (wxControl *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -37545,7 +38464,7 @@ static PyObject *_wrap_wxControl_GetLabel(PyObject *, PyObject *args, PyObject * (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxControl_GetLabel",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetLabel",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -37568,8 +38487,8 @@ static PyObject *_wrap_wxControl_GetLabel(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxControl_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Control_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxControl *arg1 = (wxControl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -37579,7 +38498,7 @@ static PyObject *_wrap_wxControl_SetLabel(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "label", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxControl_SetLabel",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetLabel",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -37609,8 +38528,8 @@ static PyObject *_wrap_wxControl_SetLabel(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxControl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Control_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -37618,24 +38537,24 @@ static PyObject *_wrap_wxControl_GetClassDefaultAttributes(PyObject *, PyObject (char *) "variant", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:wxControl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Control_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxControl::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxControl::GetClassDefaultAttributes(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxVisualAttributes * resultptr; - resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); + resultptr = new wxVisualAttributes(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); } return resultobj; @@ -37644,15 +38563,15 @@ static PyObject *_wrap_wxControl_GetClassDefaultAttributes(PyObject *, PyObject } -static PyObject * wxControl_swigregister(PyObject *, PyObject *args) { +static PyObject * Control_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxControl, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_wxItemContainer_Append(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ItemContainer_Append(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; wxString *arg2 = 0 ; PyObject *arg3 = (PyObject *) NULL ; @@ -37665,7 +38584,7 @@ static PyObject *_wrap_wxItemContainer_Append(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "item",(char *) "clientData", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:wxItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -37684,7 +38603,7 @@ static PyObject *_wrap_wxItemContainer_Append(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -37700,8 +38619,8 @@ static PyObject *_wrap_wxItemContainer_Append(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxItemContainer_AppendItems(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ItemContainer_AppendItems(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; wxArrayString *arg2 = 0 ; bool temp2 = false ; @@ -37711,7 +38630,7 @@ static PyObject *_wrap_wxItemContainer_AppendItems(PyObject *, PyObject *args, P (char *) "self",(char *) "strings", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -37724,15 +38643,11 @@ static PyObject *_wrap_wxItemContainer_AppendItems(PyObject *, PyObject *args, P int i, len=PySequence_Length(obj1); for (i=0; iAdd(Py2wxString(str)); + arg2->Add(*s); + delete s; Py_DECREF(item); - Py_DECREF(str); } } { @@ -37755,8 +38670,8 @@ static PyObject *_wrap_wxItemContainer_AppendItems(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxItemContainer_Insert(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ItemContainer_Insert(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; wxString *arg2 = 0 ; int arg3 ; @@ -37771,7 +38686,7 @@ static PyObject *_wrap_wxItemContainer_Insert(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:wxItemContainer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ItemContainer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -37780,7 +38695,7 @@ static PyObject *_wrap_wxItemContainer_Insert(PyObject *, PyObject *args, PyObje temp2 = true; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { @@ -37794,7 +38709,7 @@ static PyObject *_wrap_wxItemContainer_Insert(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -37810,15 +38725,15 @@ static PyObject *_wrap_wxItemContainer_Insert(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxItemContainer_Clear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ItemContainer_Clear(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxItemContainer_Clear",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_Clear",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -37835,8 +38750,8 @@ static PyObject *_wrap_wxItemContainer_Clear(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxItemContainer_Delete(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ItemContainer_Delete(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -37845,11 +38760,11 @@ static PyObject *_wrap_wxItemContainer_Delete(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "n", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxItemContainer_Delete",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Delete",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -37866,8 +38781,8 @@ static PyObject *_wrap_wxItemContainer_Delete(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxItemContainer_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ItemContainer_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int arg2 ; PyObject *result; @@ -37877,11 +38792,11 @@ static PyObject *_wrap_wxItemContainer_GetClientData(PyObject *, PyObject *args, (char *) "self",(char *) "n", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxItemContainer_GetClientData",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetClientData",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -37898,8 +38813,8 @@ static PyObject *_wrap_wxItemContainer_GetClientData(PyObject *, PyObject *args, } -static PyObject *_wrap_wxItemContainer_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ItemContainer_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int arg2 ; PyObject *arg3 = (PyObject *) 0 ; @@ -37910,11 +38825,11 @@ static PyObject *_wrap_wxItemContainer_SetClientData(PyObject *, PyObject *args, (char *) "self",(char *) "n",(char *) "clientData", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxItemContainer_SetClientData",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetClientData",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } arg3 = obj2; @@ -37932,8 +38847,8 @@ static PyObject *_wrap_wxItemContainer_SetClientData(PyObject *, PyObject *args, } -static PyObject *_wrap_wxItemContainer_GetCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ItemContainer_GetCount(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -37941,7 +38856,7 @@ static PyObject *_wrap_wxItemContainer_GetCount(PyObject *, PyObject *args, PyOb (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxItemContainer_GetCount",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetCount",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -37952,7 +38867,7 @@ static PyObject *_wrap_wxItemContainer_GetCount(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -37960,8 +38875,8 @@ static PyObject *_wrap_wxItemContainer_GetCount(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxItemContainer_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -37969,7 +38884,7 @@ static PyObject *_wrap_wxItemContainer_IsEmpty(PyObject *, PyObject *args, PyObj (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxItemContainer_IsEmpty",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_IsEmpty",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -37988,8 +38903,8 @@ static PyObject *_wrap_wxItemContainer_IsEmpty(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxItemContainer_GetString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ItemContainer_GetString(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int arg2 ; wxString result; @@ -37999,11 +38914,11 @@ static PyObject *_wrap_wxItemContainer_GetString(PyObject *, PyObject *args, PyO (char *) "self",(char *) "n", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxItemContainer_GetString",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetString",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -38026,8 +38941,8 @@ static PyObject *_wrap_wxItemContainer_GetString(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxItemContainer_GetStrings(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ItemContainer_GetStrings(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; wxArrayString result; PyObject * obj0 = 0 ; @@ -38035,7 +38950,7 @@ static PyObject *_wrap_wxItemContainer_GetStrings(PyObject *, PyObject *args, Py (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxItemContainer_GetStrings",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStrings",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -38054,8 +38969,8 @@ static PyObject *_wrap_wxItemContainer_GetStrings(PyObject *, PyObject *args, Py } -static PyObject *_wrap_wxItemContainer_SetString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ItemContainer_SetString(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -38067,11 +38982,11 @@ static PyObject *_wrap_wxItemContainer_SetString(PyObject *, PyObject *args, PyO (char *) "self",(char *) "n",(char *) "s", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxItemContainer_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -38101,8 +39016,8 @@ static PyObject *_wrap_wxItemContainer_SetString(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxItemContainer_FindString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ItemContainer_FindString(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; wxString *arg2 = 0 ; int result; @@ -38113,7 +39028,7 @@ static PyObject *_wrap_wxItemContainer_FindString(PyObject *, PyObject *args, Py (char *) "self",(char *) "s", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -38129,7 +39044,7 @@ static PyObject *_wrap_wxItemContainer_FindString(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -38145,8 +39060,8 @@ static PyObject *_wrap_wxItemContainer_FindString(PyObject *, PyObject *args, Py } -static PyObject *_wrap_wxItemContainer_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ItemContainer_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -38155,11 +39070,11 @@ static PyObject *_wrap_wxItemContainer_SetSelection(PyObject *, PyObject *args, (char *) "self",(char *) "n", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxItemContainer_SetSelection",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_SetSelection",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -38176,8 +39091,8 @@ static PyObject *_wrap_wxItemContainer_SetSelection(PyObject *, PyObject *args, } -static PyObject *_wrap_wxItemContainer_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ItemContainer_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -38185,7 +39100,7 @@ static PyObject *_wrap_wxItemContainer_GetSelection(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxItemContainer_GetSelection",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetSelection",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -38196,7 +39111,7 @@ static PyObject *_wrap_wxItemContainer_GetSelection(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -38204,8 +39119,8 @@ static PyObject *_wrap_wxItemContainer_GetSelection(PyObject *, PyObject *args, } -static PyObject *_wrap_wxItemContainer_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ItemContainer_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; wxString *arg2 = 0 ; bool result; @@ -38216,7 +39131,7 @@ static PyObject *_wrap_wxItemContainer_SetStringSelection(PyObject *, PyObject * (char *) "self",(char *) "s", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxItemContainer_SetStringSelection",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_SetStringSelection",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -38248,8 +39163,8 @@ static PyObject *_wrap_wxItemContainer_SetStringSelection(PyObject *, PyObject * } -static PyObject *_wrap_wxItemContainer_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -38257,7 +39172,7 @@ static PyObject *_wrap_wxItemContainer_GetStringSelection(PyObject *, PyObject * (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxItemContainer_GetStringSelection",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStringSelection",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -38280,8 +39195,8 @@ static PyObject *_wrap_wxItemContainer_GetStringSelection(PyObject *, PyObject * } -static PyObject *_wrap_wxItemContainer_Select(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_ItemContainer_Select(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -38290,11 +39205,11 @@ static PyObject *_wrap_wxItemContainer_Select(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "n", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxItemContainer_Select",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Select",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxItemContainer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -38311,28 +39226,28 @@ static PyObject *_wrap_wxItemContainer_Select(PyObject *, PyObject *args, PyObje } -static PyObject * wxItemContainer_swigregister(PyObject *, PyObject *args) { +static PyObject * ItemContainer_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject * wxControlWithItems_swigregister(PyObject *, PyObject *args) { +static PyObject * ControlWithItems_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxSizerItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_SizerItem(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_wxSizerItem",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SizerItem",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxSizerItem *)new wxSizerItem(); @@ -38347,8 +39262,33 @@ static PyObject *_wrap_new_wxSizerItem(PyObject *, PyObject *args, PyObject *kwa } +static PyObject *_wrap_delete_SizerItem(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxSizerItem *arg1 = (wxSizerItem *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SizerItem",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + delete arg1; + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + static PyObject *_wrap_new_SizerItemWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -38368,15 +39308,15 @@ static PyObject *_wrap_new_SizerItemWindow(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } if (obj4) { @@ -38397,7 +39337,7 @@ static PyObject *_wrap_new_SizerItemWindow(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_SizerItemSpacer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int arg2 ; int arg3 ; @@ -38417,23 +39357,23 @@ static PyObject *_wrap_new_SizerItemSpacer(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } if (obj5) { @@ -38454,7 +39394,7 @@ static PyObject *_wrap_new_SizerItemSpacer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_SizerItemSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; int arg2 ; int arg3 ; @@ -38471,18 +39411,18 @@ static PyObject *_wrap_new_SizerItemSizer(PyObject *, PyObject *args, PyObject * }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:new_SizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } if (obj4) { @@ -38502,15 +39442,15 @@ static PyObject *_wrap_new_SizerItemSizer(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxSizerItem_DeleteWindows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizerItem_DeleteWindows",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DeleteWindows",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -38527,15 +39467,15 @@ static PyObject *_wrap_wxSizerItem_DeleteWindows(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxSizerItem_DetachSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_DetachSizer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizerItem_DetachSizer",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DetachSizer",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -38552,8 +39492,8 @@ static PyObject *_wrap_wxSizerItem_DetachSizer(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxSizerItem_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -38561,7 +39501,7 @@ static PyObject *_wrap_wxSizerItem_GetSize(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizerItem_GetSize",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSize",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -38573,7 +39513,7 @@ static PyObject *_wrap_wxSizerItem_GetSize(PyObject *, PyObject *args, PyObject } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -38582,8 +39522,8 @@ static PyObject *_wrap_wxSizerItem_GetSize(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxSizerItem_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -38591,7 +39531,7 @@ static PyObject *_wrap_wxSizerItem_CalcMin(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizerItem_CalcMin",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_CalcMin",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -38603,7 +39543,7 @@ static PyObject *_wrap_wxSizerItem_CalcMin(PyObject *, PyObject *args, PyObject } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -38612,11 +39552,13 @@ static PyObject *_wrap_wxSizerItem_CalcMin(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxSizerItem_SetDimension(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_SetDimension(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; - wxPoint arg2 ; - wxSize arg3 ; + wxPoint *arg2 = 0 ; + wxSize *arg3 = 0 ; + wxPoint temp2 ; + wxSize temp3 ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; @@ -38624,32 +39566,20 @@ static PyObject *_wrap_wxSizerItem_SetDimension(PyObject *, PyObject *args, PyOb (char *) "self",(char *) "pos",(char *) "size", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxSizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - wxPoint * argp; - SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION); - if (SWIG_arg_fail(2)) SWIG_fail; - if (argp == NULL) { - SWIG_null_ref("wxPoint"); - } - if (SWIG_arg_fail(2)) SWIG_fail; - arg2 = *argp; + arg2 = &temp2; + if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; } { - wxSize * argp; - SWIG_Python_ConvertPtr(obj2, (void **)&argp, SWIGTYPE_p_wxSize, SWIG_POINTER_EXCEPTION); - if (SWIG_arg_fail(3)) SWIG_fail; - if (argp == NULL) { - SWIG_null_ref("wxSize"); - } - if (SWIG_arg_fail(3)) SWIG_fail; - arg3 = *argp; + arg3 = &temp3; + if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetDimension(arg2,arg3); + (arg1)->SetDimension((wxPoint const &)*arg2,(wxSize const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -38661,8 +39591,8 @@ static PyObject *_wrap_wxSizerItem_SetDimension(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxSizerItem_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -38670,7 +39600,7 @@ static PyObject *_wrap_wxSizerItem_GetMinSize(PyObject *, PyObject *args, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizerItem_GetMinSize",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSize",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -38682,7 +39612,7 @@ static PyObject *_wrap_wxSizerItem_GetMinSize(PyObject *, PyObject *args, PyObje } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -38691,8 +39621,8 @@ static PyObject *_wrap_wxSizerItem_GetMinSize(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxSizerItem_GetMinSizeWithBorder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_GetMinSizeWithBorder(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -38700,7 +39630,7 @@ static PyObject *_wrap_wxSizerItem_GetMinSizeWithBorder(PyObject *, PyObject *ar (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizerItem_GetMinSizeWithBorder",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -38712,7 +39642,7 @@ static PyObject *_wrap_wxSizerItem_GetMinSizeWithBorder(PyObject *, PyObject *ar } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -38721,8 +39651,8 @@ static PyObject *_wrap_wxSizerItem_GetMinSizeWithBorder(PyObject *, PyObject *ar } -static PyObject *_wrap_wxSizerItem_SetInitSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_SetInitSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int arg2 ; int arg3 ; @@ -38733,15 +39663,15 @@ static PyObject *_wrap_wxSizerItem_SetInitSize(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "x",(char *) "y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxSizerItem_SetInitSize",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetInitSize",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -38758,8 +39688,8 @@ static PyObject *_wrap_wxSizerItem_SetInitSize(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxSizerItem_SetRatioWH(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int arg2 ; int arg3 ; @@ -38770,15 +39700,15 @@ static PyObject *_wrap_wxSizerItem_SetRatioWH(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "width",(char *) "height", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxSizerItem_SetRatioWH",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetRatioWH",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -38795,8 +39725,8 @@ static PyObject *_wrap_wxSizerItem_SetRatioWH(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxSizerItem_SetRatioSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -38806,7 +39736,7 @@ static PyObject *_wrap_wxSizerItem_SetRatioSize(PyObject *, PyObject *args, PyOb (char *) "self",(char *) "size", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -38827,8 +39757,8 @@ static PyObject *_wrap_wxSizerItem_SetRatioSize(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxSizerItem_SetRatio(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_SetRatio(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; float arg2 ; PyObject * obj0 = 0 ; @@ -38837,11 +39767,11 @@ static PyObject *_wrap_wxSizerItem_SetRatio(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "ratio", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSizerItem_SetRatio",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatio",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (float)(SWIG_As_float(obj1)); + arg2 = static_cast(SWIG_As_float(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -38858,8 +39788,8 @@ static PyObject *_wrap_wxSizerItem_SetRatio(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxSizerItem_GetRatio(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_GetRatio(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; float result; PyObject * obj0 = 0 ; @@ -38867,7 +39797,7 @@ static PyObject *_wrap_wxSizerItem_GetRatio(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizerItem_GetRatio",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRatio",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -38878,7 +39808,7 @@ static PyObject *_wrap_wxSizerItem_GetRatio(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_float((float)(result)); + resultobj = SWIG_From_float(static_cast(result)); } return resultobj; fail: @@ -38886,8 +39816,8 @@ static PyObject *_wrap_wxSizerItem_GetRatio(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxSizerItem_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -38895,7 +39825,7 @@ static PyObject *_wrap_wxSizerItem_GetRect(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizerItem_GetRect",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRect",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -38907,7 +39837,7 @@ static PyObject *_wrap_wxSizerItem_GetRect(PyObject *, PyObject *args, PyObject } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -38916,8 +39846,8 @@ static PyObject *_wrap_wxSizerItem_GetRect(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxSizerItem_IsWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_IsWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -38925,7 +39855,7 @@ static PyObject *_wrap_wxSizerItem_IsWindow(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizerItem_IsWindow",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsWindow",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -38944,8 +39874,8 @@ static PyObject *_wrap_wxSizerItem_IsWindow(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxSizerItem_IsSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_IsSizer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -38953,7 +39883,7 @@ static PyObject *_wrap_wxSizerItem_IsSizer(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizerItem_IsSizer",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSizer",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -38972,8 +39902,8 @@ static PyObject *_wrap_wxSizerItem_IsSizer(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxSizerItem_IsSpacer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_IsSpacer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -38981,7 +39911,7 @@ static PyObject *_wrap_wxSizerItem_IsSpacer(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizerItem_IsSpacer",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSpacer",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -39000,8 +39930,8 @@ static PyObject *_wrap_wxSizerItem_IsSpacer(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxSizerItem_SetProportion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_SetProportion(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -39010,11 +39940,11 @@ static PyObject *_wrap_wxSizerItem_SetProportion(PyObject *, PyObject *args, PyO (char *) "self",(char *) "proportion", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSizerItem_SetProportion",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetProportion",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -39031,8 +39961,8 @@ static PyObject *_wrap_wxSizerItem_SetProportion(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxSizerItem_GetProportion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_GetProportion(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -39040,7 +39970,7 @@ static PyObject *_wrap_wxSizerItem_GetProportion(PyObject *, PyObject *args, PyO (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizerItem_GetProportion",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetProportion",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -39051,7 +39981,7 @@ static PyObject *_wrap_wxSizerItem_GetProportion(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -39059,8 +39989,8 @@ static PyObject *_wrap_wxSizerItem_GetProportion(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxSizerItem_SetFlag(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_SetFlag(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -39069,11 +39999,11 @@ static PyObject *_wrap_wxSizerItem_SetFlag(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "flag", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSizerItem_SetFlag",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetFlag",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -39090,8 +40020,8 @@ static PyObject *_wrap_wxSizerItem_SetFlag(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxSizerItem_GetFlag(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_GetFlag(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -39099,7 +40029,7 @@ static PyObject *_wrap_wxSizerItem_GetFlag(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizerItem_GetFlag",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetFlag",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -39110,7 +40040,7 @@ static PyObject *_wrap_wxSizerItem_GetFlag(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -39118,8 +40048,8 @@ static PyObject *_wrap_wxSizerItem_GetFlag(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxSizerItem_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -39128,11 +40058,11 @@ static PyObject *_wrap_wxSizerItem_SetBorder(PyObject *, PyObject *args, PyObjec (char *) "self",(char *) "border", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSizerItem_SetBorder",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetBorder",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -39149,8 +40079,8 @@ static PyObject *_wrap_wxSizerItem_SetBorder(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxSizerItem_GetBorder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_GetBorder(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -39158,7 +40088,7 @@ static PyObject *_wrap_wxSizerItem_GetBorder(PyObject *, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizerItem_GetBorder",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetBorder",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -39169,7 +40099,7 @@ static PyObject *_wrap_wxSizerItem_GetBorder(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -39177,8 +40107,8 @@ static PyObject *_wrap_wxSizerItem_GetBorder(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxSizerItem_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -39186,7 +40116,7 @@ static PyObject *_wrap_wxSizerItem_GetWindow(PyObject *, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizerItem_GetWindow",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetWindow",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -39205,8 +40135,8 @@ static PyObject *_wrap_wxSizerItem_GetWindow(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxSizerItem_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -39215,7 +40145,7 @@ static PyObject *_wrap_wxSizerItem_SetWindow(PyObject *, PyObject *args, PyObjec (char *) "self",(char *) "window", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -39234,8 +40164,8 @@ static PyObject *_wrap_wxSizerItem_SetWindow(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxSizerItem_GetSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_GetSizer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSizer *result; PyObject * obj0 = 0 ; @@ -39243,7 +40173,7 @@ static PyObject *_wrap_wxSizerItem_GetSizer(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizerItem_GetSizer",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSizer",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -39254,7 +40184,7 @@ static PyObject *_wrap_wxSizerItem_GetSizer(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxSizer(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -39262,8 +40192,8 @@ static PyObject *_wrap_wxSizerItem_GetSizer(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxSizerItem_SetSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_SetSizer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; PyObject * obj0 = 0 ; @@ -39272,10 +40202,10 @@ static PyObject *_wrap_wxSizerItem_SetSizer(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "sizer", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; - SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(2)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -39291,8 +40221,8 @@ static PyObject *_wrap_wxSizerItem_SetSizer(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxSizerItem_GetSpacer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_GetSpacer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSize *result; PyObject * obj0 = 0 ; @@ -39300,7 +40230,7 @@ static PyObject *_wrap_wxSizerItem_GetSpacer(PyObject *, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizerItem_GetSpacer",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSpacer",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -39320,8 +40250,8 @@ static PyObject *_wrap_wxSizerItem_GetSpacer(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxSizerItem_SetSpacer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_SetSpacer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -39331,7 +40261,7 @@ static PyObject *_wrap_wxSizerItem_SetSpacer(PyObject *, PyObject *args, PyObjec (char *) "self",(char *) "size", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -39352,8 +40282,8 @@ static PyObject *_wrap_wxSizerItem_SetSpacer(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxSizerItem_Show(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_Show(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -39362,11 +40292,11 @@ static PyObject *_wrap_wxSizerItem_Show(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "show", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSizerItem_Show",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_Show",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -39383,8 +40313,8 @@ static PyObject *_wrap_wxSizerItem_Show(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxSizerItem_IsShown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_IsShown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -39392,7 +40322,7 @@ static PyObject *_wrap_wxSizerItem_IsShown(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizerItem_IsShown",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsShown",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -39411,8 +40341,8 @@ static PyObject *_wrap_wxSizerItem_IsShown(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxSizerItem_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -39420,7 +40350,7 @@ static PyObject *_wrap_wxSizerItem_GetPosition(PyObject *, PyObject *args, PyObj (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizerItem_GetPosition",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetPosition",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -39432,7 +40362,7 @@ static PyObject *_wrap_wxSizerItem_GetPosition(PyObject *, PyObject *args, PyObj } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -39441,8 +40371,8 @@ static PyObject *_wrap_wxSizerItem_GetPosition(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxSizerItem_GetUserData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_SizerItem_GetUserData(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -39450,7 +40380,7 @@ static PyObject *_wrap_wxSizerItem_GetUserData(PyObject *, PyObject *args, PyObj (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizerItem_GetUserData",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetUserData",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -39467,15 +40397,68 @@ static PyObject *_wrap_wxSizerItem_GetUserData(PyObject *, PyObject *args, PyObj } -static PyObject * wxSizerItem_swigregister(PyObject *, PyObject *args) { +static PyObject *_wrap_SizerItem_SetUserData(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxSizerItem *arg1 = (wxSizerItem *) 0 ; + PyObject *arg2 = (PyObject *) 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "userData", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetUserData",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + arg2 = obj1; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + wxSizerItem_SetUserData(arg1,arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject * SizerItem_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_wxSizer__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_delete_Sizer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxSizer *arg1 = (wxSizer *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sizer",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + delete arg1; + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_Sizer__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -39484,7 +40467,7 @@ static PyObject *_wrap_wxSizer__setOORInfo(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "_self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; arg2 = obj1; @@ -39502,8 +40485,8 @@ static PyObject *_wrap_wxSizer__setOORInfo(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxSizer_Add(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Sizer_Add(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; int arg3 = (int) 0 ; @@ -39521,25 +40504,25 @@ static PyObject *_wrap_wxSizer_Add(PyObject *, PyObject *args, PyObject *kwargs) (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:wxSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; arg2 = obj1; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -39560,8 +40543,8 @@ static PyObject *_wrap_wxSizer_Add(PyObject *, PyObject *args, PyObject *kwargs) } -static PyObject *_wrap_wxSizer_Insert(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Sizer_Insert(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; int arg2 ; PyObject *arg3 = (PyObject *) 0 ; @@ -39581,29 +40564,29 @@ static PyObject *_wrap_wxSizer_Insert(PyObject *, PyObject *args, PyObject *kwar (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:wxSizer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Sizer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } arg3 = obj2; if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -39624,8 +40607,8 @@ static PyObject *_wrap_wxSizer_Insert(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxSizer_Prepend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Sizer_Prepend(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; int arg3 = (int) 0 ; @@ -39643,25 +40626,25 @@ static PyObject *_wrap_wxSizer_Prepend(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:wxSizer_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; arg2 = obj1; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -39682,8 +40665,8 @@ static PyObject *_wrap_wxSizer_Prepend(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxSizer_Remove(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Sizer_Remove(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; bool result; @@ -39693,7 +40676,7 @@ static PyObject *_wrap_wxSizer_Remove(PyObject *, PyObject *args, PyObject *kwar (char *) "self",(char *) "item", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSizer_Remove",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Remove",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; arg2 = obj1; @@ -39713,8 +40696,8 @@ static PyObject *_wrap_wxSizer_Remove(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxSizer_Detach(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Sizer_Detach(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; bool result; @@ -39724,7 +40707,7 @@ static PyObject *_wrap_wxSizer_Detach(PyObject *, PyObject *args, PyObject *kwar (char *) "self",(char *) "item", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSizer_Detach",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Detach",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; arg2 = obj1; @@ -39744,8 +40727,8 @@ static PyObject *_wrap_wxSizer_Detach(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxSizer_GetItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Sizer_GetItem(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; wxSizerItem *result; @@ -39755,7 +40738,7 @@ static PyObject *_wrap_wxSizer_GetItem(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "item", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSizer_GetItem",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_GetItem",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; arg2 = obj1; @@ -39773,8 +40756,8 @@ static PyObject *_wrap_wxSizer_GetItem(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxSizer__SetItemMinSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; wxSize *arg3 = 0 ; @@ -39786,7 +40769,7 @@ static PyObject *_wrap_wxSizer__SetItemMinSize(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "item",(char *) "size", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxSizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; arg2 = obj1; @@ -39808,8 +40791,8 @@ static PyObject *_wrap_wxSizer__SetItemMinSize(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxSizer_AddItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Sizer_AddItem(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxSizerItem *arg2 = (wxSizerItem *) 0 ; wxSizerItem *result; @@ -39819,10 +40802,10 @@ static PyObject *_wrap_wxSizer_AddItem(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "item", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSizer_AddItem",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_AddItem",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; - SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(2)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -39838,8 +40821,8 @@ static PyObject *_wrap_wxSizer_AddItem(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxSizer_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Sizer_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; size_t arg2 ; wxSizerItem *arg3 = (wxSizerItem *) 0 ; @@ -39851,14 +40834,14 @@ static PyObject *_wrap_wxSizer_InsertItem(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "index",(char *) "item", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxSizer_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } - SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); + SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(3)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -39874,8 +40857,8 @@ static PyObject *_wrap_wxSizer_InsertItem(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxSizer_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Sizer_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxSizerItem *arg2 = (wxSizerItem *) 0 ; wxSizerItem *result; @@ -39885,10 +40868,10 @@ static PyObject *_wrap_wxSizer_PrependItem(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "item", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSizer_PrependItem",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_PrependItem",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; - SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0); + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(2)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -39904,8 +40887,8 @@ static PyObject *_wrap_wxSizer_PrependItem(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxSizer_SetDimension(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Sizer_SetDimension(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; int arg2 ; int arg3 ; @@ -39920,23 +40903,23 @@ static PyObject *_wrap_wxSizer_SetDimension(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:wxSizer_SetDimension",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Sizer_SetDimension",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { @@ -39953,8 +40936,8 @@ static PyObject *_wrap_wxSizer_SetDimension(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxSizer_SetMinSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Sizer_SetMinSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -39964,7 +40947,7 @@ static PyObject *_wrap_wxSizer_SetMinSize(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "size", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -39985,8 +40968,8 @@ static PyObject *_wrap_wxSizer_SetMinSize(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxSizer_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Sizer_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -39994,7 +40977,7 @@ static PyObject *_wrap_wxSizer_GetSize(PyObject *, PyObject *args, PyObject *kwa (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizer_GetSize",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetSize",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -40006,7 +40989,7 @@ static PyObject *_wrap_wxSizer_GetSize(PyObject *, PyObject *args, PyObject *kwa } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -40015,8 +40998,8 @@ static PyObject *_wrap_wxSizer_GetSize(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxSizer_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Sizer_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -40024,7 +41007,7 @@ static PyObject *_wrap_wxSizer_GetPosition(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizer_GetPosition",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetPosition",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -40036,7 +41019,7 @@ static PyObject *_wrap_wxSizer_GetPosition(PyObject *, PyObject *args, PyObject } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -40045,8 +41028,8 @@ static PyObject *_wrap_wxSizer_GetPosition(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxSizer_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Sizer_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -40054,7 +41037,7 @@ static PyObject *_wrap_wxSizer_GetMinSize(PyObject *, PyObject *args, PyObject * (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizer_GetMinSize",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetMinSize",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -40066,7 +41049,7 @@ static PyObject *_wrap_wxSizer_GetMinSize(PyObject *, PyObject *args, PyObject * } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -40075,15 +41058,15 @@ static PyObject *_wrap_wxSizer_GetMinSize(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Sizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizer_RecalcSizes",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_RecalcSizes",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -40100,8 +41083,8 @@ static PyObject *_wrap_wxSizer_RecalcSizes(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Sizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -40109,7 +41092,7 @@ static PyObject *_wrap_wxSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwa (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizer_CalcMin",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_CalcMin",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -40121,7 +41104,7 @@ static PyObject *_wrap_wxSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwa } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -40130,15 +41113,15 @@ static PyObject *_wrap_wxSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxSizer_Layout(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Sizer_Layout(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizer_Layout",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_Layout",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -40155,8 +41138,8 @@ static PyObject *_wrap_wxSizer_Layout(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxSizer_Fit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Sizer_Fit(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxSize result; @@ -40166,7 +41149,7 @@ static PyObject *_wrap_wxSizer_Fit(PyObject *, PyObject *args, PyObject *kwargs) (char *) "self",(char *) "window", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSizer_Fit",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Fit",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -40180,7 +41163,7 @@ static PyObject *_wrap_wxSizer_Fit(PyObject *, PyObject *args, PyObject *kwargs) } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -40189,8 +41172,8 @@ static PyObject *_wrap_wxSizer_Fit(PyObject *, PyObject *args, PyObject *kwargs) } -static PyObject *_wrap_wxSizer_FitInside(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Sizer_FitInside(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -40199,7 +41182,7 @@ static PyObject *_wrap_wxSizer_FitInside(PyObject *, PyObject *args, PyObject *k (char *) "self",(char *) "window", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSizer_FitInside",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_FitInside",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -40218,8 +41201,8 @@ static PyObject *_wrap_wxSizer_FitInside(PyObject *, PyObject *args, PyObject *k } -static PyObject *_wrap_wxSizer_SetSizeHints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Sizer_SetSizeHints(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -40228,7 +41211,7 @@ static PyObject *_wrap_wxSizer_SetSizeHints(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "window", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -40247,8 +41230,8 @@ static PyObject *_wrap_wxSizer_SetSizeHints(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxSizer_SetVirtualSizeHints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -40257,7 +41240,7 @@ static PyObject *_wrap_wxSizer_SetVirtualSizeHints(PyObject *, PyObject *args, P (char *) "self",(char *) "window", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -40276,8 +41259,8 @@ static PyObject *_wrap_wxSizer_SetVirtualSizeHints(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxSizer_Clear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Sizer_Clear(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; bool arg2 = (bool) false ; PyObject * obj0 = 0 ; @@ -40286,12 +41269,12 @@ static PyObject *_wrap_wxSizer_Clear(PyObject *, PyObject *args, PyObject *kwarg (char *) "self",(char *) "deleteWindows", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:wxSizer_Clear",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sizer_Clear",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -40309,15 +41292,15 @@ static PyObject *_wrap_wxSizer_Clear(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxSizer_DeleteWindows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Sizer_DeleteWindows(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizer_DeleteWindows",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_DeleteWindows",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -40334,8 +41317,8 @@ static PyObject *_wrap_wxSizer_DeleteWindows(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxSizer_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Sizer_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -40343,7 +41326,7 @@ static PyObject *_wrap_wxSizer_GetChildren(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxSizer_GetChildren",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetChildren",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -40360,8 +41343,8 @@ static PyObject *_wrap_wxSizer_GetChildren(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxSizer_Show(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Sizer_Show(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; bool arg3 = (bool) true ; @@ -40375,19 +41358,19 @@ static PyObject *_wrap_wxSizer_Show(PyObject *, PyObject *args, PyObject *kwargs (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:wxSizer_Show",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Sizer_Show",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; arg2 = obj1; if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -40407,8 +41390,8 @@ static PyObject *_wrap_wxSizer_Show(PyObject *, PyObject *args, PyObject *kwargs } -static PyObject *_wrap_wxSizer_IsShown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Sizer_IsShown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; bool result; @@ -40418,7 +41401,7 @@ static PyObject *_wrap_wxSizer_IsShown(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "item", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSizer_IsShown",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_IsShown",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; arg2 = obj1; @@ -40438,8 +41421,8 @@ static PyObject *_wrap_wxSizer_IsShown(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxSizer_ShowItems(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Sizer_ShowItems(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -40448,11 +41431,11 @@ static PyObject *_wrap_wxSizer_ShowItems(PyObject *, PyObject *args, PyObject *k (char *) "self",(char *) "show", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxSizer_ShowItems",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_ShowItems",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -40469,21 +41452,21 @@ static PyObject *_wrap_wxSizer_ShowItems(PyObject *, PyObject *args, PyObject *k } -static PyObject * wxSizer_swigregister(PyObject *, PyObject *args) { +static PyObject * Sizer_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxSizer, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxPySizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_PySizer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPySizer *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_wxPySizer",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PySizer",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxPySizer *)new wxPySizer(); @@ -40498,8 +41481,8 @@ static PyObject *_wrap_new_wxPySizer(PyObject *, PyObject *args, PyObject *kwarg } -static PyObject *_wrap_wxPySizer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPySizer *arg1 = (wxPySizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -40510,7 +41493,7 @@ static PyObject *_wrap_wxPySizer__setCallbackInfo(PyObject *, PyObject *args, Py (char *) "self",(char *) "self",(char *) "_class", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxPySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPySizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; arg2 = obj1; @@ -40529,15 +41512,15 @@ static PyObject *_wrap_wxPySizer__setCallbackInfo(PyObject *, PyObject *args, Py } -static PyObject * wxPySizer_swigregister(PyObject *, PyObject *args) { +static PyObject * PySizer_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxPySizer, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxBoxSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_BoxSizer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; int arg1 = (int) wxHORIZONTAL ; wxBoxSizer *result; PyObject * obj0 = 0 ; @@ -40545,10 +41528,10 @@ static PyObject *_wrap_new_wxBoxSizer(PyObject *, PyObject *args, PyObject *kwar (char *) "orient", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_wxBoxSizer",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BoxSizer",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -40566,8 +41549,8 @@ static PyObject *_wrap_new_wxBoxSizer(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_wxBoxSizer_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxBoxSizer *arg1 = (wxBoxSizer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -40575,7 +41558,7 @@ static PyObject *_wrap_wxBoxSizer_GetOrientation(PyObject *, PyObject *args, PyO (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxBoxSizer_GetOrientation",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_GetOrientation",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBoxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -40586,7 +41569,7 @@ static PyObject *_wrap_wxBoxSizer_GetOrientation(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -40594,8 +41577,8 @@ static PyObject *_wrap_wxBoxSizer_GetOrientation(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_wxBoxSizer_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxBoxSizer *arg1 = (wxBoxSizer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -40604,11 +41587,11 @@ static PyObject *_wrap_wxBoxSizer_SetOrientation(PyObject *, PyObject *args, PyO (char *) "self",(char *) "orient", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxBoxSizer_SetOrientation",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BoxSizer_SetOrientation",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBoxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -40625,15 +41608,15 @@ static PyObject *_wrap_wxBoxSizer_SetOrientation(PyObject *, PyObject *args, PyO } -static PyObject * wxBoxSizer_swigregister(PyObject *, PyObject *args) { +static PyObject * BoxSizer_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxStaticBoxSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_StaticBoxSizer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxStaticBox *arg1 = (wxStaticBox *) 0 ; int arg2 = (int) wxHORIZONTAL ; wxStaticBoxSizer *result; @@ -40643,12 +41626,12 @@ static PyObject *_wrap_new_wxStaticBoxSizer(PyObject *, PyObject *args, PyObject (char *) "box",(char *) "orient", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_wxStaticBoxSizer",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_StaticBoxSizer",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -40666,8 +41649,8 @@ static PyObject *_wrap_new_wxStaticBoxSizer(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxStaticBoxSizer_GetStaticBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ; wxStaticBox *result; PyObject * obj0 = 0 ; @@ -40675,7 +41658,7 @@ static PyObject *_wrap_wxStaticBoxSizer_GetStaticBox(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxStaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBoxSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -40686,7 +41669,7 @@ static PyObject *_wrap_wxStaticBoxSizer_GetStaticBox(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -40694,15 +41677,15 @@ static PyObject *_wrap_wxStaticBoxSizer_GetStaticBox(PyObject *, PyObject *args, } -static PyObject * wxStaticBoxSizer_swigregister(PyObject *, PyObject *args) { +static PyObject * StaticBoxSizer_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxGridSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_GridSizer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; int arg1 = (int) 1 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -40716,28 +41699,28 @@ static PyObject *_wrap_new_wxGridSizer(PyObject *, PyObject *args, PyObject *kwa (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_wxGridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_GridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -40755,8 +41738,8 @@ static PyObject *_wrap_new_wxGridSizer(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxGridSizer_SetCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GridSizer_SetCols(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -40765,11 +41748,11 @@ static PyObject *_wrap_wxGridSizer_SetCols(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "cols", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxGridSizer_SetCols",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetCols",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -40786,8 +41769,8 @@ static PyObject *_wrap_wxGridSizer_SetCols(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxGridSizer_SetRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GridSizer_SetRows(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -40796,11 +41779,11 @@ static PyObject *_wrap_wxGridSizer_SetRows(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "rows", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxGridSizer_SetRows",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetRows",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -40817,8 +41800,8 @@ static PyObject *_wrap_wxGridSizer_SetRows(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxGridSizer_SetVGap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GridSizer_SetVGap(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -40827,11 +41810,11 @@ static PyObject *_wrap_wxGridSizer_SetVGap(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "gap", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxGridSizer_SetVGap",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetVGap",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -40848,8 +41831,8 @@ static PyObject *_wrap_wxGridSizer_SetVGap(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxGridSizer_SetHGap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GridSizer_SetHGap(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -40858,11 +41841,11 @@ static PyObject *_wrap_wxGridSizer_SetHGap(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "gap", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxGridSizer_SetHGap",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetHGap",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -40879,8 +41862,8 @@ static PyObject *_wrap_wxGridSizer_SetHGap(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxGridSizer_GetCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GridSizer_GetCols(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -40888,7 +41871,7 @@ static PyObject *_wrap_wxGridSizer_GetCols(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxGridSizer_GetCols",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetCols",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -40899,7 +41882,7 @@ static PyObject *_wrap_wxGridSizer_GetCols(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -40907,8 +41890,8 @@ static PyObject *_wrap_wxGridSizer_GetCols(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxGridSizer_GetRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GridSizer_GetRows(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -40916,7 +41899,7 @@ static PyObject *_wrap_wxGridSizer_GetRows(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxGridSizer_GetRows",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetRows",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -40927,7 +41910,7 @@ static PyObject *_wrap_wxGridSizer_GetRows(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -40935,8 +41918,8 @@ static PyObject *_wrap_wxGridSizer_GetRows(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxGridSizer_GetVGap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GridSizer_GetVGap(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -40944,7 +41927,7 @@ static PyObject *_wrap_wxGridSizer_GetVGap(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxGridSizer_GetVGap",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetVGap",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -40955,7 +41938,7 @@ static PyObject *_wrap_wxGridSizer_GetVGap(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -40963,8 +41946,8 @@ static PyObject *_wrap_wxGridSizer_GetVGap(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxGridSizer_GetHGap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GridSizer_GetHGap(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -40972,7 +41955,7 @@ static PyObject *_wrap_wxGridSizer_GetHGap(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxGridSizer_GetHGap",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetHGap",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -40983,7 +41966,7 @@ static PyObject *_wrap_wxGridSizer_GetHGap(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -40991,15 +41974,15 @@ static PyObject *_wrap_wxGridSizer_GetHGap(PyObject *, PyObject *args, PyObject } -static PyObject * wxGridSizer_swigregister(PyObject *, PyObject *args) { +static PyObject * GridSizer_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxFlexGridSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_FlexGridSizer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; int arg1 = (int) 1 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -41013,28 +41996,28 @@ static PyObject *_wrap_new_wxFlexGridSizer(PyObject *, PyObject *args, PyObject (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_wxFlexGridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_FlexGridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -41052,8 +42035,8 @@ static PyObject *_wrap_new_wxFlexGridSizer(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxFlexGridSizer_AddGrowableRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; size_t arg2 ; int arg3 = (int) 0 ; @@ -41064,16 +42047,16 @@ static PyObject *_wrap_wxFlexGridSizer_AddGrowableRow(PyObject *, PyObject *args (char *) "self",(char *) "idx",(char *) "proportion", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:wxFlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -41091,8 +42074,8 @@ static PyObject *_wrap_wxFlexGridSizer_AddGrowableRow(PyObject *, PyObject *args } -static PyObject *_wrap_wxFlexGridSizer_RemoveGrowableRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; size_t arg2 ; PyObject * obj0 = 0 ; @@ -41101,11 +42084,11 @@ static PyObject *_wrap_wxFlexGridSizer_RemoveGrowableRow(PyObject *, PyObject *a (char *) "self",(char *) "idx", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxFlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -41122,8 +42105,8 @@ static PyObject *_wrap_wxFlexGridSizer_RemoveGrowableRow(PyObject *, PyObject *a } -static PyObject *_wrap_wxFlexGridSizer_AddGrowableCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; size_t arg2 ; int arg3 = (int) 0 ; @@ -41134,16 +42117,16 @@ static PyObject *_wrap_wxFlexGridSizer_AddGrowableCol(PyObject *, PyObject *args (char *) "self",(char *) "idx",(char *) "proportion", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:wxFlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -41161,8 +42144,8 @@ static PyObject *_wrap_wxFlexGridSizer_AddGrowableCol(PyObject *, PyObject *args } -static PyObject *_wrap_wxFlexGridSizer_RemoveGrowableCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; size_t arg2 ; PyObject * obj0 = 0 ; @@ -41171,11 +42154,11 @@ static PyObject *_wrap_wxFlexGridSizer_RemoveGrowableCol(PyObject *, PyObject *a (char *) "self",(char *) "idx", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxFlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -41192,8 +42175,8 @@ static PyObject *_wrap_wxFlexGridSizer_RemoveGrowableCol(PyObject *, PyObject *a } -static PyObject *_wrap_wxFlexGridSizer_SetFlexibleDirection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -41202,11 +42185,11 @@ static PyObject *_wrap_wxFlexGridSizer_SetFlexibleDirection(PyObject *, PyObject (char *) "self",(char *) "direction", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxFlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -41223,8 +42206,8 @@ static PyObject *_wrap_wxFlexGridSizer_SetFlexibleDirection(PyObject *, PyObject } -static PyObject *_wrap_wxFlexGridSizer_GetFlexibleDirection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -41232,7 +42215,7 @@ static PyObject *_wrap_wxFlexGridSizer_GetFlexibleDirection(PyObject *, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxFlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -41243,7 +42226,7 @@ static PyObject *_wrap_wxFlexGridSizer_GetFlexibleDirection(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -41251,8 +42234,8 @@ static PyObject *_wrap_wxFlexGridSizer_GetFlexibleDirection(PyObject *, PyObject } -static PyObject *_wrap_wxFlexGridSizer_SetNonFlexibleGrowMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; wxFlexSizerGrowMode arg2 ; PyObject * obj0 = 0 ; @@ -41261,16 +42244,16 @@ static PyObject *_wrap_wxFlexGridSizer_SetNonFlexibleGrowMode(PyObject *, PyObje (char *) "self",(char *) "mode", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxFlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxFlexSizerGrowMode)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2); + (arg1)->SetNonFlexibleGrowMode(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -41282,8 +42265,8 @@ static PyObject *_wrap_wxFlexGridSizer_SetNonFlexibleGrowMode(PyObject *, PyObje } -static PyObject *_wrap_wxFlexGridSizer_GetNonFlexibleGrowMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; wxFlexSizerGrowMode result; PyObject * obj0 = 0 ; @@ -41291,7 +42274,7 @@ static PyObject *_wrap_wxFlexGridSizer_GetNonFlexibleGrowMode(PyObject *, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxFlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -41308,8 +42291,8 @@ static PyObject *_wrap_wxFlexGridSizer_GetNonFlexibleGrowMode(PyObject *, PyObje } -static PyObject *_wrap_wxFlexGridSizer_GetRowHeights(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; wxArrayInt *result; PyObject * obj0 = 0 ; @@ -41317,7 +42300,7 @@ static PyObject *_wrap_wxFlexGridSizer_GetRowHeights(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxFlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -41345,8 +42328,8 @@ static PyObject *_wrap_wxFlexGridSizer_GetRowHeights(PyObject *, PyObject *args, } -static PyObject *_wrap_wxFlexGridSizer_GetColWidths(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; wxArrayInt *result; PyObject * obj0 = 0 ; @@ -41354,7 +42337,7 @@ static PyObject *_wrap_wxFlexGridSizer_GetColWidths(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxFlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFlexGridSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -41382,21 +42365,21 @@ static PyObject *_wrap_wxFlexGridSizer_GetColWidths(PyObject *, PyObject *args, } -static PyObject * wxFlexGridSizer_swigregister(PyObject *, PyObject *args) { +static PyObject * FlexGridSizer_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_StdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxStdDialogButtonSizer *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_wxStdDialogButtonSizer",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StdDialogButtonSizer",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxStdDialogButtonSizer *)new wxStdDialogButtonSizer(); @@ -41411,8 +42394,8 @@ static PyObject *_wrap_new_wxStdDialogButtonSizer(PyObject *, PyObject *args, Py } -static PyObject *_wrap_wxStdDialogButtonSizer_AddButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_StdDialogButtonSizer_AddButton(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *arg2 = (wxButton *) 0 ; PyObject * obj0 = 0 ; @@ -41421,7 +42404,7 @@ static PyObject *_wrap_wxStdDialogButtonSizer_AddButton(PyObject *, PyObject *ar (char *) "self",(char *) "button", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxStdDialogButtonSizer_AddButton",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0); @@ -41440,15 +42423,15 @@ static PyObject *_wrap_wxStdDialogButtonSizer_AddButton(PyObject *, PyObject *ar } -static PyObject *_wrap_wxStdDialogButtonSizer_Realize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_StdDialogButtonSizer_Realize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxStdDialogButtonSizer_Realize",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StdDialogButtonSizer_Realize",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -41465,8 +42448,8 @@ static PyObject *_wrap_wxStdDialogButtonSizer_Realize(PyObject *, PyObject *args } -static PyObject *_wrap_wxStdDialogButtonSizer_SetAffirmativeButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *arg2 = (wxButton *) 0 ; PyObject * obj0 = 0 ; @@ -41475,7 +42458,7 @@ static PyObject *_wrap_wxStdDialogButtonSizer_SetAffirmativeButton(PyObject *, P (char *) "self",(char *) "button", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxStdDialogButtonSizer_SetAffirmativeButton",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0); @@ -41494,8 +42477,8 @@ static PyObject *_wrap_wxStdDialogButtonSizer_SetAffirmativeButton(PyObject *, P } -static PyObject *_wrap_wxStdDialogButtonSizer_SetNegativeButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *arg2 = (wxButton *) 0 ; PyObject * obj0 = 0 ; @@ -41504,7 +42487,7 @@ static PyObject *_wrap_wxStdDialogButtonSizer_SetNegativeButton(PyObject *, PyOb (char *) "self",(char *) "button", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxStdDialogButtonSizer_SetNegativeButton",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0); @@ -41523,8 +42506,8 @@ static PyObject *_wrap_wxStdDialogButtonSizer_SetNegativeButton(PyObject *, PyOb } -static PyObject *_wrap_wxStdDialogButtonSizer_SetCancelButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_StdDialogButtonSizer_SetCancelButton(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *arg2 = (wxButton *) 0 ; PyObject * obj0 = 0 ; @@ -41533,7 +42516,7 @@ static PyObject *_wrap_wxStdDialogButtonSizer_SetCancelButton(PyObject *, PyObje (char *) "self",(char *) "button", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxStdDialogButtonSizer_SetCancelButton",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0); @@ -41552,8 +42535,8 @@ static PyObject *_wrap_wxStdDialogButtonSizer_SetCancelButton(PyObject *, PyObje } -static PyObject *_wrap_wxStdDialogButtonSizer_GetAffirmativeButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *result; PyObject * obj0 = 0 ; @@ -41561,7 +42544,7 @@ static PyObject *_wrap_wxStdDialogButtonSizer_GetAffirmativeButton(PyObject *, P (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxStdDialogButtonSizer_GetAffirmativeButton",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -41572,7 +42555,7 @@ static PyObject *_wrap_wxStdDialogButtonSizer_GetAffirmativeButton(PyObject *, P if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -41580,8 +42563,8 @@ static PyObject *_wrap_wxStdDialogButtonSizer_GetAffirmativeButton(PyObject *, P } -static PyObject *_wrap_wxStdDialogButtonSizer_GetApplyButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_StdDialogButtonSizer_GetApplyButton(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *result; PyObject * obj0 = 0 ; @@ -41589,7 +42572,7 @@ static PyObject *_wrap_wxStdDialogButtonSizer_GetApplyButton(PyObject *, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxStdDialogButtonSizer_GetApplyButton",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -41600,7 +42583,7 @@ static PyObject *_wrap_wxStdDialogButtonSizer_GetApplyButton(PyObject *, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -41608,8 +42591,8 @@ static PyObject *_wrap_wxStdDialogButtonSizer_GetApplyButton(PyObject *, PyObjec } -static PyObject *_wrap_wxStdDialogButtonSizer_GetNegativeButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *result; PyObject * obj0 = 0 ; @@ -41617,7 +42600,7 @@ static PyObject *_wrap_wxStdDialogButtonSizer_GetNegativeButton(PyObject *, PyOb (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxStdDialogButtonSizer_GetNegativeButton",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -41628,7 +42611,7 @@ static PyObject *_wrap_wxStdDialogButtonSizer_GetNegativeButton(PyObject *, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -41636,8 +42619,8 @@ static PyObject *_wrap_wxStdDialogButtonSizer_GetNegativeButton(PyObject *, PyOb } -static PyObject *_wrap_wxStdDialogButtonSizer_GetCancelButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_StdDialogButtonSizer_GetCancelButton(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *result; PyObject * obj0 = 0 ; @@ -41645,7 +42628,7 @@ static PyObject *_wrap_wxStdDialogButtonSizer_GetCancelButton(PyObject *, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxStdDialogButtonSizer_GetCancelButton",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -41656,7 +42639,7 @@ static PyObject *_wrap_wxStdDialogButtonSizer_GetCancelButton(PyObject *, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -41664,8 +42647,8 @@ static PyObject *_wrap_wxStdDialogButtonSizer_GetCancelButton(PyObject *, PyObje } -static PyObject *_wrap_wxStdDialogButtonSizer_GetHelpButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_StdDialogButtonSizer_GetHelpButton(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *result; PyObject * obj0 = 0 ; @@ -41673,7 +42656,7 @@ static PyObject *_wrap_wxStdDialogButtonSizer_GetHelpButton(PyObject *, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxStdDialogButtonSizer_GetHelpButton",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStdDialogButtonSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -41684,7 +42667,7 @@ static PyObject *_wrap_wxStdDialogButtonSizer_GetHelpButton(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -41692,15 +42675,15 @@ static PyObject *_wrap_wxStdDialogButtonSizer_GetHelpButton(PyObject *, PyObject } -static PyObject * wxStdDialogButtonSizer_swigregister(PyObject *, PyObject *args) { +static PyObject * StdDialogButtonSizer_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxGBPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_GBPosition(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; wxGBPosition *result; @@ -41710,16 +42693,16 @@ static PyObject *_wrap_new_wxGBPosition(PyObject *, PyObject *args, PyObject *kw (char *) "row",(char *) "col", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_wxGBPosition",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBPosition",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -41737,8 +42720,33 @@ static PyObject *_wrap_new_wxGBPosition(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxGBPosition_GetRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_delete_GBPosition(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxGBPosition *arg1 = (wxGBPosition *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GBPosition",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + delete arg1; + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_GBPosition_GetRow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; int result; PyObject * obj0 = 0 ; @@ -41746,7 +42754,7 @@ static PyObject *_wrap_wxGBPosition_GetRow(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxGBPosition_GetRow",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetRow",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -41757,7 +42765,7 @@ static PyObject *_wrap_wxGBPosition_GetRow(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -41765,8 +42773,8 @@ static PyObject *_wrap_wxGBPosition_GetRow(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxGBPosition_GetCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GBPosition_GetCol(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; int result; PyObject * obj0 = 0 ; @@ -41774,7 +42782,7 @@ static PyObject *_wrap_wxGBPosition_GetCol(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxGBPosition_GetCol",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetCol",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -41785,7 +42793,7 @@ static PyObject *_wrap_wxGBPosition_GetCol(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -41793,8 +42801,8 @@ static PyObject *_wrap_wxGBPosition_GetCol(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxGBPosition_SetRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GBPosition_SetRow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -41803,11 +42811,11 @@ static PyObject *_wrap_wxGBPosition_SetRow(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "row", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxGBPosition_SetRow",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetRow",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -41824,8 +42832,8 @@ static PyObject *_wrap_wxGBPosition_SetRow(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxGBPosition_SetCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GBPosition_SetCol(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -41834,11 +42842,11 @@ static PyObject *_wrap_wxGBPosition_SetCol(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "col", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxGBPosition_SetCol",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetCol",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -41855,8 +42863,8 @@ static PyObject *_wrap_wxGBPosition_SetCol(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxGBPosition___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GBPosition___eq__(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; wxGBPosition *arg2 = 0 ; bool result; @@ -41867,7 +42875,7 @@ static PyObject *_wrap_wxGBPosition___eq__(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "other", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxGBPosition___eq__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___eq__",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -41890,8 +42898,8 @@ static PyObject *_wrap_wxGBPosition___eq__(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxGBPosition___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GBPosition___ne__(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; wxGBPosition *arg2 = 0 ; bool result; @@ -41902,7 +42910,7 @@ static PyObject *_wrap_wxGBPosition___ne__(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "other", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxGBPosition___ne__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___ne__",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -41925,8 +42933,8 @@ static PyObject *_wrap_wxGBPosition___ne__(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxGBPosition_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GBPosition_Set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -41937,18 +42945,18 @@ static PyObject *_wrap_wxGBPosition_Set(PyObject *, PyObject *args, PyObject *kw (char *) "self",(char *) "row",(char *) "col", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:wxGBPosition_Set",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBPosition_Set",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -41966,8 +42974,8 @@ static PyObject *_wrap_wxGBPosition_Set(PyObject *, PyObject *args, PyObject *kw } -static PyObject *_wrap_wxGBPosition_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GBPosition_Get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -41975,7 +42983,7 @@ static PyObject *_wrap_wxGBPosition_Get(PyObject *, PyObject *args, PyObject *kw (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxGBPosition_Get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBPosition, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -41992,15 +43000,15 @@ static PyObject *_wrap_wxGBPosition_Get(PyObject *, PyObject *args, PyObject *kw } -static PyObject * wxGBPosition_swigregister(PyObject *, PyObject *args) { +static PyObject * GBPosition_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxGBSpan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_GBSpan(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; int arg1 = (int) 1 ; int arg2 = (int) 1 ; wxGBSpan *result; @@ -42010,16 +43018,16 @@ static PyObject *_wrap_new_wxGBSpan(PyObject *, PyObject *args, PyObject *kwargs (char *) "rowspan",(char *) "colspan", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_wxGBSpan",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBSpan",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -42037,8 +43045,33 @@ static PyObject *_wrap_new_wxGBSpan(PyObject *, PyObject *args, PyObject *kwargs } -static PyObject *_wrap_wxGBSpan_GetRowspan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_delete_GBSpan(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxGBSpan *arg1 = (wxGBSpan *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GBSpan",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + delete arg1; + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_GBSpan_GetRowspan(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -42046,7 +43079,7 @@ static PyObject *_wrap_wxGBSpan_GetRowspan(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxGBSpan_GetRowspan",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetRowspan",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -42057,7 +43090,7 @@ static PyObject *_wrap_wxGBSpan_GetRowspan(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -42065,8 +43098,8 @@ static PyObject *_wrap_wxGBSpan_GetRowspan(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxGBSpan_GetColspan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GBSpan_GetColspan(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -42074,7 +43107,7 @@ static PyObject *_wrap_wxGBSpan_GetColspan(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxGBSpan_GetColspan",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetColspan",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -42085,7 +43118,7 @@ static PyObject *_wrap_wxGBSpan_GetColspan(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -42093,8 +43126,8 @@ static PyObject *_wrap_wxGBSpan_GetColspan(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxGBSpan_SetRowspan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GBSpan_SetRowspan(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -42103,11 +43136,11 @@ static PyObject *_wrap_wxGBSpan_SetRowspan(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "rowspan", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxGBSpan_SetRowspan",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetRowspan",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -42124,8 +43157,8 @@ static PyObject *_wrap_wxGBSpan_SetRowspan(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxGBSpan_SetColspan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GBSpan_SetColspan(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -42134,11 +43167,11 @@ static PyObject *_wrap_wxGBSpan_SetColspan(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "colspan", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxGBSpan_SetColspan",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetColspan",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -42155,8 +43188,8 @@ static PyObject *_wrap_wxGBSpan_SetColspan(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxGBSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GBSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; wxGBSpan *arg2 = 0 ; bool result; @@ -42167,7 +43200,7 @@ static PyObject *_wrap_wxGBSpan___eq__(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "other", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxGBSpan___eq__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___eq__",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -42190,8 +43223,8 @@ static PyObject *_wrap_wxGBSpan___eq__(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxGBSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GBSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; wxGBSpan *arg2 = 0 ; bool result; @@ -42202,7 +43235,7 @@ static PyObject *_wrap_wxGBSpan___ne__(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "other", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxGBSpan___ne__",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___ne__",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -42225,8 +43258,8 @@ static PyObject *_wrap_wxGBSpan___ne__(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_wxGBSpan_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GBSpan_Set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; int arg2 = (int) 1 ; int arg3 = (int) 1 ; @@ -42237,18 +43270,18 @@ static PyObject *_wrap_wxGBSpan_Set(PyObject *, PyObject *args, PyObject *kwargs (char *) "self",(char *) "rowspan",(char *) "colspan", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:wxGBSpan_Set",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBSpan_Set",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -42266,8 +43299,8 @@ static PyObject *_wrap_wxGBSpan_Set(PyObject *, PyObject *args, PyObject *kwargs } -static PyObject *_wrap_wxGBSpan_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GBSpan_Get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -42275,7 +43308,7 @@ static PyObject *_wrap_wxGBSpan_Get(PyObject *, PyObject *args, PyObject *kwargs (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxGBSpan_Get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -42292,35 +43325,35 @@ static PyObject *_wrap_wxGBSpan_Get(PyObject *, PyObject *args, PyObject *kwargs } -static PyObject * wxGBSpan_swigregister(PyObject *, PyObject *args) { +static PyObject * GBSpan_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static int _wrap_wxDefaultSpan_set(PyObject *) { - PyErr_SetString(PyExc_TypeError,"Variable wxDefaultSpan is read-only."); +static int _wrap_DefaultSpan_set(PyObject *) { + PyErr_SetString(PyExc_TypeError,"Variable DefaultSpan is read-only."); return 1; } -static PyObject *_wrap_wxDefaultSpan_get(void) { - PyObject *pyobj; +static PyObject *_wrap_DefaultSpan_get(void) { + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSpan), SWIGTYPE_p_wxGBSpan, 0); return pyobj; } -static PyObject *_wrap_new_wxGBSizerItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_GBSizerItem(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGBSizerItem *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_wxGBSizerItem",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GBSizerItem",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxGBSizerItem *)new wxGBSizerItem(); @@ -42335,8 +43368,33 @@ static PyObject *_wrap_new_wxGBSizerItem(PyObject *, PyObject *args, PyObject *k } +static PyObject *_wrap_delete_GBSizerItem(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GBSizerItem",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + delete arg1; + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + static PyObject *_wrap_new_GBSizerItemWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxGBPosition *arg2 = 0 ; wxGBSpan *arg3 = 0 ; @@ -42368,11 +43426,11 @@ static PyObject *_wrap_new_GBSizerItemWindow(PyObject *, PyObject *args, PyObjec if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } if (obj5) { @@ -42393,7 +43451,7 @@ static PyObject *_wrap_new_GBSizerItemWindow(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_new_GBSizerItemSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxGBPosition *arg2 = 0 ; wxGBSpan *arg3 = 0 ; @@ -42414,7 +43472,7 @@ static PyObject *_wrap_new_GBSizerItemSizer(PyObject *, PyObject *args, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(1)) SWIG_fail; { arg2 = &temp2; @@ -42425,11 +43483,11 @@ static PyObject *_wrap_new_GBSizerItemSizer(PyObject *, PyObject *args, PyObject if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } if (obj5) { @@ -42450,7 +43508,7 @@ static PyObject *_wrap_new_GBSizerItemSizer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int arg2 ; wxGBPosition *arg3 = 0 ; @@ -42474,11 +43532,11 @@ static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *, PyObject *args, PyObjec if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -42490,11 +43548,11 @@ static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *, PyObject *args, PyObjec if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } if (obj6) { @@ -42514,8 +43572,8 @@ static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxGBSizerItem_GetPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GBSizerItem_GetPos(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGBPosition result; PyObject * obj0 = 0 ; @@ -42523,7 +43581,7 @@ static PyObject *_wrap_wxGBSizerItem_GetPos(PyObject *, PyObject *args, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxGBSizerItem_GetPos",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetPos",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -42535,7 +43593,7 @@ static PyObject *_wrap_wxGBSizerItem_GetPos(PyObject *, PyObject *args, PyObject } { wxGBPosition * resultptr; - resultptr = new wxGBPosition((wxGBPosition &)(result)); + resultptr = new wxGBPosition(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1); } return resultobj; @@ -42544,8 +43602,8 @@ static PyObject *_wrap_wxGBSizerItem_GetPos(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxGBSizerItem_GetSpan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGBSpan result; PyObject * obj0 = 0 ; @@ -42553,7 +43611,7 @@ static PyObject *_wrap_wxGBSizerItem_GetSpan(PyObject *, PyObject *args, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxGBSizerItem_GetSpan",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetSpan",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -42565,7 +43623,7 @@ static PyObject *_wrap_wxGBSizerItem_GetSpan(PyObject *, PyObject *args, PyObjec } { wxGBSpan * resultptr; - resultptr = new wxGBSpan((wxGBSpan &)(result)); + resultptr = new wxGBSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1); } return resultobj; @@ -42574,8 +43632,8 @@ static PyObject *_wrap_wxGBSizerItem_GetSpan(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxGBSizerItem_SetPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GBSizerItem_SetPos(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGBPosition *arg2 = 0 ; bool result; @@ -42586,7 +43644,7 @@ static PyObject *_wrap_wxGBSizerItem_SetPos(PyObject *, PyObject *args, PyObject (char *) "self",(char *) "pos", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxGBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -42609,8 +43667,8 @@ static PyObject *_wrap_wxGBSizerItem_SetPos(PyObject *, PyObject *args, PyObject } -static PyObject *_wrap_wxGBSizerItem_SetSpan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGBSpan *arg2 = 0 ; bool result; @@ -42621,7 +43679,7 @@ static PyObject *_wrap_wxGBSizerItem_SetSpan(PyObject *, PyObject *args, PyObjec (char *) "self",(char *) "span", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxGBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -42644,8 +43702,8 @@ static PyObject *_wrap_wxGBSizerItem_SetSpan(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_wxGBSizerItem_Intersects(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GBSizerItem_Intersects(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGBSizerItem *arg2 = 0 ; bool result; @@ -42655,7 +43713,7 @@ static PyObject *_wrap_wxGBSizerItem_Intersects(PyObject *, PyObject *args, PyOb (char *) "self",(char *) "other", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxGBSizerItem_Intersects",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_Intersects",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -42682,8 +43740,8 @@ static PyObject *_wrap_wxGBSizerItem_Intersects(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxGBSizerItem_IntersectsPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GBSizerItem_IntersectsPos(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGBPosition *arg2 = 0 ; wxGBSpan *arg3 = 0 ; @@ -42697,7 +43755,7 @@ static PyObject *_wrap_wxGBSizerItem_IntersectsPos(PyObject *, PyObject *args, P (char *) "self",(char *) "pos",(char *) "span", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxGBSizerItem_IntersectsPos",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -42724,8 +43782,8 @@ static PyObject *_wrap_wxGBSizerItem_IntersectsPos(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxGBSizerItem_GetEndPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGBPosition result; PyObject * obj0 = 0 ; @@ -42733,7 +43791,7 @@ static PyObject *_wrap_wxGBSizerItem_GetEndPos(PyObject *, PyObject *args, PyObj (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxGBSizerItem_GetEndPos",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetEndPos",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -42745,7 +43803,7 @@ static PyObject *_wrap_wxGBSizerItem_GetEndPos(PyObject *, PyObject *args, PyObj } { wxGBPosition * resultptr; - resultptr = new wxGBPosition((wxGBPosition &)(result)); + resultptr = new wxGBPosition(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1); } return resultobj; @@ -42754,8 +43812,8 @@ static PyObject *_wrap_wxGBSizerItem_GetEndPos(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxGBSizerItem_GetGBSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGridBagSizer *result; PyObject * obj0 = 0 ; @@ -42763,7 +43821,7 @@ static PyObject *_wrap_wxGBSizerItem_GetGBSizer(PyObject *, PyObject *args, PyOb (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxGBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -42780,8 +43838,8 @@ static PyObject *_wrap_wxGBSizerItem_GetGBSizer(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_wxGBSizerItem_SetGBSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ; PyObject * obj0 = 0 ; @@ -42790,7 +43848,7 @@ static PyObject *_wrap_wxGBSizerItem_SetGBSizer(PyObject *, PyObject *args, PyOb (char *) "self",(char *) "sizer", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxGBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); @@ -42809,15 +43867,15 @@ static PyObject *_wrap_wxGBSizerItem_SetGBSizer(PyObject *, PyObject *args, PyOb } -static PyObject * wxGBSizerItem_swigregister(PyObject *, PyObject *args) { +static PyObject * GBSizerItem_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_new_wxGridBagSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_GridBagSizer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; wxGridBagSizer *result; @@ -42827,16 +43885,16 @@ static PyObject *_wrap_new_wxGridBagSizer(PyObject *, PyObject *args, PyObject * (char *) "vgap",(char *) "hgap", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_wxGridBagSizer",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridBagSizer",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -42854,8 +43912,8 @@ static PyObject *_wrap_new_wxGridBagSizer(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxGridBagSizer_Add(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GridBagSizer_Add(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; wxGBPosition *arg3 = 0 ; @@ -42878,7 +43936,7 @@ static PyObject *_wrap_wxGridBagSizer_Add(PyObject *, PyObject *args, PyObject * (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:wxGridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; arg2 = obj1; @@ -42894,13 +43952,13 @@ static PyObject *_wrap_wxGridBagSizer_Add(PyObject *, PyObject *args, PyObject * } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -42921,8 +43979,8 @@ static PyObject *_wrap_wxGridBagSizer_Add(PyObject *, PyObject *args, PyObject * } -static PyObject *_wrap_wxGridBagSizer_AddItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GridBagSizer_AddItem(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ; wxGBSizerItem *result; @@ -42932,10 +43990,10 @@ static PyObject *_wrap_wxGridBagSizer_AddItem(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "item", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxGridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; - SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0); + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(2)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -42951,8 +44009,8 @@ static PyObject *_wrap_wxGridBagSizer_AddItem(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_wxGridBagSizer_GetCellSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GridBagSizer_GetCellSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; int arg2 ; int arg3 ; @@ -42964,15 +44022,15 @@ static PyObject *_wrap_wxGridBagSizer_GetCellSize(PyObject *, PyObject *args, Py (char *) "self",(char *) "row",(char *) "col", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxGridBagSizer_GetCellSize",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridBagSizer_GetCellSize",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -42984,7 +44042,7 @@ static PyObject *_wrap_wxGridBagSizer_GetCellSize(PyObject *, PyObject *args, Py } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -42993,8 +44051,8 @@ static PyObject *_wrap_wxGridBagSizer_GetCellSize(PyObject *, PyObject *args, Py } -static PyObject *_wrap_wxGridBagSizer_GetEmptyCellSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -43002,7 +44060,7 @@ static PyObject *_wrap_wxGridBagSizer_GetEmptyCellSize(PyObject *, PyObject *arg (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxGridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -43014,7 +44072,7 @@ static PyObject *_wrap_wxGridBagSizer_GetEmptyCellSize(PyObject *, PyObject *arg } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -43023,8 +44081,8 @@ static PyObject *_wrap_wxGridBagSizer_GetEmptyCellSize(PyObject *, PyObject *arg } -static PyObject *_wrap_wxGridBagSizer_SetEmptyCellSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -43034,7 +44092,7 @@ static PyObject *_wrap_wxGridBagSizer_SetEmptyCellSize(PyObject *, PyObject *arg (char *) "self",(char *) "sz", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxGridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -43055,15 +44113,15 @@ static PyObject *_wrap_wxGridBagSizer_SetEmptyCellSize(PyObject *, PyObject *arg } -static PyObject *_wrap_wxGridBagSizer_GetItemPosition__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; +static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *, PyObject *args) { + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxGBPosition result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; - if(!PyArg_ParseTuple(args,(char *)"OO:wxGridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail; + if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -43077,7 +44135,7 @@ static PyObject *_wrap_wxGridBagSizer_GetItemPosition__SWIG_0(PyObject *, PyObje } { wxGBPosition * resultptr; - resultptr = new wxGBPosition((wxGBPosition &)(result)); + resultptr = new wxGBPosition(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1); } return resultobj; @@ -43086,15 +44144,15 @@ static PyObject *_wrap_wxGridBagSizer_GetItemPosition__SWIG_0(PyObject *, PyObje } -static PyObject *_wrap_wxGridBagSizer_GetItemPosition__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; +static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *, PyObject *args) { + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; wxGBPosition result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; - if(!PyArg_ParseTuple(args,(char *)"OO:wxGridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail; + if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); @@ -43108,7 +44166,7 @@ static PyObject *_wrap_wxGridBagSizer_GetItemPosition__SWIG_1(PyObject *, PyObje } { wxGBPosition * resultptr; - resultptr = new wxGBPosition((wxGBPosition &)(result)); + resultptr = new wxGBPosition(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1); } return resultobj; @@ -43117,19 +44175,19 @@ static PyObject *_wrap_wxGridBagSizer_GetItemPosition__SWIG_1(PyObject *, PyObje } -static PyObject *_wrap_wxGridBagSizer_GetItemPosition__SWIG_2(PyObject *, PyObject *args) { - PyObject *resultobj; +static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *, PyObject *args) { + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; size_t arg2 ; wxGBPosition result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; - if(!PyArg_ParseTuple(args,(char *)"OO:wxGridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail; + if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -43141,7 +44199,7 @@ static PyObject *_wrap_wxGridBagSizer_GetItemPosition__SWIG_2(PyObject *, PyObje } { wxGBPosition * resultptr; - resultptr = new wxGBPosition((wxGBPosition &)(result)); + resultptr = new wxGBPosition(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1); } return resultobj; @@ -43150,7 +44208,7 @@ static PyObject *_wrap_wxGridBagSizer_GetItemPosition__SWIG_2(PyObject *, PyObje } -static PyObject *_wrap_wxGridBagSizer_GetItemPosition(PyObject *self, PyObject *args) { +static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; @@ -43181,7 +44239,7 @@ static PyObject *_wrap_wxGridBagSizer_GetItemPosition(PyObject *self, PyObject * } } if (_v) { - return _wrap_wxGridBagSizer_GetItemPosition__SWIG_0(self,args); + return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self,args); } } } @@ -43207,7 +44265,7 @@ static PyObject *_wrap_wxGridBagSizer_GetItemPosition(PyObject *self, PyObject * } } if (_v) { - return _wrap_wxGridBagSizer_GetItemPosition__SWIG_1(self,args); + return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self,args); } } } @@ -43225,18 +44283,18 @@ static PyObject *_wrap_wxGridBagSizer_GetItemPosition(PyObject *self, PyObject * if (_v) { _v = SWIG_Check_unsigned_SS_long(argv[1]); if (_v) { - return _wrap_wxGridBagSizer_GetItemPosition__SWIG_2(self,args); + return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self,args); } } } - PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'wxGridBagSizer_GetItemPosition'"); + PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'GridBagSizer_GetItemPosition'"); return NULL; } -static PyObject *_wrap_wxGridBagSizer_SetItemPosition__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; +static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *, PyObject *args) { + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxGBPosition *arg3 = 0 ; @@ -43246,7 +44304,7 @@ static PyObject *_wrap_wxGridBagSizer_SetItemPosition__SWIG_0(PyObject *, PyObje PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; - if(!PyArg_ParseTuple(args,(char *)"OOO:wxGridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -43271,8 +44329,8 @@ static PyObject *_wrap_wxGridBagSizer_SetItemPosition__SWIG_0(PyObject *, PyObje } -static PyObject *_wrap_wxGridBagSizer_SetItemPosition__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; +static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *, PyObject *args) { + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; wxGBPosition *arg3 = 0 ; @@ -43282,7 +44340,7 @@ static PyObject *_wrap_wxGridBagSizer_SetItemPosition__SWIG_1(PyObject *, PyObje PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; - if(!PyArg_ParseTuple(args,(char *)"OOO:wxGridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); @@ -43307,8 +44365,8 @@ static PyObject *_wrap_wxGridBagSizer_SetItemPosition__SWIG_1(PyObject *, PyObje } -static PyObject *_wrap_wxGridBagSizer_SetItemPosition__SWIG_2(PyObject *, PyObject *args) { - PyObject *resultobj; +static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *, PyObject *args) { + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; size_t arg2 ; wxGBPosition *arg3 = 0 ; @@ -43318,11 +44376,11 @@ static PyObject *_wrap_wxGridBagSizer_SetItemPosition__SWIG_2(PyObject *, PyObje PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; - if(!PyArg_ParseTuple(args,(char *)"OOO:wxGridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -43345,7 +44403,7 @@ static PyObject *_wrap_wxGridBagSizer_SetItemPosition__SWIG_2(PyObject *, PyObje } -static PyObject *_wrap_wxGridBagSizer_SetItemPosition(PyObject *self, PyObject *args) { +static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; @@ -43380,7 +44438,7 @@ static PyObject *_wrap_wxGridBagSizer_SetItemPosition(PyObject *self, PyObject * _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2); } if (_v) { - return _wrap_wxGridBagSizer_SetItemPosition__SWIG_0(self,args); + return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self,args); } } } @@ -43411,7 +44469,7 @@ static PyObject *_wrap_wxGridBagSizer_SetItemPosition(PyObject *self, PyObject * _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2); } if (_v) { - return _wrap_wxGridBagSizer_SetItemPosition__SWIG_1(self,args); + return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self,args); } } } @@ -43434,26 +44492,26 @@ static PyObject *_wrap_wxGridBagSizer_SetItemPosition(PyObject *self, PyObject * _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2); } if (_v) { - return _wrap_wxGridBagSizer_SetItemPosition__SWIG_2(self,args); + return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self,args); } } } } - PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'wxGridBagSizer_SetItemPosition'"); + PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'GridBagSizer_SetItemPosition'"); return NULL; } -static PyObject *_wrap_wxGridBagSizer_GetItemSpan__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; +static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *, PyObject *args) { + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxGBSpan result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; - if(!PyArg_ParseTuple(args,(char *)"OO:wxGridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail; + if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -43467,7 +44525,7 @@ static PyObject *_wrap_wxGridBagSizer_GetItemSpan__SWIG_0(PyObject *, PyObject * } { wxGBSpan * resultptr; - resultptr = new wxGBSpan((wxGBSpan &)(result)); + resultptr = new wxGBSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1); } return resultobj; @@ -43476,15 +44534,15 @@ static PyObject *_wrap_wxGridBagSizer_GetItemSpan__SWIG_0(PyObject *, PyObject * } -static PyObject *_wrap_wxGridBagSizer_GetItemSpan__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; +static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *, PyObject *args) { + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; wxGBSpan result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; - if(!PyArg_ParseTuple(args,(char *)"OO:wxGridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail; + if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); @@ -43498,7 +44556,7 @@ static PyObject *_wrap_wxGridBagSizer_GetItemSpan__SWIG_1(PyObject *, PyObject * } { wxGBSpan * resultptr; - resultptr = new wxGBSpan((wxGBSpan &)(result)); + resultptr = new wxGBSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1); } return resultobj; @@ -43507,19 +44565,19 @@ static PyObject *_wrap_wxGridBagSizer_GetItemSpan__SWIG_1(PyObject *, PyObject * } -static PyObject *_wrap_wxGridBagSizer_GetItemSpan__SWIG_2(PyObject *, PyObject *args) { - PyObject *resultobj; +static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *, PyObject *args) { + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; size_t arg2 ; wxGBSpan result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; - if(!PyArg_ParseTuple(args,(char *)"OO:wxGridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail; + if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -43531,7 +44589,7 @@ static PyObject *_wrap_wxGridBagSizer_GetItemSpan__SWIG_2(PyObject *, PyObject * } { wxGBSpan * resultptr; - resultptr = new wxGBSpan((wxGBSpan &)(result)); + resultptr = new wxGBSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1); } return resultobj; @@ -43540,7 +44598,7 @@ static PyObject *_wrap_wxGridBagSizer_GetItemSpan__SWIG_2(PyObject *, PyObject * } -static PyObject *_wrap_wxGridBagSizer_GetItemSpan(PyObject *self, PyObject *args) { +static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; @@ -43571,7 +44629,7 @@ static PyObject *_wrap_wxGridBagSizer_GetItemSpan(PyObject *self, PyObject *args } } if (_v) { - return _wrap_wxGridBagSizer_GetItemSpan__SWIG_0(self,args); + return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self,args); } } } @@ -43597,7 +44655,7 @@ static PyObject *_wrap_wxGridBagSizer_GetItemSpan(PyObject *self, PyObject *args } } if (_v) { - return _wrap_wxGridBagSizer_GetItemSpan__SWIG_1(self,args); + return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self,args); } } } @@ -43615,18 +44673,18 @@ static PyObject *_wrap_wxGridBagSizer_GetItemSpan(PyObject *self, PyObject *args if (_v) { _v = SWIG_Check_unsigned_SS_long(argv[1]); if (_v) { - return _wrap_wxGridBagSizer_GetItemSpan__SWIG_2(self,args); + return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self,args); } } } - PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'wxGridBagSizer_GetItemSpan'"); + PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'GridBagSizer_GetItemSpan'"); return NULL; } -static PyObject *_wrap_wxGridBagSizer_SetItemSpan__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; +static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *, PyObject *args) { + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxGBSpan *arg3 = 0 ; @@ -43636,7 +44694,7 @@ static PyObject *_wrap_wxGridBagSizer_SetItemSpan__SWIG_0(PyObject *, PyObject * PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; - if(!PyArg_ParseTuple(args,(char *)"OOO:wxGridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -43661,8 +44719,8 @@ static PyObject *_wrap_wxGridBagSizer_SetItemSpan__SWIG_0(PyObject *, PyObject * } -static PyObject *_wrap_wxGridBagSizer_SetItemSpan__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; +static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *, PyObject *args) { + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; wxGBSpan *arg3 = 0 ; @@ -43672,7 +44730,7 @@ static PyObject *_wrap_wxGridBagSizer_SetItemSpan__SWIG_1(PyObject *, PyObject * PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; - if(!PyArg_ParseTuple(args,(char *)"OOO:wxGridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); @@ -43697,8 +44755,8 @@ static PyObject *_wrap_wxGridBagSizer_SetItemSpan__SWIG_1(PyObject *, PyObject * } -static PyObject *_wrap_wxGridBagSizer_SetItemSpan__SWIG_2(PyObject *, PyObject *args) { - PyObject *resultobj; +static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *, PyObject *args) { + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; size_t arg2 ; wxGBSpan *arg3 = 0 ; @@ -43708,11 +44766,11 @@ static PyObject *_wrap_wxGridBagSizer_SetItemSpan__SWIG_2(PyObject *, PyObject * PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; - if(!PyArg_ParseTuple(args,(char *)"OOO:wxGridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -43735,7 +44793,7 @@ static PyObject *_wrap_wxGridBagSizer_SetItemSpan__SWIG_2(PyObject *, PyObject * } -static PyObject *_wrap_wxGridBagSizer_SetItemSpan(PyObject *self, PyObject *args) { +static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) { int argc; PyObject *argv[4]; int ii; @@ -43770,7 +44828,7 @@ static PyObject *_wrap_wxGridBagSizer_SetItemSpan(PyObject *self, PyObject *args _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2); } if (_v) { - return _wrap_wxGridBagSizer_SetItemSpan__SWIG_0(self,args); + return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self,args); } } } @@ -43801,7 +44859,7 @@ static PyObject *_wrap_wxGridBagSizer_SetItemSpan(PyObject *self, PyObject *args _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2); } if (_v) { - return _wrap_wxGridBagSizer_SetItemSpan__SWIG_1(self,args); + return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self,args); } } } @@ -43824,26 +44882,26 @@ static PyObject *_wrap_wxGridBagSizer_SetItemSpan(PyObject *self, PyObject *args _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2); } if (_v) { - return _wrap_wxGridBagSizer_SetItemSpan__SWIG_2(self,args); + return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self,args); } } } } - PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'wxGridBagSizer_SetItemSpan'"); + PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'GridBagSizer_SetItemSpan'"); return NULL; } -static PyObject *_wrap_wxGridBagSizer_FindItem__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; +static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *, PyObject *args) { + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxGBSizerItem *result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; - if(!PyArg_ParseTuple(args,(char *)"OO:wxGridBagSizer_FindItem",&obj0,&obj1)) goto fail; + if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -43862,15 +44920,15 @@ static PyObject *_wrap_wxGridBagSizer_FindItem__SWIG_0(PyObject *, PyObject *arg } -static PyObject *_wrap_wxGridBagSizer_FindItem__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; +static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *, PyObject *args) { + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; wxGBSizerItem *result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; - if(!PyArg_ParseTuple(args,(char *)"OO:wxGridBagSizer_FindItem",&obj0,&obj1)) goto fail; + if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSizer, SWIG_POINTER_EXCEPTION | 0); @@ -43889,7 +44947,7 @@ static PyObject *_wrap_wxGridBagSizer_FindItem__SWIG_1(PyObject *, PyObject *arg } -static PyObject *_wrap_wxGridBagSizer_FindItem(PyObject *self, PyObject *args) { +static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) { int argc; PyObject *argv[3]; int ii; @@ -43920,7 +44978,7 @@ static PyObject *_wrap_wxGridBagSizer_FindItem(PyObject *self, PyObject *args) { } } if (_v) { - return _wrap_wxGridBagSizer_FindItem__SWIG_0(self,args); + return _wrap_GridBagSizer_FindItem__SWIG_0(self,args); } } } @@ -43946,18 +45004,18 @@ static PyObject *_wrap_wxGridBagSizer_FindItem(PyObject *self, PyObject *args) { } } if (_v) { - return _wrap_wxGridBagSizer_FindItem__SWIG_1(self,args); + return _wrap_GridBagSizer_FindItem__SWIG_1(self,args); } } } - PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'wxGridBagSizer_FindItem'"); + PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'GridBagSizer_FindItem'"); return NULL; } -static PyObject *_wrap_wxGridBagSizer_FindItemAtPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxGBPosition *arg2 = 0 ; wxGBSizerItem *result; @@ -43968,7 +45026,7 @@ static PyObject *_wrap_wxGridBagSizer_FindItemAtPosition(PyObject *, PyObject *a (char *) "self",(char *) "pos", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxGridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -43989,8 +45047,8 @@ static PyObject *_wrap_wxGridBagSizer_FindItemAtPosition(PyObject *, PyObject *a } -static PyObject *_wrap_wxGridBagSizer_FindItemAtPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxPoint *arg2 = 0 ; wxGBSizerItem *result; @@ -44001,7 +45059,7 @@ static PyObject *_wrap_wxGridBagSizer_FindItemAtPoint(PyObject *, PyObject *args (char *) "self",(char *) "pt", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxGridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -44022,8 +45080,8 @@ static PyObject *_wrap_wxGridBagSizer_FindItemAtPoint(PyObject *, PyObject *args } -static PyObject *_wrap_wxGridBagSizer_CheckForIntersection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ; wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ; @@ -44035,7 +45093,7 @@ static PyObject *_wrap_wxGridBagSizer_CheckForIntersection(PyObject *, PyObject (char *) "self",(char *) "item",(char *) "excludeItem", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:wxGridBagSizer_CheckForIntersection",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGBSizerItem, SWIG_POINTER_EXCEPTION | 0); @@ -44060,8 +45118,8 @@ static PyObject *_wrap_wxGridBagSizer_CheckForIntersection(PyObject *, PyObject } -static PyObject *_wrap_wxGridBagSizer_CheckForIntersectionPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_GridBagSizer_CheckForIntersectionPos(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxGBPosition *arg2 = 0 ; wxGBSpan *arg3 = 0 ; @@ -44077,7 +45135,7 @@ static PyObject *_wrap_wxGridBagSizer_CheckForIntersectionPos(PyObject *, PyObje (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:wxGridBagSizer_CheckForIntersectionPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGridBagSizer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -44108,15 +45166,15 @@ static PyObject *_wrap_wxGridBagSizer_CheckForIntersectionPos(PyObject *, PyObje } -static PyObject * wxGridBagSizer_swigregister(PyObject *, PyObject *args) { +static PyObject * GridBagSizer_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_wxIndividualLayoutConstraint_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxRelationship arg2 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -44133,34 +45191,34 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_Set(PyObject *, PyObject *ar (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:wxIndividualLayoutConstraint_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxRelationship)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(3)) SWIG_fail; { - arg4 = (wxEdge)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6); + (arg1)->Set(arg2,arg3,arg4,arg5,arg6); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -44172,8 +45230,8 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_Set(PyObject *, PyObject *ar } -static PyObject *_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) 0 ; @@ -44184,14 +45242,14 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject *, PyObject (char *) "self",(char *) "sibling",(char *) "marg", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:wxIndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -44209,8 +45267,8 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject *, PyObject } -static PyObject *_wrap_wxIndividualLayoutConstraint_RightOf(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) 0 ; @@ -44221,14 +45279,14 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_RightOf(PyObject *, PyObject (char *) "self",(char *) "sibling",(char *) "marg", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:wxIndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -44246,8 +45304,8 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_RightOf(PyObject *, PyObject } -static PyObject *_wrap_wxIndividualLayoutConstraint_Above(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) 0 ; @@ -44258,14 +45316,14 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_Above(PyObject *, PyObject * (char *) "self",(char *) "sibling",(char *) "marg", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:wxIndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -44283,8 +45341,8 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_Above(PyObject *, PyObject * } -static PyObject *_wrap_wxIndividualLayoutConstraint_Below(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) 0 ; @@ -44295,14 +45353,14 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_Below(PyObject *, PyObject * (char *) "self",(char *) "sibling",(char *) "marg", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:wxIndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -44320,8 +45378,8 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_Below(PyObject *, PyObject * } -static PyObject *_wrap_wxIndividualLayoutConstraint_SameAs(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxEdge arg3 ; @@ -44334,24 +45392,24 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_SameAs(PyObject *, PyObject (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:wxIndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(2)) SWIG_fail; { - arg3 = (wxEdge)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SameAs(arg2,(wxEdge )arg3,arg4); + (arg1)->SameAs(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -44363,8 +45421,8 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_SameAs(PyObject *, PyObject } -static PyObject *_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxEdge arg3 ; @@ -44377,22 +45435,22 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject *, PyObje (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:wxIndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(2)) SWIG_fail; { - arg3 = (wxEdge)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4); + (arg1)->PercentOf(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -44404,8 +45462,8 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject *, PyObje } -static PyObject *_wrap_wxIndividualLayoutConstraint_Absolute(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -44414,11 +45472,11 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_Absolute(PyObject *, PyObjec (char *) "self",(char *) "val", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxIndividualLayoutConstraint_Absolute",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -44435,15 +45493,15 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_Absolute(PyObject *, PyObjec } -static PyObject *_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxIndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -44460,15 +45518,15 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject *, Py } -static PyObject *_wrap_wxIndividualLayoutConstraint_AsIs(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxIndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -44485,8 +45543,8 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_AsIs(PyObject *, PyObject *a } -static PyObject *_wrap_wxIndividualLayoutConstraint_GetOtherWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -44494,7 +45552,7 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_GetOtherWindow(PyObject *, P (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxIndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -44513,8 +45571,8 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_GetOtherWindow(PyObject *, P } -static PyObject *_wrap_wxIndividualLayoutConstraint_GetMyEdge(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxEdge result; PyObject * obj0 = 0 ; @@ -44522,7 +45580,7 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_GetMyEdge(PyObject *, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxIndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -44539,8 +45597,8 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_GetMyEdge(PyObject *, PyObje } -static PyObject *_wrap_wxIndividualLayoutConstraint_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxEdge arg2 ; PyObject * obj0 = 0 ; @@ -44549,16 +45607,16 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_SetEdge(PyObject *, PyObject (char *) "self",(char *) "which", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxIndividualLayoutConstraint_SetEdge",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxEdge)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetEdge((wxEdge )arg2); + (arg1)->SetEdge(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -44570,8 +45628,8 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_SetEdge(PyObject *, PyObject } -static PyObject *_wrap_wxIndividualLayoutConstraint_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -44580,11 +45638,11 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_SetValue(PyObject *, PyObjec (char *) "self",(char *) "v", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxIndividualLayoutConstraint_SetValue",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -44601,8 +45659,8 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_SetValue(PyObject *, PyObjec } -static PyObject *_wrap_wxIndividualLayoutConstraint_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; int result; PyObject * obj0 = 0 ; @@ -44610,7 +45668,7 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_GetMargin(PyObject *, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxIndividualLayoutConstraint_GetMargin",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -44621,7 +45679,7 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_GetMargin(PyObject *, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -44629,8 +45687,8 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_GetMargin(PyObject *, PyObje } -static PyObject *_wrap_wxIndividualLayoutConstraint_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -44639,11 +45697,11 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_SetMargin(PyObject *, PyObje (char *) "self",(char *) "m", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxIndividualLayoutConstraint_SetMargin",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -44660,8 +45718,8 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_SetMargin(PyObject *, PyObje } -static PyObject *_wrap_wxIndividualLayoutConstraint_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; int result; PyObject * obj0 = 0 ; @@ -44669,7 +45727,7 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_GetValue(PyObject *, PyObjec (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxIndividualLayoutConstraint_GetValue",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -44680,7 +45738,7 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_GetValue(PyObject *, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -44688,8 +45746,8 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_GetValue(PyObject *, PyObjec } -static PyObject *_wrap_wxIndividualLayoutConstraint_GetPercent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; int result; PyObject * obj0 = 0 ; @@ -44697,7 +45755,7 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_GetPercent(PyObject *, PyObj (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxIndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -44708,7 +45766,7 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_GetPercent(PyObject *, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -44716,8 +45774,8 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_GetPercent(PyObject *, PyObj } -static PyObject *_wrap_wxIndividualLayoutConstraint_GetOtherEdge(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; int result; PyObject * obj0 = 0 ; @@ -44725,7 +45783,7 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_GetOtherEdge(PyObject *, PyO (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxIndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -44736,7 +45794,7 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_GetOtherEdge(PyObject *, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -44744,8 +45802,8 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_GetOtherEdge(PyObject *, PyO } -static PyObject *_wrap_wxIndividualLayoutConstraint_GetDone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -44753,7 +45811,7 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_GetDone(PyObject *, PyObject (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxIndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -44772,8 +45830,8 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_GetDone(PyObject *, PyObject } -static PyObject *_wrap_wxIndividualLayoutConstraint_SetDone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -44782,11 +45840,11 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_SetDone(PyObject *, PyObject (char *) "self",(char *) "d", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxIndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -44803,8 +45861,8 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_SetDone(PyObject *, PyObject } -static PyObject *_wrap_wxIndividualLayoutConstraint_GetRelationship(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxRelationship result; PyObject * obj0 = 0 ; @@ -44812,7 +45870,7 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_GetRelationship(PyObject *, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxIndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -44829,8 +45887,8 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_GetRelationship(PyObject *, } -static PyObject *_wrap_wxIndividualLayoutConstraint_SetRelationship(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxRelationship arg2 ; PyObject * obj0 = 0 ; @@ -44839,16 +45897,16 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_SetRelationship(PyObject *, (char *) "self",(char *) "r", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxIndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxRelationship)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetRelationship((wxRelationship )arg2); + (arg1)->SetRelationship(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -44860,8 +45918,8 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_SetRelationship(PyObject *, } -static PyObject *_wrap_wxIndividualLayoutConstraint_ResetIfWin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; bool result; @@ -44871,7 +45929,7 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_ResetIfWin(PyObject *, PyObj (char *) "self",(char *) "otherW", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxIndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -44892,8 +45950,8 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_ResetIfWin(PyObject *, PyObj } -static PyObject *_wrap_wxIndividualLayoutConstraint_SatisfyConstraint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -44905,7 +45963,7 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_SatisfyConstraint(PyObject * (char *) "self",(char *) "constraints",(char *) "win", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:wxIndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0); @@ -44928,8 +45986,8 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_SatisfyConstraint(PyObject * } -static PyObject *_wrap_wxIndividualLayoutConstraint_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxEdge arg2 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -44943,11 +46001,11 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_GetEdge(PyObject *, PyObject (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:wxIndividualLayoutConstraint_GetEdge",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIndividualLayoutConstraint, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxEdge)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -44956,13 +46014,13 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_GetEdge(PyObject *, PyObject if (SWIG_arg_fail(4)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4); + result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -44970,15 +46028,15 @@ static PyObject *_wrap_wxIndividualLayoutConstraint_GetEdge(PyObject *, PyObject } -static PyObject * wxIndividualLayoutConstraint_swigregister(PyObject *, PyObject *args) { +static PyObject * IndividualLayoutConstraint_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } -static PyObject *_wrap_wxLayoutConstraints_left_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_LayoutConstraints_left_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -44986,7 +46044,7 @@ static PyObject *_wrap_wxLayoutConstraints_left_get(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxLayoutConstraints_left_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_left_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (wxIndividualLayoutConstraint *)& ((arg1)->left); @@ -44998,8 +46056,8 @@ static PyObject *_wrap_wxLayoutConstraints_left_get(PyObject *, PyObject *args, } -static PyObject *_wrap_wxLayoutConstraints_top_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_LayoutConstraints_top_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -45007,7 +46065,7 @@ static PyObject *_wrap_wxLayoutConstraints_top_get(PyObject *, PyObject *args, P (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxLayoutConstraints_top_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_top_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (wxIndividualLayoutConstraint *)& ((arg1)->top); @@ -45019,8 +46077,8 @@ static PyObject *_wrap_wxLayoutConstraints_top_get(PyObject *, PyObject *args, P } -static PyObject *_wrap_wxLayoutConstraints_right_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_LayoutConstraints_right_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -45028,7 +46086,7 @@ static PyObject *_wrap_wxLayoutConstraints_right_get(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxLayoutConstraints_right_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_right_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (wxIndividualLayoutConstraint *)& ((arg1)->right); @@ -45040,8 +46098,8 @@ static PyObject *_wrap_wxLayoutConstraints_right_get(PyObject *, PyObject *args, } -static PyObject *_wrap_wxLayoutConstraints_bottom_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -45049,7 +46107,7 @@ static PyObject *_wrap_wxLayoutConstraints_bottom_get(PyObject *, PyObject *args (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxLayoutConstraints_bottom_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_bottom_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (wxIndividualLayoutConstraint *)& ((arg1)->bottom); @@ -45061,8 +46119,8 @@ static PyObject *_wrap_wxLayoutConstraints_bottom_get(PyObject *, PyObject *args } -static PyObject *_wrap_wxLayoutConstraints_width_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_LayoutConstraints_width_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -45070,7 +46128,7 @@ static PyObject *_wrap_wxLayoutConstraints_width_get(PyObject *, PyObject *args, (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxLayoutConstraints_width_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_width_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (wxIndividualLayoutConstraint *)& ((arg1)->width); @@ -45082,8 +46140,8 @@ static PyObject *_wrap_wxLayoutConstraints_width_get(PyObject *, PyObject *args, } -static PyObject *_wrap_wxLayoutConstraints_height_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_LayoutConstraints_height_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -45091,7 +46149,7 @@ static PyObject *_wrap_wxLayoutConstraints_height_get(PyObject *, PyObject *args (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxLayoutConstraints_height_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_height_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (wxIndividualLayoutConstraint *)& ((arg1)->height); @@ -45103,8 +46161,8 @@ static PyObject *_wrap_wxLayoutConstraints_height_get(PyObject *, PyObject *args } -static PyObject *_wrap_wxLayoutConstraints_centreX_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -45112,7 +46170,7 @@ static PyObject *_wrap_wxLayoutConstraints_centreX_get(PyObject *, PyObject *arg (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxLayoutConstraints_centreX_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreX_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (wxIndividualLayoutConstraint *)& ((arg1)->centreX); @@ -45124,8 +46182,8 @@ static PyObject *_wrap_wxLayoutConstraints_centreX_get(PyObject *, PyObject *arg } -static PyObject *_wrap_wxLayoutConstraints_centreY_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -45133,7 +46191,7 @@ static PyObject *_wrap_wxLayoutConstraints_centreY_get(PyObject *, PyObject *arg (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxLayoutConstraints_centreY_get",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreY_get",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; result = (wxIndividualLayoutConstraint *)& ((arg1)->centreY); @@ -45145,14 +46203,14 @@ static PyObject *_wrap_wxLayoutConstraints_centreY_get(PyObject *, PyObject *arg } -static PyObject *_wrap_new_wxLayoutConstraints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_new_LayoutConstraints(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxLayoutConstraints *result; char *kwnames[] = { NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_wxLayoutConstraints",kwnames)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutConstraints",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxLayoutConstraints *)new wxLayoutConstraints(); @@ -45167,8 +46225,8 @@ static PyObject *_wrap_new_wxLayoutConstraints(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_wxLayoutConstraints_SatisfyConstraints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int *arg3 = (int *) 0 ; @@ -45182,7 +46240,7 @@ static PyObject *_wrap_wxLayoutConstraints_SatisfyConstraints(PyObject *, PyObje }; arg3 = &temp3; res3 = SWIG_NEWOBJ; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:wxLayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -45205,8 +46263,8 @@ static PyObject *_wrap_wxLayoutConstraints_SatisfyConstraints(PyObject *, PyObje } -static PyObject *_wrap_wxLayoutConstraints_AreSatisfied(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -45214,7 +46272,7 @@ static PyObject *_wrap_wxLayoutConstraints_AreSatisfied(PyObject *, PyObject *ar (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:wxLayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutConstraints, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { @@ -45233,7 +46291,7 @@ static PyObject *_wrap_wxLayoutConstraints_AreSatisfied(PyObject *, PyObject *ar } -static PyObject * wxLayoutConstraints_swigregister(PyObject *, PyObject *args) { +static PyObject * LayoutConstraints_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints, obj); @@ -45243,140 +46301,140 @@ static PyObject * wxLayoutConstraints_swigregister(PyObject *, PyObject *args) { static PyMethodDef SwigMethods[] = { { (char *)"_wxPySetDictionary", __wxPySetDictionary, METH_VARARGS, NULL}, { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects, METH_VARARGS, NULL}, - { (char *)"wxObject_GetClassName", (PyCFunction) _wrap_wxObject_GetClassName, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxObject_Destroy", (PyCFunction) _wrap_wxObject_Destroy, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxObject_swigregister", wxObject_swigregister, METH_VARARGS, NULL}, - { (char *)"wxSize_width_set", (PyCFunction) _wrap_wxSize_width_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSize_width_get", (PyCFunction) _wrap_wxSize_width_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSize_height_set", (PyCFunction) _wrap_wxSize_height_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSize_height_get", (PyCFunction) _wrap_wxSize_height_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"new_wxSize", (PyCFunction) _wrap_new_wxSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"delete_wxSize", (PyCFunction) _wrap_delete_wxSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSize___eq__", (PyCFunction) _wrap_wxSize___eq__, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSize___ne__", (PyCFunction) _wrap_wxSize___ne__, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSize___add__", (PyCFunction) _wrap_wxSize___add__, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSize___sub__", (PyCFunction) _wrap_wxSize___sub__, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSize_IncTo", (PyCFunction) _wrap_wxSize_IncTo, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSize_DecTo", (PyCFunction) _wrap_wxSize_DecTo, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSize_Set", (PyCFunction) _wrap_wxSize_Set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSize_SetWidth", (PyCFunction) _wrap_wxSize_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSize_SetHeight", (PyCFunction) _wrap_wxSize_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSize_GetWidth", (PyCFunction) _wrap_wxSize_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSize_GetHeight", (PyCFunction) _wrap_wxSize_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSize_IsFullySpecified", (PyCFunction) _wrap_wxSize_IsFullySpecified, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSize_SetDefaults", (PyCFunction) _wrap_wxSize_SetDefaults, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSize_Get", (PyCFunction) _wrap_wxSize_Get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSize_swigregister", wxSize_swigregister, METH_VARARGS, NULL}, - { (char *)"wxRealPoint_x_set", (PyCFunction) _wrap_wxRealPoint_x_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRealPoint_x_get", (PyCFunction) _wrap_wxRealPoint_x_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRealPoint_y_set", (PyCFunction) _wrap_wxRealPoint_y_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRealPoint_y_get", (PyCFunction) _wrap_wxRealPoint_y_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"new_wxRealPoint", (PyCFunction) _wrap_new_wxRealPoint, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"delete_wxRealPoint", (PyCFunction) _wrap_delete_wxRealPoint, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRealPoint___eq__", (PyCFunction) _wrap_wxRealPoint___eq__, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRealPoint___ne__", (PyCFunction) _wrap_wxRealPoint___ne__, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRealPoint___add__", (PyCFunction) _wrap_wxRealPoint___add__, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRealPoint___sub__", (PyCFunction) _wrap_wxRealPoint___sub__, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRealPoint_Set", (PyCFunction) _wrap_wxRealPoint_Set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRealPoint_Get", (PyCFunction) _wrap_wxRealPoint_Get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRealPoint_swigregister", wxRealPoint_swigregister, METH_VARARGS, NULL}, - { (char *)"wxPoint_x_set", (PyCFunction) _wrap_wxPoint_x_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint_x_get", (PyCFunction) _wrap_wxPoint_x_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint_y_set", (PyCFunction) _wrap_wxPoint_y_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint_y_get", (PyCFunction) _wrap_wxPoint_y_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"new_wxPoint", (PyCFunction) _wrap_new_wxPoint, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"delete_wxPoint", (PyCFunction) _wrap_delete_wxPoint, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint___eq__", (PyCFunction) _wrap_wxPoint___eq__, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint___ne__", (PyCFunction) _wrap_wxPoint___ne__, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint___add__", (PyCFunction) _wrap_wxPoint___add__, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint___sub__", (PyCFunction) _wrap_wxPoint___sub__, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint___iadd__", (PyCFunction) _wrap_wxPoint___iadd__, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint___isub__", (PyCFunction) _wrap_wxPoint___isub__, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint_Set", (PyCFunction) _wrap_wxPoint_Set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint_Get", (PyCFunction) _wrap_wxPoint_Get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint_swigregister", wxPoint_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxRect", (PyCFunction) _wrap_new_wxRect, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Object_GetClassName", (PyCFunction) _wrap_Object_GetClassName, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Object_Destroy", (PyCFunction) _wrap_Object_Destroy, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS, NULL}, + { (char *)"Size_width_set", (PyCFunction) _wrap_Size_width_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Size_width_get", (PyCFunction) _wrap_Size_width_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Size_height_set", (PyCFunction) _wrap_Size_height_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Size_height_get", (PyCFunction) _wrap_Size_height_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"new_Size", (PyCFunction) _wrap_new_Size, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_Size", (PyCFunction) _wrap_delete_Size, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Size___eq__", (PyCFunction) _wrap_Size___eq__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Size___ne__", (PyCFunction) _wrap_Size___ne__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Size___add__", (PyCFunction) _wrap_Size___add__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Size_IsFullySpecified", (PyCFunction) _wrap_Size_IsFullySpecified, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Size_SetDefaults", (PyCFunction) _wrap_Size_SetDefaults, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS, NULL}, + { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"RealPoint_y_set", (PyCFunction) _wrap_RealPoint_y_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS, NULL}, + { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point_y_set", (PyCFunction) _wrap_Point_y_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point_y_get", (PyCFunction) _wrap_Point_y_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"new_Point", (PyCFunction) _wrap_new_Point, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_Point", (PyCFunction) _wrap_delete_Point, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point___eq__", (PyCFunction) _wrap_Point___eq__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point___ne__", (PyCFunction) _wrap_Point___ne__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point___add__", (PyCFunction) _wrap_Point___add__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point___sub__", (PyCFunction) _wrap_Point___sub__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS, NULL}, + { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_RectS", (PyCFunction) _wrap_new_RectS, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"delete_wxRect", (PyCFunction) _wrap_delete_wxRect, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_GetX", (PyCFunction) _wrap_wxRect_GetX, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_SetX", (PyCFunction) _wrap_wxRect_SetX, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_GetY", (PyCFunction) _wrap_wxRect_GetY, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_SetY", (PyCFunction) _wrap_wxRect_SetY, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_GetWidth", (PyCFunction) _wrap_wxRect_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_SetWidth", (PyCFunction) _wrap_wxRect_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_GetHeight", (PyCFunction) _wrap_wxRect_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_SetHeight", (PyCFunction) _wrap_wxRect_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_GetPosition", (PyCFunction) _wrap_wxRect_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_SetPosition", (PyCFunction) _wrap_wxRect_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_GetSize", (PyCFunction) _wrap_wxRect_GetSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_SetSize", (PyCFunction) _wrap_wxRect_SetSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_IsEmpty", (PyCFunction) _wrap_wxRect_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_GetTopLeft", (PyCFunction) _wrap_wxRect_GetTopLeft, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_SetTopLeft", (PyCFunction) _wrap_wxRect_SetTopLeft, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_GetBottomRight", (PyCFunction) _wrap_wxRect_GetBottomRight, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_SetBottomRight", (PyCFunction) _wrap_wxRect_SetBottomRight, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_GetLeft", (PyCFunction) _wrap_wxRect_GetLeft, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_GetTop", (PyCFunction) _wrap_wxRect_GetTop, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_GetBottom", (PyCFunction) _wrap_wxRect_GetBottom, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_GetRight", (PyCFunction) _wrap_wxRect_GetRight, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_SetLeft", (PyCFunction) _wrap_wxRect_SetLeft, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_SetRight", (PyCFunction) _wrap_wxRect_SetRight, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_SetTop", (PyCFunction) _wrap_wxRect_SetTop, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_SetBottom", (PyCFunction) _wrap_wxRect_SetBottom, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_Inflate", (PyCFunction) _wrap_wxRect_Inflate, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_Deflate", (PyCFunction) _wrap_wxRect_Deflate, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_OffsetXY", (PyCFunction) _wrap_wxRect_OffsetXY, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_Offset", (PyCFunction) _wrap_wxRect_Offset, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_Intersect", (PyCFunction) _wrap_wxRect_Intersect, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_Union", (PyCFunction) _wrap_wxRect_Union, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect___add__", (PyCFunction) _wrap_wxRect___add__, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect___iadd__", (PyCFunction) _wrap_wxRect___iadd__, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect___eq__", (PyCFunction) _wrap_wxRect___eq__, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect___ne__", (PyCFunction) _wrap_wxRect___ne__, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_InsideXY", (PyCFunction) _wrap_wxRect_InsideXY, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_Inside", (PyCFunction) _wrap_wxRect_Inside, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_Intersects", (PyCFunction) _wrap_wxRect_Intersects, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_x_set", (PyCFunction) _wrap_wxRect_x_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_x_get", (PyCFunction) _wrap_wxRect_x_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_y_set", (PyCFunction) _wrap_wxRect_y_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_y_get", (PyCFunction) _wrap_wxRect_y_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_width_set", (PyCFunction) _wrap_wxRect_width_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_width_get", (PyCFunction) _wrap_wxRect_width_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_height_set", (PyCFunction) _wrap_wxRect_height_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_height_get", (PyCFunction) _wrap_wxRect_height_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_Set", (PyCFunction) _wrap_wxRect_Set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_Get", (PyCFunction) _wrap_wxRect_Get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxRect_swigregister", wxRect_swigregister, METH_VARARGS, NULL}, - { (char *)"wxIntersectRect", (PyCFunction) _wrap_wxIntersectRect, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"new_wxPoint2D", (PyCFunction) _wrap_new_wxPoint2D, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_GetY", (PyCFunction) _wrap_Rect_GetY, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_SetY", (PyCFunction) _wrap_Rect_SetY, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_GetWidth", (PyCFunction) _wrap_Rect_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_SetWidth", (PyCFunction) _wrap_Rect_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_GetHeight", (PyCFunction) _wrap_Rect_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_SetHeight", (PyCFunction) _wrap_Rect_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_GetPosition", (PyCFunction) _wrap_Rect_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_SetPosition", (PyCFunction) _wrap_Rect_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_GetSize", (PyCFunction) _wrap_Rect_GetSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_SetSize", (PyCFunction) _wrap_Rect_SetSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_IsEmpty", (PyCFunction) _wrap_Rect_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_GetTopLeft", (PyCFunction) _wrap_Rect_GetTopLeft, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_SetTopLeft", (PyCFunction) _wrap_Rect_SetTopLeft, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_GetBottomRight", (PyCFunction) _wrap_Rect_GetBottomRight, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_SetBottomRight", (PyCFunction) _wrap_Rect_SetBottomRight, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_GetLeft", (PyCFunction) _wrap_Rect_GetLeft, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_GetTop", (PyCFunction) _wrap_Rect_GetTop, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_GetBottom", (PyCFunction) _wrap_Rect_GetBottom, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_GetRight", (PyCFunction) _wrap_Rect_GetRight, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_SetLeft", (PyCFunction) _wrap_Rect_SetLeft, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_SetRight", (PyCFunction) _wrap_Rect_SetRight, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_SetTop", (PyCFunction) _wrap_Rect_SetTop, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_SetBottom", (PyCFunction) _wrap_Rect_SetBottom, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_Inflate", (PyCFunction) _wrap_Rect_Inflate, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_Deflate", (PyCFunction) _wrap_Rect_Deflate, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_OffsetXY", (PyCFunction) _wrap_Rect_OffsetXY, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_Offset", (PyCFunction) _wrap_Rect_Offset, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_Intersect", (PyCFunction) _wrap_Rect_Intersect, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_Union", (PyCFunction) _wrap_Rect_Union, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect___add__", (PyCFunction) _wrap_Rect___add__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_x_set", (PyCFunction) _wrap_Rect_x_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_x_get", (PyCFunction) _wrap_Rect_x_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_y_set", (PyCFunction) _wrap_Rect_y_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_y_get", (PyCFunction) _wrap_Rect_y_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_width_set", (PyCFunction) _wrap_Rect_width_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_width_get", (PyCFunction) _wrap_Rect_width_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS, NULL}, + { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_Point2DCopy", (PyCFunction) _wrap_new_Point2DCopy, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_Point2DFromPoint", (PyCFunction) _wrap_new_Point2DFromPoint, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint2D_GetFloor", (PyCFunction) _wrap_wxPoint2D_GetFloor, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint2D_GetRounded", (PyCFunction) _wrap_wxPoint2D_GetRounded, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint2D_GetVectorLength", (PyCFunction) _wrap_wxPoint2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint2D_GetVectorAngle", (PyCFunction) _wrap_wxPoint2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint2D_SetVectorLength", (PyCFunction) _wrap_wxPoint2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint2D_SetVectorAngle", (PyCFunction) _wrap_wxPoint2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint2D_GetDistance", (PyCFunction) _wrap_wxPoint2D_GetDistance, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint2D_GetDistanceSquare", (PyCFunction) _wrap_wxPoint2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint2D_GetDotProduct", (PyCFunction) _wrap_wxPoint2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint2D_GetCrossProduct", (PyCFunction) _wrap_wxPoint2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint2D___neg__", (PyCFunction) _wrap_wxPoint2D___neg__, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint2D___iadd__", (PyCFunction) _wrap_wxPoint2D___iadd__, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint2D___isub__", (PyCFunction) _wrap_wxPoint2D___isub__, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint2D___imul__", (PyCFunction) _wrap_wxPoint2D___imul__, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint2D___idiv__", (PyCFunction) _wrap_wxPoint2D___idiv__, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint2D___eq__", (PyCFunction) _wrap_wxPoint2D___eq__, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint2D___ne__", (PyCFunction) _wrap_wxPoint2D___ne__, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint2D_x_set", (PyCFunction) _wrap_wxPoint2D_x_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint2D_x_get", (PyCFunction) _wrap_wxPoint2D_x_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint2D_y_set", (PyCFunction) _wrap_wxPoint2D_y_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint2D_y_get", (PyCFunction) _wrap_wxPoint2D_y_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint2D_Set", (PyCFunction) _wrap_wxPoint2D_Set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint2D_Get", (PyCFunction) _wrap_wxPoint2D_Get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPoint2D_swigregister", wxPoint2D_swigregister, METH_VARARGS, NULL}, + { (char *)"Point2D_GetFloor", (PyCFunction) _wrap_Point2D_GetFloor, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point2D_GetRounded", (PyCFunction) _wrap_Point2D_GetRounded, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point2D_GetVectorLength", (PyCFunction) _wrap_Point2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point2D_GetVectorAngle", (PyCFunction) _wrap_Point2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point2D_SetVectorLength", (PyCFunction) _wrap_Point2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point2D_SetVectorAngle", (PyCFunction) _wrap_Point2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point2D_GetDistance", (PyCFunction) _wrap_Point2D_GetDistance, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point2D_GetDistanceSquare", (PyCFunction) _wrap_Point2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point2D_GetDotProduct", (PyCFunction) _wrap_Point2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point2D_GetCrossProduct", (PyCFunction) _wrap_Point2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point2D___neg__", (PyCFunction) _wrap_Point2D___neg__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point2D___iadd__", (PyCFunction) _wrap_Point2D___iadd__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point2D___isub__", (PyCFunction) _wrap_Point2D___isub__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point2D___imul__", (PyCFunction) _wrap_Point2D___imul__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS, NULL}, { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"delete_InputStream", (PyCFunction) _wrap_delete_InputStream, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -45396,16 +46454,16 @@ static PyMethodDef SwigMethods[] = { { (char *)"InputStream_SeekI", (PyCFunction) _wrap_InputStream_SeekI, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"InputStream_TellI", (PyCFunction) _wrap_InputStream_TellI, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"InputStream_swigregister", InputStream_swigregister, METH_VARARGS, NULL}, - { (char *)"wxOutputStream_write", (PyCFunction) _wrap_wxOutputStream_write, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxOutputStream_swigregister", wxOutputStream_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxFSFile", (PyCFunction) _wrap_new_wxFSFile, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"delete_wxFSFile", (PyCFunction) _wrap_delete_wxFSFile, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFSFile_GetStream", (PyCFunction) _wrap_wxFSFile_GetStream, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFSFile_GetMimeType", (PyCFunction) _wrap_wxFSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFSFile_GetLocation", (PyCFunction) _wrap_wxFSFile_GetLocation, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFSFile_GetAnchor", (PyCFunction) _wrap_wxFSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFSFile_GetModificationTime", (PyCFunction) _wrap_wxFSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFSFile_swigregister", wxFSFile_swigregister, METH_VARARGS, NULL}, + { (char *)"OutputStream_write", (PyCFunction) _wrap_OutputStream_write, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"OutputStream_swigregister", OutputStream_swigregister, METH_VARARGS, NULL}, + { (char *)"new_FSFile", (PyCFunction) _wrap_new_FSFile, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_FSFile", (PyCFunction) _wrap_delete_FSFile, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FSFile_GetStream", (PyCFunction) _wrap_FSFile_GetStream, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FSFile_GetMimeType", (PyCFunction) _wrap_FSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FSFile_GetLocation", (PyCFunction) _wrap_FSFile_GetLocation, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FSFile_GetAnchor", (PyCFunction) _wrap_FSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FSFile_GetModificationTime", (PyCFunction) _wrap_FSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FSFile_swigregister", FSFile_swigregister, METH_VARARGS, NULL}, { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister, METH_VARARGS, NULL}, { (char *)"new_FileSystemHandler", (PyCFunction) _wrap_new_FileSystemHandler, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction) _wrap_FileSystemHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -45419,57 +46477,76 @@ static PyMethodDef SwigMethods[] = { { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction) _wrap_FileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_FileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxFileSystem", (PyCFunction) _wrap_new_wxFileSystem, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"delete_wxFileSystem", (PyCFunction) _wrap_delete_wxFileSystem, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFileSystem_ChangePathTo", (PyCFunction) _wrap_wxFileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFileSystem_GetPath", (PyCFunction) _wrap_wxFileSystem_GetPath, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFileSystem_OpenFile", (PyCFunction) _wrap_wxFileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFileSystem_FindFirst", (PyCFunction) _wrap_wxFileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFileSystem_FindNext", (PyCFunction) _wrap_wxFileSystem_FindNext, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFileSystem_AddHandler", (PyCFunction) _wrap_wxFileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFileSystem_CleanUpHandlers", (PyCFunction) _wrap_wxFileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFileSystem_FileNameToURL", (PyCFunction) _wrap_wxFileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFileSystem_URLToFileName", (PyCFunction) _wrap_wxFileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFileSystem_swigregister", wxFileSystem_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxInternetFSHandler", (PyCFunction) _wrap_new_wxInternetFSHandler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxInternetFSHandler_CanOpen", (PyCFunction) _wrap_wxInternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxInternetFSHandler_OpenFile", (PyCFunction) _wrap_wxInternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxInternetFSHandler_swigregister", wxInternetFSHandler_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxZipFSHandler", (PyCFunction) _wrap_new_wxZipFSHandler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxZipFSHandler_CanOpen", (PyCFunction) _wrap_wxZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxZipFSHandler_OpenFile", (PyCFunction) _wrap_wxZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxZipFSHandler_FindFirst", (PyCFunction) _wrap_wxZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxZipFSHandler_FindNext", (PyCFunction) _wrap_wxZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxZipFSHandler_swigregister", wxZipFSHandler_swigregister, METH_VARARGS, NULL}, + { (char *)"new_FileSystem", (PyCFunction) _wrap_new_FileSystem, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_FileSystem", (PyCFunction) _wrap_delete_FileSystem, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FileSystem_ChangePathTo", (PyCFunction) _wrap_FileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FileSystem_GetPath", (PyCFunction) _wrap_FileSystem_GetPath, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FileSystem_OpenFile", (PyCFunction) _wrap_FileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FileSystem_FindFirst", (PyCFunction) _wrap_FileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FileSystem_FindNext", (PyCFunction) _wrap_FileSystem_FindNext, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS, NULL}, + { (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister, METH_VARARGS, NULL}, + { (char *)"new_ZipFSHandler", (PyCFunction) _wrap_new_ZipFSHandler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ZipFSHandler_CanOpen", (PyCFunction) _wrap_ZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ZipFSHandler_OpenFile", (PyCFunction) _wrap_ZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ZipFSHandler_FindFirst", (PyCFunction) _wrap_ZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ZipFSHandler_FindNext", (PyCFunction) _wrap_ZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister, METH_VARARGS, NULL}, { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"new_wxMemoryFSHandler", (PyCFunction) _wrap_new_wxMemoryFSHandler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMemoryFSHandler_RemoveFile", (PyCFunction) _wrap_wxMemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMemoryFSHandler_CanOpen", (PyCFunction) _wrap_wxMemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMemoryFSHandler_OpenFile", (PyCFunction) _wrap_wxMemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMemoryFSHandler_FindFirst", (PyCFunction) _wrap_wxMemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMemoryFSHandler_FindNext", (PyCFunction) _wrap_wxMemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMemoryFSHandler_swigregister", wxMemoryFSHandler_swigregister, METH_VARARGS, NULL}, - { (char *)"wxImageHandler_GetName", (PyCFunction) _wrap_wxImageHandler_GetName, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImageHandler_GetExtension", (PyCFunction) _wrap_wxImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImageHandler_GetType", (PyCFunction) _wrap_wxImageHandler_GetType, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImageHandler_GetMimeType", (PyCFunction) _wrap_wxImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImageHandler_CanRead", (PyCFunction) _wrap_wxImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImageHandler_SetName", (PyCFunction) _wrap_wxImageHandler_SetName, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImageHandler_SetExtension", (PyCFunction) _wrap_wxImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImageHandler_SetType", (PyCFunction) _wrap_wxImageHandler_SetType, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImageHandler_SetMimeType", (PyCFunction) _wrap_wxImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImageHandler_swigregister", wxImageHandler_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxImageHistogram", (PyCFunction) _wrap_new_wxImageHistogram, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImageHistogram_MakeKey", (PyCFunction) _wrap_wxImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_wxImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImageHistogram_GetCount", (PyCFunction) _wrap_wxImageHistogram_GetCount, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImageHistogram_GetCountRGB", (PyCFunction) _wrap_wxImageHistogram_GetCountRGB, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImageHistogram_GetCountColour", (PyCFunction) _wrap_wxImageHistogram_GetCountColour, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImageHistogram_swigregister", wxImageHistogram_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxImage", (PyCFunction) _wrap_new_wxImage, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"delete_wxImage", (PyCFunction) _wrap_delete_wxImage, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"new_MemoryFSHandler", (PyCFunction) _wrap_new_MemoryFSHandler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction) _wrap_MemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MemoryFSHandler_CanOpen", (PyCFunction) _wrap_MemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MemoryFSHandler_OpenFile", (PyCFunction) _wrap_MemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MemoryFSHandler_FindFirst", (PyCFunction) _wrap_MemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MemoryFSHandler_FindNext", (PyCFunction) _wrap_MemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister, METH_VARARGS, NULL}, + { (char *)"ImageHandler_GetName", (PyCFunction) _wrap_ImageHandler_GetName, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ImageHandler_GetExtension", (PyCFunction) _wrap_ImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ImageHandler_GetType", (PyCFunction) _wrap_ImageHandler_GetType, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ImageHandler_GetMimeType", (PyCFunction) _wrap_ImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS, NULL}, + { (char *)"new_PyImageHandler", (PyCFunction) _wrap_new_PyImageHandler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyImageHandler__SetSelf", (PyCFunction) _wrap_PyImageHandler__SetSelf, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyImageHandler_swigregister", PyImageHandler_swigregister, METH_VARARGS, NULL}, + { (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ImageHistogram_GetCount", (PyCFunction) _wrap_ImageHistogram_GetCount, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ImageHistogram_GetCountRGB", (PyCFunction) _wrap_ImageHistogram_GetCountRGB, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ImageHistogram_GetCountColour", (PyCFunction) _wrap_ImageHistogram_GetCountColour, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS, NULL}, + { (char *)"new_Image_RGBValue", (PyCFunction) _wrap_new_Image_RGBValue, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_RGBValue_red_set", (PyCFunction) _wrap_Image_RGBValue_red_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_RGBValue_red_get", (PyCFunction) _wrap_Image_RGBValue_red_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_RGBValue_green_set", (PyCFunction) _wrap_Image_RGBValue_green_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_RGBValue_green_get", (PyCFunction) _wrap_Image_RGBValue_green_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_RGBValue_blue_set", (PyCFunction) _wrap_Image_RGBValue_blue_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_RGBValue_blue_get", (PyCFunction) _wrap_Image_RGBValue_blue_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_RGBValue_swigregister", Image_RGBValue_swigregister, METH_VARARGS, NULL}, + { (char *)"new_Image_HSVValue", (PyCFunction) _wrap_new_Image_HSVValue, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_HSVValue_hue_set", (PyCFunction) _wrap_Image_HSVValue_hue_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_HSVValue_hue_get", (PyCFunction) _wrap_Image_HSVValue_hue_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_HSVValue_saturation_set", (PyCFunction) _wrap_Image_HSVValue_saturation_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_HSVValue_saturation_get", (PyCFunction) _wrap_Image_HSVValue_saturation_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_HSVValue_value_set", (PyCFunction) _wrap_Image_HSVValue_value_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_HSVValue_value_get", (PyCFunction) _wrap_Image_HSVValue_value_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_HSVValue_swigregister", Image_HSVValue_swigregister, METH_VARARGS, NULL}, + { (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -45477,1077 +46554,1094 @@ static PyMethodDef SwigMethods[] = { { (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_ImageFromDataWithAlpha", (PyCFunction) _wrap_new_ImageFromDataWithAlpha, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_Create", (PyCFunction) _wrap_wxImage_Create, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_Destroy", (PyCFunction) _wrap_wxImage_Destroy, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_Scale", (PyCFunction) _wrap_wxImage_Scale, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_ShrinkBy", (PyCFunction) _wrap_wxImage_ShrinkBy, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_Rescale", (PyCFunction) _wrap_wxImage_Rescale, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_Resize", (PyCFunction) _wrap_wxImage_Resize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_SetRGB", (PyCFunction) _wrap_wxImage_SetRGB, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_SetRGBRect", (PyCFunction) _wrap_wxImage_SetRGBRect, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_GetRed", (PyCFunction) _wrap_wxImage_GetRed, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_GetGreen", (PyCFunction) _wrap_wxImage_GetGreen, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_GetBlue", (PyCFunction) _wrap_wxImage_GetBlue, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_SetAlpha", (PyCFunction) _wrap_wxImage_SetAlpha, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_GetAlpha", (PyCFunction) _wrap_wxImage_GetAlpha, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_HasAlpha", (PyCFunction) _wrap_wxImage_HasAlpha, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_InitAlpha", (PyCFunction) _wrap_wxImage_InitAlpha, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_FindFirstUnusedColour", (PyCFunction) _wrap_wxImage_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_ConvertAlphaToMask", (PyCFunction) _wrap_wxImage_ConvertAlphaToMask, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_ConvertColourToAlpha", (PyCFunction) _wrap_wxImage_ConvertColourToAlpha, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_SetMaskFromImage", (PyCFunction) _wrap_wxImage_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_CanRead", (PyCFunction) _wrap_wxImage_CanRead, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_GetImageCount", (PyCFunction) _wrap_wxImage_GetImageCount, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_LoadFile", (PyCFunction) _wrap_wxImage_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_LoadMimeFile", (PyCFunction) _wrap_wxImage_LoadMimeFile, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_SaveFile", (PyCFunction) _wrap_wxImage_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_SaveMimeFile", (PyCFunction) _wrap_wxImage_SaveMimeFile, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_CanReadStream", (PyCFunction) _wrap_wxImage_CanReadStream, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_LoadStream", (PyCFunction) _wrap_wxImage_LoadStream, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_LoadMimeStream", (PyCFunction) _wrap_wxImage_LoadMimeStream, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_Ok", (PyCFunction) _wrap_wxImage_Ok, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_GetWidth", (PyCFunction) _wrap_wxImage_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_GetHeight", (PyCFunction) _wrap_wxImage_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_GetSize", (PyCFunction) _wrap_wxImage_GetSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_GetSubImage", (PyCFunction) _wrap_wxImage_GetSubImage, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_Size", (PyCFunction) _wrap_wxImage_Size, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_Copy", (PyCFunction) _wrap_wxImage_Copy, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_Paste", (PyCFunction) _wrap_wxImage_Paste, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_GetData", (PyCFunction) _wrap_wxImage_GetData, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_SetData", (PyCFunction) _wrap_wxImage_SetData, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_GetDataBuffer", (PyCFunction) _wrap_wxImage_GetDataBuffer, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_SetDataBuffer", (PyCFunction) _wrap_wxImage_SetDataBuffer, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_GetAlphaData", (PyCFunction) _wrap_wxImage_GetAlphaData, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_SetAlphaData", (PyCFunction) _wrap_wxImage_SetAlphaData, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_GetAlphaBuffer", (PyCFunction) _wrap_wxImage_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_SetAlphaBuffer", (PyCFunction) _wrap_wxImage_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_SetMaskColour", (PyCFunction) _wrap_wxImage_SetMaskColour, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_GetOrFindMaskColour", (PyCFunction) _wrap_wxImage_GetOrFindMaskColour, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_GetMaskRed", (PyCFunction) _wrap_wxImage_GetMaskRed, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_GetMaskGreen", (PyCFunction) _wrap_wxImage_GetMaskGreen, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_GetMaskBlue", (PyCFunction) _wrap_wxImage_GetMaskBlue, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_SetMask", (PyCFunction) _wrap_wxImage_SetMask, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_HasMask", (PyCFunction) _wrap_wxImage_HasMask, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_Rotate", (PyCFunction) _wrap_wxImage_Rotate, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_Rotate90", (PyCFunction) _wrap_wxImage_Rotate90, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_Mirror", (PyCFunction) _wrap_wxImage_Mirror, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_Replace", (PyCFunction) _wrap_wxImage_Replace, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_ConvertToMono", (PyCFunction) _wrap_wxImage_ConvertToMono, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_SetOption", (PyCFunction) _wrap_wxImage_SetOption, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_SetOptionInt", (PyCFunction) _wrap_wxImage_SetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_GetOption", (PyCFunction) _wrap_wxImage_GetOption, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_GetOptionInt", (PyCFunction) _wrap_wxImage_GetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_HasOption", (PyCFunction) _wrap_wxImage_HasOption, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_CountColours", (PyCFunction) _wrap_wxImage_CountColours, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_ComputeHistogram", (PyCFunction) _wrap_wxImage_ComputeHistogram, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_AddHandler", (PyCFunction) _wrap_wxImage_AddHandler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_InsertHandler", (PyCFunction) _wrap_wxImage_InsertHandler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_RemoveHandler", (PyCFunction) _wrap_wxImage_RemoveHandler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_GetImageExtWildcard", (PyCFunction) _wrap_wxImage_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_ConvertToBitmap", (PyCFunction) _wrap_wxImage_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_ConvertToMonoBitmap", (PyCFunction) _wrap_wxImage_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxImage_swigregister", wxImage_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxBMPHandler", (PyCFunction) _wrap_new_wxBMPHandler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxBMPHandler_swigregister", wxBMPHandler_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxICOHandler", (PyCFunction) _wrap_new_wxICOHandler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxICOHandler_swigregister", wxICOHandler_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxCURHandler", (PyCFunction) _wrap_new_wxCURHandler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxCURHandler_swigregister", wxCURHandler_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxANIHandler", (PyCFunction) _wrap_new_wxANIHandler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxANIHandler_swigregister", wxANIHandler_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxPNGHandler", (PyCFunction) _wrap_new_wxPNGHandler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPNGHandler_swigregister", wxPNGHandler_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxGIFHandler", (PyCFunction) _wrap_new_wxGIFHandler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGIFHandler_swigregister", wxGIFHandler_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxPCXHandler", (PyCFunction) _wrap_new_wxPCXHandler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPCXHandler_swigregister", wxPCXHandler_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxJPEGHandler", (PyCFunction) _wrap_new_wxJPEGHandler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxJPEGHandler_swigregister", wxJPEGHandler_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxPNMHandler", (PyCFunction) _wrap_new_wxPNMHandler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPNMHandler_swigregister", wxPNMHandler_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxXPMHandler", (PyCFunction) _wrap_new_wxXPMHandler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxXPMHandler_swigregister", wxXPMHandler_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxTIFFHandler", (PyCFunction) _wrap_new_wxTIFFHandler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxTIFFHandler_swigregister", wxTIFFHandler_swigregister, METH_VARARGS, NULL}, - { (char *)"wxQuantize_Quantize", (PyCFunction) _wrap_wxQuantize_Quantize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxQuantize_swigregister", wxQuantize_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxEvtHandler", (PyCFunction) _wrap_new_wxEvtHandler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEvtHandler_GetNextHandler", (PyCFunction) _wrap_wxEvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_wxEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEvtHandler_SetNextHandler", (PyCFunction) _wrap_wxEvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_wxEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_wxEvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_wxEvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEvtHandler_ProcessEvent", (PyCFunction) _wrap_wxEvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEvtHandler_AddPendingEvent", (PyCFunction) _wrap_wxEvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_wxEvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEvtHandler_Connect", (PyCFunction) _wrap_wxEvtHandler_Connect, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEvtHandler_Disconnect", (PyCFunction) _wrap_wxEvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEvtHandler__setOORInfo", (PyCFunction) _wrap_wxEvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEvtHandler_swigregister", wxEvtHandler_swigregister, METH_VARARGS, NULL}, - { (char *)"wxNewEventType", (PyCFunction) _wrap_wxNewEventType, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"delete_wxEvent", (PyCFunction) _wrap_delete_wxEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEvent_SetEventType", (PyCFunction) _wrap_wxEvent_SetEventType, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEvent_GetEventType", (PyCFunction) _wrap_wxEvent_GetEventType, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEvent_GetEventObject", (PyCFunction) _wrap_wxEvent_GetEventObject, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEvent_SetEventObject", (PyCFunction) _wrap_wxEvent_SetEventObject, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEvent_GetTimestamp", (PyCFunction) _wrap_wxEvent_GetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEvent_SetTimestamp", (PyCFunction) _wrap_wxEvent_SetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEvent_GetId", (PyCFunction) _wrap_wxEvent_GetId, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEvent_SetId", (PyCFunction) _wrap_wxEvent_SetId, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEvent_IsCommandEvent", (PyCFunction) _wrap_wxEvent_IsCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEvent_Skip", (PyCFunction) _wrap_wxEvent_Skip, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEvent_GetSkipped", (PyCFunction) _wrap_wxEvent_GetSkipped, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEvent_ShouldPropagate", (PyCFunction) _wrap_wxEvent_ShouldPropagate, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEvent_StopPropagation", (PyCFunction) _wrap_wxEvent_StopPropagation, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEvent_ResumePropagation", (PyCFunction) _wrap_wxEvent_ResumePropagation, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEvent_Clone", (PyCFunction) _wrap_wxEvent_Clone, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEvent_swigregister", wxEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxPropagationDisabler", (PyCFunction) _wrap_new_wxPropagationDisabler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"delete_wxPropagationDisabler", (PyCFunction) _wrap_delete_wxPropagationDisabler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPropagationDisabler_swigregister", wxPropagationDisabler_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxPropagateOnce", (PyCFunction) _wrap_new_wxPropagateOnce, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"delete_wxPropagateOnce", (PyCFunction) _wrap_delete_wxPropagateOnce, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPropagateOnce_swigregister", wxPropagateOnce_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxCommandEvent", (PyCFunction) _wrap_new_wxCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxCommandEvent_GetSelection", (PyCFunction) _wrap_wxCommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxCommandEvent_SetString", (PyCFunction) _wrap_wxCommandEvent_SetString, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxCommandEvent_GetString", (PyCFunction) _wrap_wxCommandEvent_GetString, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxCommandEvent_IsChecked", (PyCFunction) _wrap_wxCommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxCommandEvent_IsSelection", (PyCFunction) _wrap_wxCommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxCommandEvent_SetExtraLong", (PyCFunction) _wrap_wxCommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxCommandEvent_GetExtraLong", (PyCFunction) _wrap_wxCommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxCommandEvent_SetInt", (PyCFunction) _wrap_wxCommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxCommandEvent_GetInt", (PyCFunction) _wrap_wxCommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxCommandEvent_Clone", (PyCFunction) _wrap_wxCommandEvent_Clone, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxCommandEvent_swigregister", wxCommandEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxNotifyEvent", (PyCFunction) _wrap_new_wxNotifyEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxNotifyEvent_Veto", (PyCFunction) _wrap_wxNotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxNotifyEvent_Allow", (PyCFunction) _wrap_wxNotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxNotifyEvent_IsAllowed", (PyCFunction) _wrap_wxNotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxNotifyEvent_swigregister", wxNotifyEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxScrollEvent", (PyCFunction) _wrap_new_wxScrollEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxScrollEvent_GetOrientation", (PyCFunction) _wrap_wxScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxScrollEvent_GetPosition", (PyCFunction) _wrap_wxScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxScrollEvent_SetOrientation", (PyCFunction) _wrap_wxScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxScrollEvent_SetPosition", (PyCFunction) _wrap_wxScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxScrollEvent_swigregister", wxScrollEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxScrollWinEvent", (PyCFunction) _wrap_new_wxScrollWinEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxScrollWinEvent_GetOrientation", (PyCFunction) _wrap_wxScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxScrollWinEvent_GetPosition", (PyCFunction) _wrap_wxScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxScrollWinEvent_SetOrientation", (PyCFunction) _wrap_wxScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxScrollWinEvent_SetPosition", (PyCFunction) _wrap_wxScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxScrollWinEvent_swigregister", wxScrollWinEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxMouseEvent", (PyCFunction) _wrap_new_wxMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_IsButton", (PyCFunction) _wrap_wxMouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_ButtonDown", (PyCFunction) _wrap_wxMouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_ButtonDClick", (PyCFunction) _wrap_wxMouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_ButtonUp", (PyCFunction) _wrap_wxMouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_Button", (PyCFunction) _wrap_wxMouseEvent_Button, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_ButtonIsDown", (PyCFunction) _wrap_wxMouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_GetButton", (PyCFunction) _wrap_wxMouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_ControlDown", (PyCFunction) _wrap_wxMouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_MetaDown", (PyCFunction) _wrap_wxMouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_AltDown", (PyCFunction) _wrap_wxMouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_ShiftDown", (PyCFunction) _wrap_wxMouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_CmdDown", (PyCFunction) _wrap_wxMouseEvent_CmdDown, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_LeftDown", (PyCFunction) _wrap_wxMouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_MiddleDown", (PyCFunction) _wrap_wxMouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_RightDown", (PyCFunction) _wrap_wxMouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_LeftUp", (PyCFunction) _wrap_wxMouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_MiddleUp", (PyCFunction) _wrap_wxMouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_RightUp", (PyCFunction) _wrap_wxMouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_LeftDClick", (PyCFunction) _wrap_wxMouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_MiddleDClick", (PyCFunction) _wrap_wxMouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_RightDClick", (PyCFunction) _wrap_wxMouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_LeftIsDown", (PyCFunction) _wrap_wxMouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_MiddleIsDown", (PyCFunction) _wrap_wxMouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_RightIsDown", (PyCFunction) _wrap_wxMouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_Dragging", (PyCFunction) _wrap_wxMouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_Moving", (PyCFunction) _wrap_wxMouseEvent_Moving, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_Entering", (PyCFunction) _wrap_wxMouseEvent_Entering, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_Leaving", (PyCFunction) _wrap_wxMouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_GetPosition", (PyCFunction) _wrap_wxMouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_GetPositionTuple", (PyCFunction) _wrap_wxMouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_GetLogicalPosition", (PyCFunction) _wrap_wxMouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_GetX", (PyCFunction) _wrap_wxMouseEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_GetY", (PyCFunction) _wrap_wxMouseEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_GetWheelRotation", (PyCFunction) _wrap_wxMouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_GetWheelDelta", (PyCFunction) _wrap_wxMouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_GetLinesPerAction", (PyCFunction) _wrap_wxMouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_IsPageScroll", (PyCFunction) _wrap_wxMouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_m_x_set", (PyCFunction) _wrap_wxMouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_m_x_get", (PyCFunction) _wrap_wxMouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_m_y_set", (PyCFunction) _wrap_wxMouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_m_y_get", (PyCFunction) _wrap_wxMouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_m_leftDown_set", (PyCFunction) _wrap_wxMouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_m_leftDown_get", (PyCFunction) _wrap_wxMouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_m_middleDown_set", (PyCFunction) _wrap_wxMouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_m_middleDown_get", (PyCFunction) _wrap_wxMouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_m_rightDown_set", (PyCFunction) _wrap_wxMouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_m_rightDown_get", (PyCFunction) _wrap_wxMouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_m_controlDown_set", (PyCFunction) _wrap_wxMouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_m_controlDown_get", (PyCFunction) _wrap_wxMouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_m_shiftDown_set", (PyCFunction) _wrap_wxMouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_m_shiftDown_get", (PyCFunction) _wrap_wxMouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_m_altDown_set", (PyCFunction) _wrap_wxMouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_m_altDown_get", (PyCFunction) _wrap_wxMouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_m_metaDown_set", (PyCFunction) _wrap_wxMouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_m_metaDown_get", (PyCFunction) _wrap_wxMouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_wxMouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_wxMouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_wxMouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_wxMouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_wxMouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_wxMouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseEvent_swigregister", wxMouseEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxSetCursorEvent", (PyCFunction) _wrap_new_wxSetCursorEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSetCursorEvent_GetX", (PyCFunction) _wrap_wxSetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSetCursorEvent_GetY", (PyCFunction) _wrap_wxSetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSetCursorEvent_SetCursor", (PyCFunction) _wrap_wxSetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSetCursorEvent_GetCursor", (PyCFunction) _wrap_wxSetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSetCursorEvent_HasCursor", (PyCFunction) _wrap_wxSetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSetCursorEvent_swigregister", wxSetCursorEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxKeyEvent", (PyCFunction) _wrap_new_wxKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_ControlDown", (PyCFunction) _wrap_wxKeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_MetaDown", (PyCFunction) _wrap_wxKeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_AltDown", (PyCFunction) _wrap_wxKeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_ShiftDown", (PyCFunction) _wrap_wxKeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_CmdDown", (PyCFunction) _wrap_wxKeyEvent_CmdDown, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_HasModifiers", (PyCFunction) _wrap_wxKeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_GetKeyCode", (PyCFunction) _wrap_wxKeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_GetUnicodeKey", (PyCFunction) _wrap_wxKeyEvent_GetUnicodeKey, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_GetRawKeyCode", (PyCFunction) _wrap_wxKeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_wxKeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_GetPosition", (PyCFunction) _wrap_wxKeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_GetPositionTuple", (PyCFunction) _wrap_wxKeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_GetX", (PyCFunction) _wrap_wxKeyEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_GetY", (PyCFunction) _wrap_wxKeyEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_m_x_set", (PyCFunction) _wrap_wxKeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_m_x_get", (PyCFunction) _wrap_wxKeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_m_y_set", (PyCFunction) _wrap_wxKeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_m_y_get", (PyCFunction) _wrap_wxKeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_m_keyCode_set", (PyCFunction) _wrap_wxKeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_m_keyCode_get", (PyCFunction) _wrap_wxKeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_m_controlDown_set", (PyCFunction) _wrap_wxKeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_m_controlDown_get", (PyCFunction) _wrap_wxKeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_m_shiftDown_set", (PyCFunction) _wrap_wxKeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_m_shiftDown_get", (PyCFunction) _wrap_wxKeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_m_altDown_set", (PyCFunction) _wrap_wxKeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_m_altDown_get", (PyCFunction) _wrap_wxKeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_m_metaDown_set", (PyCFunction) _wrap_wxKeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_m_metaDown_get", (PyCFunction) _wrap_wxKeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_m_scanCode_set", (PyCFunction) _wrap_wxKeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_m_scanCode_get", (PyCFunction) _wrap_wxKeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_m_rawCode_set", (PyCFunction) _wrap_wxKeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_m_rawCode_get", (PyCFunction) _wrap_wxKeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_m_rawFlags_set", (PyCFunction) _wrap_wxKeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_m_rawFlags_get", (PyCFunction) _wrap_wxKeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxKeyEvent_swigregister", wxKeyEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxSizeEvent", (PyCFunction) _wrap_new_wxSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizeEvent_GetSize", (PyCFunction) _wrap_wxSizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizeEvent_GetRect", (PyCFunction) _wrap_wxSizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizeEvent_SetRect", (PyCFunction) _wrap_wxSizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizeEvent_SetSize", (PyCFunction) _wrap_wxSizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizeEvent_m_size_set", (PyCFunction) _wrap_wxSizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizeEvent_m_size_get", (PyCFunction) _wrap_wxSizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizeEvent_m_rect_set", (PyCFunction) _wrap_wxSizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizeEvent_m_rect_get", (PyCFunction) _wrap_wxSizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizeEvent_swigregister", wxSizeEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxMoveEvent", (PyCFunction) _wrap_new_wxMoveEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMoveEvent_GetPosition", (PyCFunction) _wrap_wxMoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMoveEvent_GetRect", (PyCFunction) _wrap_wxMoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMoveEvent_SetRect", (PyCFunction) _wrap_wxMoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMoveEvent_SetPosition", (PyCFunction) _wrap_wxMoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMoveEvent_swigregister", wxMoveEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxPaintEvent", (PyCFunction) _wrap_new_wxPaintEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPaintEvent_swigregister", wxPaintEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxNcPaintEvent", (PyCFunction) _wrap_new_wxNcPaintEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxNcPaintEvent_swigregister", wxNcPaintEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxEraseEvent", (PyCFunction) _wrap_new_wxEraseEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEraseEvent_GetDC", (PyCFunction) _wrap_wxEraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEraseEvent_swigregister", wxEraseEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxFocusEvent", (PyCFunction) _wrap_new_wxFocusEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFocusEvent_GetWindow", (PyCFunction) _wrap_wxFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFocusEvent_SetWindow", (PyCFunction) _wrap_wxFocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFocusEvent_swigregister", wxFocusEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxChildFocusEvent", (PyCFunction) _wrap_new_wxChildFocusEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxChildFocusEvent_GetWindow", (PyCFunction) _wrap_wxChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxChildFocusEvent_swigregister", wxChildFocusEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxActivateEvent", (PyCFunction) _wrap_new_wxActivateEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxActivateEvent_GetActive", (PyCFunction) _wrap_wxActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxActivateEvent_swigregister", wxActivateEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxInitDialogEvent", (PyCFunction) _wrap_new_wxInitDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxInitDialogEvent_swigregister", wxInitDialogEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxMenuEvent", (PyCFunction) _wrap_new_wxMenuEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuEvent_GetMenuId", (PyCFunction) _wrap_wxMenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuEvent_IsPopup", (PyCFunction) _wrap_wxMenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuEvent_GetMenu", (PyCFunction) _wrap_wxMenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuEvent_swigregister", wxMenuEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxCloseEvent", (PyCFunction) _wrap_new_wxCloseEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxCloseEvent_SetLoggingOff", (PyCFunction) _wrap_wxCloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxCloseEvent_GetLoggingOff", (PyCFunction) _wrap_wxCloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxCloseEvent_Veto", (PyCFunction) _wrap_wxCloseEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxCloseEvent_SetCanVeto", (PyCFunction) _wrap_wxCloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxCloseEvent_CanVeto", (PyCFunction) _wrap_wxCloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxCloseEvent_GetVeto", (PyCFunction) _wrap_wxCloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxCloseEvent_swigregister", wxCloseEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxShowEvent", (PyCFunction) _wrap_new_wxShowEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxShowEvent_SetShow", (PyCFunction) _wrap_wxShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxShowEvent_GetShow", (PyCFunction) _wrap_wxShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxShowEvent_swigregister", wxShowEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxIconizeEvent", (PyCFunction) _wrap_new_wxIconizeEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIconizeEvent_Iconized", (PyCFunction) _wrap_wxIconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIconizeEvent_swigregister", wxIconizeEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxMaximizeEvent", (PyCFunction) _wrap_new_wxMaximizeEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMaximizeEvent_swigregister", wxMaximizeEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"wxDropFilesEvent_GetPosition", (PyCFunction) _wrap_wxDropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxDropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_wxDropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxDropFilesEvent_GetFiles", (PyCFunction) _wrap_wxDropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxDropFilesEvent_swigregister", wxDropFilesEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxUpdateUIEvent", (PyCFunction) _wrap_new_wxUpdateUIEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxUpdateUIEvent_GetChecked", (PyCFunction) _wrap_wxUpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxUpdateUIEvent_GetEnabled", (PyCFunction) _wrap_wxUpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxUpdateUIEvent_GetText", (PyCFunction) _wrap_wxUpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxUpdateUIEvent_GetSetText", (PyCFunction) _wrap_wxUpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxUpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_wxUpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxUpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_wxUpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxUpdateUIEvent_Check", (PyCFunction) _wrap_wxUpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxUpdateUIEvent_Enable", (PyCFunction) _wrap_wxUpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxUpdateUIEvent_SetText", (PyCFunction) _wrap_wxUpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxUpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_wxUpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxUpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_wxUpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxUpdateUIEvent_CanUpdate", (PyCFunction) _wrap_wxUpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxUpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_wxUpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxUpdateUIEvent_SetMode", (PyCFunction) _wrap_wxUpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxUpdateUIEvent_GetMode", (PyCFunction) _wrap_wxUpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxUpdateUIEvent_swigregister", wxUpdateUIEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxSysColourChangedEvent", (PyCFunction) _wrap_new_wxSysColourChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSysColourChangedEvent_swigregister", wxSysColourChangedEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxMouseCaptureChangedEvent", (PyCFunction) _wrap_new_wxMouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_wxMouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMouseCaptureChangedEvent_swigregister", wxMouseCaptureChangedEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxDisplayChangedEvent", (PyCFunction) _wrap_new_wxDisplayChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxDisplayChangedEvent_swigregister", wxDisplayChangedEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxPaletteChangedEvent", (PyCFunction) _wrap_new_wxPaletteChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_wxPaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_wxPaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPaletteChangedEvent_swigregister", wxPaletteChangedEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxQueryNewPaletteEvent", (PyCFunction) _wrap_new_wxQueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxQueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_wxQueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxQueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_wxQueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxQueryNewPaletteEvent_swigregister", wxQueryNewPaletteEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxNavigationKeyEvent", (PyCFunction) _wrap_new_wxNavigationKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxNavigationKeyEvent_GetDirection", (PyCFunction) _wrap_wxNavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxNavigationKeyEvent_SetDirection", (PyCFunction) _wrap_wxNavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxNavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_wxNavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxNavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_wxNavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxNavigationKeyEvent_IsFromTab", (PyCFunction) _wrap_wxNavigationKeyEvent_IsFromTab, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxNavigationKeyEvent_SetFromTab", (PyCFunction) _wrap_wxNavigationKeyEvent_SetFromTab, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxNavigationKeyEvent_SetFlags", (PyCFunction) _wrap_wxNavigationKeyEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxNavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_wxNavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxNavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_wxNavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxNavigationKeyEvent_swigregister", wxNavigationKeyEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxWindowCreateEvent", (PyCFunction) _wrap_new_wxWindowCreateEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindowCreateEvent_GetWindow", (PyCFunction) _wrap_wxWindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindowCreateEvent_swigregister", wxWindowCreateEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxWindowDestroyEvent", (PyCFunction) _wrap_new_wxWindowDestroyEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindowDestroyEvent_GetWindow", (PyCFunction) _wrap_wxWindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindowDestroyEvent_swigregister", wxWindowDestroyEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxContextMenuEvent", (PyCFunction) _wrap_new_wxContextMenuEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxContextMenuEvent_GetPosition", (PyCFunction) _wrap_wxContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxContextMenuEvent_SetPosition", (PyCFunction) _wrap_wxContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxContextMenuEvent_swigregister", wxContextMenuEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxIdleEvent", (PyCFunction) _wrap_new_wxIdleEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIdleEvent_RequestMore", (PyCFunction) _wrap_wxIdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIdleEvent_MoreRequested", (PyCFunction) _wrap_wxIdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIdleEvent_SetMode", (PyCFunction) _wrap_wxIdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIdleEvent_GetMode", (PyCFunction) _wrap_wxIdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIdleEvent_CanSend", (PyCFunction) _wrap_wxIdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIdleEvent_swigregister", wxIdleEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxPyEvent", (PyCFunction) _wrap_new_wxPyEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"delete_wxPyEvent", (PyCFunction) _wrap_delete_wxPyEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyEvent_SetSelf", (PyCFunction) _wrap_wxPyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyEvent_GetSelf", (PyCFunction) _wrap_wxPyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyEvent_swigregister", wxPyEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxPyCommandEvent", (PyCFunction) _wrap_new_wxPyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"delete_wxPyCommandEvent", (PyCFunction) _wrap_delete_wxPyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyCommandEvent_SetSelf", (PyCFunction) _wrap_wxPyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyCommandEvent_GetSelf", (PyCFunction) _wrap_wxPyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyCommandEvent_swigregister", wxPyCommandEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxDateEvent", (PyCFunction) _wrap_new_wxDateEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxDateEvent_GetDate", (PyCFunction) _wrap_wxDateEvent_GetDate, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxDateEvent_SetDate", (PyCFunction) _wrap_wxDateEvent_SetDate, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxDateEvent_swigregister", wxDateEvent_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxPyApp", (PyCFunction) _wrap_new_wxPyApp, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"delete_wxPyApp", (PyCFunction) _wrap_delete_wxPyApp, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp__setCallbackInfo", (PyCFunction) _wrap_wxPyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_GetAppName", (PyCFunction) _wrap_wxPyApp_GetAppName, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_SetAppName", (PyCFunction) _wrap_wxPyApp_SetAppName, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_GetClassName", (PyCFunction) _wrap_wxPyApp_GetClassName, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_SetClassName", (PyCFunction) _wrap_wxPyApp_SetClassName, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_GetVendorName", (PyCFunction) _wrap_wxPyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_SetVendorName", (PyCFunction) _wrap_wxPyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_GetTraits", (PyCFunction) _wrap_wxPyApp_GetTraits, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_ProcessPendingEvents", (PyCFunction) _wrap_wxPyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_Yield", (PyCFunction) _wrap_wxPyApp_Yield, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_WakeUpIdle", (PyCFunction) _wrap_wxPyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_IsMainLoopRunning", (PyCFunction) _wrap_wxPyApp_IsMainLoopRunning, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_MainLoop", (PyCFunction) _wrap_wxPyApp_MainLoop, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_Exit", (PyCFunction) _wrap_wxPyApp_Exit, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_ExitMainLoop", (PyCFunction) _wrap_wxPyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_Pending", (PyCFunction) _wrap_wxPyApp_Pending, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_Dispatch", (PyCFunction) _wrap_wxPyApp_Dispatch, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_ProcessIdle", (PyCFunction) _wrap_wxPyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_SendIdleEvents", (PyCFunction) _wrap_wxPyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_IsActive", (PyCFunction) _wrap_wxPyApp_IsActive, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_SetTopWindow", (PyCFunction) _wrap_wxPyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_GetTopWindow", (PyCFunction) _wrap_wxPyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_wxPyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_wxPyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_SetUseBestVisual", (PyCFunction) _wrap_wxPyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_GetUseBestVisual", (PyCFunction) _wrap_wxPyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_SetPrintMode", (PyCFunction) _wrap_wxPyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_GetPrintMode", (PyCFunction) _wrap_wxPyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_SetAssertMode", (PyCFunction) _wrap_wxPyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_GetAssertMode", (PyCFunction) _wrap_wxPyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_wxPyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_wxPyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_wxPyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_wxPyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_wxPyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_wxPyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_wxPyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_wxPyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_wxPyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_wxPyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp__BootstrapApp", (PyCFunction) _wrap_wxPyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_GetComCtl32Version", (PyCFunction) _wrap_wxPyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyApp_swigregister", wxPyApp_swigregister, METH_VARARGS, NULL}, - { (char *)"wxExit", (PyCFunction) _wrap_wxExit, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxYield", (PyCFunction) _wrap_wxYield, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxYieldIfNeeded", (PyCFunction) _wrap_wxYieldIfNeeded, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSafeYield", (PyCFunction) _wrap_wxSafeYield, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWakeUpIdle", (PyCFunction) _wrap_wxWakeUpIdle, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPostEvent", (PyCFunction) _wrap_wxPostEvent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxApp_CleanUp", (PyCFunction) _wrap_wxApp_CleanUp, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_Destroy", (PyCFunction) _wrap_Image_Destroy, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_Scale", (PyCFunction) _wrap_Image_Scale, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_ShrinkBy", (PyCFunction) _wrap_Image_ShrinkBy, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_Rescale", (PyCFunction) _wrap_Image_Rescale, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_Resize", (PyCFunction) _wrap_Image_Resize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_SetRGB", (PyCFunction) _wrap_Image_SetRGB, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_SetRGBRect", (PyCFunction) _wrap_Image_SetRGBRect, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_GetRed", (PyCFunction) _wrap_Image_GetRed, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_GetGreen", (PyCFunction) _wrap_Image_GetGreen, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_GetBlue", (PyCFunction) _wrap_Image_GetBlue, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_SetAlpha", (PyCFunction) _wrap_Image_SetAlpha, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_GetAlpha", (PyCFunction) _wrap_Image_GetAlpha, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_HasAlpha", (PyCFunction) _wrap_Image_HasAlpha, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_InitAlpha", (PyCFunction) _wrap_Image_InitAlpha, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_IsTransparent", (PyCFunction) _wrap_Image_IsTransparent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_FindFirstUnusedColour", (PyCFunction) _wrap_Image_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_ConvertAlphaToMask", (PyCFunction) _wrap_Image_ConvertAlphaToMask, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_ConvertColourToAlpha", (PyCFunction) _wrap_Image_ConvertColourToAlpha, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_SetMaskFromImage", (PyCFunction) _wrap_Image_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_CanRead", (PyCFunction) _wrap_Image_CanRead, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_GetImageCount", (PyCFunction) _wrap_Image_GetImageCount, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_LoadFile", (PyCFunction) _wrap_Image_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_LoadMimeFile", (PyCFunction) _wrap_Image_LoadMimeFile, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_SaveFile", (PyCFunction) _wrap_Image_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_SaveMimeFile", (PyCFunction) _wrap_Image_SaveMimeFile, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_CanReadStream", (PyCFunction) _wrap_Image_CanReadStream, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_LoadStream", (PyCFunction) _wrap_Image_LoadStream, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_LoadMimeStream", (PyCFunction) _wrap_Image_LoadMimeStream, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_Ok", (PyCFunction) _wrap_Image_Ok, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_GetWidth", (PyCFunction) _wrap_Image_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_GetHeight", (PyCFunction) _wrap_Image_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_GetSize", (PyCFunction) _wrap_Image_GetSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_GetSubImage", (PyCFunction) _wrap_Image_GetSubImage, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_Size", (PyCFunction) _wrap_Image_Size, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_Copy", (PyCFunction) _wrap_Image_Copy, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_Paste", (PyCFunction) _wrap_Image_Paste, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_GetData", (PyCFunction) _wrap_Image_GetData, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_SetData", (PyCFunction) _wrap_Image_SetData, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_GetDataBuffer", (PyCFunction) _wrap_Image_GetDataBuffer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_SetDataBuffer", (PyCFunction) _wrap_Image_SetDataBuffer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_GetAlphaData", (PyCFunction) _wrap_Image_GetAlphaData, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_SetAlphaData", (PyCFunction) _wrap_Image_SetAlphaData, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_GetAlphaBuffer", (PyCFunction) _wrap_Image_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_SetAlphaBuffer", (PyCFunction) _wrap_Image_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_SetMaskColour", (PyCFunction) _wrap_Image_SetMaskColour, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_GetOrFindMaskColour", (PyCFunction) _wrap_Image_GetOrFindMaskColour, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_GetMaskRed", (PyCFunction) _wrap_Image_GetMaskRed, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_GetMaskGreen", (PyCFunction) _wrap_Image_GetMaskGreen, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_GetMaskBlue", (PyCFunction) _wrap_Image_GetMaskBlue, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_SetMask", (PyCFunction) _wrap_Image_SetMask, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_HasMask", (PyCFunction) _wrap_Image_HasMask, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_Rotate", (PyCFunction) _wrap_Image_Rotate, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_ConvertToGreyscale", (PyCFunction) _wrap_Image_ConvertToGreyscale, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_GetOption", (PyCFunction) _wrap_Image_GetOption, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_GetOptionInt", (PyCFunction) _wrap_Image_GetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_HasOption", (PyCFunction) _wrap_Image_HasOption, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_CountColours", (PyCFunction) _wrap_Image_CountColours, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_ComputeHistogram", (PyCFunction) _wrap_Image_ComputeHistogram, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_AddHandler", (PyCFunction) _wrap_Image_AddHandler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_InsertHandler", (PyCFunction) _wrap_Image_InsertHandler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_RemoveHandler", (PyCFunction) _wrap_Image_RemoveHandler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_RotateHue", (PyCFunction) _wrap_Image_RotateHue, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_RGBtoHSV", (PyCFunction) _wrap_Image_RGBtoHSV, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_HSVtoRGB", (PyCFunction) _wrap_Image_HSVtoRGB, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Image_swigregister", Image_swigregister, METH_VARARGS, NULL}, + { (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS, NULL}, + { (char *)"new_ICOHandler", (PyCFunction) _wrap_new_ICOHandler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ICOHandler_swigregister", ICOHandler_swigregister, METH_VARARGS, NULL}, + { (char *)"new_CURHandler", (PyCFunction) _wrap_new_CURHandler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"CURHandler_swigregister", CURHandler_swigregister, METH_VARARGS, NULL}, + { (char *)"new_ANIHandler", (PyCFunction) _wrap_new_ANIHandler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ANIHandler_swigregister", ANIHandler_swigregister, METH_VARARGS, NULL}, + { (char *)"new_PNGHandler", (PyCFunction) _wrap_new_PNGHandler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PNGHandler_swigregister", PNGHandler_swigregister, METH_VARARGS, NULL}, + { (char *)"new_GIFHandler", (PyCFunction) _wrap_new_GIFHandler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GIFHandler_swigregister", GIFHandler_swigregister, METH_VARARGS, NULL}, + { (char *)"new_PCXHandler", (PyCFunction) _wrap_new_PCXHandler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PCXHandler_swigregister", PCXHandler_swigregister, METH_VARARGS, NULL}, + { (char *)"new_JPEGHandler", (PyCFunction) _wrap_new_JPEGHandler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister, METH_VARARGS, NULL}, + { (char *)"new_PNMHandler", (PyCFunction) _wrap_new_PNMHandler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PNMHandler_swigregister", PNMHandler_swigregister, METH_VARARGS, NULL}, + { (char *)"new_XPMHandler", (PyCFunction) _wrap_new_XPMHandler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"XPMHandler_swigregister", XPMHandler_swigregister, METH_VARARGS, NULL}, + { (char *)"new_TIFFHandler", (PyCFunction) _wrap_new_TIFFHandler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister, METH_VARARGS, NULL}, + { (char *)"Quantize_Quantize", (PyCFunction) _wrap_Quantize_Quantize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Quantize_swigregister", Quantize_swigregister, METH_VARARGS, NULL}, + { (char *)"new_EvtHandler", (PyCFunction) _wrap_new_EvtHandler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"EvtHandler_GetNextHandler", (PyCFunction) _wrap_EvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction) _wrap_EvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"EvtHandler_SetNextHandler", (PyCFunction) _wrap_EvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction) _wrap_EvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"EvtHandler_ProcessEvent", (PyCFunction) _wrap_EvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"EvtHandler_AddPendingEvent", (PyCFunction) _wrap_EvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_EvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"EvtHandler_Connect", (PyCFunction) _wrap_EvtHandler_Connect, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"EvtHandler_Disconnect", (PyCFunction) _wrap_EvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"EvtHandler__setOORInfo", (PyCFunction) _wrap_EvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"EvtHandler_swigregister", EvtHandler_swigregister, METH_VARARGS, NULL}, + { (char *)"NewEventType", (PyCFunction) _wrap_NewEventType, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_Event", (PyCFunction) _wrap_delete_Event, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Event_SetEventType", (PyCFunction) _wrap_Event_SetEventType, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Event_GetEventType", (PyCFunction) _wrap_Event_GetEventType, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Event_GetEventObject", (PyCFunction) _wrap_Event_GetEventObject, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Event_SetEventObject", (PyCFunction) _wrap_Event_SetEventObject, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Event_GetTimestamp", (PyCFunction) _wrap_Event_GetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Event_SetTimestamp", (PyCFunction) _wrap_Event_SetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Event_GetId", (PyCFunction) _wrap_Event_GetId, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Event_SetId", (PyCFunction) _wrap_Event_SetId, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Event_IsCommandEvent", (PyCFunction) _wrap_Event_IsCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Event_Skip", (PyCFunction) _wrap_Event_Skip, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Event_GetSkipped", (PyCFunction) _wrap_Event_GetSkipped, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Event_ShouldPropagate", (PyCFunction) _wrap_Event_ShouldPropagate, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Event_StopPropagation", (PyCFunction) _wrap_Event_StopPropagation, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Event_ResumePropagation", (PyCFunction) _wrap_Event_ResumePropagation, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Event_Clone", (PyCFunction) _wrap_Event_Clone, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Event_swigregister", Event_swigregister, METH_VARARGS, NULL}, + { (char *)"new_PropagationDisabler", (PyCFunction) _wrap_new_PropagationDisabler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_PropagationDisabler", (PyCFunction) _wrap_delete_PropagationDisabler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister, METH_VARARGS, NULL}, + { (char *)"new_PropagateOnce", (PyCFunction) _wrap_new_PropagateOnce, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_PropagateOnce", (PyCFunction) _wrap_delete_PropagateOnce, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister, METH_VARARGS, NULL}, + { (char *)"new_CommandEvent", (PyCFunction) _wrap_new_CommandEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"CommandEvent_GetSelection", (PyCFunction) _wrap_CommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"CommandEvent_SetString", (PyCFunction) _wrap_CommandEvent_SetString, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"CommandEvent_GetString", (PyCFunction) _wrap_CommandEvent_GetString, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"CommandEvent_IsChecked", (PyCFunction) _wrap_CommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"CommandEvent_IsSelection", (PyCFunction) _wrap_CommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"CommandEvent_SetExtraLong", (PyCFunction) _wrap_CommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"CommandEvent_GetExtraLong", (PyCFunction) _wrap_CommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"CommandEvent_SetInt", (PyCFunction) _wrap_CommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"CommandEvent_GetInt", (PyCFunction) _wrap_CommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"CommandEvent_Clone", (PyCFunction) _wrap_CommandEvent_Clone, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"CommandEvent_swigregister", CommandEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_NotifyEvent", (PyCFunction) _wrap_new_NotifyEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"NotifyEvent_Veto", (PyCFunction) _wrap_NotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"NotifyEvent_Allow", (PyCFunction) _wrap_NotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"NotifyEvent_IsAllowed", (PyCFunction) _wrap_NotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_ScrollEvent", (PyCFunction) _wrap_new_ScrollEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ScrollEvent_GetOrientation", (PyCFunction) _wrap_ScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ScrollEvent_GetPosition", (PyCFunction) _wrap_ScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ScrollEvent_SetOrientation", (PyCFunction) _wrap_ScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ScrollEvent_SetPosition", (PyCFunction) _wrap_ScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_ScrollWinEvent", (PyCFunction) _wrap_new_ScrollWinEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction) _wrap_ScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ScrollWinEvent_GetPosition", (PyCFunction) _wrap_ScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction) _wrap_ScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ScrollWinEvent_SetPosition", (PyCFunction) _wrap_ScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_MouseEvent", (PyCFunction) _wrap_new_MouseEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_IsButton", (PyCFunction) _wrap_MouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_ButtonDown", (PyCFunction) _wrap_MouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_ButtonDClick", (PyCFunction) _wrap_MouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_ButtonUp", (PyCFunction) _wrap_MouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_Button", (PyCFunction) _wrap_MouseEvent_Button, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_ButtonIsDown", (PyCFunction) _wrap_MouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_GetButton", (PyCFunction) _wrap_MouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_ControlDown", (PyCFunction) _wrap_MouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_MetaDown", (PyCFunction) _wrap_MouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_AltDown", (PyCFunction) _wrap_MouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_ShiftDown", (PyCFunction) _wrap_MouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_CmdDown", (PyCFunction) _wrap_MouseEvent_CmdDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_LeftDown", (PyCFunction) _wrap_MouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_MiddleDown", (PyCFunction) _wrap_MouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_RightDown", (PyCFunction) _wrap_MouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_LeftUp", (PyCFunction) _wrap_MouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_MiddleUp", (PyCFunction) _wrap_MouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_RightUp", (PyCFunction) _wrap_MouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_LeftDClick", (PyCFunction) _wrap_MouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_MiddleDClick", (PyCFunction) _wrap_MouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_RightDClick", (PyCFunction) _wrap_MouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_LeftIsDown", (PyCFunction) _wrap_MouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_MiddleIsDown", (PyCFunction) _wrap_MouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_RightIsDown", (PyCFunction) _wrap_MouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_Dragging", (PyCFunction) _wrap_MouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_Moving", (PyCFunction) _wrap_MouseEvent_Moving, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_Entering", (PyCFunction) _wrap_MouseEvent_Entering, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_Leaving", (PyCFunction) _wrap_MouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_GetPosition", (PyCFunction) _wrap_MouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_GetPositionTuple", (PyCFunction) _wrap_MouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction) _wrap_MouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_GetX", (PyCFunction) _wrap_MouseEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_GetY", (PyCFunction) _wrap_MouseEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_GetWheelRotation", (PyCFunction) _wrap_MouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_GetWheelDelta", (PyCFunction) _wrap_MouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction) _wrap_MouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_IsPageScroll", (PyCFunction) _wrap_MouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_m_x_set", (PyCFunction) _wrap_MouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_m_x_get", (PyCFunction) _wrap_MouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_m_y_set", (PyCFunction) _wrap_MouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_m_y_get", (PyCFunction) _wrap_MouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_m_leftDown_set", (PyCFunction) _wrap_MouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_m_leftDown_get", (PyCFunction) _wrap_MouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_m_middleDown_set", (PyCFunction) _wrap_MouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_m_middleDown_get", (PyCFunction) _wrap_MouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_m_rightDown_set", (PyCFunction) _wrap_MouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_m_rightDown_get", (PyCFunction) _wrap_MouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_m_controlDown_set", (PyCFunction) _wrap_MouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_m_controlDown_get", (PyCFunction) _wrap_MouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction) _wrap_MouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction) _wrap_MouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_m_altDown_set", (PyCFunction) _wrap_MouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_m_altDown_get", (PyCFunction) _wrap_MouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_m_metaDown_set", (PyCFunction) _wrap_MouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_m_metaDown_get", (PyCFunction) _wrap_MouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseEvent_swigregister", MouseEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_SetCursorEvent", (PyCFunction) _wrap_new_SetCursorEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SetCursorEvent_GetX", (PyCFunction) _wrap_SetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SetCursorEvent_GetY", (PyCFunction) _wrap_SetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SetCursorEvent_SetCursor", (PyCFunction) _wrap_SetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SetCursorEvent_GetCursor", (PyCFunction) _wrap_SetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SetCursorEvent_HasCursor", (PyCFunction) _wrap_SetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_KeyEvent", (PyCFunction) _wrap_new_KeyEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_ControlDown", (PyCFunction) _wrap_KeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_MetaDown", (PyCFunction) _wrap_KeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_AltDown", (PyCFunction) _wrap_KeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_CmdDown", (PyCFunction) _wrap_KeyEvent_CmdDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction) _wrap_KeyEvent_GetUnicodeKey, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_GetPositionTuple", (PyCFunction) _wrap_KeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_GetX", (PyCFunction) _wrap_KeyEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_GetY", (PyCFunction) _wrap_KeyEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_m_x_set", (PyCFunction) _wrap_KeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_m_x_get", (PyCFunction) _wrap_KeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_m_y_set", (PyCFunction) _wrap_KeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_m_y_get", (PyCFunction) _wrap_KeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_m_keyCode_set", (PyCFunction) _wrap_KeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_m_keyCode_get", (PyCFunction) _wrap_KeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_m_controlDown_set", (PyCFunction) _wrap_KeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_m_controlDown_get", (PyCFunction) _wrap_KeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction) _wrap_KeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction) _wrap_KeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_m_altDown_set", (PyCFunction) _wrap_KeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_m_altDown_get", (PyCFunction) _wrap_KeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_m_metaDown_set", (PyCFunction) _wrap_KeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_m_metaDown_get", (PyCFunction) _wrap_KeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_m_scanCode_set", (PyCFunction) _wrap_KeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_m_scanCode_get", (PyCFunction) _wrap_KeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_m_rawCode_set", (PyCFunction) _wrap_KeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_m_rawCode_get", (PyCFunction) _wrap_KeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction) _wrap_KeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction) _wrap_KeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"KeyEvent_swigregister", KeyEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_SizeEvent", (PyCFunction) _wrap_new_SizeEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizeEvent_GetSize", (PyCFunction) _wrap_SizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizeEvent_GetRect", (PyCFunction) _wrap_SizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizeEvent_SetRect", (PyCFunction) _wrap_SizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizeEvent_SetSize", (PyCFunction) _wrap_SizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizeEvent_m_size_set", (PyCFunction) _wrap_SizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizeEvent_m_size_get", (PyCFunction) _wrap_SizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizeEvent_m_rect_set", (PyCFunction) _wrap_SizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizeEvent_m_rect_get", (PyCFunction) _wrap_SizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizeEvent_swigregister", SizeEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_MoveEvent", (PyCFunction) _wrap_new_MoveEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MoveEvent_GetPosition", (PyCFunction) _wrap_MoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MoveEvent_GetRect", (PyCFunction) _wrap_MoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MoveEvent_SetRect", (PyCFunction) _wrap_MoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MoveEvent_SetPosition", (PyCFunction) _wrap_MoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MoveEvent_swigregister", MoveEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_PaintEvent", (PyCFunction) _wrap_new_PaintEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PaintEvent_swigregister", PaintEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_NcPaintEvent", (PyCFunction) _wrap_new_NcPaintEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_EraseEvent", (PyCFunction) _wrap_new_EraseEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"EraseEvent_GetDC", (PyCFunction) _wrap_EraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"EraseEvent_swigregister", EraseEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_FocusEvent", (PyCFunction) _wrap_new_FocusEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FocusEvent_GetWindow", (PyCFunction) _wrap_FocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FocusEvent_SetWindow", (PyCFunction) _wrap_FocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FocusEvent_swigregister", FocusEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_ChildFocusEvent", (PyCFunction) _wrap_new_ChildFocusEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ChildFocusEvent_GetWindow", (PyCFunction) _wrap_ChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_ActivateEvent", (PyCFunction) _wrap_new_ActivateEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ActivateEvent_GetActive", (PyCFunction) _wrap_ActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_InitDialogEvent", (PyCFunction) _wrap_new_InitDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_MenuEvent", (PyCFunction) _wrap_new_MenuEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuEvent_GetMenuId", (PyCFunction) _wrap_MenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuEvent_IsPopup", (PyCFunction) _wrap_MenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuEvent_GetMenu", (PyCFunction) _wrap_MenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuEvent_swigregister", MenuEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_CloseEvent", (PyCFunction) _wrap_new_CloseEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ShowEvent_GetShow", (PyCFunction) _wrap_ShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ShowEvent_swigregister", ShowEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_IconizeEvent", (PyCFunction) _wrap_new_IconizeEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IconizeEvent_Iconized", (PyCFunction) _wrap_IconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_MaximizeEvent", (PyCFunction) _wrap_new_MaximizeEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"DropFilesEvent_GetPosition", (PyCFunction) _wrap_DropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_DropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"DropFilesEvent_GetFiles", (PyCFunction) _wrap_DropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_UpdateUIEvent", (PyCFunction) _wrap_new_UpdateUIEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"UpdateUIEvent_GetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"UpdateUIEvent_GetText", (PyCFunction) _wrap_UpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"UpdateUIEvent_GetSetText", (PyCFunction) _wrap_UpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"UpdateUIEvent_Check", (PyCFunction) _wrap_UpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"UpdateUIEvent_Enable", (PyCFunction) _wrap_UpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"UpdateUIEvent_SetText", (PyCFunction) _wrap_UpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction) _wrap_UpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_UpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"UpdateUIEvent_SetMode", (PyCFunction) _wrap_UpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"UpdateUIEvent_GetMode", (PyCFunction) _wrap_UpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_SysColourChangedEvent", (PyCFunction) _wrap_new_SysColourChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_MouseCaptureChangedEvent", (PyCFunction) _wrap_new_MouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_MouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_DisplayChangedEvent", (PyCFunction) _wrap_new_DisplayChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_PaletteChangedEvent", (PyCFunction) _wrap_new_PaletteChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_QueryNewPaletteEvent", (PyCFunction) _wrap_new_QueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_NavigationKeyEvent", (PyCFunction) _wrap_new_NavigationKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction) _wrap_NavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction) _wrap_NavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction) _wrap_NavigationKeyEvent_IsFromTab, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction) _wrap_NavigationKeyEvent_SetFromTab, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction) _wrap_NavigationKeyEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_WindowCreateEvent", (PyCFunction) _wrap_new_WindowCreateEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"WindowCreateEvent_GetWindow", (PyCFunction) _wrap_WindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_WindowDestroyEvent", (PyCFunction) _wrap_new_WindowDestroyEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction) _wrap_WindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_ContextMenuEvent", (PyCFunction) _wrap_new_ContextMenuEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ContextMenuEvent_GetPosition", (PyCFunction) _wrap_ContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ContextMenuEvent_SetPosition", (PyCFunction) _wrap_ContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_IdleEvent", (PyCFunction) _wrap_new_IdleEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IdleEvent_RequestMore", (PyCFunction) _wrap_IdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IdleEvent_MoreRequested", (PyCFunction) _wrap_IdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IdleEvent_SetMode", (PyCFunction) _wrap_IdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IdleEvent_GetMode", (PyCFunction) _wrap_IdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IdleEvent_CanSend", (PyCFunction) _wrap_IdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyEvent__SetSelf", (PyCFunction) _wrap_PyEvent__SetSelf, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyEvent__GetSelf", (PyCFunction) _wrap_PyEvent__GetSelf, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyCommandEvent__SetSelf", (PyCFunction) _wrap_PyCommandEvent__SetSelf, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyCommandEvent__GetSelf", (PyCFunction) _wrap_PyCommandEvent__GetSelf, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_DateEvent", (PyCFunction) _wrap_new_DateEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"DateEvent_GetDate", (PyCFunction) _wrap_DateEvent_GetDate, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"DateEvent_SetDate", (PyCFunction) _wrap_DateEvent_SetDate, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"DateEvent_swigregister", DateEvent_swigregister, METH_VARARGS, NULL}, + { (char *)"new_PyApp", (PyCFunction) _wrap_new_PyApp, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_PyApp", (PyCFunction) _wrap_delete_PyApp, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp__setCallbackInfo", (PyCFunction) _wrap_PyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_GetAppName", (PyCFunction) _wrap_PyApp_GetAppName, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_SetAppName", (PyCFunction) _wrap_PyApp_SetAppName, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_GetClassName", (PyCFunction) _wrap_PyApp_GetClassName, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_SetClassName", (PyCFunction) _wrap_PyApp_SetClassName, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_GetVendorName", (PyCFunction) _wrap_PyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_SetVendorName", (PyCFunction) _wrap_PyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_GetTraits", (PyCFunction) _wrap_PyApp_GetTraits, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_ProcessPendingEvents", (PyCFunction) _wrap_PyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_Yield", (PyCFunction) _wrap_PyApp_Yield, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_WakeUpIdle", (PyCFunction) _wrap_PyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_IsMainLoopRunning", (PyCFunction) _wrap_PyApp_IsMainLoopRunning, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_MainLoop", (PyCFunction) _wrap_PyApp_MainLoop, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_Exit", (PyCFunction) _wrap_PyApp_Exit, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_ExitMainLoop", (PyCFunction) _wrap_PyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_Pending", (PyCFunction) _wrap_PyApp_Pending, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_Dispatch", (PyCFunction) _wrap_PyApp_Dispatch, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_ProcessIdle", (PyCFunction) _wrap_PyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_SendIdleEvents", (PyCFunction) _wrap_PyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_IsActive", (PyCFunction) _wrap_PyApp_IsActive, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_SetTopWindow", (PyCFunction) _wrap_PyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_GetTopWindow", (PyCFunction) _wrap_PyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_SetUseBestVisual", (PyCFunction) _wrap_PyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_GetUseBestVisual", (PyCFunction) _wrap_PyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_SetPrintMode", (PyCFunction) _wrap_PyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_GetPrintMode", (PyCFunction) _wrap_PyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_SetAssertMode", (PyCFunction) _wrap_PyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_GetAssertMode", (PyCFunction) _wrap_PyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp__BootstrapApp", (PyCFunction) _wrap_PyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_GetComCtl32Version", (PyCFunction) _wrap_PyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS, NULL}, + { (char *)"Exit", (PyCFunction) _wrap_Exit, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Yield", (PyCFunction) _wrap_Yield, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"YieldIfNeeded", (PyCFunction) _wrap_YieldIfNeeded, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SafeYield", (PyCFunction) _wrap_SafeYield, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"WakeUpIdle", (PyCFunction) _wrap_WakeUpIdle, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSetDefaultPyEncoding", (PyCFunction) _wrap_wxSetDefaultPyEncoding, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGetDefaultPyEncoding", (PyCFunction) _wrap_wxGetDefaultPyEncoding, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"new_wxEventLoop", (PyCFunction) _wrap_new_wxEventLoop, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"delete_wxEventLoop", (PyCFunction) _wrap_delete_wxEventLoop, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEventLoop_Run", (PyCFunction) _wrap_wxEventLoop_Run, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEventLoop_Exit", (PyCFunction) _wrap_wxEventLoop_Exit, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEventLoop_Pending", (PyCFunction) _wrap_wxEventLoop_Pending, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEventLoop_Dispatch", (PyCFunction) _wrap_wxEventLoop_Dispatch, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEventLoop_IsRunning", (PyCFunction) _wrap_wxEventLoop_IsRunning, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEventLoop_GetActive", (PyCFunction) _wrap_wxEventLoop_GetActive, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEventLoop_SetActive", (PyCFunction) _wrap_wxEventLoop_SetActive, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxEventLoop_swigregister", wxEventLoop_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxAcceleratorEntry", (PyCFunction) _wrap_new_wxAcceleratorEntry, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"delete_wxAcceleratorEntry", (PyCFunction) _wrap_delete_wxAcceleratorEntry, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxAcceleratorEntry_Set", (PyCFunction) _wrap_wxAcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxAcceleratorEntry_GetFlags", (PyCFunction) _wrap_wxAcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxAcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_wxAcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxAcceleratorEntry_GetCommand", (PyCFunction) _wrap_wxAcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxAcceleratorEntry_swigregister", wxAcceleratorEntry_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxAcceleratorTable", (PyCFunction) _wrap_new_wxAcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"delete_wxAcceleratorTable", (PyCFunction) _wrap_delete_wxAcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxAcceleratorTable_Ok", (PyCFunction) _wrap_wxAcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxAcceleratorTable_swigregister", wxAcceleratorTable_swigregister, METH_VARARGS, NULL}, - { (char *)"wxGetAccelFromString", (PyCFunction) _wrap_wxGetAccelFromString, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"new_wxVisualAttributes", (PyCFunction) _wrap_new_wxVisualAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"delete_wxVisualAttributes", (PyCFunction) _wrap_delete_wxVisualAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxVisualAttributes_font_set", (PyCFunction) _wrap_wxVisualAttributes_font_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxVisualAttributes_font_get", (PyCFunction) _wrap_wxVisualAttributes_font_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxVisualAttributes_colFg_set", (PyCFunction) _wrap_wxVisualAttributes_colFg_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxVisualAttributes_colFg_get", (PyCFunction) _wrap_wxVisualAttributes_colFg_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxVisualAttributes_colBg_set", (PyCFunction) _wrap_wxVisualAttributes_colBg_set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxVisualAttributes_colBg_get", (PyCFunction) _wrap_wxVisualAttributes_colBg_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxVisualAttributes_swigregister", wxVisualAttributes_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxWindow", (PyCFunction) _wrap_new_wxWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SetDefaultPyEncoding", (PyCFunction) _wrap_SetDefaultPyEncoding, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GetDefaultPyEncoding", (PyCFunction) _wrap_GetDefaultPyEncoding, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"new_EventLoop", (PyCFunction) _wrap_new_EventLoop, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_EventLoop", (PyCFunction) _wrap_delete_EventLoop, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"EventLoop_Run", (PyCFunction) _wrap_EventLoop_Run, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"EventLoop_Exit", (PyCFunction) _wrap_EventLoop_Exit, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"EventLoop_Pending", (PyCFunction) _wrap_EventLoop_Pending, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"EventLoop_Dispatch", (PyCFunction) _wrap_EventLoop_Dispatch, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"EventLoop_IsRunning", (PyCFunction) _wrap_EventLoop_IsRunning, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"EventLoop_GetActive", (PyCFunction) _wrap_EventLoop_GetActive, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"EventLoop_SetActive", (PyCFunction) _wrap_EventLoop_SetActive, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"EventLoop_swigregister", EventLoop_swigregister, METH_VARARGS, NULL}, + { (char *)"new_EventLoopActivator", (PyCFunction) _wrap_new_EventLoopActivator, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_EventLoopActivator", (PyCFunction) _wrap_delete_EventLoopActivator, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"EventLoopActivator_swigregister", EventLoopActivator_swigregister, METH_VARARGS, NULL}, + { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS, NULL}, + { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS, NULL}, + { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"new_VisualAttributes", (PyCFunction) _wrap_new_VisualAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_VisualAttributes", (PyCFunction) _wrap_delete_VisualAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VisualAttributes_font_set", (PyCFunction) _wrap_VisualAttributes_font_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VisualAttributes_font_get", (PyCFunction) _wrap_VisualAttributes_font_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VisualAttributes_colFg_set", (PyCFunction) _wrap_VisualAttributes_colFg_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VisualAttributes_colFg_get", (PyCFunction) _wrap_VisualAttributes_colFg_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VisualAttributes_colBg_set", (PyCFunction) _wrap_VisualAttributes_colBg_set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VisualAttributes_colBg_get", (PyCFunction) _wrap_VisualAttributes_colBg_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister, METH_VARARGS, NULL}, + { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_Create", (PyCFunction) _wrap_wxWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_Close", (PyCFunction) _wrap_wxWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_Destroy", (PyCFunction) _wrap_wxWindow_Destroy, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_DestroyChildren", (PyCFunction) _wrap_wxWindow_DestroyChildren, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_IsBeingDeleted", (PyCFunction) _wrap_wxWindow_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetTitle", (PyCFunction) _wrap_wxWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetTitle", (PyCFunction) _wrap_wxWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetLabel", (PyCFunction) _wrap_wxWindow_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetLabel", (PyCFunction) _wrap_wxWindow_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetName", (PyCFunction) _wrap_wxWindow_SetName, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetName", (PyCFunction) _wrap_wxWindow_GetName, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetWindowVariant", (PyCFunction) _wrap_wxWindow_SetWindowVariant, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetWindowVariant", (PyCFunction) _wrap_wxWindow_GetWindowVariant, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetId", (PyCFunction) _wrap_wxWindow_SetId, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetId", (PyCFunction) _wrap_wxWindow_GetId, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_NewControlId", (PyCFunction) _wrap_wxWindow_NewControlId, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_NextControlId", (PyCFunction) _wrap_wxWindow_NextControlId, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_PrevControlId", (PyCFunction) _wrap_wxWindow_PrevControlId, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetSize", (PyCFunction) _wrap_wxWindow_SetSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetDimensions", (PyCFunction) _wrap_wxWindow_SetDimensions, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetRect", (PyCFunction) _wrap_wxWindow_SetRect, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetSizeWH", (PyCFunction) _wrap_wxWindow_SetSizeWH, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_Move", (PyCFunction) _wrap_wxWindow_Move, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_MoveXY", (PyCFunction) _wrap_wxWindow_MoveXY, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetBestFittingSize", (PyCFunction) _wrap_wxWindow_SetBestFittingSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_Raise", (PyCFunction) _wrap_wxWindow_Raise, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_Lower", (PyCFunction) _wrap_wxWindow_Lower, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetClientSize", (PyCFunction) _wrap_wxWindow_SetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetClientSizeWH", (PyCFunction) _wrap_wxWindow_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetClientRect", (PyCFunction) _wrap_wxWindow_SetClientRect, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetPosition", (PyCFunction) _wrap_wxWindow_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetPositionTuple", (PyCFunction) _wrap_wxWindow_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetSize", (PyCFunction) _wrap_wxWindow_GetSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetSizeTuple", (PyCFunction) _wrap_wxWindow_GetSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetRect", (PyCFunction) _wrap_wxWindow_GetRect, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetClientSize", (PyCFunction) _wrap_wxWindow_GetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetClientSizeTuple", (PyCFunction) _wrap_wxWindow_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetClientAreaOrigin", (PyCFunction) _wrap_wxWindow_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetClientRect", (PyCFunction) _wrap_wxWindow_GetClientRect, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetBestSize", (PyCFunction) _wrap_wxWindow_GetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetBestSizeTuple", (PyCFunction) _wrap_wxWindow_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_InvalidateBestSize", (PyCFunction) _wrap_wxWindow_InvalidateBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetBestFittingSize", (PyCFunction) _wrap_wxWindow_GetBestFittingSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetAdjustedBestSize", (PyCFunction) _wrap_wxWindow_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_Center", (PyCFunction) _wrap_wxWindow_Center, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_CenterOnScreen", (PyCFunction) _wrap_wxWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_CenterOnParent", (PyCFunction) _wrap_wxWindow_CenterOnParent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_Fit", (PyCFunction) _wrap_wxWindow_Fit, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_FitInside", (PyCFunction) _wrap_wxWindow_FitInside, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetSizeHints", (PyCFunction) _wrap_wxWindow_SetSizeHints, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetSizeHintsSz", (PyCFunction) _wrap_wxWindow_SetSizeHintsSz, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetVirtualSizeHints", (PyCFunction) _wrap_wxWindow_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetVirtualSizeHintsSz", (PyCFunction) _wrap_wxWindow_SetVirtualSizeHintsSz, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetMaxSize", (PyCFunction) _wrap_wxWindow_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetMinSize", (PyCFunction) _wrap_wxWindow_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetMinSize", (PyCFunction) _wrap_wxWindow_SetMinSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetMaxSize", (PyCFunction) _wrap_wxWindow_SetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetMinWidth", (PyCFunction) _wrap_wxWindow_GetMinWidth, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetMinHeight", (PyCFunction) _wrap_wxWindow_GetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetMaxWidth", (PyCFunction) _wrap_wxWindow_GetMaxWidth, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetMaxHeight", (PyCFunction) _wrap_wxWindow_GetMaxHeight, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetVirtualSize", (PyCFunction) _wrap_wxWindow_SetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetVirtualSizeWH", (PyCFunction) _wrap_wxWindow_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetVirtualSize", (PyCFunction) _wrap_wxWindow_GetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetVirtualSizeTuple", (PyCFunction) _wrap_wxWindow_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetBestVirtualSize", (PyCFunction) _wrap_wxWindow_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_Show", (PyCFunction) _wrap_wxWindow_Show, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_Hide", (PyCFunction) _wrap_wxWindow_Hide, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_Enable", (PyCFunction) _wrap_wxWindow_Enable, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_Disable", (PyCFunction) _wrap_wxWindow_Disable, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_IsShown", (PyCFunction) _wrap_wxWindow_IsShown, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_IsEnabled", (PyCFunction) _wrap_wxWindow_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetWindowStyleFlag", (PyCFunction) _wrap_wxWindow_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetWindowStyleFlag", (PyCFunction) _wrap_wxWindow_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_HasFlag", (PyCFunction) _wrap_wxWindow_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_IsRetained", (PyCFunction) _wrap_wxWindow_IsRetained, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetExtraStyle", (PyCFunction) _wrap_wxWindow_SetExtraStyle, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetExtraStyle", (PyCFunction) _wrap_wxWindow_GetExtraStyle, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_MakeModal", (PyCFunction) _wrap_wxWindow_MakeModal, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetThemeEnabled", (PyCFunction) _wrap_wxWindow_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetThemeEnabled", (PyCFunction) _wrap_wxWindow_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetFocus", (PyCFunction) _wrap_wxWindow_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetFocusFromKbd", (PyCFunction) _wrap_wxWindow_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_FindFocus", (PyCFunction) _wrap_wxWindow_FindFocus, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_AcceptsFocus", (PyCFunction) _wrap_wxWindow_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_wxWindow_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetDefaultItem", (PyCFunction) _wrap_wxWindow_GetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetDefaultItem", (PyCFunction) _wrap_wxWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetTmpDefaultItem", (PyCFunction) _wrap_wxWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_Navigate", (PyCFunction) _wrap_wxWindow_Navigate, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_MoveAfterInTabOrder", (PyCFunction) _wrap_wxWindow_MoveAfterInTabOrder, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_MoveBeforeInTabOrder", (PyCFunction) _wrap_wxWindow_MoveBeforeInTabOrder, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetChildren", (PyCFunction) _wrap_wxWindow_GetChildren, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetParent", (PyCFunction) _wrap_wxWindow_GetParent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetGrandParent", (PyCFunction) _wrap_wxWindow_GetGrandParent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_IsTopLevel", (PyCFunction) _wrap_wxWindow_IsTopLevel, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_Reparent", (PyCFunction) _wrap_wxWindow_Reparent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_AddChild", (PyCFunction) _wrap_wxWindow_AddChild, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_RemoveChild", (PyCFunction) _wrap_wxWindow_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_FindWindowById", (PyCFunction) _wrap_wxWindow_FindWindowById, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_FindWindowByName", (PyCFunction) _wrap_wxWindow_FindWindowByName, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetEventHandler", (PyCFunction) _wrap_wxWindow_GetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetEventHandler", (PyCFunction) _wrap_wxWindow_SetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_PushEventHandler", (PyCFunction) _wrap_wxWindow_PushEventHandler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_PopEventHandler", (PyCFunction) _wrap_wxWindow_PopEventHandler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_RemoveEventHandler", (PyCFunction) _wrap_wxWindow_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetValidator", (PyCFunction) _wrap_wxWindow_SetValidator, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetValidator", (PyCFunction) _wrap_wxWindow_GetValidator, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_Validate", (PyCFunction) _wrap_wxWindow_Validate, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_TransferDataToWindow", (PyCFunction) _wrap_wxWindow_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_TransferDataFromWindow", (PyCFunction) _wrap_wxWindow_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_InitDialog", (PyCFunction) _wrap_wxWindow_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetAcceleratorTable", (PyCFunction) _wrap_wxWindow_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetAcceleratorTable", (PyCFunction) _wrap_wxWindow_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_RegisterHotKey", (PyCFunction) _wrap_wxWindow_RegisterHotKey, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_UnregisterHotKey", (PyCFunction) _wrap_wxWindow_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_ConvertDialogPointToPixels", (PyCFunction) _wrap_wxWindow_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_ConvertDialogSizeToPixels", (PyCFunction) _wrap_wxWindow_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_DLG_PNT", (PyCFunction) _wrap_wxWindow_DLG_PNT, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_DLG_SZE", (PyCFunction) _wrap_wxWindow_DLG_SZE, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_ConvertPixelPointToDialog", (PyCFunction) _wrap_wxWindow_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_ConvertPixelSizeToDialog", (PyCFunction) _wrap_wxWindow_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_WarpPointer", (PyCFunction) _wrap_wxWindow_WarpPointer, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_CaptureMouse", (PyCFunction) _wrap_wxWindow_CaptureMouse, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_ReleaseMouse", (PyCFunction) _wrap_wxWindow_ReleaseMouse, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetCapture", (PyCFunction) _wrap_wxWindow_GetCapture, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_HasCapture", (PyCFunction) _wrap_wxWindow_HasCapture, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_Refresh", (PyCFunction) _wrap_wxWindow_Refresh, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_RefreshRect", (PyCFunction) _wrap_wxWindow_RefreshRect, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_Update", (PyCFunction) _wrap_wxWindow_Update, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_ClearBackground", (PyCFunction) _wrap_wxWindow_ClearBackground, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_Freeze", (PyCFunction) _wrap_wxWindow_Freeze, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_Thaw", (PyCFunction) _wrap_wxWindow_Thaw, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_PrepareDC", (PyCFunction) _wrap_wxWindow_PrepareDC, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetUpdateRegion", (PyCFunction) _wrap_wxWindow_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetUpdateClientRect", (PyCFunction) _wrap_wxWindow_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_IsExposed", (PyCFunction) _wrap_wxWindow_IsExposed, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_IsExposedPoint", (PyCFunction) _wrap_wxWindow_IsExposedPoint, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_IsExposedRect", (PyCFunction) _wrap_wxWindow_IsExposedRect, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetDefaultAttributes", (PyCFunction) _wrap_wxWindow_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_wxWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetBackgroundColour", (PyCFunction) _wrap_wxWindow_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetOwnBackgroundColour", (PyCFunction) _wrap_wxWindow_SetOwnBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetForegroundColour", (PyCFunction) _wrap_wxWindow_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetOwnForegroundColour", (PyCFunction) _wrap_wxWindow_SetOwnForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetBackgroundColour", (PyCFunction) _wrap_wxWindow_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetForegroundColour", (PyCFunction) _wrap_wxWindow_GetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_InheritsBackgroundColour", (PyCFunction) _wrap_wxWindow_InheritsBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_UseBgCol", (PyCFunction) _wrap_wxWindow_UseBgCol, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetBackgroundStyle", (PyCFunction) _wrap_wxWindow_SetBackgroundStyle, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetBackgroundStyle", (PyCFunction) _wrap_wxWindow_GetBackgroundStyle, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_HasTransparentBackground", (PyCFunction) _wrap_wxWindow_HasTransparentBackground, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetCursor", (PyCFunction) _wrap_wxWindow_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetCursor", (PyCFunction) _wrap_wxWindow_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetFont", (PyCFunction) _wrap_wxWindow_SetFont, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetOwnFont", (PyCFunction) _wrap_wxWindow_SetOwnFont, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetFont", (PyCFunction) _wrap_wxWindow_GetFont, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetCaret", (PyCFunction) _wrap_wxWindow_SetCaret, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetCaret", (PyCFunction) _wrap_wxWindow_GetCaret, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetCharHeight", (PyCFunction) _wrap_wxWindow_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetCharWidth", (PyCFunction) _wrap_wxWindow_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetTextExtent", (PyCFunction) _wrap_wxWindow_GetTextExtent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetFullTextExtent", (PyCFunction) _wrap_wxWindow_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_ClientToScreenXY", (PyCFunction) _wrap_wxWindow_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_ScreenToClientXY", (PyCFunction) _wrap_wxWindow_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_ClientToScreen", (PyCFunction) _wrap_wxWindow_ClientToScreen, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_ScreenToClient", (PyCFunction) _wrap_wxWindow_ScreenToClient, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_HitTestXY", (PyCFunction) _wrap_wxWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_HitTest", (PyCFunction) _wrap_wxWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetBorder", _wrap_wxWindow_GetBorder, METH_VARARGS, NULL}, - { (char *)"wxWindow_UpdateWindowUI", (PyCFunction) _wrap_wxWindow_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_PopupMenuXY", (PyCFunction) _wrap_wxWindow_PopupMenuXY, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_PopupMenu", (PyCFunction) _wrap_wxWindow_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetHandle", (PyCFunction) _wrap_wxWindow_GetHandle, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_AssociateHandle", (PyCFunction) _wrap_wxWindow_AssociateHandle, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_DissociateHandle", (PyCFunction) _wrap_wxWindow_DissociateHandle, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_HasScrollbar", (PyCFunction) _wrap_wxWindow_HasScrollbar, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetScrollbar", (PyCFunction) _wrap_wxWindow_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetScrollPos", (PyCFunction) _wrap_wxWindow_SetScrollPos, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetScrollPos", (PyCFunction) _wrap_wxWindow_GetScrollPos, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetScrollThumb", (PyCFunction) _wrap_wxWindow_GetScrollThumb, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetScrollRange", (PyCFunction) _wrap_wxWindow_GetScrollRange, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_ScrollWindow", (PyCFunction) _wrap_wxWindow_ScrollWindow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_ScrollLines", (PyCFunction) _wrap_wxWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_ScrollPages", (PyCFunction) _wrap_wxWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_LineUp", (PyCFunction) _wrap_wxWindow_LineUp, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_LineDown", (PyCFunction) _wrap_wxWindow_LineDown, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_PageUp", (PyCFunction) _wrap_wxWindow_PageUp, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_PageDown", (PyCFunction) _wrap_wxWindow_PageDown, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetHelpText", (PyCFunction) _wrap_wxWindow_SetHelpText, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetHelpTextForId", (PyCFunction) _wrap_wxWindow_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetHelpText", (PyCFunction) _wrap_wxWindow_GetHelpText, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetToolTipString", (PyCFunction) _wrap_wxWindow_SetToolTipString, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetToolTip", (PyCFunction) _wrap_wxWindow_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetToolTip", (PyCFunction) _wrap_wxWindow_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetDropTarget", (PyCFunction) _wrap_wxWindow_SetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetDropTarget", (PyCFunction) _wrap_wxWindow_GetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetConstraints", (PyCFunction) _wrap_wxWindow_SetConstraints, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetConstraints", (PyCFunction) _wrap_wxWindow_GetConstraints, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetAutoLayout", (PyCFunction) _wrap_wxWindow_SetAutoLayout, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetAutoLayout", (PyCFunction) _wrap_wxWindow_GetAutoLayout, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_Layout", (PyCFunction) _wrap_wxWindow_Layout, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetSizer", (PyCFunction) _wrap_wxWindow_SetSizer, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetSizerAndFit", (PyCFunction) _wrap_wxWindow_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetSizer", (PyCFunction) _wrap_wxWindow_GetSizer, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_SetContainingSizer", (PyCFunction) _wrap_wxWindow_SetContainingSizer, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_GetContainingSizer", (PyCFunction) _wrap_wxWindow_GetContainingSizer, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_InheritAttributes", (PyCFunction) _wrap_wxWindow_InheritAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_ShouldInheritColours", (PyCFunction) _wrap_wxWindow_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_swigregister", wxWindow_swigregister, METH_VARARGS, NULL}, - { (char *)"wxFindWindowById", (PyCFunction) _wrap_wxFindWindowById, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFindWindowByName", (PyCFunction) _wrap_wxFindWindowByName, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFindWindowByLabel", (PyCFunction) _wrap_wxFindWindowByLabel, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxWindow_FromHWND", (PyCFunction) _wrap_wxWindow_FromHWND, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"new_wxValidator", (PyCFunction) _wrap_new_wxValidator, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxValidator_Clone", (PyCFunction) _wrap_wxValidator_Clone, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxValidator_Validate", (PyCFunction) _wrap_wxValidator_Validate, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxValidator_TransferToWindow", (PyCFunction) _wrap_wxValidator_TransferToWindow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxValidator_TransferFromWindow", (PyCFunction) _wrap_wxValidator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxValidator_GetWindow", (PyCFunction) _wrap_wxValidator_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxValidator_SetWindow", (PyCFunction) _wrap_wxValidator_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxValidator_IsSilent", (PyCFunction) _wrap_wxValidator_IsSilent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxValidator_SetBellOnError", (PyCFunction) _wrap_wxValidator_SetBellOnError, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxValidator_swigregister", wxValidator_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxPyValidator", (PyCFunction) _wrap_new_wxPyValidator, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyValidator__setCallbackInfo", (PyCFunction) _wrap_wxPyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPyValidator_swigregister", wxPyValidator_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxMenu", (PyCFunction) _wrap_new_wxMenu, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_Append", (PyCFunction) _wrap_wxMenu_Append, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_AppendSeparator", (PyCFunction) _wrap_wxMenu_AppendSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_AppendCheckItem", (PyCFunction) _wrap_wxMenu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_AppendRadioItem", (PyCFunction) _wrap_wxMenu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_AppendMenu", (PyCFunction) _wrap_wxMenu_AppendMenu, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_AppendItem", (PyCFunction) _wrap_wxMenu_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_Break", (PyCFunction) _wrap_wxMenu_Break, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_InsertItem", (PyCFunction) _wrap_wxMenu_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_Insert", (PyCFunction) _wrap_wxMenu_Insert, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_InsertSeparator", (PyCFunction) _wrap_wxMenu_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_InsertCheckItem", (PyCFunction) _wrap_wxMenu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_InsertRadioItem", (PyCFunction) _wrap_wxMenu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_InsertMenu", (PyCFunction) _wrap_wxMenu_InsertMenu, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_PrependItem", (PyCFunction) _wrap_wxMenu_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_Prepend", (PyCFunction) _wrap_wxMenu_Prepend, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_PrependSeparator", (PyCFunction) _wrap_wxMenu_PrependSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_PrependCheckItem", (PyCFunction) _wrap_wxMenu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_PrependRadioItem", (PyCFunction) _wrap_wxMenu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_PrependMenu", (PyCFunction) _wrap_wxMenu_PrependMenu, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_Remove", (PyCFunction) _wrap_wxMenu_Remove, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_RemoveItem", (PyCFunction) _wrap_wxMenu_RemoveItem, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_Delete", (PyCFunction) _wrap_wxMenu_Delete, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_DeleteItem", (PyCFunction) _wrap_wxMenu_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_Destroy", (PyCFunction) _wrap_wxMenu_Destroy, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_DestroyId", (PyCFunction) _wrap_wxMenu_DestroyId, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_DestroyItem", (PyCFunction) _wrap_wxMenu_DestroyItem, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_GetMenuItemCount", (PyCFunction) _wrap_wxMenu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_GetMenuItems", (PyCFunction) _wrap_wxMenu_GetMenuItems, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_FindItem", (PyCFunction) _wrap_wxMenu_FindItem, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_FindItemById", (PyCFunction) _wrap_wxMenu_FindItemById, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_FindItemByPosition", (PyCFunction) _wrap_wxMenu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_Enable", (PyCFunction) _wrap_wxMenu_Enable, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_IsEnabled", (PyCFunction) _wrap_wxMenu_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_Check", (PyCFunction) _wrap_wxMenu_Check, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_IsChecked", (PyCFunction) _wrap_wxMenu_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_SetLabel", (PyCFunction) _wrap_wxMenu_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_GetLabel", (PyCFunction) _wrap_wxMenu_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_SetHelpString", (PyCFunction) _wrap_wxMenu_SetHelpString, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_GetHelpString", (PyCFunction) _wrap_wxMenu_GetHelpString, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_SetTitle", (PyCFunction) _wrap_wxMenu_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_GetTitle", (PyCFunction) _wrap_wxMenu_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_SetEventHandler", (PyCFunction) _wrap_wxMenu_SetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_GetEventHandler", (PyCFunction) _wrap_wxMenu_GetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_SetInvokingWindow", (PyCFunction) _wrap_wxMenu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_GetInvokingWindow", (PyCFunction) _wrap_wxMenu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_GetStyle", (PyCFunction) _wrap_wxMenu_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_UpdateUI", (PyCFunction) _wrap_wxMenu_UpdateUI, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_GetMenuBar", (PyCFunction) _wrap_wxMenu_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_Attach", (PyCFunction) _wrap_wxMenu_Attach, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_Detach", (PyCFunction) _wrap_wxMenu_Detach, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_IsAttached", (PyCFunction) _wrap_wxMenu_IsAttached, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_SetParent", (PyCFunction) _wrap_wxMenu_SetParent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_GetParent", (PyCFunction) _wrap_wxMenu_GetParent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenu_swigregister", wxMenu_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxMenuBar", (PyCFunction) _wrap_new_wxMenuBar, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuBar_Append", (PyCFunction) _wrap_wxMenuBar_Append, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuBar_Insert", (PyCFunction) _wrap_wxMenuBar_Insert, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuBar_GetMenuCount", (PyCFunction) _wrap_wxMenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuBar_GetMenu", (PyCFunction) _wrap_wxMenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuBar_Replace", (PyCFunction) _wrap_wxMenuBar_Replace, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuBar_Remove", (PyCFunction) _wrap_wxMenuBar_Remove, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuBar_EnableTop", (PyCFunction) _wrap_wxMenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuBar_IsEnabledTop", (PyCFunction) _wrap_wxMenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuBar_SetLabelTop", (PyCFunction) _wrap_wxMenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuBar_GetLabelTop", (PyCFunction) _wrap_wxMenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuBar_FindMenuItem", (PyCFunction) _wrap_wxMenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuBar_FindItemById", (PyCFunction) _wrap_wxMenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuBar_FindMenu", (PyCFunction) _wrap_wxMenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuBar_Enable", (PyCFunction) _wrap_wxMenuBar_Enable, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuBar_Check", (PyCFunction) _wrap_wxMenuBar_Check, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuBar_IsChecked", (PyCFunction) _wrap_wxMenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuBar_IsEnabled", (PyCFunction) _wrap_wxMenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuBar_SetLabel", (PyCFunction) _wrap_wxMenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuBar_GetLabel", (PyCFunction) _wrap_wxMenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuBar_SetHelpString", (PyCFunction) _wrap_wxMenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuBar_GetHelpString", (PyCFunction) _wrap_wxMenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuBar_GetFrame", (PyCFunction) _wrap_wxMenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuBar_IsAttached", (PyCFunction) _wrap_wxMenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuBar_Attach", (PyCFunction) _wrap_wxMenuBar_Attach, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuBar_Detach", (PyCFunction) _wrap_wxMenuBar_Detach, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuBar_swigregister", wxMenuBar_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxMenuItem", (PyCFunction) _wrap_new_wxMenuItem, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_GetMenu", (PyCFunction) _wrap_wxMenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_SetMenu", (PyCFunction) _wrap_wxMenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_SetId", (PyCFunction) _wrap_wxMenuItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_GetId", (PyCFunction) _wrap_wxMenuItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_IsSeparator", (PyCFunction) _wrap_wxMenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_SetText", (PyCFunction) _wrap_wxMenuItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_GetLabel", (PyCFunction) _wrap_wxMenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_GetText", (PyCFunction) _wrap_wxMenuItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_GetLabelFromText", (PyCFunction) _wrap_wxMenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_GetKind", (PyCFunction) _wrap_wxMenuItem_GetKind, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_SetKind", (PyCFunction) _wrap_wxMenuItem_SetKind, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_SetCheckable", (PyCFunction) _wrap_wxMenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_IsCheckable", (PyCFunction) _wrap_wxMenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_IsSubMenu", (PyCFunction) _wrap_wxMenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_SetSubMenu", (PyCFunction) _wrap_wxMenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_GetSubMenu", (PyCFunction) _wrap_wxMenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_Enable", (PyCFunction) _wrap_wxMenuItem_Enable, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_IsEnabled", (PyCFunction) _wrap_wxMenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_Check", (PyCFunction) _wrap_wxMenuItem_Check, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_IsChecked", (PyCFunction) _wrap_wxMenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_Toggle", (PyCFunction) _wrap_wxMenuItem_Toggle, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_SetHelp", (PyCFunction) _wrap_wxMenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_GetHelp", (PyCFunction) _wrap_wxMenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_GetAccel", (PyCFunction) _wrap_wxMenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_SetAccel", (PyCFunction) _wrap_wxMenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_SetFont", (PyCFunction) _wrap_wxMenuItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_GetFont", (PyCFunction) _wrap_wxMenuItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_SetTextColour", (PyCFunction) _wrap_wxMenuItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_GetTextColour", (PyCFunction) _wrap_wxMenuItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_SetBackgroundColour", (PyCFunction) _wrap_wxMenuItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_GetBackgroundColour", (PyCFunction) _wrap_wxMenuItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_SetBitmaps", (PyCFunction) _wrap_wxMenuItem_SetBitmaps, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_SetDisabledBitmap", (PyCFunction) _wrap_wxMenuItem_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_GetDisabledBitmap", (PyCFunction) _wrap_wxMenuItem_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_SetMarginWidth", (PyCFunction) _wrap_wxMenuItem_SetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_GetMarginWidth", (PyCFunction) _wrap_wxMenuItem_GetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_wxMenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_IsOwnerDrawn", (PyCFunction) _wrap_wxMenuItem_IsOwnerDrawn, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_SetOwnerDrawn", (PyCFunction) _wrap_wxMenuItem_SetOwnerDrawn, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_ResetOwnerDrawn", (PyCFunction) _wrap_wxMenuItem_ResetOwnerDrawn, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_SetBitmap", (PyCFunction) _wrap_wxMenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_GetBitmap", (PyCFunction) _wrap_wxMenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxMenuItem_swigregister", wxMenuItem_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxControl", (PyCFunction) _wrap_new_wxControl, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_Close", (PyCFunction) _wrap_Window_Close, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetName", (PyCFunction) _wrap_Window_GetName, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetWindowVariant", (PyCFunction) _wrap_Window_SetWindowVariant, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetWindowVariant", (PyCFunction) _wrap_Window_GetWindowVariant, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetId", (PyCFunction) _wrap_Window_SetId, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetId", (PyCFunction) _wrap_Window_GetId, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_NewControlId", (PyCFunction) _wrap_Window_NewControlId, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_NextControlId", (PyCFunction) _wrap_Window_NextControlId, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_PrevControlId", (PyCFunction) _wrap_Window_PrevControlId, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetSize", (PyCFunction) _wrap_Window_SetSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetDimensions", (PyCFunction) _wrap_Window_SetDimensions, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetRect", (PyCFunction) _wrap_Window_SetRect, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetSizeWH", (PyCFunction) _wrap_Window_SetSizeWH, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_Move", (PyCFunction) _wrap_Window_Move, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_MoveXY", (PyCFunction) _wrap_Window_MoveXY, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetBestFittingSize", (PyCFunction) _wrap_Window_SetBestFittingSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_Raise", (PyCFunction) _wrap_Window_Raise, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_Lower", (PyCFunction) _wrap_Window_Lower, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetClientSize", (PyCFunction) _wrap_Window_SetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetClientSizeWH", (PyCFunction) _wrap_Window_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetClientRect", (PyCFunction) _wrap_Window_SetClientRect, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetPosition", (PyCFunction) _wrap_Window_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetPositionTuple", (PyCFunction) _wrap_Window_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetSize", (PyCFunction) _wrap_Window_GetSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetSizeTuple", (PyCFunction) _wrap_Window_GetSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetRect", (PyCFunction) _wrap_Window_GetRect, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetClientSize", (PyCFunction) _wrap_Window_GetClientSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetClientSizeTuple", (PyCFunction) _wrap_Window_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetClientAreaOrigin", (PyCFunction) _wrap_Window_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_InvalidateBestSize", (PyCFunction) _wrap_Window_InvalidateBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_CacheBestSize", (PyCFunction) _wrap_Window_CacheBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetBestFittingSize", (PyCFunction) _wrap_Window_GetBestFittingSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_CenterOnParent", (PyCFunction) _wrap_Window_CenterOnParent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_Fit", (PyCFunction) _wrap_Window_Fit, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_FitInside", (PyCFunction) _wrap_Window_FitInside, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetSizeHints", (PyCFunction) _wrap_Window_SetSizeHints, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetSizeHintsSz", (PyCFunction) _wrap_Window_SetSizeHintsSz, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetVirtualSizeHints", (PyCFunction) _wrap_Window_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction) _wrap_Window_SetVirtualSizeHintsSz, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetMaxSize", (PyCFunction) _wrap_Window_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetMinSize", (PyCFunction) _wrap_Window_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetMinSize", (PyCFunction) _wrap_Window_SetMinSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetMaxSize", (PyCFunction) _wrap_Window_SetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetMinWidth", (PyCFunction) _wrap_Window_GetMinWidth, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetMinHeight", (PyCFunction) _wrap_Window_GetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetMaxWidth", (PyCFunction) _wrap_Window_GetMaxWidth, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetMaxHeight", (PyCFunction) _wrap_Window_GetMaxHeight, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetVirtualSize", (PyCFunction) _wrap_Window_SetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetVirtualSizeWH", (PyCFunction) _wrap_Window_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetVirtualSize", (PyCFunction) _wrap_Window_GetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetVirtualSizeTuple", (PyCFunction) _wrap_Window_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetBestVirtualSize", (PyCFunction) _wrap_Window_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_Show", (PyCFunction) _wrap_Window_Show, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_Hide", (PyCFunction) _wrap_Window_Hide, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_Enable", (PyCFunction) _wrap_Window_Enable, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_Disable", (PyCFunction) _wrap_Window_Disable, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_IsShown", (PyCFunction) _wrap_Window_IsShown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_IsEnabled", (PyCFunction) _wrap_Window_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetWindowStyleFlag", (PyCFunction) _wrap_Window_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_IsRetained", (PyCFunction) _wrap_Window_IsRetained, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetExtraStyle", (PyCFunction) _wrap_Window_GetExtraStyle, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetThemeEnabled", (PyCFunction) _wrap_Window_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetFocus", (PyCFunction) _wrap_Window_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetFocusFromKbd", (PyCFunction) _wrap_Window_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_FindFocus", (PyCFunction) _wrap_Window_FindFocus, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_AcceptsFocus", (PyCFunction) _wrap_Window_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_Window_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetDefaultItem", (PyCFunction) _wrap_Window_GetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_Navigate", (PyCFunction) _wrap_Window_Navigate, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_MoveAfterInTabOrder", (PyCFunction) _wrap_Window_MoveAfterInTabOrder, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction) _wrap_Window_MoveBeforeInTabOrder, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetChildren", (PyCFunction) _wrap_Window_GetChildren, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetParent", (PyCFunction) _wrap_Window_GetParent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetGrandParent", (PyCFunction) _wrap_Window_GetGrandParent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_IsTopLevel", (PyCFunction) _wrap_Window_IsTopLevel, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_Reparent", (PyCFunction) _wrap_Window_Reparent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_AddChild", (PyCFunction) _wrap_Window_AddChild, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_RemoveChild", (PyCFunction) _wrap_Window_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_FindWindowById", (PyCFunction) _wrap_Window_FindWindowById, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_FindWindowByName", (PyCFunction) _wrap_Window_FindWindowByName, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetEventHandler", (PyCFunction) _wrap_Window_GetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetEventHandler", (PyCFunction) _wrap_Window_SetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_PushEventHandler", (PyCFunction) _wrap_Window_PushEventHandler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_PopEventHandler", (PyCFunction) _wrap_Window_PopEventHandler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_RemoveEventHandler", (PyCFunction) _wrap_Window_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetValidator", (PyCFunction) _wrap_Window_SetValidator, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetValidator", (PyCFunction) _wrap_Window_GetValidator, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_Validate", (PyCFunction) _wrap_Window_Validate, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_TransferDataToWindow", (PyCFunction) _wrap_Window_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_TransferDataFromWindow", (PyCFunction) _wrap_Window_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_InitDialog", (PyCFunction) _wrap_Window_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetAcceleratorTable", (PyCFunction) _wrap_Window_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetAcceleratorTable", (PyCFunction) _wrap_Window_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_RegisterHotKey", (PyCFunction) _wrap_Window_RegisterHotKey, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_UnregisterHotKey", (PyCFunction) _wrap_Window_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction) _wrap_Window_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction) _wrap_Window_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_DLG_PNT", (PyCFunction) _wrap_Window_DLG_PNT, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_DLG_SZE", (PyCFunction) _wrap_Window_DLG_SZE, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction) _wrap_Window_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction) _wrap_Window_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_WarpPointer", (PyCFunction) _wrap_Window_WarpPointer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_CaptureMouse", (PyCFunction) _wrap_Window_CaptureMouse, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_ReleaseMouse", (PyCFunction) _wrap_Window_ReleaseMouse, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetCapture", (PyCFunction) _wrap_Window_GetCapture, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_HasCapture", (PyCFunction) _wrap_Window_HasCapture, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_Refresh", (PyCFunction) _wrap_Window_Refresh, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_RefreshRect", (PyCFunction) _wrap_Window_RefreshRect, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_Update", (PyCFunction) _wrap_Window_Update, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_ClearBackground", (PyCFunction) _wrap_Window_ClearBackground, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_Freeze", (PyCFunction) _wrap_Window_Freeze, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_Thaw", (PyCFunction) _wrap_Window_Thaw, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetUpdateRegion", (PyCFunction) _wrap_Window_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetUpdateClientRect", (PyCFunction) _wrap_Window_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_IsExposed", (PyCFunction) _wrap_Window_IsExposed, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_IsExposedPoint", (PyCFunction) _wrap_Window_IsExposedPoint, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_IsExposedRect", (PyCFunction) _wrap_Window_IsExposedRect, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetDefaultAttributes", (PyCFunction) _wrap_Window_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetClassDefaultAttributes", (PyCFunction) _wrap_Window_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetBackgroundColour", (PyCFunction) _wrap_Window_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetOwnBackgroundColour", (PyCFunction) _wrap_Window_SetOwnBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetForegroundColour", (PyCFunction) _wrap_Window_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetOwnForegroundColour", (PyCFunction) _wrap_Window_SetOwnForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetBackgroundColour", (PyCFunction) _wrap_Window_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetForegroundColour", (PyCFunction) _wrap_Window_GetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_InheritsBackgroundColour", (PyCFunction) _wrap_Window_InheritsBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_UseBgCol", (PyCFunction) _wrap_Window_UseBgCol, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetBackgroundStyle", (PyCFunction) _wrap_Window_SetBackgroundStyle, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetBackgroundStyle", (PyCFunction) _wrap_Window_GetBackgroundStyle, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_HasTransparentBackground", (PyCFunction) _wrap_Window_HasTransparentBackground, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetCursor", (PyCFunction) _wrap_Window_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetCursor", (PyCFunction) _wrap_Window_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetFont", (PyCFunction) _wrap_Window_SetFont, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetOwnFont", (PyCFunction) _wrap_Window_SetOwnFont, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetFont", (PyCFunction) _wrap_Window_GetFont, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetCaret", (PyCFunction) _wrap_Window_SetCaret, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetCaret", (PyCFunction) _wrap_Window_GetCaret, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetCharHeight", (PyCFunction) _wrap_Window_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetCharWidth", (PyCFunction) _wrap_Window_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetTextExtent", (PyCFunction) _wrap_Window_GetTextExtent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetFullTextExtent", (PyCFunction) _wrap_Window_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_ClientToScreenXY", (PyCFunction) _wrap_Window_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_ScreenToClientXY", (PyCFunction) _wrap_Window_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_ClientToScreen", (PyCFunction) _wrap_Window_ClientToScreen, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_ScreenToClient", (PyCFunction) _wrap_Window_ScreenToClient, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_HitTestXY", (PyCFunction) _wrap_Window_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_HitTest", (PyCFunction) _wrap_Window_HitTest, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetBorder", _wrap_Window_GetBorder, METH_VARARGS, NULL}, + { (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetHandle", (PyCFunction) _wrap_Window_GetHandle, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_AssociateHandle", (PyCFunction) _wrap_Window_AssociateHandle, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_DissociateHandle", (PyCFunction) _wrap_Window_DissociateHandle, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_HasScrollbar", (PyCFunction) _wrap_Window_HasScrollbar, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetScrollbar", (PyCFunction) _wrap_Window_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetScrollPos", (PyCFunction) _wrap_Window_SetScrollPos, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetScrollPos", (PyCFunction) _wrap_Window_GetScrollPos, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetScrollThumb", (PyCFunction) _wrap_Window_GetScrollThumb, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetScrollRange", (PyCFunction) _wrap_Window_GetScrollRange, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_ScrollWindow", (PyCFunction) _wrap_Window_ScrollWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_ScrollLines", (PyCFunction) _wrap_Window_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_ScrollPages", (PyCFunction) _wrap_Window_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_LineUp", (PyCFunction) _wrap_Window_LineUp, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_LineDown", (PyCFunction) _wrap_Window_LineDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_PageUp", (PyCFunction) _wrap_Window_PageUp, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_PageDown", (PyCFunction) _wrap_Window_PageDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetHelpText", (PyCFunction) _wrap_Window_GetHelpText, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_DragAcceptFiles", (PyCFunction) _wrap_Window_DragAcceptFiles, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetAutoLayout", (PyCFunction) _wrap_Window_GetAutoLayout, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_Layout", (PyCFunction) _wrap_Window_Layout, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetSizer", (PyCFunction) _wrap_Window_SetSizer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetSizerAndFit", (PyCFunction) _wrap_Window_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetSizer", (PyCFunction) _wrap_Window_GetSizer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_SetContainingSizer", (PyCFunction) _wrap_Window_SetContainingSizer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_GetContainingSizer", (PyCFunction) _wrap_Window_GetContainingSizer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_InheritAttributes", (PyCFunction) _wrap_Window_InheritAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_ShouldInheritColours", (PyCFunction) _wrap_Window_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_swigregister", Window_swigregister, METH_VARARGS, NULL}, + { (char *)"FindWindowById", (PyCFunction) _wrap_FindWindowById, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FindWindowByName", (PyCFunction) _wrap_FindWindowByName, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FindWindowByLabel", (PyCFunction) _wrap_FindWindowByLabel, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Window_FromHWND", (PyCFunction) _wrap_Window_FromHWND, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GetTopLevelWindows", (PyCFunction) _wrap_GetTopLevelWindows, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"new_Validator", (PyCFunction) _wrap_new_Validator, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Validator_Clone", (PyCFunction) _wrap_Validator_Clone, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Validator_Validate", (PyCFunction) _wrap_Validator_Validate, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Validator_TransferToWindow", (PyCFunction) _wrap_Validator_TransferToWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Validator_TransferFromWindow", (PyCFunction) _wrap_Validator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Validator_GetWindow", (PyCFunction) _wrap_Validator_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Validator_SetWindow", (PyCFunction) _wrap_Validator_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Validator_IsSilent", (PyCFunction) _wrap_Validator_IsSilent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Validator_SetBellOnError", (PyCFunction) _wrap_Validator_SetBellOnError, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Validator_swigregister", Validator_swigregister, METH_VARARGS, NULL}, + { (char *)"new_PyValidator", (PyCFunction) _wrap_new_PyValidator, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyValidator__setCallbackInfo", (PyCFunction) _wrap_PyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PyValidator_swigregister", PyValidator_swigregister, METH_VARARGS, NULL}, + { (char *)"new_Menu", (PyCFunction) _wrap_new_Menu, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_Append", (PyCFunction) _wrap_Menu_Append, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_AppendSeparator", (PyCFunction) _wrap_Menu_AppendSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_AppendCheckItem", (PyCFunction) _wrap_Menu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_AppendRadioItem", (PyCFunction) _wrap_Menu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_AppendMenu", (PyCFunction) _wrap_Menu_AppendMenu, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_AppendItem", (PyCFunction) _wrap_Menu_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_Break", (PyCFunction) _wrap_Menu_Break, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_InsertItem", (PyCFunction) _wrap_Menu_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_Insert", (PyCFunction) _wrap_Menu_Insert, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_InsertSeparator", (PyCFunction) _wrap_Menu_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_InsertCheckItem", (PyCFunction) _wrap_Menu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_InsertRadioItem", (PyCFunction) _wrap_Menu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_InsertMenu", (PyCFunction) _wrap_Menu_InsertMenu, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_PrependItem", (PyCFunction) _wrap_Menu_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_Prepend", (PyCFunction) _wrap_Menu_Prepend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_PrependSeparator", (PyCFunction) _wrap_Menu_PrependSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_PrependCheckItem", (PyCFunction) _wrap_Menu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_PrependRadioItem", (PyCFunction) _wrap_Menu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_PrependMenu", (PyCFunction) _wrap_Menu_PrependMenu, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_Remove", (PyCFunction) _wrap_Menu_Remove, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_RemoveItem", (PyCFunction) _wrap_Menu_RemoveItem, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_Delete", (PyCFunction) _wrap_Menu_Delete, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_DeleteItem", (PyCFunction) _wrap_Menu_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_Destroy", (PyCFunction) _wrap_Menu_Destroy, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_DestroyId", (PyCFunction) _wrap_Menu_DestroyId, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_DestroyItem", (PyCFunction) _wrap_Menu_DestroyItem, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_GetMenuItemCount", (PyCFunction) _wrap_Menu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_GetMenuItems", (PyCFunction) _wrap_Menu_GetMenuItems, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_FindItem", (PyCFunction) _wrap_Menu_FindItem, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_FindItemById", (PyCFunction) _wrap_Menu_FindItemById, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_FindItemByPosition", (PyCFunction) _wrap_Menu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_Enable", (PyCFunction) _wrap_Menu_Enable, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_IsEnabled", (PyCFunction) _wrap_Menu_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_Check", (PyCFunction) _wrap_Menu_Check, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_IsChecked", (PyCFunction) _wrap_Menu_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_SetLabel", (PyCFunction) _wrap_Menu_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_GetLabel", (PyCFunction) _wrap_Menu_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_SetHelpString", (PyCFunction) _wrap_Menu_SetHelpString, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_GetHelpString", (PyCFunction) _wrap_Menu_GetHelpString, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_SetTitle", (PyCFunction) _wrap_Menu_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_GetTitle", (PyCFunction) _wrap_Menu_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_SetEventHandler", (PyCFunction) _wrap_Menu_SetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_GetEventHandler", (PyCFunction) _wrap_Menu_GetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_SetInvokingWindow", (PyCFunction) _wrap_Menu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_GetInvokingWindow", (PyCFunction) _wrap_Menu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_GetStyle", (PyCFunction) _wrap_Menu_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_UpdateUI", (PyCFunction) _wrap_Menu_UpdateUI, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_GetMenuBar", (PyCFunction) _wrap_Menu_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_Attach", (PyCFunction) _wrap_Menu_Attach, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_Detach", (PyCFunction) _wrap_Menu_Detach, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_IsAttached", (PyCFunction) _wrap_Menu_IsAttached, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_SetParent", (PyCFunction) _wrap_Menu_SetParent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_GetParent", (PyCFunction) _wrap_Menu_GetParent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS, NULL}, + { (char *)"new_MenuBar", (PyCFunction) _wrap_new_MenuBar, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuBar_Append", (PyCFunction) _wrap_MenuBar_Append, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuBar_Insert", (PyCFunction) _wrap_MenuBar_Insert, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuBar_GetMenuCount", (PyCFunction) _wrap_MenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuBar_GetMenu", (PyCFunction) _wrap_MenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuBar_Replace", (PyCFunction) _wrap_MenuBar_Replace, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuBar_Remove", (PyCFunction) _wrap_MenuBar_Remove, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuBar_EnableTop", (PyCFunction) _wrap_MenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuBar_IsEnabledTop", (PyCFunction) _wrap_MenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuBar_SetLabelTop", (PyCFunction) _wrap_MenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuBar_GetLabelTop", (PyCFunction) _wrap_MenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuBar_FindMenuItem", (PyCFunction) _wrap_MenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuBar_FindItemById", (PyCFunction) _wrap_MenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuBar_FindMenu", (PyCFunction) _wrap_MenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuBar_Enable", (PyCFunction) _wrap_MenuBar_Enable, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuBar_Check", (PyCFunction) _wrap_MenuBar_Check, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuBar_IsChecked", (PyCFunction) _wrap_MenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuBar_IsEnabled", (PyCFunction) _wrap_MenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuBar_SetLabel", (PyCFunction) _wrap_MenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuBar_GetLabel", (PyCFunction) _wrap_MenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuBar_SetHelpString", (PyCFunction) _wrap_MenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuBar_GetHelpString", (PyCFunction) _wrap_MenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuBar_GetFrame", (PyCFunction) _wrap_MenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuBar_SetAutoWindowMenu", (PyCFunction) _wrap_MenuBar_SetAutoWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuBar_GetAutoWindowMenu", (PyCFunction) _wrap_MenuBar_GetAutoWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS, NULL}, + { (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_SetMenu", (PyCFunction) _wrap_MenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_SetId", (PyCFunction) _wrap_MenuItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_GetId", (PyCFunction) _wrap_MenuItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_IsSeparator", (PyCFunction) _wrap_MenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_SetText", (PyCFunction) _wrap_MenuItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_GetLabel", (PyCFunction) _wrap_MenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_GetText", (PyCFunction) _wrap_MenuItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_GetLabelFromText", (PyCFunction) _wrap_MenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_GetKind", (PyCFunction) _wrap_MenuItem_GetKind, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_SetKind", (PyCFunction) _wrap_MenuItem_SetKind, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_SetCheckable", (PyCFunction) _wrap_MenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_IsCheckable", (PyCFunction) _wrap_MenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_IsSubMenu", (PyCFunction) _wrap_MenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_SetSubMenu", (PyCFunction) _wrap_MenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_GetSubMenu", (PyCFunction) _wrap_MenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_Enable", (PyCFunction) _wrap_MenuItem_Enable, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_IsEnabled", (PyCFunction) _wrap_MenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_Check", (PyCFunction) _wrap_MenuItem_Check, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_IsChecked", (PyCFunction) _wrap_MenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_Toggle", (PyCFunction) _wrap_MenuItem_Toggle, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_SetHelp", (PyCFunction) _wrap_MenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_SetFont", (PyCFunction) _wrap_MenuItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_GetFont", (PyCFunction) _wrap_MenuItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_SetTextColour", (PyCFunction) _wrap_MenuItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_GetTextColour", (PyCFunction) _wrap_MenuItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_SetBackgroundColour", (PyCFunction) _wrap_MenuItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_GetBackgroundColour", (PyCFunction) _wrap_MenuItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_SetBitmaps", (PyCFunction) _wrap_MenuItem_SetBitmaps, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction) _wrap_MenuItem_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction) _wrap_MenuItem_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_SetMarginWidth", (PyCFunction) _wrap_MenuItem_SetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_GetMarginWidth", (PyCFunction) _wrap_MenuItem_GetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_MenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction) _wrap_MenuItem_IsOwnerDrawn, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction) _wrap_MenuItem_SetOwnerDrawn, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction) _wrap_MenuItem_ResetOwnerDrawn, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS, NULL}, + { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxControl_Create", (PyCFunction) _wrap_wxControl_Create, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxControl_Command", (PyCFunction) _wrap_wxControl_Command, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxControl_GetLabel", (PyCFunction) _wrap_wxControl_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxControl_SetLabel", (PyCFunction) _wrap_wxControl_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxControl_GetClassDefaultAttributes", (PyCFunction) _wrap_wxControl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxControl_swigregister", wxControl_swigregister, METH_VARARGS, NULL}, - { (char *)"wxItemContainer_Append", (PyCFunction) _wrap_wxItemContainer_Append, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxItemContainer_AppendItems", (PyCFunction) _wrap_wxItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxItemContainer_Insert", (PyCFunction) _wrap_wxItemContainer_Insert, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxItemContainer_Clear", (PyCFunction) _wrap_wxItemContainer_Clear, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxItemContainer_Delete", (PyCFunction) _wrap_wxItemContainer_Delete, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxItemContainer_GetClientData", (PyCFunction) _wrap_wxItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxItemContainer_SetClientData", (PyCFunction) _wrap_wxItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxItemContainer_GetCount", (PyCFunction) _wrap_wxItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxItemContainer_IsEmpty", (PyCFunction) _wrap_wxItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxItemContainer_GetString", (PyCFunction) _wrap_wxItemContainer_GetString, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxItemContainer_GetStrings", (PyCFunction) _wrap_wxItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxItemContainer_SetString", (PyCFunction) _wrap_wxItemContainer_SetString, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxItemContainer_FindString", (PyCFunction) _wrap_wxItemContainer_FindString, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxItemContainer_SetSelection", (PyCFunction) _wrap_wxItemContainer_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxItemContainer_GetSelection", (PyCFunction) _wrap_wxItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxItemContainer_SetStringSelection", (PyCFunction) _wrap_wxItemContainer_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxItemContainer_GetStringSelection", (PyCFunction) _wrap_wxItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxItemContainer_Select", (PyCFunction) _wrap_wxItemContainer_Select, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxItemContainer_swigregister", wxItemContainer_swigregister, METH_VARARGS, NULL}, - { (char *)"wxControlWithItems_swigregister", wxControlWithItems_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxSizerItem", (PyCFunction) _wrap_new_wxSizerItem, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Control_GetClassDefaultAttributes", (PyCFunction) _wrap_Control_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Control_swigregister", Control_swigregister, METH_VARARGS, NULL}, + { (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ItemContainer_AppendItems", (PyCFunction) _wrap_ItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ItemContainer_Insert", (PyCFunction) _wrap_ItemContainer_Insert, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ItemContainer_Clear", (PyCFunction) _wrap_ItemContainer_Clear, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ItemContainer_Delete", (PyCFunction) _wrap_ItemContainer_Delete, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ItemContainer_GetClientData", (PyCFunction) _wrap_ItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ItemContainer_SetClientData", (PyCFunction) _wrap_ItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ItemContainer_GetCount", (PyCFunction) _wrap_ItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ItemContainer_IsEmpty", (PyCFunction) _wrap_ItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ItemContainer_GetString", (PyCFunction) _wrap_ItemContainer_GetString, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ItemContainer_GetStrings", (PyCFunction) _wrap_ItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ItemContainer_SetString", (PyCFunction) _wrap_ItemContainer_SetString, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ItemContainer_FindString", (PyCFunction) _wrap_ItemContainer_FindString, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ItemContainer_SetSelection", (PyCFunction) _wrap_ItemContainer_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ItemContainer_GetSelection", (PyCFunction) _wrap_ItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ItemContainer_SetStringSelection", (PyCFunction) _wrap_ItemContainer_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ItemContainer_GetStringSelection", (PyCFunction) _wrap_ItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ItemContainer_Select", (PyCFunction) _wrap_ItemContainer_Select, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ItemContainer_swigregister", ItemContainer_swigregister, METH_VARARGS, NULL}, + { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister, METH_VARARGS, NULL}, + { (char *)"new_SizerItem", (PyCFunction) _wrap_new_SizerItem, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_SizerItem", (PyCFunction) _wrap_delete_SizerItem, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_SizerItemWindow", (PyCFunction) _wrap_new_SizerItemWindow, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_SizerItemSpacer", (PyCFunction) _wrap_new_SizerItemSpacer, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_SizerItemSizer", (PyCFunction) _wrap_new_SizerItemSizer, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_DeleteWindows", (PyCFunction) _wrap_wxSizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_DetachSizer", (PyCFunction) _wrap_wxSizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_GetSize", (PyCFunction) _wrap_wxSizerItem_GetSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_CalcMin", (PyCFunction) _wrap_wxSizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_SetDimension", (PyCFunction) _wrap_wxSizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_GetMinSize", (PyCFunction) _wrap_wxSizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_GetMinSizeWithBorder", (PyCFunction) _wrap_wxSizerItem_GetMinSizeWithBorder, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_SetInitSize", (PyCFunction) _wrap_wxSizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_SetRatioWH", (PyCFunction) _wrap_wxSizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_SetRatioSize", (PyCFunction) _wrap_wxSizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_SetRatio", (PyCFunction) _wrap_wxSizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_GetRatio", (PyCFunction) _wrap_wxSizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_GetRect", (PyCFunction) _wrap_wxSizerItem_GetRect, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_IsWindow", (PyCFunction) _wrap_wxSizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_IsSizer", (PyCFunction) _wrap_wxSizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_IsSpacer", (PyCFunction) _wrap_wxSizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_SetProportion", (PyCFunction) _wrap_wxSizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_GetProportion", (PyCFunction) _wrap_wxSizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_SetFlag", (PyCFunction) _wrap_wxSizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_GetFlag", (PyCFunction) _wrap_wxSizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_SetBorder", (PyCFunction) _wrap_wxSizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_GetBorder", (PyCFunction) _wrap_wxSizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_GetWindow", (PyCFunction) _wrap_wxSizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_SetWindow", (PyCFunction) _wrap_wxSizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_GetSizer", (PyCFunction) _wrap_wxSizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_SetSizer", (PyCFunction) _wrap_wxSizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_GetSpacer", (PyCFunction) _wrap_wxSizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_SetSpacer", (PyCFunction) _wrap_wxSizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_Show", (PyCFunction) _wrap_wxSizerItem_Show, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_IsShown", (PyCFunction) _wrap_wxSizerItem_IsShown, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_GetPosition", (PyCFunction) _wrap_wxSizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_GetUserData", (PyCFunction) _wrap_wxSizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizerItem_swigregister", wxSizerItem_swigregister, METH_VARARGS, NULL}, - { (char *)"wxSizer__setOORInfo", (PyCFunction) _wrap_wxSizer__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizer_Add", (PyCFunction) _wrap_wxSizer_Add, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizer_Insert", (PyCFunction) _wrap_wxSizer_Insert, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizer_Prepend", (PyCFunction) _wrap_wxSizer_Prepend, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizer_Remove", (PyCFunction) _wrap_wxSizer_Remove, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizer_Detach", (PyCFunction) _wrap_wxSizer_Detach, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizer_GetItem", (PyCFunction) _wrap_wxSizer_GetItem, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizer__SetItemMinSize", (PyCFunction) _wrap_wxSizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizer_AddItem", (PyCFunction) _wrap_wxSizer_AddItem, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizer_InsertItem", (PyCFunction) _wrap_wxSizer_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizer_PrependItem", (PyCFunction) _wrap_wxSizer_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizer_SetDimension", (PyCFunction) _wrap_wxSizer_SetDimension, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizer_SetMinSize", (PyCFunction) _wrap_wxSizer_SetMinSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizer_GetSize", (PyCFunction) _wrap_wxSizer_GetSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizer_GetPosition", (PyCFunction) _wrap_wxSizer_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizer_GetMinSize", (PyCFunction) _wrap_wxSizer_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizer_RecalcSizes", (PyCFunction) _wrap_wxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizer_CalcMin", (PyCFunction) _wrap_wxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizer_Layout", (PyCFunction) _wrap_wxSizer_Layout, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizer_Fit", (PyCFunction) _wrap_wxSizer_Fit, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizer_FitInside", (PyCFunction) _wrap_wxSizer_FitInside, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizer_SetSizeHints", (PyCFunction) _wrap_wxSizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizer_SetVirtualSizeHints", (PyCFunction) _wrap_wxSizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizer_Clear", (PyCFunction) _wrap_wxSizer_Clear, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizer_DeleteWindows", (PyCFunction) _wrap_wxSizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizer_GetChildren", (PyCFunction) _wrap_wxSizer_GetChildren, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizer_Show", (PyCFunction) _wrap_wxSizer_Show, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizer_IsShown", (PyCFunction) _wrap_wxSizer_IsShown, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizer_ShowItems", (PyCFunction) _wrap_wxSizer_ShowItems, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxSizer_swigregister", wxSizer_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxPySizer", (PyCFunction) _wrap_new_wxPySizer, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPySizer__setCallbackInfo", (PyCFunction) _wrap_wxPySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxPySizer_swigregister", wxPySizer_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxBoxSizer", (PyCFunction) _wrap_new_wxBoxSizer, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxBoxSizer_GetOrientation", (PyCFunction) _wrap_wxBoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxBoxSizer_SetOrientation", (PyCFunction) _wrap_wxBoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxBoxSizer_swigregister", wxBoxSizer_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxStaticBoxSizer", (PyCFunction) _wrap_new_wxStaticBoxSizer, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxStaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_wxStaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxStaticBoxSizer_swigregister", wxStaticBoxSizer_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxGridSizer", (PyCFunction) _wrap_new_wxGridSizer, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGridSizer_SetCols", (PyCFunction) _wrap_wxGridSizer_SetCols, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGridSizer_SetRows", (PyCFunction) _wrap_wxGridSizer_SetRows, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGridSizer_SetVGap", (PyCFunction) _wrap_wxGridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGridSizer_SetHGap", (PyCFunction) _wrap_wxGridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGridSizer_GetCols", (PyCFunction) _wrap_wxGridSizer_GetCols, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGridSizer_GetRows", (PyCFunction) _wrap_wxGridSizer_GetRows, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGridSizer_GetVGap", (PyCFunction) _wrap_wxGridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGridSizer_GetHGap", (PyCFunction) _wrap_wxGridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGridSizer_swigregister", wxGridSizer_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxFlexGridSizer", (PyCFunction) _wrap_new_wxFlexGridSizer, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_wxFlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_wxFlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_wxFlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_wxFlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_wxFlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_wxFlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_wxFlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_wxFlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFlexGridSizer_GetRowHeights", (PyCFunction) _wrap_wxFlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFlexGridSizer_GetColWidths", (PyCFunction) _wrap_wxFlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxFlexGridSizer_swigregister", wxFlexGridSizer_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxStdDialogButtonSizer", (PyCFunction) _wrap_new_wxStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxStdDialogButtonSizer_AddButton", (PyCFunction) _wrap_wxStdDialogButtonSizer_AddButton, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxStdDialogButtonSizer_Realize", (PyCFunction) _wrap_wxStdDialogButtonSizer_Realize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxStdDialogButtonSizer_SetAffirmativeButton", (PyCFunction) _wrap_wxStdDialogButtonSizer_SetAffirmativeButton, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxStdDialogButtonSizer_SetNegativeButton", (PyCFunction) _wrap_wxStdDialogButtonSizer_SetNegativeButton, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxStdDialogButtonSizer_SetCancelButton", (PyCFunction) _wrap_wxStdDialogButtonSizer_SetCancelButton, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxStdDialogButtonSizer_GetAffirmativeButton", (PyCFunction) _wrap_wxStdDialogButtonSizer_GetAffirmativeButton, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxStdDialogButtonSizer_GetApplyButton", (PyCFunction) _wrap_wxStdDialogButtonSizer_GetApplyButton, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxStdDialogButtonSizer_GetNegativeButton", (PyCFunction) _wrap_wxStdDialogButtonSizer_GetNegativeButton, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxStdDialogButtonSizer_GetCancelButton", (PyCFunction) _wrap_wxStdDialogButtonSizer_GetCancelButton, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxStdDialogButtonSizer_GetHelpButton", (PyCFunction) _wrap_wxStdDialogButtonSizer_GetHelpButton, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxStdDialogButtonSizer_swigregister", wxStdDialogButtonSizer_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxGBPosition", (PyCFunction) _wrap_new_wxGBPosition, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGBPosition_GetRow", (PyCFunction) _wrap_wxGBPosition_GetRow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGBPosition_GetCol", (PyCFunction) _wrap_wxGBPosition_GetCol, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGBPosition_SetRow", (PyCFunction) _wrap_wxGBPosition_SetRow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGBPosition_SetCol", (PyCFunction) _wrap_wxGBPosition_SetCol, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGBPosition___eq__", (PyCFunction) _wrap_wxGBPosition___eq__, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGBPosition___ne__", (PyCFunction) _wrap_wxGBPosition___ne__, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGBPosition_Set", (PyCFunction) _wrap_wxGBPosition_Set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGBPosition_Get", (PyCFunction) _wrap_wxGBPosition_Get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGBPosition_swigregister", wxGBPosition_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxGBSpan", (PyCFunction) _wrap_new_wxGBSpan, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGBSpan_GetRowspan", (PyCFunction) _wrap_wxGBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGBSpan_GetColspan", (PyCFunction) _wrap_wxGBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGBSpan_SetRowspan", (PyCFunction) _wrap_wxGBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGBSpan_SetColspan", (PyCFunction) _wrap_wxGBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGBSpan___eq__", (PyCFunction) _wrap_wxGBSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGBSpan___ne__", (PyCFunction) _wrap_wxGBSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGBSpan_Set", (PyCFunction) _wrap_wxGBSpan_Set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGBSpan_Get", (PyCFunction) _wrap_wxGBSpan_Get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGBSpan_swigregister", wxGBSpan_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxGBSizerItem", (PyCFunction) _wrap_new_wxGBSizerItem, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_DeleteWindows", (PyCFunction) _wrap_SizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_DetachSizer", (PyCFunction) _wrap_SizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_GetSize", (PyCFunction) _wrap_SizerItem_GetSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction) _wrap_SizerItem_GetMinSizeWithBorder, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_GetRect", (PyCFunction) _wrap_SizerItem_GetRect, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_SetProportion", (PyCFunction) _wrap_SizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_GetProportion", (PyCFunction) _wrap_SizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_SetFlag", (PyCFunction) _wrap_SizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_GetFlag", (PyCFunction) _wrap_SizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_SetBorder", (PyCFunction) _wrap_SizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_GetBorder", (PyCFunction) _wrap_SizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_GetWindow", (PyCFunction) _wrap_SizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_SetWindow", (PyCFunction) _wrap_SizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_GetSizer", (PyCFunction) _wrap_SizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_SetSizer", (PyCFunction) _wrap_SizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_GetSpacer", (PyCFunction) _wrap_SizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_SetSpacer", (PyCFunction) _wrap_SizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_Show", (PyCFunction) _wrap_SizerItem_Show, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_SetUserData", (PyCFunction) _wrap_SizerItem_SetUserData, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS, NULL}, + { (char *)"delete_Sizer", (PyCFunction) _wrap_delete_Sizer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Sizer_Insert", (PyCFunction) _wrap_Sizer_Insert, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Sizer_Detach", (PyCFunction) _wrap_Sizer_Detach, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Sizer_GetItem", (PyCFunction) _wrap_Sizer_GetItem, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Sizer_PrependItem", (PyCFunction) _wrap_Sizer_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Sizer_SetDimension", (PyCFunction) _wrap_Sizer_SetDimension, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Sizer_SetMinSize", (PyCFunction) _wrap_Sizer_SetMinSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Sizer_GetSize", (PyCFunction) _wrap_Sizer_GetSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Sizer_GetPosition", (PyCFunction) _wrap_Sizer_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Sizer_GetMinSize", (PyCFunction) _wrap_Sizer_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Sizer_RecalcSizes", (PyCFunction) _wrap_Sizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Sizer_CalcMin", (PyCFunction) _wrap_Sizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Sizer_Layout", (PyCFunction) _wrap_Sizer_Layout, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Sizer_Fit", (PyCFunction) _wrap_Sizer_Fit, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Sizer_FitInside", (PyCFunction) _wrap_Sizer_FitInside, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Sizer_SetSizeHints", (PyCFunction) _wrap_Sizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction) _wrap_Sizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Sizer_Clear", (PyCFunction) _wrap_Sizer_Clear, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Sizer_DeleteWindows", (PyCFunction) _wrap_Sizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Sizer_GetChildren", (PyCFunction) _wrap_Sizer_GetChildren, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Sizer_Show", (PyCFunction) _wrap_Sizer_Show, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Sizer_IsShown", (PyCFunction) _wrap_Sizer_IsShown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Sizer_ShowItems", (PyCFunction) _wrap_Sizer_ShowItems, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Sizer_swigregister", Sizer_swigregister, METH_VARARGS, NULL}, + { (char *)"new_PySizer", (PyCFunction) _wrap_new_PySizer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PySizer__setCallbackInfo", (PyCFunction) _wrap_PySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"PySizer_swigregister", PySizer_swigregister, METH_VARARGS, NULL}, + { (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"BoxSizer_GetOrientation", (PyCFunction) _wrap_BoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS, NULL}, + { (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_StaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister, METH_VARARGS, NULL}, + { (char *)"new_GridSizer", (PyCFunction) _wrap_new_GridSizer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GridSizer_SetCols", (PyCFunction) _wrap_GridSizer_SetCols, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GridSizer_SetRows", (PyCFunction) _wrap_GridSizer_SetRows, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GridSizer_SetVGap", (PyCFunction) _wrap_GridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GridSizer_SetHGap", (PyCFunction) _wrap_GridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GridSizer_GetCols", (PyCFunction) _wrap_GridSizer_GetCols, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GridSizer_GetRows", (PyCFunction) _wrap_GridSizer_GetRows, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GridSizer_GetVGap", (PyCFunction) _wrap_GridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GridSizer_GetHGap", (PyCFunction) _wrap_GridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GridSizer_swigregister", GridSizer_swigregister, METH_VARARGS, NULL}, + { (char *)"new_FlexGridSizer", (PyCFunction) _wrap_new_FlexGridSizer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_FlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_FlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS, NULL}, + { (char *)"new_StdDialogButtonSizer", (PyCFunction) _wrap_new_StdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction) _wrap_StdDialogButtonSizer_AddButton, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StdDialogButtonSizer_Realize", (PyCFunction) _wrap_StdDialogButtonSizer_Realize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction) _wrap_StdDialogButtonSizer_SetAffirmativeButton, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction) _wrap_StdDialogButtonSizer_SetNegativeButton, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction) _wrap_StdDialogButtonSizer_SetCancelButton, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction) _wrap_StdDialogButtonSizer_GetAffirmativeButton, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction) _wrap_StdDialogButtonSizer_GetApplyButton, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction) _wrap_StdDialogButtonSizer_GetNegativeButton, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction) _wrap_StdDialogButtonSizer_GetCancelButton, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction) _wrap_StdDialogButtonSizer_GetHelpButton, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister, METH_VARARGS, NULL}, + { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_GBPosition", (PyCFunction) _wrap_delete_GBPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GBPosition_GetCol", (PyCFunction) _wrap_GBPosition_GetCol, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GBPosition_SetRow", (PyCFunction) _wrap_GBPosition_SetRow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS, NULL}, + { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_GBSpan", (PyCFunction) _wrap_delete_GBSpan, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GBSpan_GetColspan", (PyCFunction) _wrap_GBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GBSpan_SetRowspan", (PyCFunction) _wrap_GBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS, NULL}, + { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_GBSizerItem", (PyCFunction) _wrap_delete_GBSizerItem, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_GBSizerItemSizer", (PyCFunction) _wrap_new_GBSizerItemSizer, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_GBSizerItemSpacer", (PyCFunction) _wrap_new_GBSizerItemSpacer, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGBSizerItem_GetPos", (PyCFunction) _wrap_wxGBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGBSizerItem_GetSpan", (PyCFunction) _wrap_wxGBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGBSizerItem_SetPos", (PyCFunction) _wrap_wxGBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGBSizerItem_SetSpan", (PyCFunction) _wrap_wxGBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGBSizerItem_Intersects", (PyCFunction) _wrap_wxGBSizerItem_Intersects, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGBSizerItem_IntersectsPos", (PyCFunction) _wrap_wxGBSizerItem_IntersectsPos, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGBSizerItem_GetEndPos", (PyCFunction) _wrap_wxGBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGBSizerItem_GetGBSizer", (PyCFunction) _wrap_wxGBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGBSizerItem_SetGBSizer", (PyCFunction) _wrap_wxGBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGBSizerItem_swigregister", wxGBSizerItem_swigregister, METH_VARARGS, NULL}, - { (char *)"new_wxGridBagSizer", (PyCFunction) _wrap_new_wxGridBagSizer, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGridBagSizer_Add", (PyCFunction) _wrap_wxGridBagSizer_Add, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGridBagSizer_AddItem", (PyCFunction) _wrap_wxGridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGridBagSizer_GetCellSize", (PyCFunction) _wrap_wxGridBagSizer_GetCellSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_wxGridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_wxGridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGridBagSizer_GetItemPosition", _wrap_wxGridBagSizer_GetItemPosition, METH_VARARGS, NULL}, - { (char *)"wxGridBagSizer_SetItemPosition", _wrap_wxGridBagSizer_SetItemPosition, METH_VARARGS, NULL}, - { (char *)"wxGridBagSizer_GetItemSpan", _wrap_wxGridBagSizer_GetItemSpan, METH_VARARGS, NULL}, - { (char *)"wxGridBagSizer_SetItemSpan", _wrap_wxGridBagSizer_SetItemSpan, METH_VARARGS, NULL}, - { (char *)"wxGridBagSizer_FindItem", _wrap_wxGridBagSizer_FindItem, METH_VARARGS, NULL}, - { (char *)"wxGridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_wxGridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_wxGridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGridBagSizer_CheckForIntersection", (PyCFunction) _wrap_wxGridBagSizer_CheckForIntersection, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGridBagSizer_CheckForIntersectionPos", (PyCFunction) _wrap_wxGridBagSizer_CheckForIntersectionPos, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxGridBagSizer_swigregister", wxGridBagSizer_swigregister, METH_VARARGS, NULL}, - { (char *)"wxIndividualLayoutConstraint_Set", (PyCFunction) _wrap_wxIndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_wxIndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_wxIndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIndividualLayoutConstraint_Above", (PyCFunction) _wrap_wxIndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIndividualLayoutConstraint_Below", (PyCFunction) _wrap_wxIndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_wxIndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_wxIndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_wxIndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_wxIndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_wxIndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_wxIndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_wxIndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_wxIndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_wxIndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_wxIndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_wxIndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_wxIndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_wxIndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_wxIndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_wxIndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_wxIndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_wxIndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_wxIndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_wxIndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_wxIndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_wxIndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxIndividualLayoutConstraint_swigregister", wxIndividualLayoutConstraint_swigregister, METH_VARARGS, NULL}, - { (char *)"wxLayoutConstraints_left_get", (PyCFunction) _wrap_wxLayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxLayoutConstraints_top_get", (PyCFunction) _wrap_wxLayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxLayoutConstraints_right_get", (PyCFunction) _wrap_wxLayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxLayoutConstraints_bottom_get", (PyCFunction) _wrap_wxLayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxLayoutConstraints_width_get", (PyCFunction) _wrap_wxLayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxLayoutConstraints_height_get", (PyCFunction) _wrap_wxLayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxLayoutConstraints_centreX_get", (PyCFunction) _wrap_wxLayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxLayoutConstraints_centreY_get", (PyCFunction) _wrap_wxLayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"new_wxLayoutConstraints", (PyCFunction) _wrap_new_wxLayoutConstraints, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxLayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_wxLayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxLayoutConstraints_AreSatisfied", (PyCFunction) _wrap_wxLayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"wxLayoutConstraints_swigregister", wxLayoutConstraints_swigregister, METH_VARARGS, NULL}, + { (char *)"GBSizerItem_GetPos", (PyCFunction) _wrap_GBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GBSizerItem_GetSpan", (PyCFunction) _wrap_GBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GBSizerItem_SetPos", (PyCFunction) _wrap_GBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GBSizerItem_SetSpan", (PyCFunction) _wrap_GBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GBSizerItem_Intersects", (PyCFunction) _wrap_GBSizerItem_Intersects, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GBSizerItem_IntersectsPos", (PyCFunction) _wrap_GBSizerItem_IntersectsPos, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GBSizerItem_GetEndPos", (PyCFunction) _wrap_GBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GBSizerItem_GetGBSizer", (PyCFunction) _wrap_GBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GBSizerItem_SetGBSizer", (PyCFunction) _wrap_GBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister, METH_VARARGS, NULL}, + { (char *)"new_GridBagSizer", (PyCFunction) _wrap_new_GridBagSizer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GridBagSizer_Add", (PyCFunction) _wrap_GridBagSizer_Add, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GridBagSizer_AddItem", (PyCFunction) _wrap_GridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GridBagSizer_GetCellSize", (PyCFunction) _wrap_GridBagSizer_GetCellSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition, METH_VARARGS, NULL}, + { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition, METH_VARARGS, NULL}, + { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan, METH_VARARGS, NULL}, + { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS, NULL}, + { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS, NULL}, + { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction) _wrap_GridBagSizer_CheckForIntersection, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction) _wrap_GridBagSizer_CheckForIntersectionPos, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister, METH_VARARGS, NULL}, + { (char *)"IndividualLayoutConstraint_Set", (PyCFunction) _wrap_IndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_IndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_IndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IndividualLayoutConstraint_Above", (PyCFunction) _wrap_IndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IndividualLayoutConstraint_Below", (PyCFunction) _wrap_IndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_IndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_IndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_IndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_IndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_IndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_IndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_IndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_IndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister, METH_VARARGS, NULL}, + { (char *)"LayoutConstraints_left_get", (PyCFunction) _wrap_LayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"LayoutConstraints_top_get", (PyCFunction) _wrap_LayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"LayoutConstraints_right_get", (PyCFunction) _wrap_LayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"LayoutConstraints_bottom_get", (PyCFunction) _wrap_LayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"LayoutConstraints_width_get", (PyCFunction) _wrap_LayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"LayoutConstraints_height_get", (PyCFunction) _wrap_LayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"LayoutConstraints_centreX_get", (PyCFunction) _wrap_LayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"LayoutConstraints_centreY_get", (PyCFunction) _wrap_LayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"new_LayoutConstraints", (PyCFunction) _wrap_new_LayoutConstraints, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_LayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction) _wrap_LayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister, METH_VARARGS, NULL}, { NULL, NULL, 0, NULL } }; @@ -46749,6 +47843,9 @@ static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x) { static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) { return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); } +static void *_p_wxPyImageHandlerTo_p_wxImageHandler(void *x) { + return (void *)((wxImageHandler *) ((wxPyImageHandler *) x)); +} static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) { return (void *)((wxImageHandler *) ((wxBMPHandler *) x)); } @@ -46905,9 +48002,6 @@ static void *_p_wxMoveEventTo_p_wxObject(void *x) { static void *_p_wxActivateEventTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); } -static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { - return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); -} static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); } @@ -46935,9 +48029,15 @@ static void *_p_wxICOHandlerTo_p_wxObject(void *x) { static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); } +static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x)); +} static void *_p_wxImageHandlerTo_p_wxObject(void *x) { return (void *)((wxObject *) ((wxImageHandler *) x)); } +static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { + return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); +} static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); } @@ -47058,265 +48158,540 @@ static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { static void *_p_wxPyValidatorTo_p_wxValidator(void *x) { return (void *)((wxValidator *) ((wxPyValidator *) x)); } -static swig_type_info _swigt__p_wxLayoutConstraints[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxRealPoint[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0, 0, 0, 0},{"_p_wxRealPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSizerItem[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0, 0, 0, 0},{"_p_wxSizerItem", 0, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGBSizerItem[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0, 0, 0, 0},{"_p_wxGBSizerItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxScrollEvent[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0, 0, 0, 0},{"_p_wxScrollEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEventLoop[] = {{"_p_wxEventLoop", 0, "wxEventLoop *", 0, 0, 0, 0},{"_p_wxEventLoop", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxIndividualLayoutConstraint[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSizer[] = {{"_p_wxSizer", 0, "wxSizer *", 0, 0, 0, 0},{"_p_wxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBoxSizer[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0, 0, 0, 0},{"_p_wxBoxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxBoxSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxStaticBoxSizer[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0, 0, 0, 0},{"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridBagSizer[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxAcceleratorEntry[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0, 0, 0, 0},{"_p_wxAcceleratorEntry", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxUpdateUIEvent[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0, 0, 0, 0},{"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_buffer[] = {{"_p_buffer", 0, "buffer *", 0, 0, 0, 0},{"_p_buffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGridSizer[] = {{"_p_wxGridSizer", 0, "wxGridSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxGridSizer, 0, 0, 0, 0, 0},{"_p_wxGridSizer", 0, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxGridSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFlexGridSizer[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxInitDialogEvent[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0, 0, 0, 0},{"_p_wxInitDialogEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxItemContainer[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxItemContainer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxNcPaintEvent[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0, 0, 0, 0},{"_p_wxNcPaintEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPaintEvent[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0, 0, 0, 0},{"_p_wxPaintEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSysColourChangedEvent[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMouseCaptureChangedEvent[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDisplayChangedEvent[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPaletteChangedEvent[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMenuBarBase[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0, 0, 0, 0},{"_p_wxMenuBarBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSetCursorEvent[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0, 0, 0, 0},{"_p_wxSetCursorEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFSFile[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0, 0, 0, 0},{"_p_wxFSFile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0, 0, 0, 0},{"_p_wxCaret", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__ptrdiff_t[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPoint2D[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0, 0, 0, 0},{"_p_wxPoint2D", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPySizer[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0, 0, 0, 0},{"_p_wxPySizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyEvent[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0, 0, 0, 0},{"_p_wxPyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPropagationDisabler[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0, 0, 0, 0},{"_p_wxPropagationDisabler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_form_ops_t[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxAppTraits[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0, 0, 0, 0},{"_p_wxAppTraits", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxShowEvent[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0, 0, 0, 0},{"_p_wxShowEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0, 0, 0, 0},{"_p_wxToolTip", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMoveEvent[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0, 0, 0, 0},{"_p_wxMoveEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSizeEvent[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0, 0, 0, 0},{"_p_wxSizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxActivateEvent[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0, 0, 0, 0},{"_p_wxActivateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxIconizeEvent[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0, 0, 0, 0},{"_p_wxIconizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMaximizeEvent[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0, 0, 0, 0},{"_p_wxMaximizeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxQueryNewPaletteEvent[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxWindowCreateEvent[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0, 0, 0, 0},{"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxIdleEvent[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0, 0, 0, 0},{"_p_wxIdleEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDateEvent[] = {{"_p_wxDateEvent", 0, "wxDateEvent *", 0, 0, 0, 0},{"_p_wxDateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMenuItem[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0, 0, 0, 0},{"_p_wxMenuItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0, 0, 0, 0},{"_p_wxStaticBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDuplexMode[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTIFFHandler[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0, 0, 0, 0},{"_p_wxTIFFHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxXPMHandler[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0, 0, 0, 0},{"_p_wxXPMHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPNMHandler[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0, 0, 0, 0},{"_p_wxPNMHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxJPEGHandler[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0, 0, 0, 0},{"_p_wxJPEGHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPCXHandler[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0, 0, 0, 0},{"_p_wxPCXHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGIFHandler[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0, 0, 0, 0},{"_p_wxGIFHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPNGHandler[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0, 0, 0, 0},{"_p_wxPNGHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxANIHandler[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0, 0, 0, 0},{"_p_wxANIHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMemoryFSHandler[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0, 0, 0, 0},{"_p_wxMemoryFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxZipFSHandler[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0, 0, 0, 0},{"_p_wxZipFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxInternetFSHandler[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0, 0, 0, 0},{"_p_wxInternetFSHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyFileSystemHandler[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0, 0, 0, 0},{"_p_wxPyFileSystemHandler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCURHandler[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0, 0, 0, 0},{"_p_wxCURHandler", 0, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxICOHandler[] = {{"_p_wxICOHandler", 0, "wxICOHandler *", 0, 0, 0, 0},{"_p_wxICOHandler", 0, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxICOHandler, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxICOHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBMPHandler[] = {{"_p_wxBMPHandler", 0, "wxBMPHandler *", 0, 0, 0, 0},{"_p_wxBMPHandler", 0, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxBMPHandler, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxBMPHandler, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxBMPHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxImageHandler[] = {{"_p_wxImageHandler", 0, "wxImageHandler *", 0, 0, 0, 0},{"_p_wxImageHandler", 0, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxImageHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFileSystemHandler[] = {{"_p_wxFileSystemHandler", 0, "wxFileSystemHandler *", 0, 0, 0, 0},{"_p_wxFileSystemHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyFileSystemHandler", _p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{"_p_wxInternetFSHandler", _p_wxInternetFSHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{"_p_wxZipFSHandler", _p_wxZipFSHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{"_p_wxMemoryFSHandler", _p_wxMemoryFSHandlerTo_p_wxFileSystemHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxButton[] = {{"_p_wxButton", 0, "wxButton *", 0, 0, 0, 0},{"_p_wxButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGBSpan[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0, 0, 0, 0},{"_p_wxGBSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPropagateOnce[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0, 0, 0, 0},{"_p_wxPropagateOnce", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxAcceleratorTable[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0, 0, 0, 0},{"_p_wxAcceleratorTable", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxStdDialogButtonSizer[] = {{"_p_wxStdDialogButtonSizer", 0, "wxStdDialogButtonSizer *", 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxGBPosition[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0, 0, 0, 0},{"_p_wxGBPosition", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxImage[] = {{"_p_wxImage", 0, "wxImage *", 0, 0, 0, 0},{"_p_wxImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0, 0, 0, 0},{"_p_wxScrollWinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPaperSize[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxImageHistogram[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0, 0, 0, 0},{"_p_wxImageHistogram", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxInputStream[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0, 0, 0, 0},{"_p_wxInputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyInputStream[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0, 0, 0, 0},{"_p_wxPyInputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxNavigationKeyEvent[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxWindowDestroyEvent[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0, 0, 0, 0},{"_p_wxMenuBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__unsigned_int[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMenuEvent[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0, 0, 0, 0},{"_p_wxMenuEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxContextMenuEvent[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxEraseEvent[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0, 0, 0, 0},{"_p_wxEraseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCloseEvent[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0, 0, 0, 0},{"_p_wxCloseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyApp[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0, 0, 0, 0},{"_p_wxPyApp", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyCommandEvent[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0, 0, 0, 0},{"_p_wxPyCommandEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyDropTarget[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0, 0, 0, 0},{"_p_wxPyDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxQuantize[] = {{"_p_wxQuantize", 0, "wxQuantize *", 0, 0, 0, 0},{"_p_wxQuantize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFocusEvent[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0, 0, 0, 0},{"_p_wxFocusEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxChildFocusEvent[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDropFilesEvent[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0, 0, 0, 0},{"_p_wxDropFilesEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyValidator[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0, 0, 0, 0},{"_p_wxPyValidator", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; - -static swig_type_info *swig_types_initial[] = { -_swigt__p_wxLayoutConstraints, -_swigt__p_wxRealPoint, -_swigt__p_wxSizerItem, -_swigt__p_wxGBSizerItem, -_swigt__p_wxScrollEvent, -_swigt__p_wxEventLoop, -_swigt__p_wxIndividualLayoutConstraint, -_swigt__p_wxSizer, -_swigt__p_wxBoxSizer, -_swigt__p_wxStaticBoxSizer, -_swigt__p_wxGridBagSizer, -_swigt__p_wxAcceleratorEntry, -_swigt__p_wxUpdateUIEvent, -_swigt__p_wxEvent, -_swigt__p_buffer, -_swigt__p_wxMenu, -_swigt__p_wxGridSizer, -_swigt__p_wxFlexGridSizer, -_swigt__p_wxInitDialogEvent, -_swigt__p_wxItemContainer, -_swigt__p_wxNcPaintEvent, -_swigt__p_wxPaintEvent, -_swigt__p_wxSysColourChangedEvent, -_swigt__p_wxMouseCaptureChangedEvent, -_swigt__p_wxDisplayChangedEvent, -_swigt__p_wxPaletteChangedEvent, -_swigt__p_wxControl, -_swigt__p_wxFont, -_swigt__p_wxMenuBarBase, -_swigt__p_wxSetCursorEvent, -_swigt__p_wxFSFile, -_swigt__p_wxCaret, -_swigt__ptrdiff_t, -_swigt__std__ptrdiff_t, -_swigt__p_wxRegion, -_swigt__p_wxPoint2D, -_swigt__p_int, -_swigt__p_wxSize, -_swigt__p_wxDC, -_swigt__p_wxPySizer, -_swigt__p_wxVisualAttributes, -_swigt__p_wxNotifyEvent, -_swigt__p_wxPyEvent, -_swigt__p_wxPropagationDisabler, -_swigt__p_form_ops_t, -_swigt__p_wxAppTraits, -_swigt__p_wxArrayString, -_swigt__p_wxShowEvent, -_swigt__p_wxToolTip, -_swigt__p_wxMoveEvent, -_swigt__p_wxSizeEvent, -_swigt__p_wxActivateEvent, -_swigt__p_wxIconizeEvent, -_swigt__p_wxMaximizeEvent, -_swigt__p_wxQueryNewPaletteEvent, -_swigt__p_wxWindowCreateEvent, -_swigt__p_wxIdleEvent, -_swigt__p_wxDateEvent, -_swigt__p_wxMenuItem, -_swigt__p_wxStaticBox, -_swigt__p_long, -_swigt__p_wxDuplexMode, -_swigt__p_wxTIFFHandler, -_swigt__p_wxXPMHandler, -_swigt__p_wxPNMHandler, -_swigt__p_wxJPEGHandler, -_swigt__p_wxPCXHandler, -_swigt__p_wxGIFHandler, -_swigt__p_wxPNGHandler, -_swigt__p_wxANIHandler, -_swigt__p_wxMemoryFSHandler, -_swigt__p_wxZipFSHandler, -_swigt__p_wxInternetFSHandler, -_swigt__p_wxPyFileSystemHandler, -_swigt__p_wxEvtHandler, -_swigt__p_wxCURHandler, -_swigt__p_wxICOHandler, -_swigt__p_wxBMPHandler, -_swigt__p_wxImageHandler, -_swigt__p_wxFileSystemHandler, -_swigt__p_wxRect, -_swigt__p_wxButton, -_swigt__p_wxGBSpan, -_swigt__p_wxPropagateOnce, -_swigt__p_wxAcceleratorTable, -_swigt__p_wxStdDialogButtonSizer, -_swigt__p_char, -_swigt__p_wxGBPosition, -_swigt__p_wxImage, -_swigt__p_wxFrame, -_swigt__p_wxScrollWinEvent, -_swigt__p_wxPaperSize, -_swigt__p_wxImageHistogram, -_swigt__p_wxPoint, -_swigt__p_wxCursor, -_swigt__p_wxObject, -_swigt__p_wxInputStream, -_swigt__p_wxOutputStream, -_swigt__p_wxPyInputStream, -_swigt__p_wxDateTime, -_swigt__p_wxKeyEvent, -_swigt__p_wxNavigationKeyEvent, -_swigt__p_wxWindowDestroyEvent, -_swigt__p_unsigned_long, -_swigt__p_wxWindow, -_swigt__p_wxMenuBar, -_swigt__p_wxFileSystem, -_swigt__p_wxBitmap, -_swigt__unsigned_int, -_swigt__p_unsigned_int, -_swigt__p_wxMenuEvent, -_swigt__p_wxContextMenuEvent, -_swigt__p_unsigned_char, -_swigt__p_wxEraseEvent, -_swigt__p_wxMouseEvent, -_swigt__p_wxCloseEvent, -_swigt__p_wxPyApp, -_swigt__p_wxCommandEvent, -_swigt__p_wxPyCommandEvent, -_swigt__p_wxPyDropTarget, -_swigt__p_wxQuantize, -_swigt__p_wxFocusEvent, -_swigt__p_wxChildFocusEvent, -_swigt__p_wxDropFilesEvent, -_swigt__p_wxControlWithItems, -_swigt__p_wxColour, -_swigt__p_wxValidator, -_swigt__p_wxPyValidator, -0 +static swig_type_info _swigt__p_buffer = {"_p_buffer", "buffer *", 0, 0, 0}; +static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0}; +static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0}; +static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0}; +static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0}; +static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0}; +static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", "wxANIHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorEntry = {"_p_wxAcceleratorEntry", "wxAcceleratorEntry *", 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", "wxAcceleratorTable *", 0, 0, 0}; +static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", "wxActivateEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxAppTraits = {"_p_wxAppTraits", "wxAppTraits *", 0, 0, 0}; +static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", "wxBMPHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", "wxBoxSizer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", "wxCURHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCaret = {"_p_wxCaret", "wxCaret *", 0, 0, 0}; +static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", "wxChildFocusEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", "wxCloseEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", "wxContextMenuEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", "wxDateEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", "wxDisplayChangedEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", "wxDropFilesEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0}; +static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", "wxEraseEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxEventLoop = {"_p_wxEventLoop", "wxEventLoop *", 0, 0, 0}; +static swig_type_info _swigt__p_wxEventLoopActivator = {"_p_wxEventLoopActivator", "wxEventLoopActivator *", 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", "wxFSFile *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystemHandler = {"_p_wxFileSystemHandler", "wxFileSystemHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", "wxFlexGridSizer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", "wxFocusEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGBPosition = {"_p_wxGBPosition", "wxGBPosition *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", "wxGBSizerItem *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGBSpan = {"_p_wxGBSpan", "wxGBSpan *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", "wxGIFHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", "wxGridBagSizer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", "wxGridSizer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", "wxICOHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", "wxIconizeEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", "wxIdleEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", "wxImage *", 0, 0, 0}; +static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", "wxImageHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxImageHistogram = {"_p_wxImageHistogram", "wxImageHistogram *", 0, 0, 0}; +static swig_type_info _swigt__p_wxImage_HSVValue = {"_p_wxImage_HSVValue", "wxImage_HSVValue *", 0, 0, 0}; +static swig_type_info _swigt__p_wxImage_RGBValue = {"_p_wxImage_RGBValue", "wxImage_RGBValue *", 0, 0, 0}; +static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", "wxIndividualLayoutConstraint *", 0, 0, 0}; +static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", "wxInitDialogEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxInputStream = {"_p_wxInputStream", "wxInputStream *", 0, 0, 0}; +static swig_type_info _swigt__p_wxInternetFSHandler = {"_p_wxInternetFSHandler", "wxInternetFSHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", "wxJPEGHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", "wxLayoutConstraints *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", "wxMaximizeEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMemoryFSHandler = {"_p_wxMemoryFSHandler", "wxMemoryFSHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBarBase = {"_p_wxMenuBarBase", "wxMenuBarBase *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", "wxMenuEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", "wxMenuItem *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", "wxMouseCaptureChangedEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", "wxMoveEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", "wxNavigationKeyEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", "wxNcPaintEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxOutputStream = {"_p_wxOutputStream", "wxOutputStream *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", "wxPCXHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", "wxPNGHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", "wxPNMHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", "wxPaintEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", "wxPaletteChangedEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPoint2D = {"_p_wxPoint2D", "wxPoint2D *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPropagateOnce = {"_p_wxPropagateOnce", "wxPropagateOnce *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPropagationDisabler = {"_p_wxPropagationDisabler", "wxPropagationDisabler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", "wxPyApp *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", "wxPyCommandEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyDropTarget = {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", "wxPyEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyFileSystemHandler = {"_p_wxPyFileSystemHandler", "wxPyFileSystemHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", "wxPyImageHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyInputStream = {"_p_wxPyInputStream", "wxPyInputStream *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", "wxPySizer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", "wxPyValidator *", 0, 0, 0}; +static swig_type_info _swigt__p_wxQuantize = {"_p_wxQuantize", "wxQuantize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", "wxQueryNewPaletteEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRealPoint = {"_p_wxRealPoint", "wxRealPoint *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", "wxScrollEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", "wxSetCursorEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", "wxShowEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", "wxSizeEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", "wxSizer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", "wxSizerItem *", 0, 0, 0}; +static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, 0}; +static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", "wxStaticBoxSizer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", "wxSysColourChangedEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", "wxTIFFHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxToolTip = {"_p_wxToolTip", "wxToolTip *", 0, 0, 0}; +static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", "wxUpdateUIEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, 0}; +static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", "wxWindowCreateEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", "wxWindowDestroyEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", "wxXPMHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxZipFSHandler = {"_p_wxZipFSHandler", "wxZipFSHandler *", 0, 0, 0}; +static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0}; +static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0}; +static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0}; + +static swig_type_info *swig_type_initial[] = { + &_swigt__p_buffer, + &_swigt__p_char, + &_swigt__p_form_ops_t, + &_swigt__p_int, + &_swigt__p_long, + &_swigt__p_unsigned_char, + &_swigt__p_unsigned_int, + &_swigt__p_unsigned_long, + &_swigt__p_wxANIHandler, + &_swigt__p_wxAcceleratorEntry, + &_swigt__p_wxAcceleratorTable, + &_swigt__p_wxActivateEvent, + &_swigt__p_wxAppTraits, + &_swigt__p_wxArrayString, + &_swigt__p_wxBMPHandler, + &_swigt__p_wxBitmap, + &_swigt__p_wxBoxSizer, + &_swigt__p_wxButton, + &_swigt__p_wxCURHandler, + &_swigt__p_wxCaret, + &_swigt__p_wxChildFocusEvent, + &_swigt__p_wxCloseEvent, + &_swigt__p_wxColour, + &_swigt__p_wxCommandEvent, + &_swigt__p_wxContextMenuEvent, + &_swigt__p_wxControl, + &_swigt__p_wxControlWithItems, + &_swigt__p_wxCursor, + &_swigt__p_wxDC, + &_swigt__p_wxDateEvent, + &_swigt__p_wxDateTime, + &_swigt__p_wxDisplayChangedEvent, + &_swigt__p_wxDropFilesEvent, + &_swigt__p_wxDuplexMode, + &_swigt__p_wxEraseEvent, + &_swigt__p_wxEvent, + &_swigt__p_wxEventLoop, + &_swigt__p_wxEventLoopActivator, + &_swigt__p_wxEvtHandler, + &_swigt__p_wxFSFile, + &_swigt__p_wxFileSystem, + &_swigt__p_wxFileSystemHandler, + &_swigt__p_wxFlexGridSizer, + &_swigt__p_wxFocusEvent, + &_swigt__p_wxFont, + &_swigt__p_wxFrame, + &_swigt__p_wxGBPosition, + &_swigt__p_wxGBSizerItem, + &_swigt__p_wxGBSpan, + &_swigt__p_wxGIFHandler, + &_swigt__p_wxGridBagSizer, + &_swigt__p_wxGridSizer, + &_swigt__p_wxICOHandler, + &_swigt__p_wxIconizeEvent, + &_swigt__p_wxIdleEvent, + &_swigt__p_wxImage, + &_swigt__p_wxImageHandler, + &_swigt__p_wxImageHistogram, + &_swigt__p_wxImage_HSVValue, + &_swigt__p_wxImage_RGBValue, + &_swigt__p_wxIndividualLayoutConstraint, + &_swigt__p_wxInitDialogEvent, + &_swigt__p_wxInputStream, + &_swigt__p_wxInternetFSHandler, + &_swigt__p_wxItemContainer, + &_swigt__p_wxJPEGHandler, + &_swigt__p_wxKeyEvent, + &_swigt__p_wxLayoutConstraints, + &_swigt__p_wxMaximizeEvent, + &_swigt__p_wxMemoryFSHandler, + &_swigt__p_wxMenu, + &_swigt__p_wxMenuBar, + &_swigt__p_wxMenuBarBase, + &_swigt__p_wxMenuEvent, + &_swigt__p_wxMenuItem, + &_swigt__p_wxMouseCaptureChangedEvent, + &_swigt__p_wxMouseEvent, + &_swigt__p_wxMoveEvent, + &_swigt__p_wxNavigationKeyEvent, + &_swigt__p_wxNcPaintEvent, + &_swigt__p_wxNotifyEvent, + &_swigt__p_wxObject, + &_swigt__p_wxOutputStream, + &_swigt__p_wxPCXHandler, + &_swigt__p_wxPNGHandler, + &_swigt__p_wxPNMHandler, + &_swigt__p_wxPaintEvent, + &_swigt__p_wxPaletteChangedEvent, + &_swigt__p_wxPaperSize, + &_swigt__p_wxPoint, + &_swigt__p_wxPoint2D, + &_swigt__p_wxPropagateOnce, + &_swigt__p_wxPropagationDisabler, + &_swigt__p_wxPyApp, + &_swigt__p_wxPyCommandEvent, + &_swigt__p_wxPyDropTarget, + &_swigt__p_wxPyEvent, + &_swigt__p_wxPyFileSystemHandler, + &_swigt__p_wxPyImageHandler, + &_swigt__p_wxPyInputStream, + &_swigt__p_wxPySizer, + &_swigt__p_wxPyValidator, + &_swigt__p_wxQuantize, + &_swigt__p_wxQueryNewPaletteEvent, + &_swigt__p_wxRealPoint, + &_swigt__p_wxRect, + &_swigt__p_wxRegion, + &_swigt__p_wxScrollEvent, + &_swigt__p_wxScrollWinEvent, + &_swigt__p_wxSetCursorEvent, + &_swigt__p_wxShowEvent, + &_swigt__p_wxSize, + &_swigt__p_wxSizeEvent, + &_swigt__p_wxSizer, + &_swigt__p_wxSizerItem, + &_swigt__p_wxStaticBox, + &_swigt__p_wxStaticBoxSizer, + &_swigt__p_wxStdDialogButtonSizer, + &_swigt__p_wxSysColourChangedEvent, + &_swigt__p_wxTIFFHandler, + &_swigt__p_wxToolTip, + &_swigt__p_wxUpdateUIEvent, + &_swigt__p_wxValidator, + &_swigt__p_wxVisualAttributes, + &_swigt__p_wxWindow, + &_swigt__p_wxWindowCreateEvent, + &_swigt__p_wxWindowDestroyEvent, + &_swigt__p_wxXPMHandler, + &_swigt__p_wxZipFSHandler, + &_swigt__ptrdiff_t, + &_swigt__std__ptrdiff_t, + &_swigt__unsigned_int, +}; + +static swig_cast_info _swigc__p_buffer[] = { {&_swigt__p_buffer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxANIHandler[] = { {&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAcceleratorEntry[] = { {&_swigt__p_wxAcceleratorEntry, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAcceleratorTable[] = { {&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxActivateEvent[] = { {&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxAppTraits[] = { {&_swigt__p_wxAppTraits, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}}; +static 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}}; +static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; +static 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}}; +static swig_cast_info _swigc__p_wxButton[] = { {&_swigt__p_wxButton, 0, 0, 0},{0, 0, 0, 0}}; +static 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}}; +static swig_cast_info _swigc__p_wxCaret[] = { {&_swigt__p_wxCaret, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxChildFocusEvent[] = { {&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCloseEvent[] = { {&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; +static 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}}; +static swig_cast_info _swigc__p_wxContextMenuEvent[] = { {&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; +static 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}}; +static swig_cast_info _swigc__p_wxControlWithItems[] = { {&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDateEvent[] = { {&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = { {&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDropFilesEvent[] = { {&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEraseEvent[] = { {&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; +static 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}}; +static swig_cast_info _swigc__p_wxEventLoop[] = { {&_swigt__p_wxEventLoop, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEventLoopActivator[] = { {&_swigt__p_wxEventLoopActivator, 0, 0, 0},{0, 0, 0, 0}}; +static 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}}; +static swig_cast_info _swigc__p_wxFSFile[] = { {&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; +static 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}}; +static 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}}; +static swig_cast_info _swigc__p_wxFocusEvent[] = { {&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGBPosition[] = { {&_swigt__p_wxGBPosition, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGBSizerItem[] = { {&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGBSpan[] = { {&_swigt__p_wxGBSpan, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGIFHandler[] = { {&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxGridBagSizer[] = { {&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; +static 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}}; +static 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}}; +static swig_cast_info _swigc__p_wxIconizeEvent[] = { {&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxIdleEvent[] = { {&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImage[] = { {&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; +static 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}}; +static swig_cast_info _swigc__p_wxImageHistogram[] = { {&_swigt__p_wxImageHistogram, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImage_HSVValue[] = { {&_swigt__p_wxImage_HSVValue, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxImage_RGBValue[] = { {&_swigt__p_wxImage_RGBValue, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = { {&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxInitDialogEvent[] = { {&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxInputStream[] = { {&_swigt__p_wxInputStream, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxInternetFSHandler[] = { {&_swigt__p_wxInternetFSHandler, 0, 0, 0},{0, 0, 0, 0}}; +static 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}}; +static swig_cast_info _swigc__p_wxJPEGHandler[] = { {&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLayoutConstraints[] = { {&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMaximizeEvent[] = { {&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMemoryFSHandler[] = { {&_swigt__p_wxMemoryFSHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuBarBase[] = { {&_swigt__p_wxMenuBarBase, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuEvent[] = { {&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuItem[] = { {&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = { {&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMoveEvent[] = { {&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = { {&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNcPaintEvent[] = { {&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static 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}}; +static swig_cast_info _swigc__p_wxOutputStream[] = { {&_swigt__p_wxOutputStream, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPCXHandler[] = { {&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPNGHandler[] = { {&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPNMHandler[] = { {&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaintEvent[] = { {&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = { {&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPoint2D[] = { {&_swigt__p_wxPoint2D, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPropagateOnce[] = { {&_swigt__p_wxPropagateOnce, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPropagationDisabler[] = { {&_swigt__p_wxPropagationDisabler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyApp[] = { {&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyCommandEvent[] = { {&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyDropTarget[] = { {&_swigt__p_wxPyDropTarget, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyEvent[] = { {&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyFileSystemHandler[] = { {&_swigt__p_wxPyFileSystemHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyImageHandler[] = { {&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyInputStream[] = { {&_swigt__p_wxPyInputStream, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPySizer[] = { {&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyValidator[] = { {&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxQuantize[] = { {&_swigt__p_wxQuantize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = { {&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxRealPoint[] = { {&_swigt__p_wxRealPoint, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxScrollEvent[] = { {&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSetCursorEvent[] = { {&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxShowEvent[] = { {&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSizeEvent[] = { {&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; +static 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}}; +static 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}}; +static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStaticBoxSizer[] = { {&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = { {&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTIFFHandler[] = { {&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxToolTip[] = { {&_swigt__p_wxToolTip, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxUpdateUIEvent[] = { {&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; +static 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}}; +static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}}; +static 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}}; +static swig_cast_info _swigc__p_wxWindowCreateEvent[] = { {&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = { {&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxXPMHandler[] = { {&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxZipFSHandler[] = { {&_swigt__p_wxZipFSHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; + +static swig_cast_info *swig_cast_initial[] = { + _swigc__p_buffer, + _swigc__p_char, + _swigc__p_form_ops_t, + _swigc__p_int, + _swigc__p_long, + _swigc__p_unsigned_char, + _swigc__p_unsigned_int, + _swigc__p_unsigned_long, + _swigc__p_wxANIHandler, + _swigc__p_wxAcceleratorEntry, + _swigc__p_wxAcceleratorTable, + _swigc__p_wxActivateEvent, + _swigc__p_wxAppTraits, + _swigc__p_wxArrayString, + _swigc__p_wxBMPHandler, + _swigc__p_wxBitmap, + _swigc__p_wxBoxSizer, + _swigc__p_wxButton, + _swigc__p_wxCURHandler, + _swigc__p_wxCaret, + _swigc__p_wxChildFocusEvent, + _swigc__p_wxCloseEvent, + _swigc__p_wxColour, + _swigc__p_wxCommandEvent, + _swigc__p_wxContextMenuEvent, + _swigc__p_wxControl, + _swigc__p_wxControlWithItems, + _swigc__p_wxCursor, + _swigc__p_wxDC, + _swigc__p_wxDateEvent, + _swigc__p_wxDateTime, + _swigc__p_wxDisplayChangedEvent, + _swigc__p_wxDropFilesEvent, + _swigc__p_wxDuplexMode, + _swigc__p_wxEraseEvent, + _swigc__p_wxEvent, + _swigc__p_wxEventLoop, + _swigc__p_wxEventLoopActivator, + _swigc__p_wxEvtHandler, + _swigc__p_wxFSFile, + _swigc__p_wxFileSystem, + _swigc__p_wxFileSystemHandler, + _swigc__p_wxFlexGridSizer, + _swigc__p_wxFocusEvent, + _swigc__p_wxFont, + _swigc__p_wxFrame, + _swigc__p_wxGBPosition, + _swigc__p_wxGBSizerItem, + _swigc__p_wxGBSpan, + _swigc__p_wxGIFHandler, + _swigc__p_wxGridBagSizer, + _swigc__p_wxGridSizer, + _swigc__p_wxICOHandler, + _swigc__p_wxIconizeEvent, + _swigc__p_wxIdleEvent, + _swigc__p_wxImage, + _swigc__p_wxImageHandler, + _swigc__p_wxImageHistogram, + _swigc__p_wxImage_HSVValue, + _swigc__p_wxImage_RGBValue, + _swigc__p_wxIndividualLayoutConstraint, + _swigc__p_wxInitDialogEvent, + _swigc__p_wxInputStream, + _swigc__p_wxInternetFSHandler, + _swigc__p_wxItemContainer, + _swigc__p_wxJPEGHandler, + _swigc__p_wxKeyEvent, + _swigc__p_wxLayoutConstraints, + _swigc__p_wxMaximizeEvent, + _swigc__p_wxMemoryFSHandler, + _swigc__p_wxMenu, + _swigc__p_wxMenuBar, + _swigc__p_wxMenuBarBase, + _swigc__p_wxMenuEvent, + _swigc__p_wxMenuItem, + _swigc__p_wxMouseCaptureChangedEvent, + _swigc__p_wxMouseEvent, + _swigc__p_wxMoveEvent, + _swigc__p_wxNavigationKeyEvent, + _swigc__p_wxNcPaintEvent, + _swigc__p_wxNotifyEvent, + _swigc__p_wxObject, + _swigc__p_wxOutputStream, + _swigc__p_wxPCXHandler, + _swigc__p_wxPNGHandler, + _swigc__p_wxPNMHandler, + _swigc__p_wxPaintEvent, + _swigc__p_wxPaletteChangedEvent, + _swigc__p_wxPaperSize, + _swigc__p_wxPoint, + _swigc__p_wxPoint2D, + _swigc__p_wxPropagateOnce, + _swigc__p_wxPropagationDisabler, + _swigc__p_wxPyApp, + _swigc__p_wxPyCommandEvent, + _swigc__p_wxPyDropTarget, + _swigc__p_wxPyEvent, + _swigc__p_wxPyFileSystemHandler, + _swigc__p_wxPyImageHandler, + _swigc__p_wxPyInputStream, + _swigc__p_wxPySizer, + _swigc__p_wxPyValidator, + _swigc__p_wxQuantize, + _swigc__p_wxQueryNewPaletteEvent, + _swigc__p_wxRealPoint, + _swigc__p_wxRect, + _swigc__p_wxRegion, + _swigc__p_wxScrollEvent, + _swigc__p_wxScrollWinEvent, + _swigc__p_wxSetCursorEvent, + _swigc__p_wxShowEvent, + _swigc__p_wxSize, + _swigc__p_wxSizeEvent, + _swigc__p_wxSizer, + _swigc__p_wxSizerItem, + _swigc__p_wxStaticBox, + _swigc__p_wxStaticBoxSizer, + _swigc__p_wxStdDialogButtonSizer, + _swigc__p_wxSysColourChangedEvent, + _swigc__p_wxTIFFHandler, + _swigc__p_wxToolTip, + _swigc__p_wxUpdateUIEvent, + _swigc__p_wxValidator, + _swigc__p_wxVisualAttributes, + _swigc__p_wxWindow, + _swigc__p_wxWindowCreateEvent, + _swigc__p_wxWindowDestroyEvent, + _swigc__p_wxXPMHandler, + _swigc__p_wxZipFSHandler, + _swigc__ptrdiff_t, + _swigc__std__ptrdiff_t, + _swigc__unsigned_int, }; @@ -47328,6 +48703,217 @@ static swig_const_info swig_const_table[] = { #ifdef __cplusplus } #endif +/************************************************************************* + * Type initialization: + * This problem is tough by the requirement that no dynamic + * memory is used. Also, since swig_type_info structures store pointers to + * swig_cast_info structures and swig_cast_info structures store pointers back + * to swig_type_info structures, we need some lookup code at initialization. + * The idea is that swig generates all the structures that are needed. + * The runtime then collects these partially filled structures. + * The SWIG_InitializeModule function takes these initial arrays out of + * swig_module, and does all the lookup, filling in the swig_module.types + * array with the correct data and linking the correct swig_cast_info + * structures together. + + * The generated swig_type_info structures are assigned staticly to an initial + * array. We just loop though that array, and handle each type individually. + * First we lookup if this type has been already loaded, and if so, use the + * loaded structure instead of the generated one. Then we have to fill in the + * cast linked list. The cast data is initially stored in something like a + * two-dimensional array. Each row corresponds to a type (there are the same + * number of rows as there are in the swig_type_initial array). Each entry in + * a column is one of the swig_cast_info structures for that type. + * The cast_initial array is actually an array of arrays, because each row has + * a variable number of columns. So to actually build the cast linked list, + * we find the array of casts associated with the type, and loop through it + * adding the casts to the list. The one last trick we need to do is making + * sure the type pointer in the swig_cast_info struct is correct. + + * First off, we lookup the cast->type name to see if it is already loaded. + * There are three cases to handle: + * 1) If the cast->type has already been loaded AND the type we are adding + * casting info to has not been loaded (it is in this module), THEN we + * replace the cast->type pointer with the type pointer that has already + * been loaded. + * 2) If BOTH types (the one we are adding casting info to, and the + * cast->type) are loaded, THEN the cast info has already been loaded by + * the previous module so we just ignore it. + * 3) Finally, if cast->type has not already been loaded, then we add that + * swig_cast_info to the linked list (because the cast->type) pointer will + * be correct. +**/ + +#ifdef __cplusplus +extern "C" { +#if 0 +} /* c-mode */ +#endif +#endif + +#if 0 +#define SWIGRUNTIME_DEBUG +#endif + +SWIGRUNTIME void +SWIG_InitializeModule(void *clientdata) { + size_t i; + swig_module_info *module_head; + static int init_run = 0; + + clientdata = clientdata; + + if (init_run) return; + init_run = 1; + + /* Initialize the swig_module */ + swig_module.type_initial = swig_type_initial; + swig_module.cast_initial = swig_cast_initial; + + /* Try and load any already created modules */ + module_head = SWIG_GetModule(clientdata); + if (module_head) { + swig_module.next = module_head->next; + module_head->next = &swig_module; + } else { + /* This is the first module loaded */ + swig_module.next = &swig_module; + SWIG_SetModule(clientdata, &swig_module); + } + + /* Now work on filling in swig_module.types */ +#ifdef SWIGRUNTIME_DEBUG + printf("SWIG_InitializeModule: size %d\n", swig_module.size); +#endif + for (i = 0; i < swig_module.size; ++i) { + swig_type_info *type = 0; + swig_type_info *ret; + swig_cast_info *cast; + +#ifdef SWIGRUNTIME_DEBUG + printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); +#endif + + /* if there is another module already loaded */ + if (swig_module.next != &swig_module) { + type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); + } + if (type) { + /* Overwrite clientdata field */ +#ifdef SWIGRUNTIME_DEBUG + printf("SWIG_InitializeModule: found type %s\n", type->name); +#endif + if (swig_module.type_initial[i]->clientdata) { + type->clientdata = swig_module.type_initial[i]->clientdata; +#ifdef SWIGRUNTIME_DEBUG + printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); +#endif + } + } else { + type = swig_module.type_initial[i]; + } + + /* Insert casting types */ + cast = swig_module.cast_initial[i]; + while (cast->type) { + /* Don't need to add information already in the list */ + ret = 0; +#ifdef SWIGRUNTIME_DEBUG + printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); +#endif + if (swig_module.next != &swig_module) { + ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); +#ifdef SWIGRUNTIME_DEBUG + if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); +#endif + } + if (ret) { + if (type == swig_module.type_initial[i]) { +#ifdef SWIGRUNTIME_DEBUG + printf("SWIG_InitializeModule: skip old type %s\n", ret->name); +#endif + cast->type = ret; + ret = 0; + } else { + /* Check for casting already in the list */ + swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); +#ifdef SWIGRUNTIME_DEBUG + if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); +#endif + if (!ocast) ret = 0; + } + } + + if (!ret) { +#ifdef SWIGRUNTIME_DEBUG + printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); +#endif + if (type->cast) { + type->cast->prev = cast; + cast->next = type->cast; + } + type->cast = cast; + } + cast++; + } + /* Set entry in modules->types array equal to the type */ + swig_module.types[i] = type; + } + swig_module.types[i] = 0; + +#ifdef SWIGRUNTIME_DEBUG + printf("**** SWIG_InitializeModule: Cast List ******\n"); + for (i = 0; i < swig_module.size; ++i) { + int j = 0; + swig_cast_info *cast = swig_module.cast_initial[i]; + printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); + while (cast->type) { + printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); + cast++; + ++j; + } + printf("---- Total casts: %d\n",j); + } + printf("**** SWIG_InitializeModule: Cast List ******\n"); +#endif +} + +/* This function will propagate the clientdata field of type to +* any new swig_type_info structures that have been added into the list +* of equivalent types. It is like calling +* SWIG_TypeClientData(type, clientdata) a second time. +*/ +SWIGRUNTIME void +SWIG_PropagateClientData(void) { + size_t i; + swig_cast_info *equiv; + static int init_run = 0; + + if (init_run) return; + init_run = 1; + + for (i = 0; i < swig_module.size; i++) { + if (swig_module.types[i]->clientdata) { + equiv = swig_module.types[i]->cast; + while (equiv) { + if (!equiv->converter) { + if (equiv->type && !equiv->type->clientdata) + SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); + } + equiv = equiv->next; + } + } + } +} + +#ifdef __cplusplus +#if 0 +{ + /* c-mode */ +#endif +} +#endif + #ifdef __cplusplus @@ -47345,7 +48931,7 @@ extern "C" { typedef struct swig_globalvar { char *name; /* Name of global variable */ - PyObject *(*get_attr)(); /* Return the current value */ + PyObject *(*get_attr)(void); /* Return the current value */ int (*set_attr)(PyObject *); /* Set the value */ struct swig_globalvar *next; } swig_globalvar; @@ -47355,13 +48941,13 @@ extern "C" { swig_globalvar *vars; } swig_varlinkobject; - static PyObject * + SWIGINTERN PyObject * swig_varlink_repr(swig_varlinkobject *v) { v = v; return PyString_FromString(""); } - static int + SWIGINTERN int swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) { swig_globalvar *var; flags = flags; @@ -47374,7 +48960,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -47387,7 +48973,7 @@ extern "C" { return NULL; } - static int + SWIGINTERN int swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { swig_globalvar *var = v->vars; while (var) { @@ -47400,72 +48986,89 @@ extern "C" { return 1; } - static PyTypeObject varlinktype = { - PyObject_HEAD_INIT(0) - 0, /* Number of items in variable part (ob_size) */ - (char *)"swigvarlink", /* Type name (tp_name) */ - sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ - 0, /* Itemsize (tp_itemsize) */ - 0, /* Deallocator (tp_dealloc) */ - (printfunc) swig_varlink_print, /* Print (tp_print) */ - (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ - (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ - 0, /* tp_compare */ - (reprfunc) swig_varlink_repr, /* tp_repr */ - 0, /* tp_as_number */ - 0, /* tp_as_sequence */ - 0, /* tp_as_mapping */ - 0, /* tp_hash */ - 0, /* tp_call */ - 0, /* tp_str */ - 0, /* tp_getattro */ - 0, /* tp_setattro */ - 0, /* tp_as_buffer */ - 0, /* tp_flags */ - 0, /* tp_doc */ + SWIGINTERN PyTypeObject* + swig_varlink_type(void) { + static char varlink__doc__[] = "Swig var link object"; + static PyTypeObject varlink_type +#if !defined(__cplusplus) + ; + static int type_init = 0; + if (!type_init) { + PyTypeObject tmp +#endif + = { + PyObject_HEAD_INIT(&PyType_Type) + 0, /* Number of items in variable part (ob_size) */ + (char *)"swigvarlink", /* Type name (tp_name) */ + sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ + 0, /* Itemsize (tp_itemsize) */ + 0, /* Deallocator (tp_dealloc) */ + (printfunc) swig_varlink_print, /* Print (tp_print) */ + (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ + (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ + 0, /* tp_compare */ + (reprfunc) swig_varlink_repr, /* tp_repr */ + 0, /* tp_as_number */ + 0, /* tp_as_sequence */ + 0, /* tp_as_mapping */ + 0, /* tp_hash */ + 0, /* tp_call */ + 0, /* tp_str */ + 0, /* tp_getattro */ + 0, /* tp_setattro */ + 0, /* tp_as_buffer */ + 0, /* tp_flags */ + varlink__doc__, /* tp_doc */ #if PY_VERSION_HEX >= 0x02000000 - 0, /* tp_traverse */ - 0, /* tp_clear */ + 0, /* tp_traverse */ + 0, /* tp_clear */ #endif #if PY_VERSION_HEX >= 0x02010000 - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ + 0, /* tp_richcompare */ + 0, /* tp_weaklistoffset */ #endif #if PY_VERSION_HEX >= 0x02020000 - 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ #endif #if PY_VERSION_HEX >= 0x02030000 - 0, /* tp_del */ + 0, /* tp_del */ #endif #ifdef COUNT_ALLOCS - 0,0,0,0 /* tp_alloc -> tp_next */ + 0,0,0,0 /* tp_alloc -> tp_next */ #endif - }; + }; +#if !defined(__cplusplus) + varlink_type = tmp; + type_init = 1; + } +#endif + return &varlink_type; + } /* Create a variable linking object for use later */ - static PyObject * + SWIGINTERN PyObject * SWIG_Python_newvarlink(void) { - swig_varlinkobject *result = 0; - result = PyMem_NEW(swig_varlinkobject,1); - varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */ - result->ob_type = &varlinktype; - result->vars = 0; - result->ob_refcnt = 0; - Py_XINCREF((PyObject *) result); + swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); + if (result) { + result->vars = 0; + } return ((PyObject*) result); } - static void + SWIGINTERN void SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { - swig_varlinkobject *v; - swig_globalvar *gv; - v= (swig_varlinkobject *) p; - gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); - gv->name = (char *) malloc(strlen(name)+1); - strcpy(gv->name,name); - gv->get_attr = get_attr; - gv->set_attr = set_attr; - gv->next = v->vars; + swig_varlinkobject *v = (swig_varlinkobject *) p; + swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); + if (gv) { + size_t size = strlen(name)+1; + gv->name = (char *)malloc(size); + if (gv->name) { + strncpy(gv->name,name,size); + gv->get_attr = get_attr; + gv->set_attr = set_attr; + gv->next = v->vars; + } + } v->vars = gv; } @@ -47474,11 +49077,11 @@ extern "C" { * ----------------------------------------------------------------------------- */ /* Install Constants */ - static void + SWIGINTERN void SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { PyObject *obj = 0; size_t i; - for (i = 0; constants[i].type; i++) { + for (i = 0; constants[i].type; ++i) { switch(constants[i].type) { case SWIG_PY_INT: obj = PyInt_FromLong(constants[i].lvalue); @@ -47515,7 +49118,7 @@ extern "C" { /* Fix SwigMethods to carry the callback ptrs when needed */ /* -----------------------------------------------------------------------------*/ - static void + SWIGINTERN void SWIG_Python_FixMethods(PyMethodDef *methods, swig_const_info *const_table, swig_type_info **types, @@ -47527,7 +49130,7 @@ extern "C" { int j; swig_const_info *ci = 0; char *name = c + 10; - for (j = 0; const_table[j].type; j++) { + for (j = 0; const_table[j].type; ++j) { if (strncmp(const_table[j].name, name, strlen(const_table[j].name)) == 0) { ci = &(const_table[j]); @@ -47540,14 +49143,18 @@ extern "C" { size_t ldoc = (c - methods[i].ml_doc); size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; char *ndoc = (char*)malloc(ldoc + lptr + 10); - char *buff = ndoc; - void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue); - strncpy(buff, methods[i].ml_doc, ldoc); - buff += ldoc; - strncpy(buff, "swig_ptr: ", 10); - buff += 10; - SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); - methods[i].ml_doc = ndoc; + if (ndoc) { + char *buff = ndoc; + void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; + if (ptr) { + strncpy(buff, methods[i].ml_doc, ldoc); + buff += ldoc; + strncpy(buff, "swig_ptr: ", 10); + buff += 10; + SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); + methods[i].ml_doc = ndoc; + } + } } } } @@ -47557,69 +49164,6 @@ extern "C" { * Initialize type list * -----------------------------------------------------------------------------*/ -#if PY_MAJOR_VERSION < 2 - /* PyModule_AddObject function was introduced in Python 2.0. The following function - is copied out of Python/modsupport.c in python version 2.3.4 */ - static int - PyModule_AddObject(PyObject *m, char *name, PyObject *o) - { - PyObject *dict; - if (!PyModule_Check(m)) { - PyErr_SetString(PyExc_TypeError, - "PyModule_AddObject() needs module as first arg"); - return -1; - } - if (!o) { - PyErr_SetString(PyExc_TypeError, - "PyModule_AddObject() needs non-NULL value"); - return -1; - } - - dict = PyModule_GetDict(m); - if (dict == NULL) { - /* Internal error -- modules must have a dict! */ - PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", - PyModule_GetName(m)); - return -1; - } - if (PyDict_SetItemString(dict, name, o)) - return -1; - Py_DECREF(o); - return 0; - } -#endif - - static swig_type_info ** - SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) { - static PyMethodDef swig_empty_runtime_method_table[] = { - { - NULL, NULL, 0, NULL - } - };/* Sentinel */ - - PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, - swig_empty_runtime_method_table); - PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL); - if (pointer && module) { - PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); - } - return type_list_handle; - } - - static swig_type_info ** - SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) { - swig_type_info **type_pointer; - - /* first check if module already created */ - type_pointer = SWIG_Python_GetTypeListHandle(); - if (type_pointer) { - return type_pointer; - } else { - /* create a new module and variable */ - return SWIG_Python_SetTypeListHandle(type_list_handle); - } - } - #ifdef __cplusplus } #endif @@ -47628,42 +49172,21 @@ extern "C" { * Partial Init method * -----------------------------------------------------------------------------*/ -#ifdef SWIG_LINK_RUNTIME -#ifdef __cplusplus -extern "C" -#endif -SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *); -#endif - #ifdef __cplusplus extern "C" #endif -SWIGEXPORT(void) SWIG_init(void) { +SWIGEXPORT void SWIG_init(void) { static PyObject *SWIG_globals = 0; - static int typeinit = 0; PyObject *m, *d; - int i; if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); /* Fix SwigMethods to carry the callback ptrs when needed */ - SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial); + SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); m = Py_InitModule((char *) SWIG_name, SwigMethods); d = PyModule_GetDict(m); - if (!typeinit) { -#ifdef SWIG_LINK_RUNTIME - swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle); -#else -# ifndef SWIG_STATIC_RUNTIME - swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle); -# endif -#endif - for (i = 0; swig_types_initial[i]; i++) { - swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); - } - typeinit = 1; - } + SWIG_InitializeModule(0); SWIG_InstallConstants(d,swig_const_table); @@ -47676,1823 +49199,2003 @@ SWIGEXPORT(void) SWIG_init(void) { #endif { - PyDict_SetItemString(d,"wxNOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND))); + PyDict_SetItemString(d,"NOT_FOUND", SWIG_From_int(static_cast(wxNOT_FOUND))); + } + { + PyDict_SetItemString(d,"VSCROLL", SWIG_From_int(static_cast(wxVSCROLL))); + } + { + PyDict_SetItemString(d,"HSCROLL", SWIG_From_int(static_cast(wxHSCROLL))); + } + { + PyDict_SetItemString(d,"CAPTION", SWIG_From_int(static_cast(wxCAPTION))); + } + { + PyDict_SetItemString(d,"DOUBLE_BORDER", SWIG_From_int(static_cast(wxDOUBLE_BORDER))); + } + { + PyDict_SetItemString(d,"SUNKEN_BORDER", SWIG_From_int(static_cast(wxSUNKEN_BORDER))); + } + { + PyDict_SetItemString(d,"RAISED_BORDER", SWIG_From_int(static_cast(wxRAISED_BORDER))); + } + { + PyDict_SetItemString(d,"BORDER", SWIG_From_int(static_cast(wxBORDER))); + } + { + PyDict_SetItemString(d,"SIMPLE_BORDER", SWIG_From_int(static_cast(wxSIMPLE_BORDER))); + } + { + PyDict_SetItemString(d,"STATIC_BORDER", SWIG_From_int(static_cast(wxSTATIC_BORDER))); + } + { + PyDict_SetItemString(d,"TRANSPARENT_WINDOW", SWIG_From_int(static_cast(wxTRANSPARENT_WINDOW))); + } + { + PyDict_SetItemString(d,"NO_BORDER", SWIG_From_int(static_cast(wxNO_BORDER))); + } + { + PyDict_SetItemString(d,"DEFAULT_CONTROL_BORDER", SWIG_From_int(static_cast(wxDEFAULT_CONTROL_BORDER))); + } + { + PyDict_SetItemString(d,"DEFAULT_STATUSBAR_STYLE", SWIG_From_int(static_cast(wxDEFAULT_STATUSBAR_STYLE))); + } + { + PyDict_SetItemString(d,"TAB_TRAVERSAL", SWIG_From_int(static_cast(wxTAB_TRAVERSAL))); + } + { + PyDict_SetItemString(d,"WANTS_CHARS", SWIG_From_int(static_cast(wxWANTS_CHARS))); + } + { + PyDict_SetItemString(d,"POPUP_WINDOW", SWIG_From_int(static_cast(wxPOPUP_WINDOW))); + } + { + PyDict_SetItemString(d,"CENTER_FRAME", SWIG_From_int(static_cast(wxCENTER_FRAME))); + } + { + PyDict_SetItemString(d,"CENTRE_ON_SCREEN", SWIG_From_int(static_cast(wxCENTRE_ON_SCREEN))); + } + { + PyDict_SetItemString(d,"CENTER_ON_SCREEN", SWIG_From_int(static_cast(wxCENTER_ON_SCREEN))); + } + { + PyDict_SetItemString(d,"CLIP_CHILDREN", SWIG_From_int(static_cast(wxCLIP_CHILDREN))); + } + { + PyDict_SetItemString(d,"CLIP_SIBLINGS", SWIG_From_int(static_cast(wxCLIP_SIBLINGS))); + } + { + PyDict_SetItemString(d,"ALWAYS_SHOW_SB", SWIG_From_int(static_cast(wxALWAYS_SHOW_SB))); + } + { + PyDict_SetItemString(d,"RETAINED", SWIG_From_int(static_cast(wxRETAINED))); + } + { + PyDict_SetItemString(d,"BACKINGSTORE", SWIG_From_int(static_cast(wxBACKINGSTORE))); + } + { + PyDict_SetItemString(d,"COLOURED", SWIG_From_int(static_cast(wxCOLOURED))); + } + { + PyDict_SetItemString(d,"FIXED_LENGTH", SWIG_From_int(static_cast(wxFIXED_LENGTH))); + } + { + PyDict_SetItemString(d,"LB_NEEDED_SB", SWIG_From_int(static_cast(wxLB_NEEDED_SB))); + } + { + PyDict_SetItemString(d,"LB_ALWAYS_SB", SWIG_From_int(static_cast(wxLB_ALWAYS_SB))); + } + { + PyDict_SetItemString(d,"LB_SORT", SWIG_From_int(static_cast(wxLB_SORT))); + } + { + PyDict_SetItemString(d,"LB_SINGLE", SWIG_From_int(static_cast(wxLB_SINGLE))); + } + { + PyDict_SetItemString(d,"LB_MULTIPLE", SWIG_From_int(static_cast(wxLB_MULTIPLE))); } { - PyDict_SetItemString(d,"wxVSCROLL", SWIG_From_int((int)(wxVSCROLL))); + PyDict_SetItemString(d,"LB_EXTENDED", SWIG_From_int(static_cast(wxLB_EXTENDED))); } { - PyDict_SetItemString(d,"wxHSCROLL", SWIG_From_int((int)(wxHSCROLL))); + PyDict_SetItemString(d,"LB_OWNERDRAW", SWIG_From_int(static_cast(wxLB_OWNERDRAW))); } { - PyDict_SetItemString(d,"wxCAPTION", SWIG_From_int((int)(wxCAPTION))); + PyDict_SetItemString(d,"LB_HSCROLL", SWIG_From_int(static_cast(wxLB_HSCROLL))); } { - PyDict_SetItemString(d,"wxDOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER))); + PyDict_SetItemString(d,"PROCESS_ENTER", SWIG_From_int(static_cast(wxPROCESS_ENTER))); } { - PyDict_SetItemString(d,"wxSUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER))); + PyDict_SetItemString(d,"PASSWORD", SWIG_From_int(static_cast(wxPASSWORD))); } { - PyDict_SetItemString(d,"wxRAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER))); + PyDict_SetItemString(d,"CB_SIMPLE", SWIG_From_int(static_cast(wxCB_SIMPLE))); } { - PyDict_SetItemString(d,"wxBORDER", SWIG_From_int((int)(wxBORDER))); + PyDict_SetItemString(d,"CB_DROPDOWN", SWIG_From_int(static_cast(wxCB_DROPDOWN))); } { - PyDict_SetItemString(d,"wxSIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER))); + PyDict_SetItemString(d,"CB_SORT", SWIG_From_int(static_cast(wxCB_SORT))); } { - PyDict_SetItemString(d,"wxSTATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER))); + PyDict_SetItemString(d,"CB_READONLY", SWIG_From_int(static_cast(wxCB_READONLY))); } { - PyDict_SetItemString(d,"wxTRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW))); + PyDict_SetItemString(d,"RA_HORIZONTAL", SWIG_From_int(static_cast(wxRA_HORIZONTAL))); } { - PyDict_SetItemString(d,"wxNO_BORDER", SWIG_From_int((int)(wxNO_BORDER))); + PyDict_SetItemString(d,"RA_VERTICAL", SWIG_From_int(static_cast(wxRA_VERTICAL))); } { - PyDict_SetItemString(d,"wxTAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL))); + PyDict_SetItemString(d,"RA_SPECIFY_ROWS", SWIG_From_int(static_cast(wxRA_SPECIFY_ROWS))); } { - PyDict_SetItemString(d,"wxWANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS))); + PyDict_SetItemString(d,"RA_SPECIFY_COLS", SWIG_From_int(static_cast(wxRA_SPECIFY_COLS))); } { - PyDict_SetItemString(d,"wxPOPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW))); + PyDict_SetItemString(d,"RA_USE_CHECKBOX", SWIG_From_int(static_cast(wxRA_USE_CHECKBOX))); } { - PyDict_SetItemString(d,"wxCENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME))); + PyDict_SetItemString(d,"RB_GROUP", SWIG_From_int(static_cast(wxRB_GROUP))); } { - PyDict_SetItemString(d,"wxCENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN))); + PyDict_SetItemString(d,"RB_SINGLE", SWIG_From_int(static_cast(wxRB_SINGLE))); } { - PyDict_SetItemString(d,"wxCENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN))); + PyDict_SetItemString(d,"SB_HORIZONTAL", SWIG_From_int(static_cast(wxSB_HORIZONTAL))); } { - PyDict_SetItemString(d,"wxCLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN))); + PyDict_SetItemString(d,"SB_VERTICAL", SWIG_From_int(static_cast(wxSB_VERTICAL))); } { - PyDict_SetItemString(d,"wxCLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS))); + PyDict_SetItemString(d,"RB_USE_CHECKBOX", SWIG_From_int(static_cast(wxRB_USE_CHECKBOX))); } { - PyDict_SetItemString(d,"wxALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB))); + PyDict_SetItemString(d,"ST_SIZEGRIP", SWIG_From_int(static_cast(wxST_SIZEGRIP))); } { - PyDict_SetItemString(d,"wxRETAINED", SWIG_From_int((int)(wxRETAINED))); + PyDict_SetItemString(d,"ST_NO_AUTORESIZE", SWIG_From_int(static_cast(wxST_NO_AUTORESIZE))); } { - PyDict_SetItemString(d,"wxBACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE))); + PyDict_SetItemString(d,"FLOOD_SURFACE", SWIG_From_int(static_cast(wxFLOOD_SURFACE))); } { - PyDict_SetItemString(d,"wxCOLOURED", SWIG_From_int((int)(wxCOLOURED))); + PyDict_SetItemString(d,"FLOOD_BORDER", SWIG_From_int(static_cast(wxFLOOD_BORDER))); } { - PyDict_SetItemString(d,"wxFIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH))); + PyDict_SetItemString(d,"ODDEVEN_RULE", SWIG_From_int(static_cast(wxODDEVEN_RULE))); } { - PyDict_SetItemString(d,"wxLB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB))); + PyDict_SetItemString(d,"WINDING_RULE", SWIG_From_int(static_cast(wxWINDING_RULE))); } { - PyDict_SetItemString(d,"wxLB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB))); + PyDict_SetItemString(d,"TOOL_TOP", SWIG_From_int(static_cast(wxTOOL_TOP))); } { - PyDict_SetItemString(d,"wxLB_SORT", SWIG_From_int((int)(wxLB_SORT))); + PyDict_SetItemString(d,"TOOL_BOTTOM", SWIG_From_int(static_cast(wxTOOL_BOTTOM))); } { - PyDict_SetItemString(d,"wxLB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE))); + PyDict_SetItemString(d,"TOOL_LEFT", SWIG_From_int(static_cast(wxTOOL_LEFT))); } { - PyDict_SetItemString(d,"wxLB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE))); + PyDict_SetItemString(d,"TOOL_RIGHT", SWIG_From_int(static_cast(wxTOOL_RIGHT))); } { - PyDict_SetItemString(d,"wxLB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED))); + PyDict_SetItemString(d,"OK", SWIG_From_int(static_cast(wxOK))); } { - PyDict_SetItemString(d,"wxLB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW))); + PyDict_SetItemString(d,"YES_NO", SWIG_From_int(static_cast(wxYES_NO))); } { - PyDict_SetItemString(d,"wxLB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL))); + PyDict_SetItemString(d,"CANCEL", SWIG_From_int(static_cast(wxCANCEL))); } { - PyDict_SetItemString(d,"wxPROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER))); + PyDict_SetItemString(d,"YES", SWIG_From_int(static_cast(wxYES))); } { - PyDict_SetItemString(d,"wxPASSWORD", SWIG_From_int((int)(wxPASSWORD))); + PyDict_SetItemString(d,"NO", SWIG_From_int(static_cast(wxNO))); } { - PyDict_SetItemString(d,"wxCB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE))); + PyDict_SetItemString(d,"NO_DEFAULT", SWIG_From_int(static_cast(wxNO_DEFAULT))); } { - PyDict_SetItemString(d,"wxCB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN))); + PyDict_SetItemString(d,"YES_DEFAULT", SWIG_From_int(static_cast(wxYES_DEFAULT))); } { - PyDict_SetItemString(d,"wxCB_SORT", SWIG_From_int((int)(wxCB_SORT))); + PyDict_SetItemString(d,"ICON_EXCLAMATION", SWIG_From_int(static_cast(wxICON_EXCLAMATION))); } { - PyDict_SetItemString(d,"wxCB_READONLY", SWIG_From_int((int)(wxCB_READONLY))); + PyDict_SetItemString(d,"ICON_HAND", SWIG_From_int(static_cast(wxICON_HAND))); } { - PyDict_SetItemString(d,"wxRA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL))); + PyDict_SetItemString(d,"ICON_QUESTION", SWIG_From_int(static_cast(wxICON_QUESTION))); } { - PyDict_SetItemString(d,"wxRA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL))); + PyDict_SetItemString(d,"ICON_INFORMATION", SWIG_From_int(static_cast(wxICON_INFORMATION))); } { - PyDict_SetItemString(d,"wxRA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS))); + PyDict_SetItemString(d,"ICON_STOP", SWIG_From_int(static_cast(wxICON_STOP))); } { - PyDict_SetItemString(d,"wxRA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS))); + PyDict_SetItemString(d,"ICON_ASTERISK", SWIG_From_int(static_cast(wxICON_ASTERISK))); } { - PyDict_SetItemString(d,"wxRA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX))); + PyDict_SetItemString(d,"ICON_MASK", SWIG_From_int(static_cast(wxICON_MASK))); } { - PyDict_SetItemString(d,"wxRB_GROUP", SWIG_From_int((int)(wxRB_GROUP))); + PyDict_SetItemString(d,"ICON_WARNING", SWIG_From_int(static_cast(wxICON_WARNING))); } { - PyDict_SetItemString(d,"wxRB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE))); + PyDict_SetItemString(d,"ICON_ERROR", SWIG_From_int(static_cast(wxICON_ERROR))); } { - PyDict_SetItemString(d,"wxSB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL))); + PyDict_SetItemString(d,"FORWARD", SWIG_From_int(static_cast(wxFORWARD))); } { - PyDict_SetItemString(d,"wxSB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL))); + PyDict_SetItemString(d,"BACKWARD", SWIG_From_int(static_cast(wxBACKWARD))); } { - PyDict_SetItemString(d,"wxRB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX))); + PyDict_SetItemString(d,"RESET", SWIG_From_int(static_cast(wxRESET))); } { - PyDict_SetItemString(d,"wxST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP))); + PyDict_SetItemString(d,"HELP", SWIG_From_int(static_cast(wxHELP))); } { - PyDict_SetItemString(d,"wxST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE))); + PyDict_SetItemString(d,"MORE", SWIG_From_int(static_cast(wxMORE))); } { - PyDict_SetItemString(d,"wxFLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE))); + PyDict_SetItemString(d,"SETUP", SWIG_From_int(static_cast(wxSETUP))); } { - PyDict_SetItemString(d,"wxFLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER))); + PyDict_SetItemString(d,"SIZE_AUTO_WIDTH", SWIG_From_int(static_cast(wxSIZE_AUTO_WIDTH))); } { - PyDict_SetItemString(d,"wxODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE))); + PyDict_SetItemString(d,"SIZE_AUTO_HEIGHT", SWIG_From_int(static_cast(wxSIZE_AUTO_HEIGHT))); } { - PyDict_SetItemString(d,"wxWINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE))); + PyDict_SetItemString(d,"SIZE_AUTO", SWIG_From_int(static_cast(wxSIZE_AUTO))); } { - PyDict_SetItemString(d,"wxTOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP))); + PyDict_SetItemString(d,"SIZE_USE_EXISTING", SWIG_From_int(static_cast(wxSIZE_USE_EXISTING))); } { - PyDict_SetItemString(d,"wxTOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM))); + PyDict_SetItemString(d,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int(static_cast(wxSIZE_ALLOW_MINUS_ONE))); } { - PyDict_SetItemString(d,"wxTOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT))); + PyDict_SetItemString(d,"SIZE_FORCE", SWIG_From_int(static_cast(wxSIZE_FORCE))); } { - PyDict_SetItemString(d,"wxTOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT))); + PyDict_SetItemString(d,"PORTRAIT", SWIG_From_int(static_cast(wxPORTRAIT))); } { - PyDict_SetItemString(d,"wxOK", SWIG_From_int((int)(wxOK))); + PyDict_SetItemString(d,"LANDSCAPE", SWIG_From_int(static_cast(wxLANDSCAPE))); } { - PyDict_SetItemString(d,"wxYES_NO", SWIG_From_int((int)(wxYES_NO))); + PyDict_SetItemString(d,"PRINT_QUALITY_HIGH", SWIG_From_int(static_cast(wxPRINT_QUALITY_HIGH))); } { - PyDict_SetItemString(d,"wxCANCEL", SWIG_From_int((int)(wxCANCEL))); + PyDict_SetItemString(d,"PRINT_QUALITY_MEDIUM", SWIG_From_int(static_cast(wxPRINT_QUALITY_MEDIUM))); } { - PyDict_SetItemString(d,"wxYES", SWIG_From_int((int)(wxYES))); + PyDict_SetItemString(d,"PRINT_QUALITY_LOW", SWIG_From_int(static_cast(wxPRINT_QUALITY_LOW))); } { - PyDict_SetItemString(d,"wxNO", SWIG_From_int((int)(wxNO))); + PyDict_SetItemString(d,"PRINT_QUALITY_DRAFT", SWIG_From_int(static_cast(wxPRINT_QUALITY_DRAFT))); } { - PyDict_SetItemString(d,"wxNO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT))); + PyDict_SetItemString(d,"ID_ANY", SWIG_From_int(static_cast(wxID_ANY))); } { - PyDict_SetItemString(d,"wxYES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT))); + PyDict_SetItemString(d,"ID_SEPARATOR", SWIG_From_int(static_cast(wxID_SEPARATOR))); } { - PyDict_SetItemString(d,"wxICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION))); + PyDict_SetItemString(d,"ID_NONE", SWIG_From_int(static_cast(wxID_NONE))); } { - PyDict_SetItemString(d,"wxICON_HAND", SWIG_From_int((int)(wxICON_HAND))); + PyDict_SetItemString(d,"ID_LOWEST", SWIG_From_int(static_cast(wxID_LOWEST))); } { - PyDict_SetItemString(d,"wxICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION))); + PyDict_SetItemString(d,"ID_OPEN", SWIG_From_int(static_cast(wxID_OPEN))); } { - PyDict_SetItemString(d,"wxICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION))); + PyDict_SetItemString(d,"ID_CLOSE", SWIG_From_int(static_cast(wxID_CLOSE))); } { - PyDict_SetItemString(d,"wxICON_STOP", SWIG_From_int((int)(wxICON_STOP))); + PyDict_SetItemString(d,"ID_NEW", SWIG_From_int(static_cast(wxID_NEW))); } { - PyDict_SetItemString(d,"wxICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK))); + PyDict_SetItemString(d,"ID_SAVE", SWIG_From_int(static_cast(wxID_SAVE))); } { - PyDict_SetItemString(d,"wxICON_MASK", SWIG_From_int((int)(wxICON_MASK))); + PyDict_SetItemString(d,"ID_SAVEAS", SWIG_From_int(static_cast(wxID_SAVEAS))); } { - PyDict_SetItemString(d,"wxICON_WARNING", SWIG_From_int((int)(wxICON_WARNING))); + PyDict_SetItemString(d,"ID_REVERT", SWIG_From_int(static_cast(wxID_REVERT))); } { - PyDict_SetItemString(d,"wxICON_ERROR", SWIG_From_int((int)(wxICON_ERROR))); + PyDict_SetItemString(d,"ID_EXIT", SWIG_From_int(static_cast(wxID_EXIT))); } { - PyDict_SetItemString(d,"wxFORWARD", SWIG_From_int((int)(wxFORWARD))); + PyDict_SetItemString(d,"ID_UNDO", SWIG_From_int(static_cast(wxID_UNDO))); } { - PyDict_SetItemString(d,"wxBACKWARD", SWIG_From_int((int)(wxBACKWARD))); + PyDict_SetItemString(d,"ID_REDO", SWIG_From_int(static_cast(wxID_REDO))); } { - PyDict_SetItemString(d,"wxRESET", SWIG_From_int((int)(wxRESET))); + PyDict_SetItemString(d,"ID_HELP", SWIG_From_int(static_cast(wxID_HELP))); } { - PyDict_SetItemString(d,"wxHELP", SWIG_From_int((int)(wxHELP))); + PyDict_SetItemString(d,"ID_PRINT", SWIG_From_int(static_cast(wxID_PRINT))); } { - PyDict_SetItemString(d,"wxMORE", SWIG_From_int((int)(wxMORE))); + PyDict_SetItemString(d,"ID_PRINT_SETUP", SWIG_From_int(static_cast(wxID_PRINT_SETUP))); } { - PyDict_SetItemString(d,"wxSETUP", SWIG_From_int((int)(wxSETUP))); + PyDict_SetItemString(d,"ID_PREVIEW", SWIG_From_int(static_cast(wxID_PREVIEW))); } { - PyDict_SetItemString(d,"wxSIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH))); + PyDict_SetItemString(d,"ID_ABOUT", SWIG_From_int(static_cast(wxID_ABOUT))); } { - PyDict_SetItemString(d,"wxSIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT))); + PyDict_SetItemString(d,"ID_HELP_CONTENTS", SWIG_From_int(static_cast(wxID_HELP_CONTENTS))); } { - PyDict_SetItemString(d,"wxSIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO))); + PyDict_SetItemString(d,"ID_HELP_COMMANDS", SWIG_From_int(static_cast(wxID_HELP_COMMANDS))); } { - PyDict_SetItemString(d,"wxSIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING))); + PyDict_SetItemString(d,"ID_HELP_PROCEDURES", SWIG_From_int(static_cast(wxID_HELP_PROCEDURES))); } { - PyDict_SetItemString(d,"wxSIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE))); + PyDict_SetItemString(d,"ID_HELP_CONTEXT", SWIG_From_int(static_cast(wxID_HELP_CONTEXT))); } { - PyDict_SetItemString(d,"wxPORTRAIT", SWIG_From_int((int)(wxPORTRAIT))); + PyDict_SetItemString(d,"ID_CLOSE_ALL", SWIG_From_int(static_cast(wxID_CLOSE_ALL))); } { - PyDict_SetItemString(d,"wxLANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE))); + PyDict_SetItemString(d,"ID_PREFERENCES", SWIG_From_int(static_cast(wxID_PREFERENCES))); } { - PyDict_SetItemString(d,"wxPRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH))); + PyDict_SetItemString(d,"ID_CUT", SWIG_From_int(static_cast(wxID_CUT))); } { - PyDict_SetItemString(d,"wxPRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM))); + PyDict_SetItemString(d,"ID_COPY", SWIG_From_int(static_cast(wxID_COPY))); } { - PyDict_SetItemString(d,"wxPRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW))); + PyDict_SetItemString(d,"ID_PASTE", SWIG_From_int(static_cast(wxID_PASTE))); } { - PyDict_SetItemString(d,"wxPRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT))); + PyDict_SetItemString(d,"ID_CLEAR", SWIG_From_int(static_cast(wxID_CLEAR))); } { - PyDict_SetItemString(d,"wxID_ANY", SWIG_From_int((int)(wxID_ANY))); + PyDict_SetItemString(d,"ID_FIND", SWIG_From_int(static_cast(wxID_FIND))); } { - PyDict_SetItemString(d,"wxID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR))); + PyDict_SetItemString(d,"ID_DUPLICATE", SWIG_From_int(static_cast(wxID_DUPLICATE))); } { - PyDict_SetItemString(d,"wxID_LOWEST", SWIG_From_int((int)(wxID_LOWEST))); + PyDict_SetItemString(d,"ID_SELECTALL", SWIG_From_int(static_cast(wxID_SELECTALL))); } { - PyDict_SetItemString(d,"wxID_OPEN", SWIG_From_int((int)(wxID_OPEN))); + PyDict_SetItemString(d,"ID_DELETE", SWIG_From_int(static_cast(wxID_DELETE))); } { - PyDict_SetItemString(d,"wxID_CLOSE", SWIG_From_int((int)(wxID_CLOSE))); + PyDict_SetItemString(d,"ID_REPLACE", SWIG_From_int(static_cast(wxID_REPLACE))); } { - PyDict_SetItemString(d,"wxID_NEW", SWIG_From_int((int)(wxID_NEW))); + PyDict_SetItemString(d,"ID_REPLACE_ALL", SWIG_From_int(static_cast(wxID_REPLACE_ALL))); } { - PyDict_SetItemString(d,"wxID_SAVE", SWIG_From_int((int)(wxID_SAVE))); + PyDict_SetItemString(d,"ID_PROPERTIES", SWIG_From_int(static_cast(wxID_PROPERTIES))); } { - PyDict_SetItemString(d,"wxID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS))); + PyDict_SetItemString(d,"ID_VIEW_DETAILS", SWIG_From_int(static_cast(wxID_VIEW_DETAILS))); } { - PyDict_SetItemString(d,"wxID_REVERT", SWIG_From_int((int)(wxID_REVERT))); + PyDict_SetItemString(d,"ID_VIEW_LARGEICONS", SWIG_From_int(static_cast(wxID_VIEW_LARGEICONS))); } { - PyDict_SetItemString(d,"wxID_EXIT", SWIG_From_int((int)(wxID_EXIT))); + PyDict_SetItemString(d,"ID_VIEW_SMALLICONS", SWIG_From_int(static_cast(wxID_VIEW_SMALLICONS))); } { - PyDict_SetItemString(d,"wxID_UNDO", SWIG_From_int((int)(wxID_UNDO))); + PyDict_SetItemString(d,"ID_VIEW_LIST", SWIG_From_int(static_cast(wxID_VIEW_LIST))); } { - PyDict_SetItemString(d,"wxID_REDO", SWIG_From_int((int)(wxID_REDO))); + PyDict_SetItemString(d,"ID_VIEW_SORTDATE", SWIG_From_int(static_cast(wxID_VIEW_SORTDATE))); } { - PyDict_SetItemString(d,"wxID_HELP", SWIG_From_int((int)(wxID_HELP))); + PyDict_SetItemString(d,"ID_VIEW_SORTNAME", SWIG_From_int(static_cast(wxID_VIEW_SORTNAME))); } { - PyDict_SetItemString(d,"wxID_PRINT", SWIG_From_int((int)(wxID_PRINT))); + PyDict_SetItemString(d,"ID_VIEW_SORTSIZE", SWIG_From_int(static_cast(wxID_VIEW_SORTSIZE))); } { - PyDict_SetItemString(d,"wxID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP))); + PyDict_SetItemString(d,"ID_VIEW_SORTTYPE", SWIG_From_int(static_cast(wxID_VIEW_SORTTYPE))); } { - PyDict_SetItemString(d,"wxID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW))); + PyDict_SetItemString(d,"ID_FILE1", SWIG_From_int(static_cast(wxID_FILE1))); } { - PyDict_SetItemString(d,"wxID_ABOUT", SWIG_From_int((int)(wxID_ABOUT))); + PyDict_SetItemString(d,"ID_FILE2", SWIG_From_int(static_cast(wxID_FILE2))); } { - PyDict_SetItemString(d,"wxID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS))); + PyDict_SetItemString(d,"ID_FILE3", SWIG_From_int(static_cast(wxID_FILE3))); } { - PyDict_SetItemString(d,"wxID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS))); + PyDict_SetItemString(d,"ID_FILE4", SWIG_From_int(static_cast(wxID_FILE4))); } { - PyDict_SetItemString(d,"wxID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES))); + PyDict_SetItemString(d,"ID_FILE5", SWIG_From_int(static_cast(wxID_FILE5))); } { - PyDict_SetItemString(d,"wxID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT))); + PyDict_SetItemString(d,"ID_FILE6", SWIG_From_int(static_cast(wxID_FILE6))); } { - PyDict_SetItemString(d,"wxID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL))); + PyDict_SetItemString(d,"ID_FILE7", SWIG_From_int(static_cast(wxID_FILE7))); } { - PyDict_SetItemString(d,"wxID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES))); + PyDict_SetItemString(d,"ID_FILE8", SWIG_From_int(static_cast(wxID_FILE8))); } { - PyDict_SetItemString(d,"wxID_CUT", SWIG_From_int((int)(wxID_CUT))); + PyDict_SetItemString(d,"ID_FILE9", SWIG_From_int(static_cast(wxID_FILE9))); } { - PyDict_SetItemString(d,"wxID_COPY", SWIG_From_int((int)(wxID_COPY))); + PyDict_SetItemString(d,"ID_OK", SWIG_From_int(static_cast(wxID_OK))); } { - PyDict_SetItemString(d,"wxID_PASTE", SWIG_From_int((int)(wxID_PASTE))); + PyDict_SetItemString(d,"ID_CANCEL", SWIG_From_int(static_cast(wxID_CANCEL))); } { - PyDict_SetItemString(d,"wxID_CLEAR", SWIG_From_int((int)(wxID_CLEAR))); + PyDict_SetItemString(d,"ID_APPLY", SWIG_From_int(static_cast(wxID_APPLY))); } { - PyDict_SetItemString(d,"wxID_FIND", SWIG_From_int((int)(wxID_FIND))); + PyDict_SetItemString(d,"ID_YES", SWIG_From_int(static_cast(wxID_YES))); } { - PyDict_SetItemString(d,"wxID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE))); + PyDict_SetItemString(d,"ID_NO", SWIG_From_int(static_cast(wxID_NO))); } { - PyDict_SetItemString(d,"wxID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL))); + PyDict_SetItemString(d,"ID_STATIC", SWIG_From_int(static_cast(wxID_STATIC))); } { - PyDict_SetItemString(d,"wxID_DELETE", SWIG_From_int((int)(wxID_DELETE))); + PyDict_SetItemString(d,"ID_FORWARD", SWIG_From_int(static_cast(wxID_FORWARD))); } { - PyDict_SetItemString(d,"wxID_REPLACE", SWIG_From_int((int)(wxID_REPLACE))); + PyDict_SetItemString(d,"ID_BACKWARD", SWIG_From_int(static_cast(wxID_BACKWARD))); } { - PyDict_SetItemString(d,"wxID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL))); + PyDict_SetItemString(d,"ID_DEFAULT", SWIG_From_int(static_cast(wxID_DEFAULT))); } { - PyDict_SetItemString(d,"wxID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES))); + PyDict_SetItemString(d,"ID_MORE", SWIG_From_int(static_cast(wxID_MORE))); } { - PyDict_SetItemString(d,"wxID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS))); + PyDict_SetItemString(d,"ID_SETUP", SWIG_From_int(static_cast(wxID_SETUP))); } { - PyDict_SetItemString(d,"wxID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS))); + PyDict_SetItemString(d,"ID_RESET", SWIG_From_int(static_cast(wxID_RESET))); } { - PyDict_SetItemString(d,"wxID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS))); + PyDict_SetItemString(d,"ID_CONTEXT_HELP", SWIG_From_int(static_cast(wxID_CONTEXT_HELP))); } { - PyDict_SetItemString(d,"wxID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST))); + PyDict_SetItemString(d,"ID_YESTOALL", SWIG_From_int(static_cast(wxID_YESTOALL))); } { - PyDict_SetItemString(d,"wxID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE))); + PyDict_SetItemString(d,"ID_NOTOALL", SWIG_From_int(static_cast(wxID_NOTOALL))); } { - PyDict_SetItemString(d,"wxID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME))); + PyDict_SetItemString(d,"ID_ABORT", SWIG_From_int(static_cast(wxID_ABORT))); } { - PyDict_SetItemString(d,"wxID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE))); + PyDict_SetItemString(d,"ID_RETRY", SWIG_From_int(static_cast(wxID_RETRY))); } { - PyDict_SetItemString(d,"wxID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE))); + PyDict_SetItemString(d,"ID_IGNORE", SWIG_From_int(static_cast(wxID_IGNORE))); } { - PyDict_SetItemString(d,"wxID_FILE1", SWIG_From_int((int)(wxID_FILE1))); + PyDict_SetItemString(d,"ID_ADD", SWIG_From_int(static_cast(wxID_ADD))); } { - PyDict_SetItemString(d,"wxID_FILE2", SWIG_From_int((int)(wxID_FILE2))); + PyDict_SetItemString(d,"ID_REMOVE", SWIG_From_int(static_cast(wxID_REMOVE))); } { - PyDict_SetItemString(d,"wxID_FILE3", SWIG_From_int((int)(wxID_FILE3))); + PyDict_SetItemString(d,"ID_UP", SWIG_From_int(static_cast(wxID_UP))); } { - PyDict_SetItemString(d,"wxID_FILE4", SWIG_From_int((int)(wxID_FILE4))); + PyDict_SetItemString(d,"ID_DOWN", SWIG_From_int(static_cast(wxID_DOWN))); } { - PyDict_SetItemString(d,"wxID_FILE5", SWIG_From_int((int)(wxID_FILE5))); + PyDict_SetItemString(d,"ID_HOME", SWIG_From_int(static_cast(wxID_HOME))); } { - PyDict_SetItemString(d,"wxID_FILE6", SWIG_From_int((int)(wxID_FILE6))); + PyDict_SetItemString(d,"ID_REFRESH", SWIG_From_int(static_cast(wxID_REFRESH))); } { - PyDict_SetItemString(d,"wxID_FILE7", SWIG_From_int((int)(wxID_FILE7))); + PyDict_SetItemString(d,"ID_STOP", SWIG_From_int(static_cast(wxID_STOP))); } { - PyDict_SetItemString(d,"wxID_FILE8", SWIG_From_int((int)(wxID_FILE8))); + PyDict_SetItemString(d,"ID_INDEX", SWIG_From_int(static_cast(wxID_INDEX))); } { - PyDict_SetItemString(d,"wxID_FILE9", SWIG_From_int((int)(wxID_FILE9))); + PyDict_SetItemString(d,"ID_BOLD", SWIG_From_int(static_cast(wxID_BOLD))); } { - PyDict_SetItemString(d,"wxID_OK", SWIG_From_int((int)(wxID_OK))); + PyDict_SetItemString(d,"ID_ITALIC", SWIG_From_int(static_cast(wxID_ITALIC))); } { - PyDict_SetItemString(d,"wxID_CANCEL", SWIG_From_int((int)(wxID_CANCEL))); + PyDict_SetItemString(d,"ID_JUSTIFY_CENTER", SWIG_From_int(static_cast(wxID_JUSTIFY_CENTER))); } { - PyDict_SetItemString(d,"wxID_APPLY", SWIG_From_int((int)(wxID_APPLY))); + PyDict_SetItemString(d,"ID_JUSTIFY_FILL", SWIG_From_int(static_cast(wxID_JUSTIFY_FILL))); } { - PyDict_SetItemString(d,"wxID_YES", SWIG_From_int((int)(wxID_YES))); + PyDict_SetItemString(d,"ID_JUSTIFY_RIGHT", SWIG_From_int(static_cast(wxID_JUSTIFY_RIGHT))); } { - PyDict_SetItemString(d,"wxID_NO", SWIG_From_int((int)(wxID_NO))); + PyDict_SetItemString(d,"ID_JUSTIFY_LEFT", SWIG_From_int(static_cast(wxID_JUSTIFY_LEFT))); } { - PyDict_SetItemString(d,"wxID_STATIC", SWIG_From_int((int)(wxID_STATIC))); + PyDict_SetItemString(d,"ID_UNDERLINE", SWIG_From_int(static_cast(wxID_UNDERLINE))); } { - PyDict_SetItemString(d,"wxID_FORWARD", SWIG_From_int((int)(wxID_FORWARD))); + PyDict_SetItemString(d,"ID_INDENT", SWIG_From_int(static_cast(wxID_INDENT))); } { - PyDict_SetItemString(d,"wxID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD))); + PyDict_SetItemString(d,"ID_UNINDENT", SWIG_From_int(static_cast(wxID_UNINDENT))); } { - PyDict_SetItemString(d,"wxID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT))); + PyDict_SetItemString(d,"ID_ZOOM_100", SWIG_From_int(static_cast(wxID_ZOOM_100))); } { - PyDict_SetItemString(d,"wxID_MORE", SWIG_From_int((int)(wxID_MORE))); + PyDict_SetItemString(d,"ID_ZOOM_FIT", SWIG_From_int(static_cast(wxID_ZOOM_FIT))); } { - PyDict_SetItemString(d,"wxID_SETUP", SWIG_From_int((int)(wxID_SETUP))); + PyDict_SetItemString(d,"ID_ZOOM_IN", SWIG_From_int(static_cast(wxID_ZOOM_IN))); } { - PyDict_SetItemString(d,"wxID_RESET", SWIG_From_int((int)(wxID_RESET))); + PyDict_SetItemString(d,"ID_ZOOM_OUT", SWIG_From_int(static_cast(wxID_ZOOM_OUT))); } { - PyDict_SetItemString(d,"wxID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP))); + PyDict_SetItemString(d,"ID_UNDELETE", SWIG_From_int(static_cast(wxID_UNDELETE))); } { - PyDict_SetItemString(d,"wxID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL))); + PyDict_SetItemString(d,"ID_REVERT_TO_SAVED", SWIG_From_int(static_cast(wxID_REVERT_TO_SAVED))); } { - PyDict_SetItemString(d,"wxID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL))); + PyDict_SetItemString(d,"ID_HIGHEST", SWIG_From_int(static_cast(wxID_HIGHEST))); } { - PyDict_SetItemString(d,"wxID_ABORT", SWIG_From_int((int)(wxID_ABORT))); + PyDict_SetItemString(d,"OPEN", SWIG_From_int(static_cast(wxOPEN))); } { - PyDict_SetItemString(d,"wxID_RETRY", SWIG_From_int((int)(wxID_RETRY))); + PyDict_SetItemString(d,"SAVE", SWIG_From_int(static_cast(wxSAVE))); } { - PyDict_SetItemString(d,"wxID_IGNORE", SWIG_From_int((int)(wxID_IGNORE))); + PyDict_SetItemString(d,"HIDE_READONLY", SWIG_From_int(static_cast(wxHIDE_READONLY))); } { - PyDict_SetItemString(d,"wxID_ADD", SWIG_From_int((int)(wxID_ADD))); + PyDict_SetItemString(d,"OVERWRITE_PROMPT", SWIG_From_int(static_cast(wxOVERWRITE_PROMPT))); } { - PyDict_SetItemString(d,"wxID_REMOVE", SWIG_From_int((int)(wxID_REMOVE))); + PyDict_SetItemString(d,"FILE_MUST_EXIST", SWIG_From_int(static_cast(wxFILE_MUST_EXIST))); } { - PyDict_SetItemString(d,"wxID_UP", SWIG_From_int((int)(wxID_UP))); + PyDict_SetItemString(d,"MULTIPLE", SWIG_From_int(static_cast(wxMULTIPLE))); } { - PyDict_SetItemString(d,"wxID_DOWN", SWIG_From_int((int)(wxID_DOWN))); + PyDict_SetItemString(d,"CHANGE_DIR", SWIG_From_int(static_cast(wxCHANGE_DIR))); } { - PyDict_SetItemString(d,"wxID_HOME", SWIG_From_int((int)(wxID_HOME))); + PyDict_SetItemString(d,"ACCEL_ALT", SWIG_From_int(static_cast(wxACCEL_ALT))); } { - PyDict_SetItemString(d,"wxID_REFRESH", SWIG_From_int((int)(wxID_REFRESH))); + PyDict_SetItemString(d,"ACCEL_CTRL", SWIG_From_int(static_cast(wxACCEL_CTRL))); } { - PyDict_SetItemString(d,"wxID_STOP", SWIG_From_int((int)(wxID_STOP))); + PyDict_SetItemString(d,"ACCEL_SHIFT", SWIG_From_int(static_cast(wxACCEL_SHIFT))); } { - PyDict_SetItemString(d,"wxID_INDEX", SWIG_From_int((int)(wxID_INDEX))); + PyDict_SetItemString(d,"ACCEL_NORMAL", SWIG_From_int(static_cast(wxACCEL_NORMAL))); } { - PyDict_SetItemString(d,"wxID_BOLD", SWIG_From_int((int)(wxID_BOLD))); + PyDict_SetItemString(d,"PD_AUTO_HIDE", SWIG_From_int(static_cast(wxPD_AUTO_HIDE))); } { - PyDict_SetItemString(d,"wxID_ITALIC", SWIG_From_int((int)(wxID_ITALIC))); + PyDict_SetItemString(d,"PD_APP_MODAL", SWIG_From_int(static_cast(wxPD_APP_MODAL))); } { - PyDict_SetItemString(d,"wxID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER))); + PyDict_SetItemString(d,"PD_CAN_ABORT", SWIG_From_int(static_cast(wxPD_CAN_ABORT))); } { - PyDict_SetItemString(d,"wxID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL))); + PyDict_SetItemString(d,"PD_ELAPSED_TIME", SWIG_From_int(static_cast(wxPD_ELAPSED_TIME))); } { - PyDict_SetItemString(d,"wxID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT))); + PyDict_SetItemString(d,"PD_ESTIMATED_TIME", SWIG_From_int(static_cast(wxPD_ESTIMATED_TIME))); } { - PyDict_SetItemString(d,"wxID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT))); + PyDict_SetItemString(d,"PD_REMAINING_TIME", SWIG_From_int(static_cast(wxPD_REMAINING_TIME))); } { - PyDict_SetItemString(d,"wxID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE))); + PyDict_SetItemString(d,"PD_SMOOTH", SWIG_From_int(static_cast(wxPD_SMOOTH))); } { - PyDict_SetItemString(d,"wxID_INDENT", SWIG_From_int((int)(wxID_INDENT))); + PyDict_SetItemString(d,"PD_CAN_SKIP", SWIG_From_int(static_cast(wxPD_CAN_SKIP))); } { - PyDict_SetItemString(d,"wxID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT))); + PyDict_SetItemString(d,"DD_NEW_DIR_BUTTON", SWIG_From_int(static_cast(wxDD_NEW_DIR_BUTTON))); } { - PyDict_SetItemString(d,"wxID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100))); + PyDict_SetItemString(d,"DD_DEFAULT_STYLE", SWIG_From_int(static_cast(wxDD_DEFAULT_STYLE))); } { - PyDict_SetItemString(d,"wxID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT))); + PyDict_SetItemString(d,"MENU_TEAROFF", SWIG_From_int(static_cast(wxMENU_TEAROFF))); } { - PyDict_SetItemString(d,"wxID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN))); + PyDict_SetItemString(d,"MB_DOCKABLE", SWIG_From_int(static_cast(wxMB_DOCKABLE))); } { - PyDict_SetItemString(d,"wxID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT))); + PyDict_SetItemString(d,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int(static_cast(wxNO_FULL_REPAINT_ON_RESIZE))); } { - PyDict_SetItemString(d,"wxID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE))); + PyDict_SetItemString(d,"FULL_REPAINT_ON_RESIZE", SWIG_From_int(static_cast(wxFULL_REPAINT_ON_RESIZE))); } { - PyDict_SetItemString(d,"wxID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED))); + PyDict_SetItemString(d,"LI_HORIZONTAL", SWIG_From_int(static_cast(wxLI_HORIZONTAL))); } { - PyDict_SetItemString(d,"wxID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST))); + PyDict_SetItemString(d,"LI_VERTICAL", SWIG_From_int(static_cast(wxLI_VERTICAL))); } { - PyDict_SetItemString(d,"wxOPEN", SWIG_From_int((int)(wxOPEN))); + PyDict_SetItemString(d,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int(static_cast(wxWS_EX_VALIDATE_RECURSIVELY))); } { - PyDict_SetItemString(d,"wxSAVE", SWIG_From_int((int)(wxSAVE))); + PyDict_SetItemString(d,"WS_EX_BLOCK_EVENTS", SWIG_From_int(static_cast(wxWS_EX_BLOCK_EVENTS))); } { - PyDict_SetItemString(d,"wxHIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY))); + PyDict_SetItemString(d,"WS_EX_TRANSIENT", SWIG_From_int(static_cast(wxWS_EX_TRANSIENT))); } { - PyDict_SetItemString(d,"wxOVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT))); + PyDict_SetItemString(d,"WS_EX_THEMED_BACKGROUND", SWIG_From_int(static_cast(wxWS_EX_THEMED_BACKGROUND))); } { - PyDict_SetItemString(d,"wxFILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST))); + PyDict_SetItemString(d,"WS_EX_PROCESS_IDLE", SWIG_From_int(static_cast(wxWS_EX_PROCESS_IDLE))); } { - PyDict_SetItemString(d,"wxMULTIPLE", SWIG_From_int((int)(wxMULTIPLE))); + PyDict_SetItemString(d,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int(static_cast(wxWS_EX_PROCESS_UI_UPDATES))); } { - PyDict_SetItemString(d,"wxCHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR))); + PyDict_SetItemString(d,"MM_TEXT", SWIG_From_int(static_cast(wxMM_TEXT))); } { - PyDict_SetItemString(d,"wxACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT))); + PyDict_SetItemString(d,"MM_LOMETRIC", SWIG_From_int(static_cast(wxMM_LOMETRIC))); } { - PyDict_SetItemString(d,"wxACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL))); + PyDict_SetItemString(d,"MM_HIMETRIC", SWIG_From_int(static_cast(wxMM_HIMETRIC))); } { - PyDict_SetItemString(d,"wxACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT))); + PyDict_SetItemString(d,"MM_LOENGLISH", SWIG_From_int(static_cast(wxMM_LOENGLISH))); } { - PyDict_SetItemString(d,"wxACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL))); + PyDict_SetItemString(d,"MM_HIENGLISH", SWIG_From_int(static_cast(wxMM_HIENGLISH))); } { - PyDict_SetItemString(d,"wxPD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE))); + PyDict_SetItemString(d,"MM_TWIPS", SWIG_From_int(static_cast(wxMM_TWIPS))); } { - PyDict_SetItemString(d,"wxPD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL))); + PyDict_SetItemString(d,"MM_ISOTROPIC", SWIG_From_int(static_cast(wxMM_ISOTROPIC))); } { - PyDict_SetItemString(d,"wxPD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT))); + PyDict_SetItemString(d,"MM_ANISOTROPIC", SWIG_From_int(static_cast(wxMM_ANISOTROPIC))); } { - PyDict_SetItemString(d,"wxPD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME))); + PyDict_SetItemString(d,"MM_POINTS", SWIG_From_int(static_cast(wxMM_POINTS))); } { - PyDict_SetItemString(d,"wxPD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME))); + PyDict_SetItemString(d,"MM_METRIC", SWIG_From_int(static_cast(wxMM_METRIC))); } { - PyDict_SetItemString(d,"wxPD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME))); + PyDict_SetItemString(d,"CENTRE", SWIG_From_int(static_cast(wxCENTRE))); } { - PyDict_SetItemString(d,"wxPD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH))); + PyDict_SetItemString(d,"CENTER", SWIG_From_int(static_cast(wxCENTER))); } { - PyDict_SetItemString(d,"wxPD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP))); + PyDict_SetItemString(d,"HORIZONTAL", SWIG_From_int(static_cast(wxHORIZONTAL))); } { - PyDict_SetItemString(d,"wxDD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON))); + PyDict_SetItemString(d,"VERTICAL", SWIG_From_int(static_cast(wxVERTICAL))); } { - PyDict_SetItemString(d,"wxDD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE))); + PyDict_SetItemString(d,"BOTH", SWIG_From_int(static_cast(wxBOTH))); } { - PyDict_SetItemString(d,"wxMENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF))); + PyDict_SetItemString(d,"LEFT", SWIG_From_int(static_cast(wxLEFT))); } { - PyDict_SetItemString(d,"wxMB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE))); + PyDict_SetItemString(d,"RIGHT", SWIG_From_int(static_cast(wxRIGHT))); } { - PyDict_SetItemString(d,"wxNO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE))); + PyDict_SetItemString(d,"UP", SWIG_From_int(static_cast(wxUP))); } { - PyDict_SetItemString(d,"wxFULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE))); + PyDict_SetItemString(d,"DOWN", SWIG_From_int(static_cast(wxDOWN))); } { - PyDict_SetItemString(d,"wxLI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL))); + PyDict_SetItemString(d,"TOP", SWIG_From_int(static_cast(wxTOP))); } { - PyDict_SetItemString(d,"wxLI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL))); + PyDict_SetItemString(d,"BOTTOM", SWIG_From_int(static_cast(wxBOTTOM))); } { - PyDict_SetItemString(d,"wxWS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY))); + PyDict_SetItemString(d,"NORTH", SWIG_From_int(static_cast(wxNORTH))); } { - PyDict_SetItemString(d,"wxWS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS))); + PyDict_SetItemString(d,"SOUTH", SWIG_From_int(static_cast(wxSOUTH))); } { - PyDict_SetItemString(d,"wxWS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT))); + PyDict_SetItemString(d,"WEST", SWIG_From_int(static_cast(wxWEST))); } { - PyDict_SetItemString(d,"wxWS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND))); + PyDict_SetItemString(d,"EAST", SWIG_From_int(static_cast(wxEAST))); } { - PyDict_SetItemString(d,"wxWS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE))); + PyDict_SetItemString(d,"ALL", SWIG_From_int(static_cast(wxALL))); } { - PyDict_SetItemString(d,"wxWS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES))); + PyDict_SetItemString(d,"ALIGN_NOT", SWIG_From_int(static_cast(wxALIGN_NOT))); } { - PyDict_SetItemString(d,"wxMM_TEXT", SWIG_From_int((int)(wxMM_TEXT))); + PyDict_SetItemString(d,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int(static_cast(wxALIGN_CENTER_HORIZONTAL))); } { - PyDict_SetItemString(d,"wxMM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC))); + PyDict_SetItemString(d,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int(static_cast(wxALIGN_CENTRE_HORIZONTAL))); } { - PyDict_SetItemString(d,"wxMM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC))); + PyDict_SetItemString(d,"ALIGN_LEFT", SWIG_From_int(static_cast(wxALIGN_LEFT))); } { - PyDict_SetItemString(d,"wxMM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH))); + PyDict_SetItemString(d,"ALIGN_TOP", SWIG_From_int(static_cast(wxALIGN_TOP))); } { - PyDict_SetItemString(d,"wxMM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH))); + PyDict_SetItemString(d,"ALIGN_RIGHT", SWIG_From_int(static_cast(wxALIGN_RIGHT))); } { - PyDict_SetItemString(d,"wxMM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS))); + PyDict_SetItemString(d,"ALIGN_BOTTOM", SWIG_From_int(static_cast(wxALIGN_BOTTOM))); } { - PyDict_SetItemString(d,"wxMM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC))); + PyDict_SetItemString(d,"ALIGN_CENTER_VERTICAL", SWIG_From_int(static_cast(wxALIGN_CENTER_VERTICAL))); } { - PyDict_SetItemString(d,"wxMM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC))); + PyDict_SetItemString(d,"ALIGN_CENTRE_VERTICAL", SWIG_From_int(static_cast(wxALIGN_CENTRE_VERTICAL))); } { - PyDict_SetItemString(d,"wxMM_POINTS", SWIG_From_int((int)(wxMM_POINTS))); + PyDict_SetItemString(d,"ALIGN_CENTER", SWIG_From_int(static_cast(wxALIGN_CENTER))); } { - PyDict_SetItemString(d,"wxMM_METRIC", SWIG_From_int((int)(wxMM_METRIC))); + PyDict_SetItemString(d,"ALIGN_CENTRE", SWIG_From_int(static_cast(wxALIGN_CENTRE))); } { - PyDict_SetItemString(d,"wxCENTRE", SWIG_From_int((int)(wxCENTRE))); + PyDict_SetItemString(d,"ALIGN_MASK", SWIG_From_int(static_cast(wxALIGN_MASK))); } { - PyDict_SetItemString(d,"wxCENTER", SWIG_From_int((int)(wxCENTER))); + PyDict_SetItemString(d,"STRETCH_NOT", SWIG_From_int(static_cast(wxSTRETCH_NOT))); } { - PyDict_SetItemString(d,"wxHORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL))); + PyDict_SetItemString(d,"SHRINK", SWIG_From_int(static_cast(wxSHRINK))); } { - PyDict_SetItemString(d,"wxVERTICAL", SWIG_From_int((int)(wxVERTICAL))); + PyDict_SetItemString(d,"GROW", SWIG_From_int(static_cast(wxGROW))); } { - PyDict_SetItemString(d,"wxBOTH", SWIG_From_int((int)(wxBOTH))); + PyDict_SetItemString(d,"EXPAND", SWIG_From_int(static_cast(wxEXPAND))); } { - PyDict_SetItemString(d,"wxLEFT", SWIG_From_int((int)(wxLEFT))); + PyDict_SetItemString(d,"SHAPED", SWIG_From_int(static_cast(wxSHAPED))); } { - PyDict_SetItemString(d,"wxRIGHT", SWIG_From_int((int)(wxRIGHT))); + PyDict_SetItemString(d,"FIXED_MINSIZE", SWIG_From_int(static_cast(wxFIXED_MINSIZE))); } { - PyDict_SetItemString(d,"wxUP", SWIG_From_int((int)(wxUP))); + PyDict_SetItemString(d,"TILE", SWIG_From_int(static_cast(wxTILE))); } { - PyDict_SetItemString(d,"wxDOWN", SWIG_From_int((int)(wxDOWN))); + PyDict_SetItemString(d,"ADJUST_MINSIZE", SWIG_From_int(static_cast(wxADJUST_MINSIZE))); } { - PyDict_SetItemString(d,"wxTOP", SWIG_From_int((int)(wxTOP))); + PyDict_SetItemString(d,"BORDER_DEFAULT", SWIG_From_int(static_cast(wxBORDER_DEFAULT))); } { - PyDict_SetItemString(d,"wxBOTTOM", SWIG_From_int((int)(wxBOTTOM))); + PyDict_SetItemString(d,"BORDER_NONE", SWIG_From_int(static_cast(wxBORDER_NONE))); } { - PyDict_SetItemString(d,"wxNORTH", SWIG_From_int((int)(wxNORTH))); + PyDict_SetItemString(d,"BORDER_STATIC", SWIG_From_int(static_cast(wxBORDER_STATIC))); } { - PyDict_SetItemString(d,"wxSOUTH", SWIG_From_int((int)(wxSOUTH))); + PyDict_SetItemString(d,"BORDER_SIMPLE", SWIG_From_int(static_cast(wxBORDER_SIMPLE))); } { - PyDict_SetItemString(d,"wxWEST", SWIG_From_int((int)(wxWEST))); + PyDict_SetItemString(d,"BORDER_RAISED", SWIG_From_int(static_cast(wxBORDER_RAISED))); } { - PyDict_SetItemString(d,"wxEAST", SWIG_From_int((int)(wxEAST))); + PyDict_SetItemString(d,"BORDER_SUNKEN", SWIG_From_int(static_cast(wxBORDER_SUNKEN))); } { - PyDict_SetItemString(d,"wxALL", SWIG_From_int((int)(wxALL))); + PyDict_SetItemString(d,"BORDER_DOUBLE", SWIG_From_int(static_cast(wxBORDER_DOUBLE))); } { - PyDict_SetItemString(d,"wxALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT))); + PyDict_SetItemString(d,"BORDER_MASK", SWIG_From_int(static_cast(wxBORDER_MASK))); } { - PyDict_SetItemString(d,"wxALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL))); + PyDict_SetItemString(d,"BG_STYLE_SYSTEM", SWIG_From_int(static_cast(wxBG_STYLE_SYSTEM))); } { - PyDict_SetItemString(d,"wxALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL))); + PyDict_SetItemString(d,"BG_STYLE_COLOUR", SWIG_From_int(static_cast(wxBG_STYLE_COLOUR))); } { - PyDict_SetItemString(d,"wxALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT))); + PyDict_SetItemString(d,"BG_STYLE_CUSTOM", SWIG_From_int(static_cast(wxBG_STYLE_CUSTOM))); } { - PyDict_SetItemString(d,"wxALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP))); + PyDict_SetItemString(d,"DEFAULT", SWIG_From_int(static_cast(wxDEFAULT))); } { - PyDict_SetItemString(d,"wxALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT))); + PyDict_SetItemString(d,"DECORATIVE", SWIG_From_int(static_cast(wxDECORATIVE))); } { - PyDict_SetItemString(d,"wxALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM))); + PyDict_SetItemString(d,"ROMAN", SWIG_From_int(static_cast(wxROMAN))); } { - PyDict_SetItemString(d,"wxALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL))); + PyDict_SetItemString(d,"SCRIPT", SWIG_From_int(static_cast(wxSCRIPT))); } { - PyDict_SetItemString(d,"wxALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL))); + PyDict_SetItemString(d,"SWISS", SWIG_From_int(static_cast(wxSWISS))); } { - PyDict_SetItemString(d,"wxALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER))); + PyDict_SetItemString(d,"MODERN", SWIG_From_int(static_cast(wxMODERN))); } { - PyDict_SetItemString(d,"wxALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE))); + PyDict_SetItemString(d,"TELETYPE", SWIG_From_int(static_cast(wxTELETYPE))); } { - PyDict_SetItemString(d,"wxALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK))); + PyDict_SetItemString(d,"VARIABLE", SWIG_From_int(static_cast(wxVARIABLE))); } { - PyDict_SetItemString(d,"wxSTRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT))); + PyDict_SetItemString(d,"FIXED", SWIG_From_int(static_cast(wxFIXED))); } { - PyDict_SetItemString(d,"wxSHRINK", SWIG_From_int((int)(wxSHRINK))); + PyDict_SetItemString(d,"NORMAL", SWIG_From_int(static_cast(wxNORMAL))); } { - PyDict_SetItemString(d,"wxGROW", SWIG_From_int((int)(wxGROW))); + PyDict_SetItemString(d,"LIGHT", SWIG_From_int(static_cast(wxLIGHT))); } { - PyDict_SetItemString(d,"wxEXPAND", SWIG_From_int((int)(wxEXPAND))); + PyDict_SetItemString(d,"BOLD", SWIG_From_int(static_cast(wxBOLD))); } { - PyDict_SetItemString(d,"wxSHAPED", SWIG_From_int((int)(wxSHAPED))); + PyDict_SetItemString(d,"ITALIC", SWIG_From_int(static_cast(wxITALIC))); } { - PyDict_SetItemString(d,"wxFIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE))); + PyDict_SetItemString(d,"SLANT", SWIG_From_int(static_cast(wxSLANT))); } { - PyDict_SetItemString(d,"wxTILE", SWIG_From_int((int)(wxTILE))); + PyDict_SetItemString(d,"SOLID", SWIG_From_int(static_cast(wxSOLID))); } { - PyDict_SetItemString(d,"wxADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE))); + PyDict_SetItemString(d,"DOT", SWIG_From_int(static_cast(wxDOT))); } { - PyDict_SetItemString(d,"wxBORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT))); + PyDict_SetItemString(d,"LONG_DASH", SWIG_From_int(static_cast(wxLONG_DASH))); } { - PyDict_SetItemString(d,"wxBORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE))); + PyDict_SetItemString(d,"SHORT_DASH", SWIG_From_int(static_cast(wxSHORT_DASH))); } { - PyDict_SetItemString(d,"wxBORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC))); + PyDict_SetItemString(d,"DOT_DASH", SWIG_From_int(static_cast(wxDOT_DASH))); } { - PyDict_SetItemString(d,"wxBORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE))); + PyDict_SetItemString(d,"USER_DASH", SWIG_From_int(static_cast(wxUSER_DASH))); } { - PyDict_SetItemString(d,"wxBORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED))); + PyDict_SetItemString(d,"TRANSPARENT", SWIG_From_int(static_cast(wxTRANSPARENT))); } { - PyDict_SetItemString(d,"wxBORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN))); + PyDict_SetItemString(d,"STIPPLE", SWIG_From_int(static_cast(wxSTIPPLE))); } { - PyDict_SetItemString(d,"wxBORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE))); + PyDict_SetItemString(d,"STIPPLE_MASK", SWIG_From_int(static_cast(wxSTIPPLE_MASK))); } { - PyDict_SetItemString(d,"wxBORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK))); + PyDict_SetItemString(d,"STIPPLE_MASK_OPAQUE", SWIG_From_int(static_cast(wxSTIPPLE_MASK_OPAQUE))); } { - PyDict_SetItemString(d,"wxBG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM))); + PyDict_SetItemString(d,"BDIAGONAL_HATCH", SWIG_From_int(static_cast(wxBDIAGONAL_HATCH))); } { - PyDict_SetItemString(d,"wxBG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR))); + PyDict_SetItemString(d,"CROSSDIAG_HATCH", SWIG_From_int(static_cast(wxCROSSDIAG_HATCH))); } { - PyDict_SetItemString(d,"wxBG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM))); + PyDict_SetItemString(d,"FDIAGONAL_HATCH", SWIG_From_int(static_cast(wxFDIAGONAL_HATCH))); } { - PyDict_SetItemString(d,"wxDEFAULT", SWIG_From_int((int)(wxDEFAULT))); + PyDict_SetItemString(d,"CROSS_HATCH", SWIG_From_int(static_cast(wxCROSS_HATCH))); } { - PyDict_SetItemString(d,"wxDECORATIVE", SWIG_From_int((int)(wxDECORATIVE))); + PyDict_SetItemString(d,"HORIZONTAL_HATCH", SWIG_From_int(static_cast(wxHORIZONTAL_HATCH))); } { - PyDict_SetItemString(d,"wxROMAN", SWIG_From_int((int)(wxROMAN))); + PyDict_SetItemString(d,"VERTICAL_HATCH", SWIG_From_int(static_cast(wxVERTICAL_HATCH))); } { - PyDict_SetItemString(d,"wxSCRIPT", SWIG_From_int((int)(wxSCRIPT))); + PyDict_SetItemString(d,"JOIN_BEVEL", SWIG_From_int(static_cast(wxJOIN_BEVEL))); } { - PyDict_SetItemString(d,"wxSWISS", SWIG_From_int((int)(wxSWISS))); + PyDict_SetItemString(d,"JOIN_MITER", SWIG_From_int(static_cast(wxJOIN_MITER))); } { - PyDict_SetItemString(d,"wxMODERN", SWIG_From_int((int)(wxMODERN))); + PyDict_SetItemString(d,"JOIN_ROUND", SWIG_From_int(static_cast(wxJOIN_ROUND))); } { - PyDict_SetItemString(d,"wxTELETYPE", SWIG_From_int((int)(wxTELETYPE))); + PyDict_SetItemString(d,"CAP_ROUND", SWIG_From_int(static_cast(wxCAP_ROUND))); } { - PyDict_SetItemString(d,"wxVARIABLE", SWIG_From_int((int)(wxVARIABLE))); + PyDict_SetItemString(d,"CAP_PROJECTING", SWIG_From_int(static_cast(wxCAP_PROJECTING))); } { - PyDict_SetItemString(d,"wxFIXED", SWIG_From_int((int)(wxFIXED))); + PyDict_SetItemString(d,"CAP_BUTT", SWIG_From_int(static_cast(wxCAP_BUTT))); } { - PyDict_SetItemString(d,"wxNORMAL", SWIG_From_int((int)(wxNORMAL))); + PyDict_SetItemString(d,"CLEAR", SWIG_From_int(static_cast(wxCLEAR))); } { - PyDict_SetItemString(d,"wxLIGHT", SWIG_From_int((int)(wxLIGHT))); + PyDict_SetItemString(d,"XOR", SWIG_From_int(static_cast(wxXOR))); } { - PyDict_SetItemString(d,"wxBOLD", SWIG_From_int((int)(wxBOLD))); + PyDict_SetItemString(d,"INVERT", SWIG_From_int(static_cast(wxINVERT))); } { - PyDict_SetItemString(d,"wxITALIC", SWIG_From_int((int)(wxITALIC))); + PyDict_SetItemString(d,"OR_REVERSE", SWIG_From_int(static_cast(wxOR_REVERSE))); } { - PyDict_SetItemString(d,"wxSLANT", SWIG_From_int((int)(wxSLANT))); + PyDict_SetItemString(d,"AND_REVERSE", SWIG_From_int(static_cast(wxAND_REVERSE))); } { - PyDict_SetItemString(d,"wxSOLID", SWIG_From_int((int)(wxSOLID))); + PyDict_SetItemString(d,"COPY", SWIG_From_int(static_cast(wxCOPY))); } { - PyDict_SetItemString(d,"wxDOT", SWIG_From_int((int)(wxDOT))); + PyDict_SetItemString(d,"AND", SWIG_From_int(static_cast(wxAND))); } { - PyDict_SetItemString(d,"wxLONG_DASH", SWIG_From_int((int)(wxLONG_DASH))); + PyDict_SetItemString(d,"AND_INVERT", SWIG_From_int(static_cast(wxAND_INVERT))); } { - PyDict_SetItemString(d,"wxSHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH))); + PyDict_SetItemString(d,"NO_OP", SWIG_From_int(static_cast(wxNO_OP))); } { - PyDict_SetItemString(d,"wxDOT_DASH", SWIG_From_int((int)(wxDOT_DASH))); + PyDict_SetItemString(d,"NOR", SWIG_From_int(static_cast(wxNOR))); } { - PyDict_SetItemString(d,"wxUSER_DASH", SWIG_From_int((int)(wxUSER_DASH))); + PyDict_SetItemString(d,"EQUIV", SWIG_From_int(static_cast(wxEQUIV))); } { - PyDict_SetItemString(d,"wxTRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT))); + PyDict_SetItemString(d,"SRC_INVERT", SWIG_From_int(static_cast(wxSRC_INVERT))); } { - PyDict_SetItemString(d,"wxSTIPPLE", SWIG_From_int((int)(wxSTIPPLE))); + PyDict_SetItemString(d,"OR_INVERT", SWIG_From_int(static_cast(wxOR_INVERT))); } { - PyDict_SetItemString(d,"wxBDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH))); + PyDict_SetItemString(d,"NAND", SWIG_From_int(static_cast(wxNAND))); } { - PyDict_SetItemString(d,"wxCROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH))); + PyDict_SetItemString(d,"OR", SWIG_From_int(static_cast(wxOR))); } { - PyDict_SetItemString(d,"wxFDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH))); + PyDict_SetItemString(d,"SET", SWIG_From_int(static_cast(wxSET))); } { - PyDict_SetItemString(d,"wxCROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH))); + PyDict_SetItemString(d,"WXK_BACK", SWIG_From_int(static_cast(WXK_BACK))); } { - PyDict_SetItemString(d,"wxHORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH))); + PyDict_SetItemString(d,"WXK_TAB", SWIG_From_int(static_cast(WXK_TAB))); } { - PyDict_SetItemString(d,"wxVERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH))); + PyDict_SetItemString(d,"WXK_RETURN", SWIG_From_int(static_cast(WXK_RETURN))); } { - PyDict_SetItemString(d,"wxJOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL))); + PyDict_SetItemString(d,"WXK_ESCAPE", SWIG_From_int(static_cast(WXK_ESCAPE))); } { - PyDict_SetItemString(d,"wxJOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER))); + PyDict_SetItemString(d,"WXK_SPACE", SWIG_From_int(static_cast(WXK_SPACE))); } { - PyDict_SetItemString(d,"wxJOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND))); + PyDict_SetItemString(d,"WXK_DELETE", SWIG_From_int(static_cast(WXK_DELETE))); } { - PyDict_SetItemString(d,"wxCAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND))); + PyDict_SetItemString(d,"WXK_START", SWIG_From_int(static_cast(WXK_START))); } { - PyDict_SetItemString(d,"wxCAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING))); + PyDict_SetItemString(d,"WXK_LBUTTON", SWIG_From_int(static_cast(WXK_LBUTTON))); } { - PyDict_SetItemString(d,"wxCAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT))); + PyDict_SetItemString(d,"WXK_RBUTTON", SWIG_From_int(static_cast(WXK_RBUTTON))); } { - PyDict_SetItemString(d,"wxCLEAR", SWIG_From_int((int)(wxCLEAR))); + PyDict_SetItemString(d,"WXK_CANCEL", SWIG_From_int(static_cast(WXK_CANCEL))); } { - PyDict_SetItemString(d,"wxXOR", SWIG_From_int((int)(wxXOR))); + PyDict_SetItemString(d,"WXK_MBUTTON", SWIG_From_int(static_cast(WXK_MBUTTON))); } { - PyDict_SetItemString(d,"wxINVERT", SWIG_From_int((int)(wxINVERT))); + PyDict_SetItemString(d,"WXK_CLEAR", SWIG_From_int(static_cast(WXK_CLEAR))); } { - PyDict_SetItemString(d,"wxOR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE))); + PyDict_SetItemString(d,"WXK_SHIFT", SWIG_From_int(static_cast(WXK_SHIFT))); } { - PyDict_SetItemString(d,"wxAND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE))); + PyDict_SetItemString(d,"WXK_ALT", SWIG_From_int(static_cast(WXK_ALT))); } { - PyDict_SetItemString(d,"wxCOPY", SWIG_From_int((int)(wxCOPY))); + PyDict_SetItemString(d,"WXK_CONTROL", SWIG_From_int(static_cast(WXK_CONTROL))); } { - PyDict_SetItemString(d,"wxAND", SWIG_From_int((int)(wxAND))); + PyDict_SetItemString(d,"WXK_MENU", SWIG_From_int(static_cast(WXK_MENU))); } { - PyDict_SetItemString(d,"wxAND_INVERT", SWIG_From_int((int)(wxAND_INVERT))); + PyDict_SetItemString(d,"WXK_PAUSE", SWIG_From_int(static_cast(WXK_PAUSE))); } { - PyDict_SetItemString(d,"wxNO_OP", SWIG_From_int((int)(wxNO_OP))); + PyDict_SetItemString(d,"WXK_CAPITAL", SWIG_From_int(static_cast(WXK_CAPITAL))); } { - PyDict_SetItemString(d,"wxNOR", SWIG_From_int((int)(wxNOR))); + PyDict_SetItemString(d,"WXK_PRIOR", SWIG_From_int(static_cast(WXK_PRIOR))); } { - PyDict_SetItemString(d,"wxEQUIV", SWIG_From_int((int)(wxEQUIV))); + PyDict_SetItemString(d,"WXK_NEXT", SWIG_From_int(static_cast(WXK_NEXT))); } { - PyDict_SetItemString(d,"wxSRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT))); + PyDict_SetItemString(d,"WXK_END", SWIG_From_int(static_cast(WXK_END))); } { - PyDict_SetItemString(d,"wxOR_INVERT", SWIG_From_int((int)(wxOR_INVERT))); + PyDict_SetItemString(d,"WXK_HOME", SWIG_From_int(static_cast(WXK_HOME))); } { - PyDict_SetItemString(d,"wxNAND", SWIG_From_int((int)(wxNAND))); + PyDict_SetItemString(d,"WXK_LEFT", SWIG_From_int(static_cast(WXK_LEFT))); } { - PyDict_SetItemString(d,"wxOR", SWIG_From_int((int)(wxOR))); + PyDict_SetItemString(d,"WXK_UP", SWIG_From_int(static_cast(WXK_UP))); } { - PyDict_SetItemString(d,"wxSET", SWIG_From_int((int)(wxSET))); + PyDict_SetItemString(d,"WXK_RIGHT", SWIG_From_int(static_cast(WXK_RIGHT))); } { - PyDict_SetItemString(d,"WXK_BACK", SWIG_From_int((int)(WXK_BACK))); + PyDict_SetItemString(d,"WXK_DOWN", SWIG_From_int(static_cast(WXK_DOWN))); } { - PyDict_SetItemString(d,"WXK_TAB", SWIG_From_int((int)(WXK_TAB))); + PyDict_SetItemString(d,"WXK_SELECT", SWIG_From_int(static_cast(WXK_SELECT))); } { - PyDict_SetItemString(d,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN))); + PyDict_SetItemString(d,"WXK_PRINT", SWIG_From_int(static_cast(WXK_PRINT))); } { - PyDict_SetItemString(d,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE))); + PyDict_SetItemString(d,"WXK_EXECUTE", SWIG_From_int(static_cast(WXK_EXECUTE))); } { - PyDict_SetItemString(d,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE))); + PyDict_SetItemString(d,"WXK_SNAPSHOT", SWIG_From_int(static_cast(WXK_SNAPSHOT))); } { - PyDict_SetItemString(d,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE))); + PyDict_SetItemString(d,"WXK_INSERT", SWIG_From_int(static_cast(WXK_INSERT))); } { - PyDict_SetItemString(d,"WXK_START", SWIG_From_int((int)(WXK_START))); + PyDict_SetItemString(d,"WXK_HELP", SWIG_From_int(static_cast(WXK_HELP))); } { - PyDict_SetItemString(d,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON))); + PyDict_SetItemString(d,"WXK_NUMPAD0", SWIG_From_int(static_cast(WXK_NUMPAD0))); } { - PyDict_SetItemString(d,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON))); + PyDict_SetItemString(d,"WXK_NUMPAD1", SWIG_From_int(static_cast(WXK_NUMPAD1))); } { - PyDict_SetItemString(d,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL))); + PyDict_SetItemString(d,"WXK_NUMPAD2", SWIG_From_int(static_cast(WXK_NUMPAD2))); } { - PyDict_SetItemString(d,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON))); + PyDict_SetItemString(d,"WXK_NUMPAD3", SWIG_From_int(static_cast(WXK_NUMPAD3))); } { - PyDict_SetItemString(d,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR))); + PyDict_SetItemString(d,"WXK_NUMPAD4", SWIG_From_int(static_cast(WXK_NUMPAD4))); } { - PyDict_SetItemString(d,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT))); + PyDict_SetItemString(d,"WXK_NUMPAD5", SWIG_From_int(static_cast(WXK_NUMPAD5))); } { - PyDict_SetItemString(d,"WXK_ALT", SWIG_From_int((int)(WXK_ALT))); + PyDict_SetItemString(d,"WXK_NUMPAD6", SWIG_From_int(static_cast(WXK_NUMPAD6))); } { - PyDict_SetItemString(d,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL))); + PyDict_SetItemString(d,"WXK_NUMPAD7", SWIG_From_int(static_cast(WXK_NUMPAD7))); } { - PyDict_SetItemString(d,"WXK_MENU", SWIG_From_int((int)(WXK_MENU))); + PyDict_SetItemString(d,"WXK_NUMPAD8", SWIG_From_int(static_cast(WXK_NUMPAD8))); } { - PyDict_SetItemString(d,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE))); + PyDict_SetItemString(d,"WXK_NUMPAD9", SWIG_From_int(static_cast(WXK_NUMPAD9))); } { - PyDict_SetItemString(d,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL))); + PyDict_SetItemString(d,"WXK_MULTIPLY", SWIG_From_int(static_cast(WXK_MULTIPLY))); } { - PyDict_SetItemString(d,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR))); + PyDict_SetItemString(d,"WXK_ADD", SWIG_From_int(static_cast(WXK_ADD))); } { - PyDict_SetItemString(d,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT))); + PyDict_SetItemString(d,"WXK_SEPARATOR", SWIG_From_int(static_cast(WXK_SEPARATOR))); } { - PyDict_SetItemString(d,"WXK_END", SWIG_From_int((int)(WXK_END))); + PyDict_SetItemString(d,"WXK_SUBTRACT", SWIG_From_int(static_cast(WXK_SUBTRACT))); } { - PyDict_SetItemString(d,"WXK_HOME", SWIG_From_int((int)(WXK_HOME))); + PyDict_SetItemString(d,"WXK_DECIMAL", SWIG_From_int(static_cast(WXK_DECIMAL))); } { - PyDict_SetItemString(d,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT))); + PyDict_SetItemString(d,"WXK_DIVIDE", SWIG_From_int(static_cast(WXK_DIVIDE))); } { - PyDict_SetItemString(d,"WXK_UP", SWIG_From_int((int)(WXK_UP))); + PyDict_SetItemString(d,"WXK_F1", SWIG_From_int(static_cast(WXK_F1))); } { - PyDict_SetItemString(d,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT))); + PyDict_SetItemString(d,"WXK_F2", SWIG_From_int(static_cast(WXK_F2))); } { - PyDict_SetItemString(d,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN))); + PyDict_SetItemString(d,"WXK_F3", SWIG_From_int(static_cast(WXK_F3))); } { - PyDict_SetItemString(d,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT))); + PyDict_SetItemString(d,"WXK_F4", SWIG_From_int(static_cast(WXK_F4))); } { - PyDict_SetItemString(d,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT))); + PyDict_SetItemString(d,"WXK_F5", SWIG_From_int(static_cast(WXK_F5))); } { - PyDict_SetItemString(d,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE))); + PyDict_SetItemString(d,"WXK_F6", SWIG_From_int(static_cast(WXK_F6))); } { - PyDict_SetItemString(d,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT))); + PyDict_SetItemString(d,"WXK_F7", SWIG_From_int(static_cast(WXK_F7))); } { - PyDict_SetItemString(d,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT))); + PyDict_SetItemString(d,"WXK_F8", SWIG_From_int(static_cast(WXK_F8))); } { - PyDict_SetItemString(d,"WXK_HELP", SWIG_From_int((int)(WXK_HELP))); + PyDict_SetItemString(d,"WXK_F9", SWIG_From_int(static_cast(WXK_F9))); } { - PyDict_SetItemString(d,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0))); + PyDict_SetItemString(d,"WXK_F10", SWIG_From_int(static_cast(WXK_F10))); } { - PyDict_SetItemString(d,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1))); + PyDict_SetItemString(d,"WXK_F11", SWIG_From_int(static_cast(WXK_F11))); } { - PyDict_SetItemString(d,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2))); + PyDict_SetItemString(d,"WXK_F12", SWIG_From_int(static_cast(WXK_F12))); } { - PyDict_SetItemString(d,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3))); + PyDict_SetItemString(d,"WXK_F13", SWIG_From_int(static_cast(WXK_F13))); } { - PyDict_SetItemString(d,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4))); + PyDict_SetItemString(d,"WXK_F14", SWIG_From_int(static_cast(WXK_F14))); } { - PyDict_SetItemString(d,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5))); + PyDict_SetItemString(d,"WXK_F15", SWIG_From_int(static_cast(WXK_F15))); } { - PyDict_SetItemString(d,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6))); + PyDict_SetItemString(d,"WXK_F16", SWIG_From_int(static_cast(WXK_F16))); } { - PyDict_SetItemString(d,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7))); + PyDict_SetItemString(d,"WXK_F17", SWIG_From_int(static_cast(WXK_F17))); } { - PyDict_SetItemString(d,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8))); + PyDict_SetItemString(d,"WXK_F18", SWIG_From_int(static_cast(WXK_F18))); } { - PyDict_SetItemString(d,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9))); + PyDict_SetItemString(d,"WXK_F19", SWIG_From_int(static_cast(WXK_F19))); } { - PyDict_SetItemString(d,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY))); + PyDict_SetItemString(d,"WXK_F20", SWIG_From_int(static_cast(WXK_F20))); } { - PyDict_SetItemString(d,"WXK_ADD", SWIG_From_int((int)(WXK_ADD))); + PyDict_SetItemString(d,"WXK_F21", SWIG_From_int(static_cast(WXK_F21))); } { - PyDict_SetItemString(d,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR))); + PyDict_SetItemString(d,"WXK_F22", SWIG_From_int(static_cast(WXK_F22))); } { - PyDict_SetItemString(d,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT))); + PyDict_SetItemString(d,"WXK_F23", SWIG_From_int(static_cast(WXK_F23))); } { - PyDict_SetItemString(d,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL))); + PyDict_SetItemString(d,"WXK_F24", SWIG_From_int(static_cast(WXK_F24))); } { - PyDict_SetItemString(d,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE))); + PyDict_SetItemString(d,"WXK_NUMLOCK", SWIG_From_int(static_cast(WXK_NUMLOCK))); } { - PyDict_SetItemString(d,"WXK_F1", SWIG_From_int((int)(WXK_F1))); + PyDict_SetItemString(d,"WXK_SCROLL", SWIG_From_int(static_cast(WXK_SCROLL))); } { - PyDict_SetItemString(d,"WXK_F2", SWIG_From_int((int)(WXK_F2))); + PyDict_SetItemString(d,"WXK_PAGEUP", SWIG_From_int(static_cast(WXK_PAGEUP))); } { - PyDict_SetItemString(d,"WXK_F3", SWIG_From_int((int)(WXK_F3))); + PyDict_SetItemString(d,"WXK_PAGEDOWN", SWIG_From_int(static_cast(WXK_PAGEDOWN))); } { - PyDict_SetItemString(d,"WXK_F4", SWIG_From_int((int)(WXK_F4))); + PyDict_SetItemString(d,"WXK_NUMPAD_SPACE", SWIG_From_int(static_cast(WXK_NUMPAD_SPACE))); } { - PyDict_SetItemString(d,"WXK_F5", SWIG_From_int((int)(WXK_F5))); + PyDict_SetItemString(d,"WXK_NUMPAD_TAB", SWIG_From_int(static_cast(WXK_NUMPAD_TAB))); } { - PyDict_SetItemString(d,"WXK_F6", SWIG_From_int((int)(WXK_F6))); + PyDict_SetItemString(d,"WXK_NUMPAD_ENTER", SWIG_From_int(static_cast(WXK_NUMPAD_ENTER))); } { - PyDict_SetItemString(d,"WXK_F7", SWIG_From_int((int)(WXK_F7))); + PyDict_SetItemString(d,"WXK_NUMPAD_F1", SWIG_From_int(static_cast(WXK_NUMPAD_F1))); } { - PyDict_SetItemString(d,"WXK_F8", SWIG_From_int((int)(WXK_F8))); + PyDict_SetItemString(d,"WXK_NUMPAD_F2", SWIG_From_int(static_cast(WXK_NUMPAD_F2))); } { - PyDict_SetItemString(d,"WXK_F9", SWIG_From_int((int)(WXK_F9))); + PyDict_SetItemString(d,"WXK_NUMPAD_F3", SWIG_From_int(static_cast(WXK_NUMPAD_F3))); } { - PyDict_SetItemString(d,"WXK_F10", SWIG_From_int((int)(WXK_F10))); + PyDict_SetItemString(d,"WXK_NUMPAD_F4", SWIG_From_int(static_cast(WXK_NUMPAD_F4))); } { - PyDict_SetItemString(d,"WXK_F11", SWIG_From_int((int)(WXK_F11))); + PyDict_SetItemString(d,"WXK_NUMPAD_HOME", SWIG_From_int(static_cast(WXK_NUMPAD_HOME))); } { - PyDict_SetItemString(d,"WXK_F12", SWIG_From_int((int)(WXK_F12))); + PyDict_SetItemString(d,"WXK_NUMPAD_LEFT", SWIG_From_int(static_cast(WXK_NUMPAD_LEFT))); } { - PyDict_SetItemString(d,"WXK_F13", SWIG_From_int((int)(WXK_F13))); + PyDict_SetItemString(d,"WXK_NUMPAD_UP", SWIG_From_int(static_cast(WXK_NUMPAD_UP))); } { - PyDict_SetItemString(d,"WXK_F14", SWIG_From_int((int)(WXK_F14))); + PyDict_SetItemString(d,"WXK_NUMPAD_RIGHT", SWIG_From_int(static_cast(WXK_NUMPAD_RIGHT))); } { - PyDict_SetItemString(d,"WXK_F15", SWIG_From_int((int)(WXK_F15))); + PyDict_SetItemString(d,"WXK_NUMPAD_DOWN", SWIG_From_int(static_cast(WXK_NUMPAD_DOWN))); } { - PyDict_SetItemString(d,"WXK_F16", SWIG_From_int((int)(WXK_F16))); + PyDict_SetItemString(d,"WXK_NUMPAD_PRIOR", SWIG_From_int(static_cast(WXK_NUMPAD_PRIOR))); } { - PyDict_SetItemString(d,"WXK_F17", SWIG_From_int((int)(WXK_F17))); + PyDict_SetItemString(d,"WXK_NUMPAD_PAGEUP", SWIG_From_int(static_cast(WXK_NUMPAD_PAGEUP))); } { - PyDict_SetItemString(d,"WXK_F18", SWIG_From_int((int)(WXK_F18))); + PyDict_SetItemString(d,"WXK_NUMPAD_NEXT", SWIG_From_int(static_cast(WXK_NUMPAD_NEXT))); } { - PyDict_SetItemString(d,"WXK_F19", SWIG_From_int((int)(WXK_F19))); + PyDict_SetItemString(d,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int(static_cast(WXK_NUMPAD_PAGEDOWN))); } { - PyDict_SetItemString(d,"WXK_F20", SWIG_From_int((int)(WXK_F20))); + PyDict_SetItemString(d,"WXK_NUMPAD_END", SWIG_From_int(static_cast(WXK_NUMPAD_END))); } { - PyDict_SetItemString(d,"WXK_F21", SWIG_From_int((int)(WXK_F21))); + PyDict_SetItemString(d,"WXK_NUMPAD_BEGIN", SWIG_From_int(static_cast(WXK_NUMPAD_BEGIN))); } { - PyDict_SetItemString(d,"WXK_F22", SWIG_From_int((int)(WXK_F22))); + PyDict_SetItemString(d,"WXK_NUMPAD_INSERT", SWIG_From_int(static_cast(WXK_NUMPAD_INSERT))); } { - PyDict_SetItemString(d,"WXK_F23", SWIG_From_int((int)(WXK_F23))); + PyDict_SetItemString(d,"WXK_NUMPAD_DELETE", SWIG_From_int(static_cast(WXK_NUMPAD_DELETE))); } { - PyDict_SetItemString(d,"WXK_F24", SWIG_From_int((int)(WXK_F24))); + PyDict_SetItemString(d,"WXK_NUMPAD_EQUAL", SWIG_From_int(static_cast(WXK_NUMPAD_EQUAL))); } { - PyDict_SetItemString(d,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK))); + PyDict_SetItemString(d,"WXK_NUMPAD_MULTIPLY", SWIG_From_int(static_cast(WXK_NUMPAD_MULTIPLY))); } { - PyDict_SetItemString(d,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL))); + PyDict_SetItemString(d,"WXK_NUMPAD_ADD", SWIG_From_int(static_cast(WXK_NUMPAD_ADD))); } { - PyDict_SetItemString(d,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP))); + PyDict_SetItemString(d,"WXK_NUMPAD_SEPARATOR", SWIG_From_int(static_cast(WXK_NUMPAD_SEPARATOR))); } { - PyDict_SetItemString(d,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN))); + PyDict_SetItemString(d,"WXK_NUMPAD_SUBTRACT", SWIG_From_int(static_cast(WXK_NUMPAD_SUBTRACT))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE))); + PyDict_SetItemString(d,"WXK_NUMPAD_DECIMAL", SWIG_From_int(static_cast(WXK_NUMPAD_DECIMAL))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB))); + PyDict_SetItemString(d,"WXK_NUMPAD_DIVIDE", SWIG_From_int(static_cast(WXK_NUMPAD_DIVIDE))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER))); + PyDict_SetItemString(d,"WXK_WINDOWS_LEFT", SWIG_From_int(static_cast(WXK_WINDOWS_LEFT))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1))); + PyDict_SetItemString(d,"WXK_WINDOWS_RIGHT", SWIG_From_int(static_cast(WXK_WINDOWS_RIGHT))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2))); + PyDict_SetItemString(d,"WXK_WINDOWS_MENU", SWIG_From_int(static_cast(WXK_WINDOWS_MENU))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3))); + PyDict_SetItemString(d,"WXK_COMMAND", SWIG_From_int(static_cast(WXK_COMMAND))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4))); + PyDict_SetItemString(d,"WXK_SPECIAL1", SWIG_From_int(static_cast(WXK_SPECIAL1))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME))); + PyDict_SetItemString(d,"WXK_SPECIAL2", SWIG_From_int(static_cast(WXK_SPECIAL2))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT))); + PyDict_SetItemString(d,"WXK_SPECIAL3", SWIG_From_int(static_cast(WXK_SPECIAL3))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP))); + PyDict_SetItemString(d,"WXK_SPECIAL4", SWIG_From_int(static_cast(WXK_SPECIAL4))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT))); + PyDict_SetItemString(d,"WXK_SPECIAL5", SWIG_From_int(static_cast(WXK_SPECIAL5))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN))); + PyDict_SetItemString(d,"WXK_SPECIAL6", SWIG_From_int(static_cast(WXK_SPECIAL6))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR))); + PyDict_SetItemString(d,"WXK_SPECIAL7", SWIG_From_int(static_cast(WXK_SPECIAL7))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP))); + PyDict_SetItemString(d,"WXK_SPECIAL8", SWIG_From_int(static_cast(WXK_SPECIAL8))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT))); + PyDict_SetItemString(d,"WXK_SPECIAL9", SWIG_From_int(static_cast(WXK_SPECIAL9))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN))); + PyDict_SetItemString(d,"WXK_SPECIAL10", SWIG_From_int(static_cast(WXK_SPECIAL10))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END))); + PyDict_SetItemString(d,"WXK_SPECIAL11", SWIG_From_int(static_cast(WXK_SPECIAL11))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN))); + PyDict_SetItemString(d,"WXK_SPECIAL12", SWIG_From_int(static_cast(WXK_SPECIAL12))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT))); + PyDict_SetItemString(d,"WXK_SPECIAL13", SWIG_From_int(static_cast(WXK_SPECIAL13))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE))); + PyDict_SetItemString(d,"WXK_SPECIAL14", SWIG_From_int(static_cast(WXK_SPECIAL14))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL))); + PyDict_SetItemString(d,"WXK_SPECIAL15", SWIG_From_int(static_cast(WXK_SPECIAL15))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY))); + PyDict_SetItemString(d,"WXK_SPECIAL16", SWIG_From_int(static_cast(WXK_SPECIAL16))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD))); + PyDict_SetItemString(d,"WXK_SPECIAL17", SWIG_From_int(static_cast(WXK_SPECIAL17))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR))); + PyDict_SetItemString(d,"WXK_SPECIAL18", SWIG_From_int(static_cast(WXK_SPECIAL18))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT))); + PyDict_SetItemString(d,"WXK_SPECIAL19", SWIG_From_int(static_cast(WXK_SPECIAL19))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL))); + PyDict_SetItemString(d,"WXK_SPECIAL20", SWIG_From_int(static_cast(WXK_SPECIAL20))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE))); + PyDict_SetItemString(d,"PAPER_NONE", SWIG_From_int(static_cast(wxPAPER_NONE))); } { - PyDict_SetItemString(d,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT))); + PyDict_SetItemString(d,"PAPER_LETTER", SWIG_From_int(static_cast(wxPAPER_LETTER))); } { - PyDict_SetItemString(d,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT))); + PyDict_SetItemString(d,"PAPER_LEGAL", SWIG_From_int(static_cast(wxPAPER_LEGAL))); } { - PyDict_SetItemString(d,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU))); + PyDict_SetItemString(d,"PAPER_A4", SWIG_From_int(static_cast(wxPAPER_A4))); } { - PyDict_SetItemString(d,"WXK_COMMAND", SWIG_From_int((int)(WXK_COMMAND))); + PyDict_SetItemString(d,"PAPER_CSHEET", SWIG_From_int(static_cast(wxPAPER_CSHEET))); } { - PyDict_SetItemString(d,"WXK_SPECIAL1", SWIG_From_int((int)(WXK_SPECIAL1))); + PyDict_SetItemString(d,"PAPER_DSHEET", SWIG_From_int(static_cast(wxPAPER_DSHEET))); } { - PyDict_SetItemString(d,"WXK_SPECIAL2", SWIG_From_int((int)(WXK_SPECIAL2))); + PyDict_SetItemString(d,"PAPER_ESHEET", SWIG_From_int(static_cast(wxPAPER_ESHEET))); } { - PyDict_SetItemString(d,"WXK_SPECIAL3", SWIG_From_int((int)(WXK_SPECIAL3))); + PyDict_SetItemString(d,"PAPER_LETTERSMALL", SWIG_From_int(static_cast(wxPAPER_LETTERSMALL))); } { - PyDict_SetItemString(d,"WXK_SPECIAL4", SWIG_From_int((int)(WXK_SPECIAL4))); + PyDict_SetItemString(d,"PAPER_TABLOID", SWIG_From_int(static_cast(wxPAPER_TABLOID))); } { - PyDict_SetItemString(d,"WXK_SPECIAL5", SWIG_From_int((int)(WXK_SPECIAL5))); + PyDict_SetItemString(d,"PAPER_LEDGER", SWIG_From_int(static_cast(wxPAPER_LEDGER))); } { - PyDict_SetItemString(d,"WXK_SPECIAL6", SWIG_From_int((int)(WXK_SPECIAL6))); + PyDict_SetItemString(d,"PAPER_STATEMENT", SWIG_From_int(static_cast(wxPAPER_STATEMENT))); } { - PyDict_SetItemString(d,"WXK_SPECIAL7", SWIG_From_int((int)(WXK_SPECIAL7))); + PyDict_SetItemString(d,"PAPER_EXECUTIVE", SWIG_From_int(static_cast(wxPAPER_EXECUTIVE))); } { - PyDict_SetItemString(d,"WXK_SPECIAL8", SWIG_From_int((int)(WXK_SPECIAL8))); + PyDict_SetItemString(d,"PAPER_A3", SWIG_From_int(static_cast(wxPAPER_A3))); } { - PyDict_SetItemString(d,"WXK_SPECIAL9", SWIG_From_int((int)(WXK_SPECIAL9))); + PyDict_SetItemString(d,"PAPER_A4SMALL", SWIG_From_int(static_cast(wxPAPER_A4SMALL))); } { - PyDict_SetItemString(d,"WXK_SPECIAL10", SWIG_From_int((int)(WXK_SPECIAL10))); + PyDict_SetItemString(d,"PAPER_A5", SWIG_From_int(static_cast(wxPAPER_A5))); } { - PyDict_SetItemString(d,"WXK_SPECIAL11", SWIG_From_int((int)(WXK_SPECIAL11))); + PyDict_SetItemString(d,"PAPER_B4", SWIG_From_int(static_cast(wxPAPER_B4))); } { - PyDict_SetItemString(d,"WXK_SPECIAL12", SWIG_From_int((int)(WXK_SPECIAL12))); + PyDict_SetItemString(d,"PAPER_B5", SWIG_From_int(static_cast(wxPAPER_B5))); } { - PyDict_SetItemString(d,"WXK_SPECIAL13", SWIG_From_int((int)(WXK_SPECIAL13))); + PyDict_SetItemString(d,"PAPER_FOLIO", SWIG_From_int(static_cast(wxPAPER_FOLIO))); } { - PyDict_SetItemString(d,"WXK_SPECIAL14", SWIG_From_int((int)(WXK_SPECIAL14))); + PyDict_SetItemString(d,"PAPER_QUARTO", SWIG_From_int(static_cast(wxPAPER_QUARTO))); } { - PyDict_SetItemString(d,"WXK_SPECIAL15", SWIG_From_int((int)(WXK_SPECIAL15))); + PyDict_SetItemString(d,"PAPER_10X14", SWIG_From_int(static_cast(wxPAPER_10X14))); } { - PyDict_SetItemString(d,"WXK_SPECIAL16", SWIG_From_int((int)(WXK_SPECIAL16))); + PyDict_SetItemString(d,"PAPER_11X17", SWIG_From_int(static_cast(wxPAPER_11X17))); } { - PyDict_SetItemString(d,"WXK_SPECIAL17", SWIG_From_int((int)(WXK_SPECIAL17))); + PyDict_SetItemString(d,"PAPER_NOTE", SWIG_From_int(static_cast(wxPAPER_NOTE))); } { - PyDict_SetItemString(d,"WXK_SPECIAL18", SWIG_From_int((int)(WXK_SPECIAL18))); + PyDict_SetItemString(d,"PAPER_ENV_9", SWIG_From_int(static_cast(wxPAPER_ENV_9))); } { - PyDict_SetItemString(d,"WXK_SPECIAL19", SWIG_From_int((int)(WXK_SPECIAL19))); + PyDict_SetItemString(d,"PAPER_ENV_10", SWIG_From_int(static_cast(wxPAPER_ENV_10))); } { - PyDict_SetItemString(d,"WXK_SPECIAL20", SWIG_From_int((int)(WXK_SPECIAL20))); + PyDict_SetItemString(d,"PAPER_ENV_11", SWIG_From_int(static_cast(wxPAPER_ENV_11))); } { - PyDict_SetItemString(d,"wxPAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE))); + PyDict_SetItemString(d,"PAPER_ENV_12", SWIG_From_int(static_cast(wxPAPER_ENV_12))); } { - PyDict_SetItemString(d,"wxPAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER))); + PyDict_SetItemString(d,"PAPER_ENV_14", SWIG_From_int(static_cast(wxPAPER_ENV_14))); } { - PyDict_SetItemString(d,"wxPAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL))); + PyDict_SetItemString(d,"PAPER_ENV_DL", SWIG_From_int(static_cast(wxPAPER_ENV_DL))); } { - PyDict_SetItemString(d,"wxPAPER_A4", SWIG_From_int((int)(wxPAPER_A4))); + PyDict_SetItemString(d,"PAPER_ENV_C5", SWIG_From_int(static_cast(wxPAPER_ENV_C5))); } { - PyDict_SetItemString(d,"wxPAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET))); + PyDict_SetItemString(d,"PAPER_ENV_C3", SWIG_From_int(static_cast(wxPAPER_ENV_C3))); } { - PyDict_SetItemString(d,"wxPAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET))); + PyDict_SetItemString(d,"PAPER_ENV_C4", SWIG_From_int(static_cast(wxPAPER_ENV_C4))); } { - PyDict_SetItemString(d,"wxPAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET))); + PyDict_SetItemString(d,"PAPER_ENV_C6", SWIG_From_int(static_cast(wxPAPER_ENV_C6))); } { - PyDict_SetItemString(d,"wxPAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL))); + PyDict_SetItemString(d,"PAPER_ENV_C65", SWIG_From_int(static_cast(wxPAPER_ENV_C65))); } { - PyDict_SetItemString(d,"wxPAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID))); + PyDict_SetItemString(d,"PAPER_ENV_B4", SWIG_From_int(static_cast(wxPAPER_ENV_B4))); } { - PyDict_SetItemString(d,"wxPAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER))); + PyDict_SetItemString(d,"PAPER_ENV_B5", SWIG_From_int(static_cast(wxPAPER_ENV_B5))); } { - PyDict_SetItemString(d,"wxPAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT))); + PyDict_SetItemString(d,"PAPER_ENV_B6", SWIG_From_int(static_cast(wxPAPER_ENV_B6))); } { - PyDict_SetItemString(d,"wxPAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE))); + PyDict_SetItemString(d,"PAPER_ENV_ITALY", SWIG_From_int(static_cast(wxPAPER_ENV_ITALY))); } { - PyDict_SetItemString(d,"wxPAPER_A3", SWIG_From_int((int)(wxPAPER_A3))); + PyDict_SetItemString(d,"PAPER_ENV_MONARCH", SWIG_From_int(static_cast(wxPAPER_ENV_MONARCH))); } { - PyDict_SetItemString(d,"wxPAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL))); + PyDict_SetItemString(d,"PAPER_ENV_PERSONAL", SWIG_From_int(static_cast(wxPAPER_ENV_PERSONAL))); } { - PyDict_SetItemString(d,"wxPAPER_A5", SWIG_From_int((int)(wxPAPER_A5))); + PyDict_SetItemString(d,"PAPER_FANFOLD_US", SWIG_From_int(static_cast(wxPAPER_FANFOLD_US))); } { - PyDict_SetItemString(d,"wxPAPER_B4", SWIG_From_int((int)(wxPAPER_B4))); + PyDict_SetItemString(d,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int(static_cast(wxPAPER_FANFOLD_STD_GERMAN))); } { - PyDict_SetItemString(d,"wxPAPER_B5", SWIG_From_int((int)(wxPAPER_B5))); + PyDict_SetItemString(d,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int(static_cast(wxPAPER_FANFOLD_LGL_GERMAN))); } { - PyDict_SetItemString(d,"wxPAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO))); + PyDict_SetItemString(d,"PAPER_ISO_B4", SWIG_From_int(static_cast(wxPAPER_ISO_B4))); } { - PyDict_SetItemString(d,"wxPAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO))); + PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD", SWIG_From_int(static_cast(wxPAPER_JAPANESE_POSTCARD))); } { - PyDict_SetItemString(d,"wxPAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14))); + PyDict_SetItemString(d,"PAPER_9X11", SWIG_From_int(static_cast(wxPAPER_9X11))); } { - PyDict_SetItemString(d,"wxPAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17))); + PyDict_SetItemString(d,"PAPER_10X11", SWIG_From_int(static_cast(wxPAPER_10X11))); } { - PyDict_SetItemString(d,"wxPAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE))); + PyDict_SetItemString(d,"PAPER_15X11", SWIG_From_int(static_cast(wxPAPER_15X11))); } { - PyDict_SetItemString(d,"wxPAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9))); + PyDict_SetItemString(d,"PAPER_ENV_INVITE", SWIG_From_int(static_cast(wxPAPER_ENV_INVITE))); } { - PyDict_SetItemString(d,"wxPAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10))); + PyDict_SetItemString(d,"PAPER_LETTER_EXTRA", SWIG_From_int(static_cast(wxPAPER_LETTER_EXTRA))); } { - PyDict_SetItemString(d,"wxPAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11))); + PyDict_SetItemString(d,"PAPER_LEGAL_EXTRA", SWIG_From_int(static_cast(wxPAPER_LEGAL_EXTRA))); } { - PyDict_SetItemString(d,"wxPAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12))); + PyDict_SetItemString(d,"PAPER_TABLOID_EXTRA", SWIG_From_int(static_cast(wxPAPER_TABLOID_EXTRA))); } { - PyDict_SetItemString(d,"wxPAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14))); + PyDict_SetItemString(d,"PAPER_A4_EXTRA", SWIG_From_int(static_cast(wxPAPER_A4_EXTRA))); } { - PyDict_SetItemString(d,"wxPAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL))); + PyDict_SetItemString(d,"PAPER_LETTER_TRANSVERSE", SWIG_From_int(static_cast(wxPAPER_LETTER_TRANSVERSE))); } { - PyDict_SetItemString(d,"wxPAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5))); + PyDict_SetItemString(d,"PAPER_A4_TRANSVERSE", SWIG_From_int(static_cast(wxPAPER_A4_TRANSVERSE))); } { - PyDict_SetItemString(d,"wxPAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3))); + PyDict_SetItemString(d,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int(static_cast(wxPAPER_LETTER_EXTRA_TRANSVERSE))); } { - PyDict_SetItemString(d,"wxPAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4))); + PyDict_SetItemString(d,"PAPER_A_PLUS", SWIG_From_int(static_cast(wxPAPER_A_PLUS))); } { - PyDict_SetItemString(d,"wxPAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6))); + PyDict_SetItemString(d,"PAPER_B_PLUS", SWIG_From_int(static_cast(wxPAPER_B_PLUS))); } { - PyDict_SetItemString(d,"wxPAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65))); + PyDict_SetItemString(d,"PAPER_LETTER_PLUS", SWIG_From_int(static_cast(wxPAPER_LETTER_PLUS))); } { - PyDict_SetItemString(d,"wxPAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4))); + PyDict_SetItemString(d,"PAPER_A4_PLUS", SWIG_From_int(static_cast(wxPAPER_A4_PLUS))); } { - PyDict_SetItemString(d,"wxPAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5))); + PyDict_SetItemString(d,"PAPER_A5_TRANSVERSE", SWIG_From_int(static_cast(wxPAPER_A5_TRANSVERSE))); } { - PyDict_SetItemString(d,"wxPAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6))); + PyDict_SetItemString(d,"PAPER_B5_TRANSVERSE", SWIG_From_int(static_cast(wxPAPER_B5_TRANSVERSE))); } { - PyDict_SetItemString(d,"wxPAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY))); + PyDict_SetItemString(d,"PAPER_A3_EXTRA", SWIG_From_int(static_cast(wxPAPER_A3_EXTRA))); } { - PyDict_SetItemString(d,"wxPAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH))); + PyDict_SetItemString(d,"PAPER_A5_EXTRA", SWIG_From_int(static_cast(wxPAPER_A5_EXTRA))); } { - PyDict_SetItemString(d,"wxPAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL))); + PyDict_SetItemString(d,"PAPER_B5_EXTRA", SWIG_From_int(static_cast(wxPAPER_B5_EXTRA))); } { - PyDict_SetItemString(d,"wxPAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US))); + PyDict_SetItemString(d,"PAPER_A2", SWIG_From_int(static_cast(wxPAPER_A2))); } { - PyDict_SetItemString(d,"wxPAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN))); + PyDict_SetItemString(d,"PAPER_A3_TRANSVERSE", SWIG_From_int(static_cast(wxPAPER_A3_TRANSVERSE))); } { - PyDict_SetItemString(d,"wxPAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN))); + PyDict_SetItemString(d,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int(static_cast(wxPAPER_A3_EXTRA_TRANSVERSE))); } { - PyDict_SetItemString(d,"wxPAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4))); + PyDict_SetItemString(d,"PAPER_DBL_JAPANESE_POSTCARD", SWIG_From_int(static_cast(wxPAPER_DBL_JAPANESE_POSTCARD))); } { - PyDict_SetItemString(d,"wxPAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD))); + PyDict_SetItemString(d,"PAPER_A6", SWIG_From_int(static_cast(wxPAPER_A6))); } { - PyDict_SetItemString(d,"wxPAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11))); + PyDict_SetItemString(d,"PAPER_JENV_KAKU2", SWIG_From_int(static_cast(wxPAPER_JENV_KAKU2))); } { - PyDict_SetItemString(d,"wxPAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11))); + PyDict_SetItemString(d,"PAPER_JENV_KAKU3", SWIG_From_int(static_cast(wxPAPER_JENV_KAKU3))); } { - PyDict_SetItemString(d,"wxPAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11))); + PyDict_SetItemString(d,"PAPER_JENV_CHOU3", SWIG_From_int(static_cast(wxPAPER_JENV_CHOU3))); } { - PyDict_SetItemString(d,"wxPAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE))); + PyDict_SetItemString(d,"PAPER_JENV_CHOU4", SWIG_From_int(static_cast(wxPAPER_JENV_CHOU4))); } { - PyDict_SetItemString(d,"wxPAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA))); + PyDict_SetItemString(d,"PAPER_LETTER_ROTATED", SWIG_From_int(static_cast(wxPAPER_LETTER_ROTATED))); } { - PyDict_SetItemString(d,"wxPAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA))); + PyDict_SetItemString(d,"PAPER_A3_ROTATED", SWIG_From_int(static_cast(wxPAPER_A3_ROTATED))); } { - PyDict_SetItemString(d,"wxPAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA))); + PyDict_SetItemString(d,"PAPER_A4_ROTATED", SWIG_From_int(static_cast(wxPAPER_A4_ROTATED))); } { - PyDict_SetItemString(d,"wxPAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA))); + PyDict_SetItemString(d,"PAPER_A5_ROTATED", SWIG_From_int(static_cast(wxPAPER_A5_ROTATED))); } { - PyDict_SetItemString(d,"wxPAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE))); + PyDict_SetItemString(d,"PAPER_B4_JIS_ROTATED", SWIG_From_int(static_cast(wxPAPER_B4_JIS_ROTATED))); } { - PyDict_SetItemString(d,"wxPAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE))); + PyDict_SetItemString(d,"PAPER_B5_JIS_ROTATED", SWIG_From_int(static_cast(wxPAPER_B5_JIS_ROTATED))); } { - PyDict_SetItemString(d,"wxPAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE))); + PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD_ROTATED", SWIG_From_int(static_cast(wxPAPER_JAPANESE_POSTCARD_ROTATED))); } { - PyDict_SetItemString(d,"wxPAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS))); + PyDict_SetItemString(d,"PAPER_DBL_JAPANESE_POSTCARD_ROTATED", SWIG_From_int(static_cast(wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED))); } { - PyDict_SetItemString(d,"wxPAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS))); + PyDict_SetItemString(d,"PAPER_A6_ROTATED", SWIG_From_int(static_cast(wxPAPER_A6_ROTATED))); } { - PyDict_SetItemString(d,"wxPAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS))); + PyDict_SetItemString(d,"PAPER_JENV_KAKU2_ROTATED", SWIG_From_int(static_cast(wxPAPER_JENV_KAKU2_ROTATED))); } { - PyDict_SetItemString(d,"wxPAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS))); + PyDict_SetItemString(d,"PAPER_JENV_KAKU3_ROTATED", SWIG_From_int(static_cast(wxPAPER_JENV_KAKU3_ROTATED))); } { - PyDict_SetItemString(d,"wxPAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE))); + PyDict_SetItemString(d,"PAPER_JENV_CHOU3_ROTATED", SWIG_From_int(static_cast(wxPAPER_JENV_CHOU3_ROTATED))); } { - PyDict_SetItemString(d,"wxPAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE))); + PyDict_SetItemString(d,"PAPER_JENV_CHOU4_ROTATED", SWIG_From_int(static_cast(wxPAPER_JENV_CHOU4_ROTATED))); } { - PyDict_SetItemString(d,"wxPAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA))); + PyDict_SetItemString(d,"PAPER_B6_JIS", SWIG_From_int(static_cast(wxPAPER_B6_JIS))); } { - PyDict_SetItemString(d,"wxPAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA))); + PyDict_SetItemString(d,"PAPER_B6_JIS_ROTATED", SWIG_From_int(static_cast(wxPAPER_B6_JIS_ROTATED))); } { - PyDict_SetItemString(d,"wxPAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA))); + PyDict_SetItemString(d,"PAPER_12X11", SWIG_From_int(static_cast(wxPAPER_12X11))); } { - PyDict_SetItemString(d,"wxPAPER_A2", SWIG_From_int((int)(wxPAPER_A2))); + PyDict_SetItemString(d,"PAPER_JENV_YOU4", SWIG_From_int(static_cast(wxPAPER_JENV_YOU4))); } { - PyDict_SetItemString(d,"wxPAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE))); + PyDict_SetItemString(d,"PAPER_JENV_YOU4_ROTATED", SWIG_From_int(static_cast(wxPAPER_JENV_YOU4_ROTATED))); } { - PyDict_SetItemString(d,"wxPAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE))); + PyDict_SetItemString(d,"PAPER_P16K", SWIG_From_int(static_cast(wxPAPER_P16K))); } { - PyDict_SetItemString(d,"wxDUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX))); + PyDict_SetItemString(d,"PAPER_P32K", SWIG_From_int(static_cast(wxPAPER_P32K))); } { - PyDict_SetItemString(d,"wxDUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL))); + PyDict_SetItemString(d,"PAPER_P32KBIG", SWIG_From_int(static_cast(wxPAPER_P32KBIG))); } { - PyDict_SetItemString(d,"wxDUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL))); + PyDict_SetItemString(d,"PAPER_PENV_1", SWIG_From_int(static_cast(wxPAPER_PENV_1))); } { - PyDict_SetItemString(d,"wxITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR))); + PyDict_SetItemString(d,"PAPER_PENV_2", SWIG_From_int(static_cast(wxPAPER_PENV_2))); } { - PyDict_SetItemString(d,"wxITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL))); + PyDict_SetItemString(d,"PAPER_PENV_3", SWIG_From_int(static_cast(wxPAPER_PENV_3))); } { - PyDict_SetItemString(d,"wxITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK))); + PyDict_SetItemString(d,"PAPER_PENV_4", SWIG_From_int(static_cast(wxPAPER_PENV_4))); } { - PyDict_SetItemString(d,"wxITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO))); + PyDict_SetItemString(d,"PAPER_PENV_5", SWIG_From_int(static_cast(wxPAPER_PENV_5))); } { - PyDict_SetItemString(d,"wxITEM_MAX", SWIG_From_int((int)(wxITEM_MAX))); + PyDict_SetItemString(d,"PAPER_PENV_6", SWIG_From_int(static_cast(wxPAPER_PENV_6))); } { - PyDict_SetItemString(d,"wxHT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE))); + PyDict_SetItemString(d,"PAPER_PENV_7", SWIG_From_int(static_cast(wxPAPER_PENV_7))); } { - PyDict_SetItemString(d,"wxHT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST))); + PyDict_SetItemString(d,"PAPER_PENV_8", SWIG_From_int(static_cast(wxPAPER_PENV_8))); } { - PyDict_SetItemString(d,"wxHT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1))); + PyDict_SetItemString(d,"PAPER_PENV_9", SWIG_From_int(static_cast(wxPAPER_PENV_9))); } { - PyDict_SetItemString(d,"wxHT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2))); + PyDict_SetItemString(d,"PAPER_PENV_10", SWIG_From_int(static_cast(wxPAPER_PENV_10))); } { - PyDict_SetItemString(d,"wxHT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1))); + PyDict_SetItemString(d,"PAPER_P16K_ROTATED", SWIG_From_int(static_cast(wxPAPER_P16K_ROTATED))); } { - PyDict_SetItemString(d,"wxHT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2))); + PyDict_SetItemString(d,"PAPER_P32K_ROTATED", SWIG_From_int(static_cast(wxPAPER_P32K_ROTATED))); } { - PyDict_SetItemString(d,"wxHT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB))); + PyDict_SetItemString(d,"PAPER_P32KBIG_ROTATED", SWIG_From_int(static_cast(wxPAPER_P32KBIG_ROTATED))); } { - PyDict_SetItemString(d,"wxHT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1))); + PyDict_SetItemString(d,"PAPER_PENV_1_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_1_ROTATED))); } { - PyDict_SetItemString(d,"wxHT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2))); + PyDict_SetItemString(d,"PAPER_PENV_2_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_2_ROTATED))); } { - PyDict_SetItemString(d,"wxHT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST))); + PyDict_SetItemString(d,"PAPER_PENV_3_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_3_ROTATED))); } { - PyDict_SetItemString(d,"wxHT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE))); + PyDict_SetItemString(d,"PAPER_PENV_4_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_4_ROTATED))); } { - PyDict_SetItemString(d,"wxHT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE))); + PyDict_SetItemString(d,"PAPER_PENV_5_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_5_ROTATED))); } { - PyDict_SetItemString(d,"wxHT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR))); + PyDict_SetItemString(d,"PAPER_PENV_6_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_6_ROTATED))); } { - PyDict_SetItemString(d,"wxHT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR))); + PyDict_SetItemString(d,"PAPER_PENV_7_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_7_ROTATED))); } { - PyDict_SetItemString(d,"wxHT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER))); + PyDict_SetItemString(d,"PAPER_PENV_8_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_8_ROTATED))); } { - PyDict_SetItemString(d,"wxHT_MAX", SWIG_From_int((int)(wxHT_MAX))); + PyDict_SetItemString(d,"PAPER_PENV_9_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_9_ROTATED))); } { - PyDict_SetItemString(d,"wxMOD_NONE", SWIG_From_int((int)(wxMOD_NONE))); + PyDict_SetItemString(d,"PAPER_PENV_10_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_10_ROTATED))); } { - PyDict_SetItemString(d,"wxMOD_ALT", SWIG_From_int((int)(wxMOD_ALT))); + PyDict_SetItemString(d,"DUPLEX_SIMPLEX", SWIG_From_int(static_cast(wxDUPLEX_SIMPLEX))); } { - PyDict_SetItemString(d,"wxMOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL))); + PyDict_SetItemString(d,"DUPLEX_HORIZONTAL", SWIG_From_int(static_cast(wxDUPLEX_HORIZONTAL))); } { - PyDict_SetItemString(d,"wxMOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT))); + PyDict_SetItemString(d,"DUPLEX_VERTICAL", SWIG_From_int(static_cast(wxDUPLEX_VERTICAL))); } { - PyDict_SetItemString(d,"wxMOD_WIN", SWIG_From_int((int)(wxMOD_WIN))); + PyDict_SetItemString(d,"ITEM_SEPARATOR", SWIG_From_int(static_cast(wxITEM_SEPARATOR))); } { - PyDict_SetItemString(d,"wxUPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE))); + PyDict_SetItemString(d,"ITEM_NORMAL", SWIG_From_int(static_cast(wxITEM_NORMAL))); } { - PyDict_SetItemString(d,"wxUPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE))); + PyDict_SetItemString(d,"ITEM_CHECK", SWIG_From_int(static_cast(wxITEM_CHECK))); } { - PyDict_SetItemString(d,"wxUPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE))); + PyDict_SetItemString(d,"ITEM_RADIO", SWIG_From_int(static_cast(wxITEM_RADIO))); + } + { + PyDict_SetItemString(d,"ITEM_MAX", SWIG_From_int(static_cast(wxITEM_MAX))); + } + { + PyDict_SetItemString(d,"HT_NOWHERE", SWIG_From_int(static_cast(wxHT_NOWHERE))); + } + { + PyDict_SetItemString(d,"HT_SCROLLBAR_FIRST", SWIG_From_int(static_cast(wxHT_SCROLLBAR_FIRST))); + } + { + PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int(static_cast(wxHT_SCROLLBAR_ARROW_LINE_1))); + } + { + PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int(static_cast(wxHT_SCROLLBAR_ARROW_LINE_2))); + } + { + PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int(static_cast(wxHT_SCROLLBAR_ARROW_PAGE_1))); + } + { + PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int(static_cast(wxHT_SCROLLBAR_ARROW_PAGE_2))); + } + { + PyDict_SetItemString(d,"HT_SCROLLBAR_THUMB", SWIG_From_int(static_cast(wxHT_SCROLLBAR_THUMB))); + } + { + PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_1", SWIG_From_int(static_cast(wxHT_SCROLLBAR_BAR_1))); + } + { + PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_2", SWIG_From_int(static_cast(wxHT_SCROLLBAR_BAR_2))); + } + { + PyDict_SetItemString(d,"HT_SCROLLBAR_LAST", SWIG_From_int(static_cast(wxHT_SCROLLBAR_LAST))); + } + { + PyDict_SetItemString(d,"HT_WINDOW_OUTSIDE", SWIG_From_int(static_cast(wxHT_WINDOW_OUTSIDE))); + } + { + PyDict_SetItemString(d,"HT_WINDOW_INSIDE", SWIG_From_int(static_cast(wxHT_WINDOW_INSIDE))); + } + { + PyDict_SetItemString(d,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int(static_cast(wxHT_WINDOW_VERT_SCROLLBAR))); + } + { + PyDict_SetItemString(d,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int(static_cast(wxHT_WINDOW_HORZ_SCROLLBAR))); + } + { + PyDict_SetItemString(d,"HT_WINDOW_CORNER", SWIG_From_int(static_cast(wxHT_WINDOW_CORNER))); + } + { + PyDict_SetItemString(d,"HT_MAX", SWIG_From_int(static_cast(wxHT_MAX))); + } + { + PyDict_SetItemString(d,"MOD_NONE", SWIG_From_int(static_cast(wxMOD_NONE))); + } + { + PyDict_SetItemString(d,"MOD_ALT", SWIG_From_int(static_cast(wxMOD_ALT))); + } + { + PyDict_SetItemString(d,"MOD_CONTROL", SWIG_From_int(static_cast(wxMOD_CONTROL))); + } + { + PyDict_SetItemString(d,"MOD_ALTGR", SWIG_From_int(static_cast(wxMOD_ALTGR))); + } + { + PyDict_SetItemString(d,"MOD_SHIFT", SWIG_From_int(static_cast(wxMOD_SHIFT))); + } + { + PyDict_SetItemString(d,"MOD_META", SWIG_From_int(static_cast(wxMOD_META))); + } + { + PyDict_SetItemString(d,"MOD_WIN", SWIG_From_int(static_cast(wxMOD_WIN))); + } + { + PyDict_SetItemString(d,"MOD_CMD", SWIG_From_int(static_cast(wxMOD_CMD))); + } + { + PyDict_SetItemString(d,"MOD_ALL", SWIG_From_int(static_cast(wxMOD_ALL))); + } + { + PyDict_SetItemString(d,"UPDATE_UI_NONE", SWIG_From_int(static_cast(wxUPDATE_UI_NONE))); + } + { + PyDict_SetItemString(d,"UPDATE_UI_RECURSE", SWIG_From_int(static_cast(wxUPDATE_UI_RECURSE))); + } + { + PyDict_SetItemString(d,"UPDATE_UI_FROMIDLE", SWIG_From_int(static_cast(wxUPDATE_UI_FROMIDLE))); } PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); SWIG_addvarlink(SWIG_globals,(char*)"EmptyString",_wrap_EmptyString_get, _wrap_EmptyString_set); { - PyDict_SetItemString(d,"wxBITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID))); + PyDict_SetItemString(d,"BITMAP_TYPE_INVALID", SWIG_From_int(static_cast(wxBITMAP_TYPE_INVALID))); } { - PyDict_SetItemString(d,"wxBITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP))); + PyDict_SetItemString(d,"BITMAP_TYPE_BMP", SWIG_From_int(static_cast(wxBITMAP_TYPE_BMP))); } { - PyDict_SetItemString(d,"wxBITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO))); + PyDict_SetItemString(d,"BITMAP_TYPE_ICO", SWIG_From_int(static_cast(wxBITMAP_TYPE_ICO))); } { - PyDict_SetItemString(d,"wxBITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR))); + PyDict_SetItemString(d,"BITMAP_TYPE_CUR", SWIG_From_int(static_cast(wxBITMAP_TYPE_CUR))); } { - PyDict_SetItemString(d,"wxBITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM))); + PyDict_SetItemString(d,"BITMAP_TYPE_XBM", SWIG_From_int(static_cast(wxBITMAP_TYPE_XBM))); } { - PyDict_SetItemString(d,"wxBITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA))); + PyDict_SetItemString(d,"BITMAP_TYPE_XBM_DATA", SWIG_From_int(static_cast(wxBITMAP_TYPE_XBM_DATA))); } { - PyDict_SetItemString(d,"wxBITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM))); + PyDict_SetItemString(d,"BITMAP_TYPE_XPM", SWIG_From_int(static_cast(wxBITMAP_TYPE_XPM))); } { - PyDict_SetItemString(d,"wxBITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA))); + PyDict_SetItemString(d,"BITMAP_TYPE_XPM_DATA", SWIG_From_int(static_cast(wxBITMAP_TYPE_XPM_DATA))); } { - PyDict_SetItemString(d,"wxBITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF))); + PyDict_SetItemString(d,"BITMAP_TYPE_TIF", SWIG_From_int(static_cast(wxBITMAP_TYPE_TIF))); } { - PyDict_SetItemString(d,"wxBITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF))); + PyDict_SetItemString(d,"BITMAP_TYPE_GIF", SWIG_From_int(static_cast(wxBITMAP_TYPE_GIF))); } { - PyDict_SetItemString(d,"wxBITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG))); + PyDict_SetItemString(d,"BITMAP_TYPE_PNG", SWIG_From_int(static_cast(wxBITMAP_TYPE_PNG))); } { - PyDict_SetItemString(d,"wxBITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG))); + PyDict_SetItemString(d,"BITMAP_TYPE_JPEG", SWIG_From_int(static_cast(wxBITMAP_TYPE_JPEG))); } { - PyDict_SetItemString(d,"wxBITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM))); + PyDict_SetItemString(d,"BITMAP_TYPE_PNM", SWIG_From_int(static_cast(wxBITMAP_TYPE_PNM))); } { - PyDict_SetItemString(d,"wxBITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX))); + PyDict_SetItemString(d,"BITMAP_TYPE_PCX", SWIG_From_int(static_cast(wxBITMAP_TYPE_PCX))); } { - PyDict_SetItemString(d,"wxBITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT))); + PyDict_SetItemString(d,"BITMAP_TYPE_PICT", SWIG_From_int(static_cast(wxBITMAP_TYPE_PICT))); } { - PyDict_SetItemString(d,"wxBITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON))); + PyDict_SetItemString(d,"BITMAP_TYPE_ICON", SWIG_From_int(static_cast(wxBITMAP_TYPE_ICON))); } { - PyDict_SetItemString(d,"wxBITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI))); + PyDict_SetItemString(d,"BITMAP_TYPE_ANI", SWIG_From_int(static_cast(wxBITMAP_TYPE_ANI))); } { - PyDict_SetItemString(d,"wxBITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF))); + PyDict_SetItemString(d,"BITMAP_TYPE_IFF", SWIG_From_int(static_cast(wxBITMAP_TYPE_IFF))); } { - PyDict_SetItemString(d,"wxBITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR))); + PyDict_SetItemString(d,"BITMAP_TYPE_MACCURSOR", SWIG_From_int(static_cast(wxBITMAP_TYPE_MACCURSOR))); } { - PyDict_SetItemString(d,"wxBITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY))); + PyDict_SetItemString(d,"BITMAP_TYPE_ANY", SWIG_From_int(static_cast(wxBITMAP_TYPE_ANY))); } { - PyDict_SetItemString(d,"wxCURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE))); + PyDict_SetItemString(d,"CURSOR_NONE", SWIG_From_int(static_cast(wxCURSOR_NONE))); } { - PyDict_SetItemString(d,"wxCURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW))); + PyDict_SetItemString(d,"CURSOR_ARROW", SWIG_From_int(static_cast(wxCURSOR_ARROW))); } { - PyDict_SetItemString(d,"wxCURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW))); + PyDict_SetItemString(d,"CURSOR_RIGHT_ARROW", SWIG_From_int(static_cast(wxCURSOR_RIGHT_ARROW))); } { - PyDict_SetItemString(d,"wxCURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE))); + PyDict_SetItemString(d,"CURSOR_BULLSEYE", SWIG_From_int(static_cast(wxCURSOR_BULLSEYE))); } { - PyDict_SetItemString(d,"wxCURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR))); + PyDict_SetItemString(d,"CURSOR_CHAR", SWIG_From_int(static_cast(wxCURSOR_CHAR))); } { - PyDict_SetItemString(d,"wxCURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS))); + PyDict_SetItemString(d,"CURSOR_CROSS", SWIG_From_int(static_cast(wxCURSOR_CROSS))); } { - PyDict_SetItemString(d,"wxCURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND))); + PyDict_SetItemString(d,"CURSOR_HAND", SWIG_From_int(static_cast(wxCURSOR_HAND))); } { - PyDict_SetItemString(d,"wxCURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM))); + PyDict_SetItemString(d,"CURSOR_IBEAM", SWIG_From_int(static_cast(wxCURSOR_IBEAM))); } { - PyDict_SetItemString(d,"wxCURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON))); + PyDict_SetItemString(d,"CURSOR_LEFT_BUTTON", SWIG_From_int(static_cast(wxCURSOR_LEFT_BUTTON))); } { - PyDict_SetItemString(d,"wxCURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER))); + PyDict_SetItemString(d,"CURSOR_MAGNIFIER", SWIG_From_int(static_cast(wxCURSOR_MAGNIFIER))); } { - PyDict_SetItemString(d,"wxCURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON))); + PyDict_SetItemString(d,"CURSOR_MIDDLE_BUTTON", SWIG_From_int(static_cast(wxCURSOR_MIDDLE_BUTTON))); } { - PyDict_SetItemString(d,"wxCURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY))); + PyDict_SetItemString(d,"CURSOR_NO_ENTRY", SWIG_From_int(static_cast(wxCURSOR_NO_ENTRY))); } { - PyDict_SetItemString(d,"wxCURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH))); + PyDict_SetItemString(d,"CURSOR_PAINT_BRUSH", SWIG_From_int(static_cast(wxCURSOR_PAINT_BRUSH))); } { - PyDict_SetItemString(d,"wxCURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL))); + PyDict_SetItemString(d,"CURSOR_PENCIL", SWIG_From_int(static_cast(wxCURSOR_PENCIL))); } { - PyDict_SetItemString(d,"wxCURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT))); + PyDict_SetItemString(d,"CURSOR_POINT_LEFT", SWIG_From_int(static_cast(wxCURSOR_POINT_LEFT))); } { - PyDict_SetItemString(d,"wxCURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT))); + PyDict_SetItemString(d,"CURSOR_POINT_RIGHT", SWIG_From_int(static_cast(wxCURSOR_POINT_RIGHT))); } { - PyDict_SetItemString(d,"wxCURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW))); + PyDict_SetItemString(d,"CURSOR_QUESTION_ARROW", SWIG_From_int(static_cast(wxCURSOR_QUESTION_ARROW))); } { - PyDict_SetItemString(d,"wxCURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON))); + PyDict_SetItemString(d,"CURSOR_RIGHT_BUTTON", SWIG_From_int(static_cast(wxCURSOR_RIGHT_BUTTON))); } { - PyDict_SetItemString(d,"wxCURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW))); + PyDict_SetItemString(d,"CURSOR_SIZENESW", SWIG_From_int(static_cast(wxCURSOR_SIZENESW))); } { - PyDict_SetItemString(d,"wxCURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS))); + PyDict_SetItemString(d,"CURSOR_SIZENS", SWIG_From_int(static_cast(wxCURSOR_SIZENS))); } { - PyDict_SetItemString(d,"wxCURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE))); + PyDict_SetItemString(d,"CURSOR_SIZENWSE", SWIG_From_int(static_cast(wxCURSOR_SIZENWSE))); } { - PyDict_SetItemString(d,"wxCURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE))); + PyDict_SetItemString(d,"CURSOR_SIZEWE", SWIG_From_int(static_cast(wxCURSOR_SIZEWE))); } { - PyDict_SetItemString(d,"wxCURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING))); + PyDict_SetItemString(d,"CURSOR_SIZING", SWIG_From_int(static_cast(wxCURSOR_SIZING))); } { - PyDict_SetItemString(d,"wxCURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN))); + PyDict_SetItemString(d,"CURSOR_SPRAYCAN", SWIG_From_int(static_cast(wxCURSOR_SPRAYCAN))); } { - PyDict_SetItemString(d,"wxCURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT))); + PyDict_SetItemString(d,"CURSOR_WAIT", SWIG_From_int(static_cast(wxCURSOR_WAIT))); } { - PyDict_SetItemString(d,"wxCURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH))); + PyDict_SetItemString(d,"CURSOR_WATCH", SWIG_From_int(static_cast(wxCURSOR_WATCH))); } { - PyDict_SetItemString(d,"wxCURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK))); + PyDict_SetItemString(d,"CURSOR_BLANK", SWIG_From_int(static_cast(wxCURSOR_BLANK))); } { - PyDict_SetItemString(d,"wxCURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT))); + PyDict_SetItemString(d,"CURSOR_DEFAULT", SWIG_From_int(static_cast(wxCURSOR_DEFAULT))); } { - PyDict_SetItemString(d,"wxCURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW))); + PyDict_SetItemString(d,"CURSOR_COPY_ARROW", SWIG_From_int(static_cast(wxCURSOR_COPY_ARROW))); } { - PyDict_SetItemString(d,"wxCURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT))); + PyDict_SetItemString(d,"CURSOR_ARROWWAIT", SWIG_From_int(static_cast(wxCURSOR_ARROWWAIT))); } { - PyDict_SetItemString(d,"wxCURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX))); + PyDict_SetItemString(d,"CURSOR_MAX", SWIG_From_int(static_cast(wxCURSOR_MAX))); } - SWIG_addvarlink(SWIG_globals,(char*)"wxDefaultPosition",_wrap_wxDefaultPosition_get, _wrap_wxDefaultPosition_set); - SWIG_addvarlink(SWIG_globals,(char*)"wxDefaultSize",_wrap_wxDefaultSize_get, _wrap_wxDefaultSize_set); + SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set); + SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set); { - PyDict_SetItemString(d,"wxFromStart", SWIG_From_int((int)(wxFromStart))); + PyDict_SetItemString(d,"FromStart", SWIG_From_int(static_cast(wxFromStart))); } { - PyDict_SetItemString(d,"wxFromCurrent", SWIG_From_int((int)(wxFromCurrent))); + PyDict_SetItemString(d,"FromCurrent", SWIG_From_int(static_cast(wxFromCurrent))); } { - PyDict_SetItemString(d,"wxFromEnd", SWIG_From_int((int)(wxFromEnd))); + PyDict_SetItemString(d,"FromEnd", SWIG_From_int(static_cast(wxFromEnd))); } wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream"); @@ -49500,7 +51203,16 @@ SWIGEXPORT(void) SWIG_init(void) { wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler"); - SWIG_addvarlink(SWIG_globals,(char*)"wxNullImage",_wrap_wxNullImage_get, _wrap_wxNullImage_set); + { + PyDict_SetItemString(d,"IMAGE_ALPHA_TRANSPARENT", SWIG_From_int(static_cast(wxIMAGE_ALPHA_TRANSPARENT))); + } + { + PyDict_SetItemString(d,"IMAGE_ALPHA_THRESHOLD", SWIG_From_int(static_cast(wxIMAGE_ALPHA_THRESHOLD))); + } + { + PyDict_SetItemString(d,"IMAGE_ALPHA_OPAQUE", SWIG_From_int(static_cast(wxIMAGE_ALPHA_OPAQUE))); + } + SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set); SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get, _wrap_IMAGE_OPTION_FILENAME_set); SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get, _wrap_IMAGE_OPTION_BMP_FORMAT_set); SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set); @@ -49511,10 +51223,10 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set); SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get, _wrap_IMAGE_OPTION_QUALITY_set); { - PyDict_SetItemString(d,"wxIMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES))); + PyDict_SetItemString(d,"IMAGE_RESOLUTION_INCHES", SWIG_From_int(static_cast(wxIMAGE_RESOLUTION_INCHES))); } { - PyDict_SetItemString(d,"wxIMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM))); + PyDict_SetItemString(d,"IMAGE_RESOLUTION_CM", SWIG_From_int(static_cast(wxIMAGE_RESOLUTION_CM))); } SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set); SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set); @@ -49523,52 +51235,52 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get, _wrap_IMAGE_OPTION_PNG_FORMAT_set); SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set); { - PyDict_SetItemString(d,"wxPNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR))); + PyDict_SetItemString(d,"PNG_TYPE_COLOUR", SWIG_From_int(static_cast(wxPNG_TYPE_COLOUR))); } { - PyDict_SetItemString(d,"wxPNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY))); + PyDict_SetItemString(d,"PNG_TYPE_GREY", SWIG_From_int(static_cast(wxPNG_TYPE_GREY))); } { - PyDict_SetItemString(d,"wxPNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED))); + PyDict_SetItemString(d,"PNG_TYPE_GREY_RED", SWIG_From_int(static_cast(wxPNG_TYPE_GREY_RED))); } { - PyDict_SetItemString(d,"wxBMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP))); + PyDict_SetItemString(d,"BMP_24BPP", SWIG_From_int(static_cast(wxBMP_24BPP))); } { - PyDict_SetItemString(d,"wxBMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP))); + PyDict_SetItemString(d,"BMP_8BPP", SWIG_From_int(static_cast(wxBMP_8BPP))); } { - PyDict_SetItemString(d,"wxBMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY))); + PyDict_SetItemString(d,"BMP_8BPP_GREY", SWIG_From_int(static_cast(wxBMP_8BPP_GREY))); } { - PyDict_SetItemString(d,"wxBMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY))); + PyDict_SetItemString(d,"BMP_8BPP_GRAY", SWIG_From_int(static_cast(wxBMP_8BPP_GRAY))); } { - PyDict_SetItemString(d,"wxBMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED))); + PyDict_SetItemString(d,"BMP_8BPP_RED", SWIG_From_int(static_cast(wxBMP_8BPP_RED))); } { - PyDict_SetItemString(d,"wxBMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE))); + PyDict_SetItemString(d,"BMP_8BPP_PALETTE", SWIG_From_int(static_cast(wxBMP_8BPP_PALETTE))); } { - PyDict_SetItemString(d,"wxBMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP))); + PyDict_SetItemString(d,"BMP_4BPP", SWIG_From_int(static_cast(wxBMP_4BPP))); } { - PyDict_SetItemString(d,"wxBMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP))); + PyDict_SetItemString(d,"BMP_1BPP", SWIG_From_int(static_cast(wxBMP_1BPP))); } { - PyDict_SetItemString(d,"wxBMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW))); + PyDict_SetItemString(d,"BMP_1BPP_BW", SWIG_From_int(static_cast(wxBMP_1BPP_BW))); } { - PyDict_SetItemString(d,"wxQUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS))); + PyDict_SetItemString(d,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int(static_cast(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS))); } { - PyDict_SetItemString(d,"wxQUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE))); + PyDict_SetItemString(d,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int(static_cast(wxQUANTIZE_FILL_DESTINATION_IMAGE))); } { - PyDict_SetItemString(d,"wxEVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE))); + PyDict_SetItemString(d,"EVENT_PROPAGATE_NONE", SWIG_From_int(static_cast(wxEVENT_PROPAGATE_NONE))); } { - PyDict_SetItemString(d,"wxEVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX))); + PyDict_SetItemString(d,"EVENT_PROPAGATE_MAX", SWIG_From_int(static_cast(wxEVENT_PROPAGATE_MAX))); } PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL)); PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST)); @@ -49632,7 +51344,7 @@ SWIGEXPORT(void) SWIG_init(void) { PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN)); PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK)); PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE)); - PyDict_SetItemString(d, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL)); + PyDict_SetItemString(d, "wxEVT_SCROLL_CHANGED", PyInt_FromLong(wxEVT_SCROLL_CHANGED)); PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP)); PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM)); PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP)); @@ -49686,148 +51398,148 @@ SWIGEXPORT(void) SWIG_init(void) { PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS)); PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER)); { - PyDict_SetItemString(d,"wxMOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY))); + PyDict_SetItemString(d,"MOUSE_BTN_ANY", SWIG_From_int(static_cast(wxMOUSE_BTN_ANY))); } { - PyDict_SetItemString(d,"wxMOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE))); + PyDict_SetItemString(d,"MOUSE_BTN_NONE", SWIG_From_int(static_cast(wxMOUSE_BTN_NONE))); } { - PyDict_SetItemString(d,"wxMOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT))); + PyDict_SetItemString(d,"MOUSE_BTN_LEFT", SWIG_From_int(static_cast(wxMOUSE_BTN_LEFT))); } { - PyDict_SetItemString(d,"wxMOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE))); + PyDict_SetItemString(d,"MOUSE_BTN_MIDDLE", SWIG_From_int(static_cast(wxMOUSE_BTN_MIDDLE))); } { - PyDict_SetItemString(d,"wxMOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT))); + PyDict_SetItemString(d,"MOUSE_BTN_RIGHT", SWIG_From_int(static_cast(wxMOUSE_BTN_RIGHT))); } { - PyDict_SetItemString(d,"wxUPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL))); + PyDict_SetItemString(d,"UPDATE_UI_PROCESS_ALL", SWIG_From_int(static_cast(wxUPDATE_UI_PROCESS_ALL))); } { - PyDict_SetItemString(d,"wxUPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED))); + PyDict_SetItemString(d,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int(static_cast(wxUPDATE_UI_PROCESS_SPECIFIED))); } { - PyDict_SetItemString(d,"wxNavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward))); + PyDict_SetItemString(d,"NavigationKeyEvent_IsBackward", SWIG_From_int(static_cast(wxNavigationKeyEvent::IsBackward))); } { - PyDict_SetItemString(d,"wxNavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward))); + PyDict_SetItemString(d,"NavigationKeyEvent_IsForward", SWIG_From_int(static_cast(wxNavigationKeyEvent::IsForward))); } { - PyDict_SetItemString(d,"wxNavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange))); + PyDict_SetItemString(d,"NavigationKeyEvent_WinChange", SWIG_From_int(static_cast(wxNavigationKeyEvent::WinChange))); } { - PyDict_SetItemString(d,"wxNavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab))); + PyDict_SetItemString(d,"NavigationKeyEvent_FromTab", SWIG_From_int(static_cast(wxNavigationKeyEvent::FromTab))); } { - PyDict_SetItemString(d,"wxIDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL))); + PyDict_SetItemString(d,"IDLE_PROCESS_ALL", SWIG_From_int(static_cast(wxIDLE_PROCESS_ALL))); } { - PyDict_SetItemString(d,"wxIDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED))); + PyDict_SetItemString(d,"IDLE_PROCESS_SPECIFIED", SWIG_From_int(static_cast(wxIDLE_PROCESS_SPECIFIED))); } PyDict_SetItemString(d, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED)); { - PyDict_SetItemString(d,"wxPYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS))); + PyDict_SetItemString(d,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int(static_cast(wxPYAPP_ASSERT_SUPPRESS))); } { - PyDict_SetItemString(d,"wxPYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION))); + PyDict_SetItemString(d,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int(static_cast(wxPYAPP_ASSERT_EXCEPTION))); } { - PyDict_SetItemString(d,"wxPYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG))); + PyDict_SetItemString(d,"PYAPP_ASSERT_DIALOG", SWIG_From_int(static_cast(wxPYAPP_ASSERT_DIALOG))); } { - PyDict_SetItemString(d,"wxPYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG))); + PyDict_SetItemString(d,"PYAPP_ASSERT_LOG", SWIG_From_int(static_cast(wxPYAPP_ASSERT_LOG))); } { - PyDict_SetItemString(d,"wxPRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS))); + PyDict_SetItemString(d,"PRINT_WINDOWS", SWIG_From_int(static_cast(wxPRINT_WINDOWS))); } { - PyDict_SetItemString(d,"wxPRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT))); + PyDict_SetItemString(d,"PRINT_POSTSCRIPT", SWIG_From_int(static_cast(wxPRINT_POSTSCRIPT))); } - SWIG_addvarlink(SWIG_globals,(char*)"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get, _wrap_wxNullAcceleratorTable_set); + SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set); SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set); { - PyDict_SetItemString(d,"wxWINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL))); + PyDict_SetItemString(d,"WINDOW_VARIANT_NORMAL", SWIG_From_int(static_cast(wxWINDOW_VARIANT_NORMAL))); } { - PyDict_SetItemString(d,"wxWINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL))); + PyDict_SetItemString(d,"WINDOW_VARIANT_SMALL", SWIG_From_int(static_cast(wxWINDOW_VARIANT_SMALL))); } { - PyDict_SetItemString(d,"wxWINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI))); + PyDict_SetItemString(d,"WINDOW_VARIANT_MINI", SWIG_From_int(static_cast(wxWINDOW_VARIANT_MINI))); } { - PyDict_SetItemString(d,"wxWINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE))); + PyDict_SetItemString(d,"WINDOW_VARIANT_LARGE", SWIG_From_int(static_cast(wxWINDOW_VARIANT_LARGE))); } { - PyDict_SetItemString(d,"wxWINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX))); + PyDict_SetItemString(d,"WINDOW_VARIANT_MAX", SWIG_From_int(static_cast(wxWINDOW_VARIANT_MAX))); } - SWIG_addvarlink(SWIG_globals,(char*)"wxDefaultValidator",_wrap_wxDefaultValidator_get, _wrap_wxDefaultValidator_set); + SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set); SWIG_addvarlink(SWIG_globals,(char*)"ControlNameStr",_wrap_ControlNameStr_get, _wrap_ControlNameStr_set); { - PyDict_SetItemString(d,"wxFLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE))); + PyDict_SetItemString(d,"FLEX_GROWMODE_NONE", SWIG_From_int(static_cast(wxFLEX_GROWMODE_NONE))); } { - PyDict_SetItemString(d,"wxFLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED))); + PyDict_SetItemString(d,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int(static_cast(wxFLEX_GROWMODE_SPECIFIED))); } { - PyDict_SetItemString(d,"wxFLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL))); + PyDict_SetItemString(d,"FLEX_GROWMODE_ALL", SWIG_From_int(static_cast(wxFLEX_GROWMODE_ALL))); } - SWIG_addvarlink(SWIG_globals,(char*)"wxDefaultSpan",_wrap_wxDefaultSpan_get, _wrap_wxDefaultSpan_set); + SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set); { - PyDict_SetItemString(d,"wxLeft", SWIG_From_int((int)(wxLeft))); + PyDict_SetItemString(d,"Left", SWIG_From_int(static_cast(wxLeft))); } { - PyDict_SetItemString(d,"wxTop", SWIG_From_int((int)(wxTop))); + PyDict_SetItemString(d,"Top", SWIG_From_int(static_cast(wxTop))); } { - PyDict_SetItemString(d,"wxRight", SWIG_From_int((int)(wxRight))); + PyDict_SetItemString(d,"Right", SWIG_From_int(static_cast(wxRight))); } { - PyDict_SetItemString(d,"wxBottom", SWIG_From_int((int)(wxBottom))); + PyDict_SetItemString(d,"Bottom", SWIG_From_int(static_cast(wxBottom))); } { - PyDict_SetItemString(d,"wxWidth", SWIG_From_int((int)(wxWidth))); + PyDict_SetItemString(d,"Width", SWIG_From_int(static_cast(wxWidth))); } { - PyDict_SetItemString(d,"wxHeight", SWIG_From_int((int)(wxHeight))); + PyDict_SetItemString(d,"Height", SWIG_From_int(static_cast(wxHeight))); } { - PyDict_SetItemString(d,"wxCentre", SWIG_From_int((int)(wxCentre))); + PyDict_SetItemString(d,"Centre", SWIG_From_int(static_cast(wxCentre))); } { - PyDict_SetItemString(d,"wxCenter", SWIG_From_int((int)(wxCenter))); + PyDict_SetItemString(d,"Center", SWIG_From_int(static_cast(wxCenter))); } { - PyDict_SetItemString(d,"wxCentreX", SWIG_From_int((int)(wxCentreX))); + PyDict_SetItemString(d,"CentreX", SWIG_From_int(static_cast(wxCentreX))); } { - PyDict_SetItemString(d,"wxCentreY", SWIG_From_int((int)(wxCentreY))); + PyDict_SetItemString(d,"CentreY", SWIG_From_int(static_cast(wxCentreY))); } { - PyDict_SetItemString(d,"wxUnconstrained", SWIG_From_int((int)(wxUnconstrained))); + PyDict_SetItemString(d,"Unconstrained", SWIG_From_int(static_cast(wxUnconstrained))); } { - PyDict_SetItemString(d,"wxAsIs", SWIG_From_int((int)(wxAsIs))); + PyDict_SetItemString(d,"AsIs", SWIG_From_int(static_cast(wxAsIs))); } { - PyDict_SetItemString(d,"wxPercentOf", SWIG_From_int((int)(wxPercentOf))); + PyDict_SetItemString(d,"PercentOf", SWIG_From_int(static_cast(wxPercentOf))); } { - PyDict_SetItemString(d,"wxAbove", SWIG_From_int((int)(wxAbove))); + PyDict_SetItemString(d,"Above", SWIG_From_int(static_cast(wxAbove))); } { - PyDict_SetItemString(d,"wxBelow", SWIG_From_int((int)(wxBelow))); + PyDict_SetItemString(d,"Below", SWIG_From_int(static_cast(wxBelow))); } { - PyDict_SetItemString(d,"wxLeftOf", SWIG_From_int((int)(wxLeftOf))); + PyDict_SetItemString(d,"LeftOf", SWIG_From_int(static_cast(wxLeftOf))); } { - PyDict_SetItemString(d,"wxRightOf", SWIG_From_int((int)(wxRightOf))); + PyDict_SetItemString(d,"RightOf", SWIG_From_int(static_cast(wxRightOf))); } { - PyDict_SetItemString(d,"wxSameAs", SWIG_From_int((int)(wxSameAs))); + PyDict_SetItemString(d,"SameAs", SWIG_From_int(static_cast(wxSameAs))); } { - PyDict_SetItemString(d,"wxAbsolute", SWIG_From_int((int)(wxAbsolute))); + PyDict_SetItemString(d,"Absolute", SWIG_From_int(static_cast(wxAbsolute))); } // Initialize threading, some globals and such