X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ea939623500d88ae5a4ad4e21fad645b1069c889..df5f8f4e3ded997ff338630c0371a689b7717b3d:/wxPython/src/msw/_core_wrap.cpp diff --git a/wxPython/src/msw/_core_wrap.cpp b/wxPython/src/msw/_core_wrap.cpp index c2a0dc24e0..f83f0754f4 100644 --- a/wxPython/src/msw/_core_wrap.cpp +++ b/wxPython/src/msw/_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 @@ -26,15 +26,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 +106,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) -#else -#define SWIG_TYPE_TABLE_NAME -#endif - -#include - -#ifndef SWIGINLINE -#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) -# define SWIGINLINE inline +# 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 SWIGINLINE -#endif +# define SWIG_TYPE_TABLE_NAME #endif /* @@ -77,13 +125,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 +143,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 +186,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 +204,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 +317,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 +439,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 +461,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 +520,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 +533,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 +610,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 +631,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 +643,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 +683,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 +711,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 +747,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 +790,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 +824,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 +844,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 +877,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 +896,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 +925,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 +934,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 +947,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 +981,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 +1001,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 +1045,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 +1072,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 +1093,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 +1144,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 +1159,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 +1202,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 +1210,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 +1217,6 @@ type_check: } else { *ptr = vptr; } - if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) { PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False); } @@ -1177,7 +1231,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 +1264,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 +1298,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 +1361,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 +1375,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,135 +1431,142 @@ 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) -------- */ @@ -1487,6 +1587,32 @@ static swig_type_info *swig_types[129]; // located here so they know about the SWIG types and functions declared // in the wrapper code. +static +swig_type_info* wxPyFindSwigType(const wxChar* className); + + + +// Make a SWIGified pointer object suitable for a .this attribute +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 wxPyMakeSwigPtr")); + +#ifdef SWIG_COBJECT_TYPES + robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)swigType->name); +#else + { + char result[1024]; + robj = SWIG_PackVoidPtr(result, ptr, swigType->name, sizeof(result)) ? + PyString_FromString(result) : 0; + } +#endif + return robj; +} + + #include WX_DECLARE_STRING_HASH_MAP( swig_type_info*, wxPyTypeInfoHashMap ); @@ -1567,29 +1693,36 @@ bool wxPyConvertSwigPtr(PyObject* obj, void **ptr, } -// Make a SWIGified pointer object suitable for a .this attribute -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")); -#ifdef SWIG_COBJECT_TYPES - robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)swigType->name); -#else - { - char result[1024]; - robj = SWIG_PackVoidPtr(result, ptr, swigType->name, sizeof(result)) ? - PyString_FromString(result) : 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 // the wx._core_ module and will then have safe access to these functions, @@ -1667,23 +1800,10 @@ static wxPyCoreAPI API = { #endif - /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/ + /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\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 +1851,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 +1865,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 +1879,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 +1887,7 @@ SWIGINTERNSHORT int #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1781,7 +1901,7 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_int(PyObject* obj) { return SWIG_AsVal_int(obj, (int*)0); @@ -1804,13 +1924,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 +1944,14 @@ SWIG_As_double(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_double(PyObject* obj) { return SWIG_AsVal_double(obj, (double*)0); } - /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/ + /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/ #define SWIG_From_double PyFloat_FromDouble /*@@*/ @@ -1848,7 +1968,7 @@ static PyObject *wxRealPoint_Get(wxRealPoint *self){ return tup; } -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1862,7 +1982,7 @@ SWIG_As_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_long(PyObject* obj) { return SWIG_AsVal_long(obj, (long*)0); @@ -1918,31 +2038,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 +2087,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 +2169,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 +2181,7 @@ SWIGINTERN int } -SWIGINTERNSHORT char +SWIGINTERNINLINE char SWIG_As_char(PyObject* obj) { char v; @@ -2076,14 +2195,14 @@ SWIG_As_char(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_char(PyObject* obj) { return SWIG_AsVal_char(obj, (char*)0); } - /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/ + /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/ #define SWIG_From_long PyInt_FromLong /*@@*/ @@ -2167,7 +2286,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -2181,13 +2300,13 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); } -static wxString FileSystem_URLToFileName(wxString const &url){ +static wxString wxFileSystem_URLToFileName(wxString const &url){ wxFileName fname = wxFileSystem::URLToFileName(url); return fname.GetFullPath(); } @@ -2229,7 +2348,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 +2356,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 +2380,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 +2395,7 @@ SWIGINTERN int } -SWIGINTERNSHORT unsigned char +SWIGINTERNINLINE unsigned char SWIG_As_unsigned_SS_char(PyObject* obj) { unsigned char v; @@ -2290,20 +2409,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); } - /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/ + /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\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 +2436,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 +2446,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 +2461,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 +2599,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; @@ -2498,7 +2622,7 @@ static wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,unsigned char red,unsi #include -static bool Quantize_Quantize(wxImage const &src,wxImage &dest,int desiredNoColours=236,int flags=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS|wxQUANTIZE_FILL_DESTINATION_IMAGE){ +static bool wxQuantize_Quantize(wxImage const &src,wxImage &dest,int desiredNoColours=236,int flags=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS|wxQUANTIZE_FILL_DESTINATION_IMAGE){ return wxQuantize::Quantize(src, dest, //NULL, // palette desiredNoColours, @@ -2538,6 +2662,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 +2676,11 @@ static int wxKeyEvent_GetUnicodeKey(wxKeyEvent *self){ } #if UINT_MAX < LONG_MAX -/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/ +/*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/ #define SWIG_From_unsigned_SS_int SWIG_From_long /*@@*/ #else -/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/ +/*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/ #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long /*@@*/ #endif @@ -2565,7 +2694,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 +2706,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 +2714,7 @@ SWIGINTERNSHORT unsigned int #endif -SWIGINTERNSHORT unsigned int +SWIGINTERNINLINE unsigned int SWIG_As_unsigned_SS_int(PyObject* obj) { unsigned int v; @@ -2599,7 +2728,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 +2740,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) { @@ -2673,7 +2805,7 @@ SWIG_FromCharPtr(const char* cptr) } -#ifdef __WXMAC__ +#if 0 // #ifdef __WXMAC__ // A dummy class that raises an exception if used... class wxEventLoop @@ -2750,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); @@ -2765,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); @@ -2776,6 +2914,8 @@ static PyObject *wxMenu_GetMenuItems(wxMenu *self){ wxMenuItemList& list = self->GetMenuItems(); return wxPy_ConvertList(&list); } +static void wxMenuBar_SetAutoWindowMenu(bool enable){} +static bool wxMenuBar_GetAutoWindowMenu(){ return false; } static const wxString wxPyControlNameStr(wxControlNameStr); static int wxItemContainer_Append(wxItemContainer *self,wxString const &item,PyObject *clientData=NULL){ if (clientData) { @@ -2866,7 +3006,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; @@ -2881,7 +3021,7 @@ SWIGINTERN int } -SWIGINTERNSHORT float +SWIGINTERNINLINE float SWIG_As_float(PyObject* obj) { float v; @@ -2895,14 +3035,14 @@ SWIG_As_float(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_float(PyObject* obj) { return SWIG_AsVal_float(obj, (float*)0); } - /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/ + /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/ #define SWIG_From_float PyFloat_FromDouble /*@@*/ @@ -2916,6 +3056,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 @@ -2967,14 +3116,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; @@ -2991,6 +3140,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 @@ -3011,6 +3162,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 @@ -3031,6 +3184,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 @@ -3215,6 +3370,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 @@ -3239,7 +3396,7 @@ static int _wrap_EmptyString_set(PyObject *) { static PyObject *_wrap_EmptyString_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -3253,7 +3410,7 @@ static PyObject *_wrap_EmptyString_get(void) { static PyObject *_wrap_Object_GetClassName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxObject *arg1 = (wxObject *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -3285,7 +3442,7 @@ static PyObject *_wrap_Object_GetClassName(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Object_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxObject *arg1 = (wxObject *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3317,7 +3474,7 @@ static PyObject * Object_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_Size_width_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3330,7 +3487,7 @@ static PyObject *_wrap_Size_width_set(PyObject *, PyObject *args, PyObject *kwar 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; @@ -3343,7 +3500,7 @@ static PyObject *_wrap_Size_width_set(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Size_width_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3357,7 +3514,7 @@ static PyObject *_wrap_Size_width_get(PyObject *, PyObject *args, PyObject *kwar result = (int) ((arg1)->x); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3366,7 +3523,7 @@ static PyObject *_wrap_Size_width_get(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Size_height_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3379,7 +3536,7 @@ static PyObject *_wrap_Size_height_set(PyObject *, PyObject *args, PyObject *kwa 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; @@ -3392,7 +3549,7 @@ static PyObject *_wrap_Size_height_set(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Size_height_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3406,7 +3563,7 @@ static PyObject *_wrap_Size_height_get(PyObject *, PyObject *args, PyObject *kwa result = (int) ((arg1)->y); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3415,7 +3572,7 @@ static PyObject *_wrap_Size_height_get(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_new_Size(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; wxSize *result; @@ -3428,13 +3585,13 @@ static PyObject *_wrap_new_Size(PyObject *, PyObject *args, PyObject *kwargs) { 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; } } @@ -3453,7 +3610,7 @@ static PyObject *_wrap_new_Size(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_delete_Size(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3478,7 +3635,7 @@ static PyObject *_wrap_delete_Size(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Size___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; wxSize *arg2 = 0 ; bool result; @@ -3513,7 +3670,7 @@ static PyObject *_wrap_Size___eq__(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Size___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; wxSize *arg2 = 0 ; bool result; @@ -3548,7 +3705,7 @@ static PyObject *_wrap_Size___ne__(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Size___add__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; wxSize *arg2 = 0 ; wxSize result; @@ -3575,7 +3732,7 @@ static PyObject *_wrap_Size___add__(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; @@ -3585,7 +3742,7 @@ static PyObject *_wrap_Size___add__(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Size___sub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; wxSize *arg2 = 0 ; wxSize result; @@ -3612,7 +3769,7 @@ static PyObject *_wrap_Size___sub__(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; @@ -3622,7 +3779,7 @@ static PyObject *_wrap_Size___sub__(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Size_IncTo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -3654,7 +3811,7 @@ static PyObject *_wrap_Size_IncTo(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Size_DecTo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -3686,7 +3843,7 @@ static PyObject *_wrap_Size_DecTo(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Size_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int arg2 ; int arg3 ; @@ -3701,11 +3858,11 @@ static PyObject *_wrap_Size_Set(PyObject *, PyObject *args, PyObject *kwargs) { 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; } { @@ -3723,7 +3880,7 @@ static PyObject *_wrap_Size_Set(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Size_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3736,7 +3893,7 @@ static PyObject *_wrap_Size_SetWidth(PyObject *, PyObject *args, PyObject *kwarg 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; } { @@ -3754,7 +3911,7 @@ static PyObject *_wrap_Size_SetWidth(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Size_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -3767,7 +3924,7 @@ static PyObject *_wrap_Size_SetHeight(PyObject *, PyObject *args, PyObject *kwar 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; } { @@ -3785,7 +3942,7 @@ static PyObject *_wrap_Size_SetHeight(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Size_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3804,7 +3961,7 @@ static PyObject *_wrap_Size_GetWidth(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: @@ -3813,7 +3970,7 @@ static PyObject *_wrap_Size_GetWidth(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Size_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; int result; PyObject * obj0 = 0 ; @@ -3832,7 +3989,7 @@ static PyObject *_wrap_Size_GetHeight(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: @@ -3841,7 +3998,7 @@ static PyObject *_wrap_Size_GetHeight(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Size_IsFullySpecified(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -3869,7 +4026,7 @@ static PyObject *_wrap_Size_IsFullySpecified(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Size_SetDefaults(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -3901,7 +4058,7 @@ static PyObject *_wrap_Size_SetDefaults(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Size_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize *arg1 = (wxSize *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -3934,7 +4091,7 @@ static PyObject * Size_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_RealPoint_x_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -3947,7 +4104,7 @@ static PyObject *_wrap_RealPoint_x_set(PyObject *, PyObject *args, PyObject *kwa 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; @@ -3960,7 +4117,7 @@ static PyObject *_wrap_RealPoint_x_set(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_RealPoint_x_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; double result; PyObject * obj0 = 0 ; @@ -3974,7 +4131,7 @@ static PyObject *_wrap_RealPoint_x_get(PyObject *, PyObject *args, PyObject *kwa result = (double) ((arg1)->x); { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -3983,7 +4140,7 @@ static PyObject *_wrap_RealPoint_x_get(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_RealPoint_y_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -3996,7 +4153,7 @@ static PyObject *_wrap_RealPoint_y_set(PyObject *, PyObject *args, PyObject *kwa 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; @@ -4009,7 +4166,7 @@ static PyObject *_wrap_RealPoint_y_set(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_RealPoint_y_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; double result; PyObject * obj0 = 0 ; @@ -4023,7 +4180,7 @@ static PyObject *_wrap_RealPoint_y_get(PyObject *, PyObject *args, PyObject *kwa result = (double) ((arg1)->y); { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -4032,7 +4189,7 @@ static PyObject *_wrap_RealPoint_y_get(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_new_RealPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; double arg1 = (double) 0.0 ; double arg2 = (double) 0.0 ; wxRealPoint *result; @@ -4045,13 +4202,13 @@ static PyObject *_wrap_new_RealPoint(PyObject *, PyObject *args, PyObject *kwarg 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; } } @@ -4070,7 +4227,7 @@ static PyObject *_wrap_new_RealPoint(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_delete_RealPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4095,7 +4252,7 @@ static PyObject *_wrap_delete_RealPoint(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_RealPoint___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; wxRealPoint *arg2 = 0 ; bool result; @@ -4130,7 +4287,7 @@ static PyObject *_wrap_RealPoint___eq__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_RealPoint___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; wxRealPoint *arg2 = 0 ; bool result; @@ -4165,7 +4322,7 @@ static PyObject *_wrap_RealPoint___ne__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_RealPoint___add__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; wxRealPoint *arg2 = 0 ; wxRealPoint result; @@ -4192,7 +4349,7 @@ static PyObject *_wrap_RealPoint___add__(PyObject *, PyObject *args, PyObject *k } { wxRealPoint * resultptr; - resultptr = new wxRealPoint((wxRealPoint &)(result)); + resultptr = new wxRealPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1); } return resultobj; @@ -4202,7 +4359,7 @@ static PyObject *_wrap_RealPoint___add__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_RealPoint___sub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; wxRealPoint *arg2 = 0 ; wxRealPoint result; @@ -4229,7 +4386,7 @@ static PyObject *_wrap_RealPoint___sub__(PyObject *, PyObject *args, PyObject *k } { wxRealPoint * resultptr; - resultptr = new wxRealPoint((wxRealPoint &)(result)); + resultptr = new wxRealPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1); } return resultobj; @@ -4239,7 +4396,7 @@ static PyObject *_wrap_RealPoint___sub__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_RealPoint_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; double arg2 ; double arg3 ; @@ -4254,11 +4411,11 @@ static PyObject *_wrap_RealPoint_Set(PyObject *, PyObject *args, PyObject *kwarg 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; } { @@ -4276,7 +4433,7 @@ static PyObject *_wrap_RealPoint_Set(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_RealPoint_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRealPoint *arg1 = (wxRealPoint *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -4309,7 +4466,7 @@ static PyObject * RealPoint_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_Point_x_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -4322,7 +4479,7 @@ static PyObject *_wrap_Point_x_set(PyObject *, PyObject *args, PyObject *kwargs) 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; @@ -4335,7 +4492,7 @@ static PyObject *_wrap_Point_x_set(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Point_x_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; int result; PyObject * obj0 = 0 ; @@ -4349,7 +4506,7 @@ static PyObject *_wrap_Point_x_get(PyObject *, PyObject *args, PyObject *kwargs) result = (int) ((arg1)->x); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -4358,7 +4515,7 @@ static PyObject *_wrap_Point_x_get(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Point_y_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -4371,7 +4528,7 @@ static PyObject *_wrap_Point_y_set(PyObject *, PyObject *args, PyObject *kwargs) 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; @@ -4384,7 +4541,7 @@ static PyObject *_wrap_Point_y_set(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Point_y_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; int result; PyObject * obj0 = 0 ; @@ -4398,7 +4555,7 @@ static PyObject *_wrap_Point_y_get(PyObject *, PyObject *args, PyObject *kwargs) result = (int) ((arg1)->y); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -4407,7 +4564,7 @@ static PyObject *_wrap_Point_y_get(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_Point(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; wxPoint *result; @@ -4420,13 +4577,13 @@ static PyObject *_wrap_new_Point(PyObject *, PyObject *args, PyObject *kwargs) { 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; } } @@ -4445,7 +4602,7 @@ static PyObject *_wrap_new_Point(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_delete_Point(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4470,7 +4627,7 @@ static PyObject *_wrap_delete_Point(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Point___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; wxPoint *arg2 = 0 ; bool result; @@ -4505,7 +4662,7 @@ static PyObject *_wrap_Point___eq__(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Point___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; wxPoint *arg2 = 0 ; bool result; @@ -4540,7 +4697,7 @@ static PyObject *_wrap_Point___ne__(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Point___add__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; wxPoint *arg2 = 0 ; wxPoint result; @@ -4567,7 +4724,7 @@ static PyObject *_wrap_Point___add__(PyObject *, PyObject *args, PyObject *kwarg } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -4577,7 +4734,7 @@ static PyObject *_wrap_Point___add__(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Point___sub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; wxPoint *arg2 = 0 ; wxPoint result; @@ -4604,7 +4761,7 @@ static PyObject *_wrap_Point___sub__(PyObject *, PyObject *args, PyObject *kwarg } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -4614,7 +4771,7 @@ static PyObject *_wrap_Point___sub__(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Point___iadd__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; wxPoint *arg2 = 0 ; wxPoint *result; @@ -4650,7 +4807,7 @@ static PyObject *_wrap_Point___iadd__(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Point___isub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; wxPoint *arg2 = 0 ; wxPoint *result; @@ -4686,7 +4843,7 @@ static PyObject *_wrap_Point___isub__(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Point_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; long arg2 ; long arg3 ; @@ -4701,11 +4858,11 @@ static PyObject *_wrap_Point_Set(PyObject *, PyObject *args, PyObject *kwargs) { 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; } { @@ -4723,7 +4880,7 @@ static PyObject *_wrap_Point_Set(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Point_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = (wxPoint *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -4756,7 +4913,7 @@ static PyObject * Point_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Rect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -4773,25 +4930,25 @@ static PyObject *_wrap_new_Rect(PyObject *, PyObject *args, PyObject *kwargs) { 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; } } @@ -4810,7 +4967,7 @@ static PyObject *_wrap_new_Rect(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; @@ -4846,7 +5003,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; @@ -4882,7 +5039,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 ; @@ -4911,7 +5068,7 @@ static PyObject *_wrap_new_RectS(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_delete_Rect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4936,7 +5093,7 @@ static PyObject *_wrap_delete_Rect(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect_GetX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -4955,7 +5112,7 @@ static PyObject *_wrap_Rect_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: @@ -4964,7 +5121,7 @@ static PyObject *_wrap_Rect_GetX(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Rect_SetX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -4977,7 +5134,7 @@ static PyObject *_wrap_Rect_SetX(PyObject *, PyObject *args, PyObject *kwargs) { 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; } { @@ -4995,7 +5152,7 @@ static PyObject *_wrap_Rect_SetX(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Rect_GetY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5014,7 +5171,7 @@ static PyObject *_wrap_Rect_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: @@ -5023,7 +5180,7 @@ static PyObject *_wrap_Rect_GetY(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Rect_SetY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5036,7 +5193,7 @@ static PyObject *_wrap_Rect_SetY(PyObject *, PyObject *args, PyObject *kwargs) { 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; } { @@ -5054,7 +5211,7 @@ static PyObject *_wrap_Rect_SetY(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Rect_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5073,7 +5230,7 @@ static PyObject *_wrap_Rect_GetWidth(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: @@ -5082,7 +5239,7 @@ static PyObject *_wrap_Rect_GetWidth(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Rect_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5095,7 +5252,7 @@ static PyObject *_wrap_Rect_SetWidth(PyObject *, PyObject *args, PyObject *kwarg 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; } { @@ -5113,7 +5270,7 @@ static PyObject *_wrap_Rect_SetWidth(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Rect_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5132,7 +5289,7 @@ static PyObject *_wrap_Rect_GetHeight(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: @@ -5141,7 +5298,7 @@ static PyObject *_wrap_Rect_GetHeight(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Rect_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5154,7 +5311,7 @@ static PyObject *_wrap_Rect_SetHeight(PyObject *, PyObject *args, PyObject *kwar 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; } { @@ -5172,7 +5329,7 @@ static PyObject *_wrap_Rect_SetHeight(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Rect_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -5192,7 +5349,7 @@ static PyObject *_wrap_Rect_GetPosition(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; @@ -5202,7 +5359,7 @@ static PyObject *_wrap_Rect_GetPosition(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Rect_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -5234,7 +5391,7 @@ static PyObject *_wrap_Rect_SetPosition(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Rect_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -5254,7 +5411,7 @@ static PyObject *_wrap_Rect_GetSize(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; @@ -5264,7 +5421,7 @@ static PyObject *_wrap_Rect_GetSize(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Rect_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -5296,7 +5453,7 @@ static PyObject *_wrap_Rect_SetSize(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Rect_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -5324,7 +5481,7 @@ static PyObject *_wrap_Rect_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Rect_GetTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -5344,7 +5501,7 @@ static PyObject *_wrap_Rect_GetTopLeft(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; @@ -5354,7 +5511,7 @@ static PyObject *_wrap_Rect_GetTopLeft(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Rect_SetTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -5386,7 +5543,7 @@ static PyObject *_wrap_Rect_SetTopLeft(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Rect_GetBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -5406,7 +5563,7 @@ static PyObject *_wrap_Rect_GetBottomRight(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; @@ -5416,7 +5573,7 @@ static PyObject *_wrap_Rect_GetBottomRight(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Rect_SetBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -5448,7 +5605,7 @@ static PyObject *_wrap_Rect_SetBottomRight(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Rect_GetLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5467,7 +5624,7 @@ static PyObject *_wrap_Rect_GetLeft(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: @@ -5476,7 +5633,7 @@ static PyObject *_wrap_Rect_GetLeft(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Rect_GetTop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5495,7 +5652,7 @@ static PyObject *_wrap_Rect_GetTop(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: @@ -5504,7 +5661,7 @@ static PyObject *_wrap_Rect_GetTop(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect_GetBottom(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5523,7 +5680,7 @@ static PyObject *_wrap_Rect_GetBottom(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: @@ -5532,7 +5689,7 @@ static PyObject *_wrap_Rect_GetBottom(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Rect_GetRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5551,7 +5708,7 @@ static PyObject *_wrap_Rect_GetRight(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: @@ -5560,7 +5717,7 @@ static PyObject *_wrap_Rect_GetRight(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Rect_SetLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5573,7 +5730,7 @@ static PyObject *_wrap_Rect_SetLeft(PyObject *, PyObject *args, PyObject *kwargs 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; } { @@ -5591,7 +5748,7 @@ static PyObject *_wrap_Rect_SetLeft(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Rect_SetRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5604,7 +5761,7 @@ static PyObject *_wrap_Rect_SetRight(PyObject *, PyObject *args, PyObject *kwarg 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; } { @@ -5622,7 +5779,7 @@ static PyObject *_wrap_Rect_SetRight(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Rect_SetTop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5635,7 +5792,7 @@ static PyObject *_wrap_Rect_SetTop(PyObject *, PyObject *args, PyObject *kwargs) 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; } { @@ -5653,7 +5810,7 @@ static PyObject *_wrap_Rect_SetTop(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect_SetBottom(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5666,7 +5823,7 @@ static PyObject *_wrap_Rect_SetBottom(PyObject *, PyObject *args, PyObject *kwar 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; } { @@ -5684,7 +5841,7 @@ static PyObject *_wrap_Rect_SetBottom(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Rect_Inflate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; int arg3 ; @@ -5700,11 +5857,11 @@ static PyObject *_wrap_Rect_Inflate(PyObject *, PyObject *args, PyObject *kwargs 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; } { @@ -5725,7 +5882,7 @@ static PyObject *_wrap_Rect_Inflate(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Rect_Deflate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; int arg3 ; @@ -5741,11 +5898,11 @@ static PyObject *_wrap_Rect_Deflate(PyObject *, PyObject *args, PyObject *kwargs 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; } { @@ -5766,7 +5923,7 @@ static PyObject *_wrap_Rect_Deflate(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Rect_OffsetXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; int arg3 ; @@ -5781,11 +5938,11 @@ static PyObject *_wrap_Rect_OffsetXY(PyObject *, PyObject *args, PyObject *kwarg 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; } { @@ -5803,7 +5960,7 @@ static PyObject *_wrap_Rect_OffsetXY(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Rect_Offset(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -5835,7 +5992,7 @@ static PyObject *_wrap_Rect_Offset(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect_Intersect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = 0 ; wxRect result; @@ -5862,7 +6019,7 @@ static PyObject *_wrap_Rect_Intersect(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; @@ -5872,7 +6029,7 @@ static PyObject *_wrap_Rect_Intersect(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Rect_Union(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = 0 ; wxRect result; @@ -5899,7 +6056,7 @@ static PyObject *_wrap_Rect_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; @@ -5909,7 +6066,7 @@ static PyObject *_wrap_Rect_Union(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect___add__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = 0 ; wxRect result; @@ -5936,7 +6093,7 @@ static PyObject *_wrap_Rect___add__(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; @@ -5946,7 +6103,7 @@ static PyObject *_wrap_Rect___add__(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Rect___iadd__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = 0 ; wxRect *result; @@ -5982,7 +6139,7 @@ static PyObject *_wrap_Rect___iadd__(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Rect___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = 0 ; bool result; @@ -6017,7 +6174,7 @@ static PyObject *_wrap_Rect___eq__(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = 0 ; bool result; @@ -6052,7 +6209,7 @@ static PyObject *_wrap_Rect___ne__(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect_InsideXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; int arg3 ; @@ -6068,11 +6225,11 @@ static PyObject *_wrap_Rect_InsideXY(PyObject *, PyObject *args, PyObject *kwarg 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; } { @@ -6092,7 +6249,7 @@ static PyObject *_wrap_Rect_InsideXY(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Rect_Inside(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxPoint *arg2 = 0 ; bool result; @@ -6127,7 +6284,7 @@ static PyObject *_wrap_Rect_Inside(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect_Intersects(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = 0 ; bool result; @@ -6161,8 +6318,53 @@ static PyObject *_wrap_Rect_Intersects(PyObject *, PyObject *args, PyObject *kwa } +static PyObject *_wrap_Rect_CenterIn(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxRect *arg1 = (wxRect *) 0 ; + wxRect *arg2 = 0 ; + int arg3 = (int) wxBOTH ; + wxRect result; + wxRect temp2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "r",(char *) "dir", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Rect_CenterIn",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 = &temp2; + if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; + } + if (obj2) { + { + arg3 = static_cast(SWIG_As_int(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (arg1)->CenterIn((wxRect const &)*arg2,arg3); + + 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_Rect_x_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6175,7 +6377,7 @@ static PyObject *_wrap_Rect_x_set(PyObject *, PyObject *args, PyObject *kwargs) 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; @@ -6188,7 +6390,7 @@ static PyObject *_wrap_Rect_x_set(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect_x_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6202,7 +6404,7 @@ static PyObject *_wrap_Rect_x_get(PyObject *, PyObject *args, PyObject *kwargs) result = (int) ((arg1)->x); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6211,7 +6413,7 @@ static PyObject *_wrap_Rect_x_get(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect_y_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6224,7 +6426,7 @@ static PyObject *_wrap_Rect_y_set(PyObject *, PyObject *args, PyObject *kwargs) 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; @@ -6237,7 +6439,7 @@ static PyObject *_wrap_Rect_y_set(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect_y_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6251,7 +6453,7 @@ static PyObject *_wrap_Rect_y_get(PyObject *, PyObject *args, PyObject *kwargs) result = (int) ((arg1)->y); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6260,7 +6462,7 @@ static PyObject *_wrap_Rect_y_get(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Rect_width_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6273,7 +6475,7 @@ static PyObject *_wrap_Rect_width_set(PyObject *, PyObject *args, PyObject *kwar 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; @@ -6286,7 +6488,7 @@ static PyObject *_wrap_Rect_width_set(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Rect_width_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6300,7 +6502,7 @@ static PyObject *_wrap_Rect_width_get(PyObject *, PyObject *args, PyObject *kwar result = (int) ((arg1)->width); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6309,7 +6511,7 @@ static PyObject *_wrap_Rect_width_get(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Rect_height_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6322,7 +6524,7 @@ static PyObject *_wrap_Rect_height_set(PyObject *, PyObject *args, PyObject *kwa 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; @@ -6335,7 +6537,7 @@ static PyObject *_wrap_Rect_height_set(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Rect_height_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6349,7 +6551,7 @@ static PyObject *_wrap_Rect_height_get(PyObject *, PyObject *args, PyObject *kwa result = (int) ((arg1)->height); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -6358,7 +6560,7 @@ static PyObject *_wrap_Rect_height_get(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Rect_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -6378,25 +6580,25 @@ static PyObject *_wrap_Rect_Set(PyObject *, PyObject *args, PyObject *kwargs) { 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; } } @@ -6415,7 +6617,7 @@ static PyObject *_wrap_Rect_Set(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Rect_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -6448,7 +6650,7 @@ static PyObject * Rect_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_IntersectRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect *arg1 = (wxRect *) 0 ; wxRect *arg2 = (wxRect *) 0 ; PyObject *result; @@ -6479,7 +6681,7 @@ static PyObject *_wrap_IntersectRect(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_Point2D(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; double arg1 = (double) 0.0 ; double arg2 = (double) 0.0 ; wxPoint2D *result; @@ -6492,13 +6694,13 @@ static PyObject *_wrap_new_Point2D(PyObject *, PyObject *args, PyObject *kwargs) 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; } } @@ -6517,7 +6719,7 @@ static PyObject *_wrap_new_Point2D(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_Point2DCopy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = 0 ; wxPoint2D *result; wxPoint2D temp1 ; @@ -6546,7 +6748,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 ; @@ -6575,7 +6777,7 @@ static PyObject *_wrap_new_Point2DFromPoint(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Point2D_GetFloor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -6612,7 +6814,7 @@ static PyObject *_wrap_Point2D_GetFloor(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Point2D_GetRounded(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -6649,7 +6851,7 @@ static PyObject *_wrap_Point2D_GetRounded(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Point2D_GetVectorLength(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double result; PyObject * obj0 = 0 ; @@ -6668,7 +6870,7 @@ static PyObject *_wrap_Point2D_GetVectorLength(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: @@ -6677,7 +6879,7 @@ static PyObject *_wrap_Point2D_GetVectorLength(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double result; PyObject * obj0 = 0 ; @@ -6696,7 +6898,7 @@ static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -6705,7 +6907,7 @@ static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Point2D_SetVectorLength(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -6718,7 +6920,7 @@ static PyObject *_wrap_Point2D_SetVectorLength(PyObject *, PyObject *args, PyObj 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; } { @@ -6736,7 +6938,7 @@ static PyObject *_wrap_Point2D_SetVectorLength(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -6749,7 +6951,7 @@ static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *, PyObject *args, PyObje 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; } { @@ -6767,7 +6969,7 @@ static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Point2D_GetDistance(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; double result; @@ -6793,7 +6995,7 @@ static PyObject *_wrap_Point2D_GetDistance(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -6802,7 +7004,7 @@ static PyObject *_wrap_Point2D_GetDistance(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; double result; @@ -6828,7 +7030,7 @@ static PyObject *_wrap_Point2D_GetDistanceSquare(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: @@ -6837,7 +7039,7 @@ static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *, PyObject *args, PyO static PyObject *_wrap_Point2D_GetDotProduct(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; double result; @@ -6863,7 +7065,7 @@ static PyObject *_wrap_Point2D_GetDotProduct(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: @@ -6872,7 +7074,7 @@ static PyObject *_wrap_Point2D_GetDotProduct(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; double result; @@ -6898,7 +7100,7 @@ static PyObject *_wrap_Point2D_GetCrossProduct(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: @@ -6907,7 +7109,7 @@ static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Point2D___neg__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D result; PyObject * obj0 = 0 ; @@ -6927,7 +7129,7 @@ static PyObject *_wrap_Point2D___neg__(PyObject *, PyObject *args, PyObject *kwa } { wxPoint2D * resultptr; - resultptr = new wxPoint2D((wxPoint2D &)(result)); + resultptr = new wxPoint2D(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint2D, 1); } return resultobj; @@ -6937,7 +7139,7 @@ static PyObject *_wrap_Point2D___neg__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Point2D___iadd__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; wxPoint2D *result; @@ -6973,7 +7175,7 @@ static PyObject *_wrap_Point2D___iadd__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Point2D___isub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; wxPoint2D *result; @@ -7009,7 +7211,7 @@ static PyObject *_wrap_Point2D___isub__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Point2D___imul__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; wxPoint2D *result; @@ -7045,7 +7247,7 @@ static PyObject *_wrap_Point2D___imul__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Point2D___idiv__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; wxPoint2D *result; @@ -7081,7 +7283,7 @@ static PyObject *_wrap_Point2D___idiv__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Point2D___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; bool result; @@ -7116,7 +7318,7 @@ static PyObject *_wrap_Point2D___eq__(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Point2D___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; wxPoint2D *arg2 = 0 ; bool result; @@ -7151,7 +7353,7 @@ static PyObject *_wrap_Point2D___ne__(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Point2D_x_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -7164,7 +7366,7 @@ static PyObject *_wrap_Point2D_x_set(PyObject *, PyObject *args, PyObject *kwarg 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; @@ -7177,7 +7379,7 @@ static PyObject *_wrap_Point2D_x_set(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Point2D_x_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double result; PyObject * obj0 = 0 ; @@ -7191,7 +7393,7 @@ static PyObject *_wrap_Point2D_x_get(PyObject *, PyObject *args, PyObject *kwarg result = (double) ((arg1)->m_x); { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -7200,7 +7402,7 @@ static PyObject *_wrap_Point2D_x_get(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Point2D_y_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -7213,7 +7415,7 @@ static PyObject *_wrap_Point2D_y_set(PyObject *, PyObject *args, PyObject *kwarg 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; @@ -7226,7 +7428,7 @@ static PyObject *_wrap_Point2D_y_set(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Point2D_y_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double result; PyObject * obj0 = 0 ; @@ -7240,7 +7442,7 @@ static PyObject *_wrap_Point2D_y_get(PyObject *, PyObject *args, PyObject *kwarg result = (double) ((arg1)->m_y); { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -7249,7 +7451,7 @@ static PyObject *_wrap_Point2D_y_get(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Point2D_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; double arg2 = (double) 0 ; double arg3 = (double) 0 ; @@ -7265,13 +7467,13 @@ static PyObject *_wrap_Point2D_Set(PyObject *, PyObject *args, PyObject *kwargs) 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; } } @@ -7290,7 +7492,7 @@ static PyObject *_wrap_Point2D_Set(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Point2D_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint2D *arg1 = (wxPoint2D *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -7329,7 +7531,7 @@ static int _wrap_DefaultPosition_set(PyObject *) { static PyObject *_wrap_DefaultPosition_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxDefaultPosition), SWIGTYPE_p_wxPoint, 0); return pyobj; @@ -7343,7 +7545,7 @@ static int _wrap_DefaultSize_set(PyObject *) { static PyObject *_wrap_DefaultSize_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSize), SWIGTYPE_p_wxSize, 0); return pyobj; @@ -7351,7 +7553,7 @@ static PyObject *_wrap_DefaultSize_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 ; @@ -7376,7 +7578,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[] = { @@ -7401,7 +7603,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[] = { @@ -7426,7 +7628,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[] = { @@ -7451,7 +7653,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 ; @@ -7479,7 +7681,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; @@ -7494,7 +7696,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; } } @@ -7513,7 +7715,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; @@ -7528,7 +7730,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; } } @@ -7547,7 +7749,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; @@ -7562,7 +7764,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; } } @@ -7581,7 +7783,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 ; @@ -7596,12 +7798,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; } } @@ -7620,7 +7822,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 ; @@ -7639,7 +7841,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: @@ -7648,7 +7850,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 ; @@ -7667,7 +7869,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: @@ -7676,7 +7878,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 ; @@ -7695,7 +7897,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: @@ -7704,7 +7906,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 ; @@ -7723,7 +7925,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: @@ -7732,7 +7934,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 ; @@ -7760,7 +7962,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 ; @@ -7788,7 +7990,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; @@ -7802,7 +8004,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; } { @@ -7822,7 +8024,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 ; @@ -7838,24 +8040,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: @@ -7864,7 +8066,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 ; @@ -7883,7 +8085,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: @@ -7899,7 +8101,7 @@ static PyObject * InputStream_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_OutputStream_write(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxOutputStream *arg1 = (wxOutputStream *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -7934,7 +8136,7 @@ static PyObject * OutputStream_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FSFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxInputStream *arg1 = (wxInputStream *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -8000,7 +8202,7 @@ static PyObject *_wrap_new_FSFile(PyObject *, PyObject *args, PyObject *kwargs) if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 1); + resultobj = wxPyMake_wxObject(result, (bool)1); } { if (temp2) @@ -8033,7 +8235,7 @@ static PyObject *_wrap_new_FSFile(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_delete_FSFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFSFile *arg1 = (wxFSFile *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8058,7 +8260,7 @@ static PyObject *_wrap_delete_FSFile(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_FSFile_GetStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFSFile *arg1 = (wxFSFile *) 0 ; wxInputStream *result; PyObject * obj0 = 0 ; @@ -8091,7 +8293,7 @@ static PyObject *_wrap_FSFile_GetStream(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_FSFile_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFSFile *arg1 = (wxFSFile *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -8126,7 +8328,7 @@ static PyObject *_wrap_FSFile_GetMimeType(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_FSFile_GetLocation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFSFile *arg1 = (wxFSFile *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -8161,7 +8363,7 @@ static PyObject *_wrap_FSFile_GetLocation(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_FSFile_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFSFile *arg1 = (wxFSFile *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -8196,7 +8398,7 @@ static PyObject *_wrap_FSFile_GetAnchor(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_FSFile_GetModificationTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFSFile *arg1 = (wxFSFile *) 0 ; wxDateTime result; PyObject * obj0 = 0 ; @@ -8216,7 +8418,7 @@ static PyObject *_wrap_FSFile_GetModificationTime(PyObject *, PyObject *args, Py } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -8240,7 +8442,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 @@ -8262,7 +8464,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 ; @@ -8293,7 +8495,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; @@ -8337,7 +8539,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 ; @@ -8374,7 +8576,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) @@ -8391,7 +8593,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 ; @@ -8414,7 +8616,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; } } @@ -8447,7 +8649,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 ; @@ -8479,7 +8681,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; @@ -8527,7 +8729,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; @@ -8575,7 +8777,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; @@ -8623,7 +8825,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; @@ -8671,7 +8873,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; @@ -8726,7 +8928,7 @@ static PyObject * FileSystemHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FileSystem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileSystem *result; char *kwnames[] = { NULL @@ -8741,7 +8943,7 @@ static PyObject *_wrap_new_FileSystem(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 1); + resultobj = wxPyMake_wxObject(result, (bool)1); } return resultobj; fail: @@ -8750,7 +8952,7 @@ static PyObject *_wrap_new_FileSystem(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_delete_FileSystem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileSystem *arg1 = (wxFileSystem *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8775,7 +8977,7 @@ static PyObject *_wrap_delete_FileSystem(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileSystem *arg1 = (wxFileSystem *) 0 ; wxString *arg2 = 0 ; bool arg3 = (bool) false ; @@ -8797,7 +8999,7 @@ static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *, PyObject *args, PyObj } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8824,7 +9026,7 @@ static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *, PyObject *args, PyObj static PyObject *_wrap_FileSystem_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileSystem *arg1 = (wxFileSystem *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -8856,7 +9058,7 @@ static PyObject *_wrap_FileSystem_GetPath(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_FileSystem_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileSystem *arg1 = (wxFileSystem *) 0 ; wxString *arg2 = 0 ; wxFSFile *result; @@ -8883,7 +9085,7 @@ static PyObject *_wrap_FileSystem_OpenFile(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 1); + resultobj = wxPyMake_wxObject(result, (bool)1); } { if (temp2) @@ -8900,7 +9102,7 @@ static PyObject *_wrap_FileSystem_OpenFile(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileSystem_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileSystem *arg1 = (wxFileSystem *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; @@ -8923,7 +9125,7 @@ static PyObject *_wrap_FileSystem_FindFirst(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; } } @@ -8956,7 +9158,7 @@ static PyObject *_wrap_FileSystem_FindFirst(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileSystem_FindNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileSystem *arg1 = (wxFileSystem *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -8988,7 +9190,7 @@ static PyObject *_wrap_FileSystem_FindNext(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileSystem_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -9013,7 +9215,7 @@ static PyObject *_wrap_FileSystem_AddHandler(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -9034,7 +9236,7 @@ static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *, PyObject *args, Py static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString result; bool temp1 = false ; @@ -9078,7 +9280,7 @@ static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *, PyObject *args, PyOb static PyObject *_wrap_FileSystem_URLToFileName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString result; bool temp1 = false ; @@ -9095,7 +9297,7 @@ static PyObject *_wrap_FileSystem_URLToFileName(PyObject *, PyObject *args, PyOb } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = FileSystem_URLToFileName((wxString const &)*arg1); + result = wxFileSystem_URLToFileName((wxString const &)*arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -9129,7 +9331,7 @@ static PyObject * FileSystem_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_InternetFSHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxInternetFSHandler *result; char *kwnames[] = { NULL @@ -9151,7 +9353,7 @@ static PyObject *_wrap_new_InternetFSHandler(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ; wxString *arg2 = 0 ; bool result; @@ -9195,7 +9397,7 @@ static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *, PyObject *args, PyO static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ; wxFileSystem *arg2 = 0 ; wxString *arg3 = 0 ; @@ -9232,7 +9434,7 @@ static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 1); + resultobj = wxPyMake_wxObject(result, (bool)1); } { if (temp3) @@ -9256,7 +9458,7 @@ static PyObject * InternetFSHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ZipFSHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxZipFSHandler *result; char *kwnames[] = { NULL @@ -9278,7 +9480,7 @@ static PyObject *_wrap_new_ZipFSHandler(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ; wxString *arg2 = 0 ; bool result; @@ -9322,7 +9524,7 @@ static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ; wxFileSystem *arg2 = 0 ; wxString *arg3 = 0 ; @@ -9359,7 +9561,7 @@ static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 1); + resultobj = wxPyMake_wxObject(result, (bool)1); } { if (temp3) @@ -9376,7 +9578,7 @@ static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; @@ -9399,7 +9601,7 @@ static PyObject *_wrap_ZipFSHandler_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; } } @@ -9432,7 +9634,7 @@ static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ZipFSHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -9471,7 +9673,7 @@ static PyObject * ZipFSHandler_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 ; @@ -9498,7 +9700,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; } { @@ -9524,7 +9726,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 ; @@ -9551,7 +9753,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; } { @@ -9577,7 +9779,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 ; @@ -9617,7 +9819,7 @@ static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *, PyObject *ar static PyObject *_wrap_new_MemoryFSHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMemoryFSHandler *result; char *kwnames[] = { NULL @@ -9639,7 +9841,7 @@ static PyObject *_wrap_new_MemoryFSHandler(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -9676,7 +9878,7 @@ static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *, PyObject *args, Py static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ; wxString *arg2 = 0 ; bool result; @@ -9720,7 +9922,7 @@ static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *, PyObject *args, PyObj static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ; wxFileSystem *arg2 = 0 ; wxString *arg3 = 0 ; @@ -9757,7 +9959,7 @@ static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 1); + resultobj = wxPyMake_wxObject(result, (bool)1); } { if (temp3) @@ -9774,7 +9976,7 @@ static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *, PyObject *args, PyOb static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; @@ -9797,7 +9999,7 @@ static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *, PyObject *args, PyO } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -9830,7 +10032,7 @@ static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *, PyObject *args, PyO static PyObject *_wrap_MemoryFSHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -9869,7 +10071,7 @@ static PyObject * MemoryFSHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_ImageHandler_GetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -9901,7 +10103,7 @@ static PyObject *_wrap_ImageHandler_GetName(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ImageHandler_GetExtension(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -9933,7 +10135,7 @@ static PyObject *_wrap_ImageHandler_GetExtension(PyObject *, PyObject *args, PyO static PyObject *_wrap_ImageHandler_GetType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; long result; PyObject * obj0 = 0 ; @@ -9952,7 +10154,7 @@ static PyObject *_wrap_ImageHandler_GetType(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: @@ -9961,7 +10163,7 @@ static PyObject *_wrap_ImageHandler_GetType(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -9993,7 +10195,7 @@ static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ImageHandler_CanRead(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString *arg2 = 0 ; bool result; @@ -10037,7 +10239,7 @@ static PyObject *_wrap_ImageHandler_CanRead(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ImageHandler_SetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10078,7 +10280,7 @@ static PyObject *_wrap_ImageHandler_SetName(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ImageHandler_SetExtension(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10119,7 +10321,7 @@ static PyObject *_wrap_ImageHandler_SetExtension(PyObject *, PyObject *args, PyO static PyObject *_wrap_ImageHandler_SetType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -10132,7 +10334,7 @@ static PyObject *_wrap_ImageHandler_SetType(PyObject *, PyObject *args, PyObject 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; } { @@ -10150,7 +10352,7 @@ static PyObject *_wrap_ImageHandler_SetType(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10197,8 +10399,65 @@ static PyObject * ImageHandler_swigregister(PyObject *, PyObject *args) { Py_INCREF(obj); return Py_BuildValue((char *)""); } +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; + PyObject *resultobj = NULL; wxImageHistogram *result; char *kwnames[] = { NULL @@ -10220,10 +10479,10 @@ static PyObject *_wrap_new_ImageHistogram(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - unsigned char arg1 ; - unsigned char arg2 ; - unsigned char arg3 ; + PyObject *resultobj = NULL; + byte arg1 ; + byte arg2 ; + byte arg3 ; unsigned long result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -10234,15 +10493,15 @@ static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *, PyObject *args, PyObje 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; } { @@ -10253,7 +10512,7 @@ static PyObject *_wrap_ImageHistogram_MakeKey(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: @@ -10262,20 +10521,20 @@ static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + 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 ; @@ -10293,19 +10552,19 @@ static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *, PyObject 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; } } @@ -10332,7 +10591,7 @@ static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *, PyObject static PyObject *_wrap_ImageHistogram_GetCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHistogram *arg1 = (wxImageHistogram *) 0 ; unsigned long arg2 ; unsigned long result; @@ -10346,7 +10605,7 @@ static PyObject *_wrap_ImageHistogram_GetCount(PyObject *, PyObject *args, PyObj 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; } { @@ -10357,7 +10616,7 @@ static PyObject *_wrap_ImageHistogram_GetCount(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: @@ -10366,11 +10625,11 @@ static PyObject *_wrap_ImageHistogram_GetCount(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ImageHistogram_GetCountRGB(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + 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 ; @@ -10384,15 +10643,15 @@ static PyObject *_wrap_ImageHistogram_GetCountRGB(PyObject *, PyObject *args, Py 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; } { @@ -10403,7 +10662,7 @@ static PyObject *_wrap_ImageHistogram_GetCountRGB(PyObject *, PyObject *args, Py 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: @@ -10412,7 +10671,7 @@ static PyObject *_wrap_ImageHistogram_GetCountRGB(PyObject *, PyObject *args, Py static PyObject *_wrap_ImageHistogram_GetCountColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHistogram *arg1 = (wxImageHistogram *) 0 ; wxColour *arg2 = 0 ; unsigned long result; @@ -10438,7 +10697,7 @@ static PyObject *_wrap_ImageHistogram_GetCountColour(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: @@ -10453,8 +10712,408 @@ static PyObject * ImageHistogram_swigregister(PyObject *, PyObject *args) { Py_INCREF(obj); return Py_BuildValue((char *)""); } +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; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; long arg2 = (long) wxBITMAP_TYPE_ANY ; int arg3 = (int) -1 ; @@ -10475,13 +11134,13 @@ static PyObject *_wrap_new_Image(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; } } @@ -10508,7 +11167,7 @@ static PyObject *_wrap_new_Image(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_delete_Image(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10533,7 +11192,7 @@ static PyObject *_wrap_delete_Image(PyObject *, PyObject *args, PyObject *kwargs 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 ; @@ -10560,7 +11219,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; } } @@ -10595,7 +11254,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 ; @@ -10626,13 +11285,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; } } @@ -10657,7 +11316,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 ; @@ -10694,7 +11353,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; } } @@ -10727,7 +11386,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 ; @@ -10742,19 +11401,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; } } @@ -10773,7 +11432,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 ; @@ -10806,7 +11465,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 ; @@ -10821,11 +11480,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; } { @@ -10846,7 +11505,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 ; @@ -10864,11 +11523,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; } { @@ -10892,31 +11551,39 @@ static PyObject *_wrap_new_ImageFromDataWithAlpha(PyObject *, PyObject *args, Py static PyObject *_wrap_Image_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + 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:Image_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; @@ -10929,7 +11596,7 @@ static PyObject *_wrap_Image_Create(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Image_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10954,7 +11621,7 @@ static PyObject *_wrap_Image_Destroy(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Image_Scale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; @@ -10970,11 +11637,11 @@ static PyObject *_wrap_Image_Scale(PyObject *, PyObject *args, PyObject *kwargs) 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; } { @@ -10986,7 +11653,7 @@ static PyObject *_wrap_Image_Scale(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; @@ -10996,7 +11663,7 @@ static PyObject *_wrap_Image_Scale(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Image_ShrinkBy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; @@ -11012,11 +11679,11 @@ static PyObject *_wrap_Image_ShrinkBy(PyObject *, PyObject *args, PyObject *kwar 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; } { @@ -11028,7 +11695,7 @@ static PyObject *_wrap_Image_ShrinkBy(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; @@ -11038,7 +11705,7 @@ static PyObject *_wrap_Image_ShrinkBy(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Image_Rescale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 ; int arg3 ; @@ -11054,11 +11721,11 @@ static PyObject *_wrap_Image_Rescale(PyObject *, PyObject *args, PyObject *kwarg 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; } { @@ -11079,7 +11746,7 @@ static PyObject *_wrap_Image_Rescale(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Image_Resize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxSize *arg2 = 0 ; wxPoint *arg3 = 0 ; @@ -11112,19 +11779,19 @@ static PyObject *_wrap_Image_Resize(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; } } @@ -11146,13 +11813,13 @@ static PyObject *_wrap_Image_Resize(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Image_SetRGB(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + 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 ; @@ -11167,23 +11834,23 @@ static PyObject *_wrap_Image_SetRGB(PyObject *, PyObject *args, PyObject *kwargs 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; } { @@ -11201,12 +11868,12 @@ static PyObject *_wrap_Image_SetRGB(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Image_SetRGBRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + 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 ; @@ -11225,15 +11892,15 @@ static PyObject *_wrap_Image_SetRGBRect(PyObject *, PyObject *args, PyObject *kw 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; } { @@ -11251,11 +11918,11 @@ static PyObject *_wrap_Image_SetRGBRect(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Image_GetRed(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + 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 ; @@ -11267,22 +11934,22 @@ static PyObject *_wrap_Image_GetRed(PyObject *, PyObject *args, PyObject *kwargs 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: @@ -11291,11 +11958,11 @@ static PyObject *_wrap_Image_GetRed(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Image_GetGreen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + 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 ; @@ -11307,22 +11974,22 @@ static PyObject *_wrap_Image_GetGreen(PyObject *, PyObject *args, PyObject *kwar 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: @@ -11331,11 +11998,11 @@ static PyObject *_wrap_Image_GetGreen(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Image_GetBlue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + 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 ; @@ -11347,22 +12014,22 @@ static PyObject *_wrap_Image_GetBlue(PyObject *, PyObject *args, PyObject *kwarg 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: @@ -11371,11 +12038,11 @@ static PyObject *_wrap_Image_GetBlue(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Image_SetAlpha(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + 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 ; @@ -11388,15 +12055,15 @@ static PyObject *_wrap_Image_SetAlpha(PyObject *, PyObject *args, PyObject *kwar 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; } { @@ -11414,11 +12081,11 @@ static PyObject *_wrap_Image_SetAlpha(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Image_GetAlpha(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + 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 ; @@ -11430,22 +12097,22 @@ static PyObject *_wrap_Image_GetAlpha(PyObject *, PyObject *args, PyObject *kwar 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: @@ -11454,7 +12121,7 @@ static PyObject *_wrap_Image_GetAlpha(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Image_HasAlpha(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11482,7 +12149,7 @@ static PyObject *_wrap_Image_HasAlpha(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Image_InitAlpha(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11506,8 +12173,56 @@ static PyObject *_wrap_Image_InitAlpha(PyObject *, PyObject *args, PyObject *kwa } +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; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; byte *arg2 = (byte *) 0 ; byte *arg3 = (byte *) 0 ; @@ -11538,19 +12253,19 @@ static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *, PyObject *args, P 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; } } @@ -11577,9 +12292,9 @@ static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *, PyObject *args, P static PyObject *_wrap_Image_ConvertAlphaToMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + 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 ; @@ -11592,7 +12307,7 @@ static PyObject *_wrap_Image_ConvertAlphaToMask(PyObject *, PyObject *args, PyOb 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; } } @@ -11613,11 +12328,11 @@ static PyObject *_wrap_Image_ConvertAlphaToMask(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Image_ConvertColourToAlpha(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + 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 ; @@ -11631,15 +12346,15 @@ static PyObject *_wrap_Image_ConvertColourToAlpha(PyObject *, PyObject *args, Py 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; } { @@ -11659,7 +12374,7 @@ static PyObject *_wrap_Image_ConvertColourToAlpha(PyObject *, PyObject *args, Py static PyObject *_wrap_Image_SetMaskFromImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxImage *arg2 = 0 ; byte arg3 ; @@ -11687,15 +12402,15 @@ static PyObject *_wrap_Image_SetMaskFromImage(PyObject *, PyObject *args, PyObje 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; } { @@ -11715,13 +12430,13 @@ static PyObject *_wrap_Image_SetMaskFromImage(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Image_CanRead(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + 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:Image_CanRead",kwnames,&obj0)) goto fail; @@ -11755,7 +12470,7 @@ static PyObject *_wrap_Image_CanRead(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Image_GetImageCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; long arg2 = (long) wxBITMAP_TYPE_ANY ; int result; @@ -11763,7 +12478,7 @@ static PyObject *_wrap_Image_GetImageCount(PyObject *, PyObject *args, PyObject 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:Image_GetImageCount",kwnames,&obj0,&obj1)) goto fail; @@ -11774,7 +12489,7 @@ static PyObject *_wrap_Image_GetImageCount(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; } } @@ -11786,7 +12501,7 @@ static PyObject *_wrap_Image_GetImageCount(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp1) @@ -11803,7 +12518,7 @@ static PyObject *_wrap_Image_GetImageCount(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; long arg3 = (long) wxBITMAP_TYPE_ANY ; @@ -11828,13 +12543,13 @@ static PyObject *_wrap_Image_LoadFile(PyObject *, PyObject *args, PyObject *kwar } 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; } } @@ -11863,7 +12578,7 @@ static PyObject *_wrap_Image_LoadFile(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Image_LoadMimeFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -11894,7 +12609,7 @@ static PyObject *_wrap_Image_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; } } @@ -11931,7 +12646,7 @@ static PyObject *_wrap_Image_LoadMimeFile(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Image_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; int arg3 ; @@ -11953,7 +12668,7 @@ static PyObject *_wrap_Image_SaveFile(PyObject *, PyObject *args, PyObject *kwar temp2 = true; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -11981,7 +12696,7 @@ static PyObject *_wrap_Image_SaveFile(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Image_SaveMimeFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -12041,7 +12756,7 @@ static PyObject *_wrap_Image_SaveMimeFile(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Image_CanReadStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxInputStream *arg1 = 0 ; bool result; wxPyInputStream *temp1 ; @@ -12089,7 +12804,7 @@ static PyObject *_wrap_Image_CanReadStream(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_LoadStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxInputStream *arg2 = 0 ; long arg3 = (long) wxBITMAP_TYPE_ANY ; @@ -12124,13 +12839,13 @@ static PyObject *_wrap_Image_LoadStream(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; } } @@ -12157,7 +12872,7 @@ static PyObject *_wrap_Image_LoadStream(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Image_LoadMimeStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxInputStream *arg2 = 0 ; wxString *arg3 = 0 ; @@ -12198,7 +12913,7 @@ static PyObject *_wrap_Image_LoadMimeStream(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; } } @@ -12233,7 +12948,7 @@ static PyObject *_wrap_Image_LoadMimeStream(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_Ok(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12261,7 +12976,7 @@ static PyObject *_wrap_Image_Ok(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Image_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12280,7 +12995,7 @@ static PyObject *_wrap_Image_GetWidth(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: @@ -12289,7 +13004,7 @@ static PyObject *_wrap_Image_GetWidth(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Image_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12308,7 +13023,7 @@ static PyObject *_wrap_Image_GetHeight(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: @@ -12317,7 +13032,7 @@ static PyObject *_wrap_Image_GetHeight(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Image_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -12337,7 +13052,7 @@ static PyObject *_wrap_Image_GetSize(PyObject *, PyObject *args, PyObject *kwarg } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -12347,7 +13062,7 @@ static PyObject *_wrap_Image_GetSize(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Image_GetSubImage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxRect *arg2 = 0 ; SwigValueWrapper result; @@ -12374,7 +13089,7 @@ static PyObject *_wrap_Image_GetSubImage(PyObject *, PyObject *args, PyObject *k } { wxImage * resultptr; - resultptr = new wxImage((wxImage &)(result)); + resultptr = new wxImage(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1); } return resultobj; @@ -12384,7 +13099,7 @@ static PyObject *_wrap_Image_GetSubImage(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Image_Size(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxSize *arg2 = 0 ; wxPoint *arg3 = 0 ; @@ -12417,19 +13132,19 @@ static PyObject *_wrap_Image_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; } } @@ -12442,7 +13157,7 @@ static PyObject *_wrap_Image_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; @@ -12452,7 +13167,7 @@ static PyObject *_wrap_Image_Size(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Image_Copy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; SwigValueWrapper result; PyObject * obj0 = 0 ; @@ -12472,7 +13187,7 @@ static PyObject *_wrap_Image_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; @@ -12482,7 +13197,7 @@ static PyObject *_wrap_Image_Copy(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Image_Paste(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxImage *arg2 = 0 ; int arg3 ; @@ -12507,11 +13222,11 @@ static PyObject *_wrap_Image_Paste(PyObject *, PyObject *args, PyObject *kwargs) 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; } { @@ -12529,7 +13244,7 @@ static PyObject *_wrap_Image_Paste(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Image_GetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -12555,7 +13270,7 @@ static PyObject *_wrap_Image_GetData(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Image_SetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; buffer arg2 ; int arg3 ; @@ -12586,7 +13301,7 @@ static PyObject *_wrap_Image_SetData(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Image_GetDataBuffer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -12612,7 +13327,7 @@ static PyObject *_wrap_Image_GetDataBuffer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_SetDataBuffer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; buffer arg2 ; int arg3 ; @@ -12643,7 +13358,7 @@ static PyObject *_wrap_Image_SetDataBuffer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_GetAlphaData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -12669,7 +13384,7 @@ static PyObject *_wrap_Image_GetAlphaData(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Image_SetAlphaData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; buffer arg2 ; int arg3 ; @@ -12700,7 +13415,7 @@ static PyObject *_wrap_Image_SetAlphaData(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -12726,7 +13441,7 @@ static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; buffer arg2 ; int arg3 ; @@ -12757,11 +13472,11 @@ static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_SetMaskColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + 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 ; @@ -12774,15 +13489,15 @@ static PyObject *_wrap_Image_SetMaskColour(PyObject *, PyObject *args, PyObject 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; } { @@ -12800,16 +13515,16 @@ static PyObject *_wrap_Image_SetMaskColour(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_GetOrFindMaskColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + 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[] = { @@ -12843,9 +13558,9 @@ static PyObject *_wrap_Image_GetOrFindMaskColour(PyObject *, PyObject *args, PyO static PyObject *_wrap_Image_GetMaskRed(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; - unsigned char result; + byte result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -12856,13 +13571,13 @@ static PyObject *_wrap_Image_GetMaskRed(PyObject *, PyObject *args, PyObject *kw 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: @@ -12871,9 +13586,9 @@ static PyObject *_wrap_Image_GetMaskRed(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Image_GetMaskGreen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; - unsigned char result; + byte result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -12884,13 +13599,13 @@ static PyObject *_wrap_Image_GetMaskGreen(PyObject *, PyObject *args, PyObject * 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: @@ -12899,9 +13614,9 @@ static PyObject *_wrap_Image_GetMaskGreen(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Image_GetMaskBlue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; - unsigned char result; + byte result; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL @@ -12912,13 +13627,13 @@ static PyObject *_wrap_Image_GetMaskBlue(PyObject *, PyObject *args, PyObject *k 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: @@ -12927,7 +13642,7 @@ static PyObject *_wrap_Image_GetMaskBlue(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Image_SetMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -12941,7 +13656,7 @@ static PyObject *_wrap_Image_SetMask(PyObject *, PyObject *args, PyObject *kwarg 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; } } @@ -12960,7 +13675,7 @@ static PyObject *_wrap_Image_SetMask(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Image_HasMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12988,7 +13703,7 @@ static PyObject *_wrap_Image_HasMask(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Image_Rotate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; double arg2 ; wxPoint *arg3 = 0 ; @@ -13009,7 +13724,7 @@ static PyObject *_wrap_Image_Rotate(PyObject *, PyObject *args, PyObject *kwargs 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; } { @@ -13018,7 +13733,7 @@ static PyObject *_wrap_Image_Rotate(PyObject *, PyObject *args, PyObject *kwargs } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -13035,7 +13750,7 @@ static PyObject *_wrap_Image_Rotate(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; @@ -13045,7 +13760,7 @@ static PyObject *_wrap_Image_Rotate(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Image_Rotate90(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; bool arg2 = (bool) true ; SwigValueWrapper result; @@ -13060,7 +13775,7 @@ static PyObject *_wrap_Image_Rotate90(PyObject *, PyObject *args, PyObject *kwar 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; } } @@ -13073,7 +13788,7 @@ static PyObject *_wrap_Image_Rotate90(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; @@ -13083,7 +13798,7 @@ static PyObject *_wrap_Image_Rotate90(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Image_Mirror(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; bool arg2 = (bool) true ; SwigValueWrapper result; @@ -13098,7 +13813,7 @@ static PyObject *_wrap_Image_Mirror(PyObject *, PyObject *args, PyObject *kwargs 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; } } @@ -13111,7 +13826,7 @@ static PyObject *_wrap_Image_Mirror(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; @@ -13121,14 +13836,14 @@ static PyObject *_wrap_Image_Mirror(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Image_Replace(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + 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 ; @@ -13144,27 +13859,27 @@ static PyObject *_wrap_Image_Replace(PyObject *, PyObject *args, PyObject *kwarg 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; } { @@ -13181,12 +13896,66 @@ static PyObject *_wrap_Image_Replace(PyObject *, PyObject *args, PyObject *kwarg } +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; + 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 ; @@ -13200,15 +13969,15 @@ static PyObject *_wrap_Image_ConvertToMono(PyObject *, PyObject *args, PyObject 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; } { @@ -13220,7 +13989,7 @@ static PyObject *_wrap_Image_ConvertToMono(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; @@ -13230,7 +13999,7 @@ static PyObject *_wrap_Image_ConvertToMono(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_SetOption(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -13287,7 +14056,7 @@ static PyObject *_wrap_Image_SetOption(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Image_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; int arg3 ; @@ -13308,7 +14077,7 @@ static PyObject *_wrap_Image_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; } { @@ -13334,7 +14103,7 @@ static PyObject *_wrap_Image_SetOptionInt(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Image_GetOption(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -13382,7 +14151,7 @@ static PyObject *_wrap_Image_GetOption(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Image_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; int result; @@ -13409,7 +14178,7 @@ static PyObject *_wrap_Image_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) @@ -13426,7 +14195,7 @@ static PyObject *_wrap_Image_GetOptionInt(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Image_HasOption(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxString *arg2 = 0 ; bool result; @@ -13470,7 +14239,7 @@ static PyObject *_wrap_Image_HasOption(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Image_CountColours(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; unsigned long arg2 = (unsigned long) (unsigned long) -1 ; unsigned long result; @@ -13485,7 +14254,7 @@ static PyObject *_wrap_Image_CountColours(PyObject *, PyObject *args, PyObject * 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; } } @@ -13497,7 +14266,7 @@ static PyObject *_wrap_Image_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: @@ -13506,7 +14275,7 @@ static PyObject *_wrap_Image_CountColours(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Image_ComputeHistogram(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; wxImageHistogram *arg2 = 0 ; unsigned long result; @@ -13535,7 +14304,7 @@ static PyObject *_wrap_Image_ComputeHistogram(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: @@ -13544,7 +14313,7 @@ static PyObject *_wrap_Image_ComputeHistogram(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Image_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13569,7 +14338,7 @@ static PyObject *_wrap_Image_AddHandler(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Image_InsertHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImageHandler *arg1 = (wxImageHandler *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13594,7 +14363,7 @@ static PyObject *_wrap_Image_InsertHandler(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_RemoveHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool result; bool temp1 = false ; @@ -13634,7 +14403,7 @@ static PyObject *_wrap_Image_RemoveHandler(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -13662,7 +14431,7 @@ static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *, PyObject *args, PyO static PyObject *_wrap_Image_ConvertToBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = (wxImage *) 0 ; int arg2 = (int) -1 ; wxBitmap result; @@ -13677,7 +14446,7 @@ static PyObject *_wrap_Image_ConvertToBitmap(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; } } @@ -13691,7 +14460,7 @@ static PyObject *_wrap_Image_ConvertToBitmap(PyObject *, PyObject *args, PyObjec } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -13701,11 +14470,11 @@ static PyObject *_wrap_Image_ConvertToBitmap(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + 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 ; @@ -13719,15 +14488,15 @@ static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *, PyObject *args, PyO 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; } { @@ -13740,7 +14509,7 @@ static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *, PyObject *args, PyO } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -13749,6 +14518,113 @@ static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *, PyObject *args, PyO } +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; @@ -13763,7 +14639,7 @@ static int _wrap_NullImage_set(PyObject *) { static PyObject *_wrap_NullImage_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxNullImage), SWIGTYPE_p_wxImage, 0); return pyobj; @@ -13777,7 +14653,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 @@ -13797,7 +14673,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 @@ -13817,7 +14693,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 @@ -13837,7 +14713,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 @@ -13857,7 +14733,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 @@ -13877,7 +14753,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 @@ -13897,7 +14773,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 @@ -13917,7 +14793,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 @@ -13937,7 +14813,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 @@ -13957,7 +14833,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 @@ -13977,7 +14853,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 @@ -13997,7 +14873,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 @@ -14017,7 +14893,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 @@ -14037,7 +14913,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 @@ -14057,7 +14933,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 @@ -14071,7 +14947,7 @@ static PyObject *_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) { static PyObject *_wrap_new_BMPHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBMPHandler *result; char *kwnames[] = { NULL @@ -14100,7 +14976,7 @@ static PyObject * BMPHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ICOHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxICOHandler *result; char *kwnames[] = { NULL @@ -14129,7 +15005,7 @@ static PyObject * ICOHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_CURHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCURHandler *result; char *kwnames[] = { NULL @@ -14158,7 +15034,7 @@ static PyObject * CURHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ANIHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxANIHandler *result; char *kwnames[] = { NULL @@ -14187,7 +15063,7 @@ static PyObject * ANIHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PNGHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPNGHandler *result; char *kwnames[] = { NULL @@ -14216,7 +15092,7 @@ static PyObject * PNGHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GIFHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGIFHandler *result; char *kwnames[] = { NULL @@ -14245,7 +15121,7 @@ static PyObject * GIFHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PCXHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPCXHandler *result; char *kwnames[] = { NULL @@ -14274,7 +15150,7 @@ static PyObject * PCXHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_JPEGHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJPEGHandler *result; char *kwnames[] = { NULL @@ -14303,7 +15179,7 @@ static PyObject * JPEGHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PNMHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPNMHandler *result; char *kwnames[] = { NULL @@ -14332,7 +15208,7 @@ static PyObject * PNMHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_XPMHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxXPMHandler *result; char *kwnames[] = { NULL @@ -14361,7 +15237,7 @@ static PyObject * XPMHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TIFFHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTIFFHandler *result; char *kwnames[] = { NULL @@ -14390,7 +15266,7 @@ static PyObject * TIFFHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_Quantize_Quantize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxImage *arg1 = 0 ; wxImage *arg2 = 0 ; int arg3 = (int) 236 ; @@ -14423,19 +15299,19 @@ static PyObject *_wrap_Quantize_Quantize(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; } } 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(); - result = (bool)Quantize_Quantize((wxImage const &)*arg1,*arg2,arg3,arg4); + result = (bool)wxQuantize_Quantize((wxImage const &)*arg1,*arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -14457,7 +15333,7 @@ static PyObject * Quantize_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_EvtHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *result; char *kwnames[] = { NULL @@ -14479,7 +15355,7 @@ static PyObject *_wrap_new_EvtHandler(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; wxEvtHandler *result; PyObject * obj0 = 0 ; @@ -14507,7 +15383,7 @@ static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *, PyObject *args, PyO static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; wxEvtHandler *result; PyObject * obj0 = 0 ; @@ -14535,7 +15411,7 @@ static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *, PyObject *args, static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; wxEvtHandler *arg2 = (wxEvtHandler *) 0 ; PyObject * obj0 = 0 ; @@ -14564,7 +15440,7 @@ static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *, PyObject *args, PyO static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; wxEvtHandler *arg2 = (wxEvtHandler *) 0 ; PyObject * obj0 = 0 ; @@ -14593,7 +15469,7 @@ static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *, PyObject *args, static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -14621,7 +15497,7 @@ static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *, PyObject *arg static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -14634,7 +15510,7 @@ static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *, PyObject *arg 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; } { @@ -14652,7 +15528,7 @@ static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *, PyObject *arg static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; wxEvent *arg2 = 0 ; bool result; @@ -14690,7 +15566,7 @@ static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *, PyObject *args, PyObj static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; wxEvent *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -14725,7 +15601,7 @@ static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *, PyObject *args, Py static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14750,7 +15626,7 @@ static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *, PyObject *arg static PyObject *_wrap_EvtHandler_Connect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; int arg2 ; int arg3 ; @@ -14769,15 +15645,15 @@ static PyObject *_wrap_EvtHandler_Connect(PyObject *, PyObject *args, PyObject * 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; @@ -14796,7 +15672,7 @@ static PyObject *_wrap_EvtHandler_Connect(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_EvtHandler_Disconnect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; int arg2 ; int arg3 = (int) -1 ; @@ -14814,18 +15690,18 @@ static PyObject *_wrap_EvtHandler_Disconnect(PyObject *, PyObject *args, PyObjec 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; } } @@ -14846,7 +15722,7 @@ static PyObject *_wrap_EvtHandler_Disconnect(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; PyObject *arg2 = (PyObject *) 0 ; bool arg3 = (bool) true ; @@ -14863,7 +15739,7 @@ static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *, PyObject *args, PyObje arg2 = obj1; if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -14889,7 +15765,7 @@ static PyObject * EvtHandler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_NewEventType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType result; char *kwnames[] = { NULL @@ -14904,7 +15780,7 @@ static PyObject *_wrap_NewEventType(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: @@ -14913,7 +15789,7 @@ static PyObject *_wrap_NewEventType(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_delete_Event(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14938,7 +15814,7 @@ static PyObject *_wrap_delete_Event(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Event_SetEventType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; wxEventType arg2 ; PyObject * obj0 = 0 ; @@ -14951,7 +15827,7 @@ static PyObject *_wrap_Event_SetEventType(PyObject *, PyObject *args, PyObject * 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; } { @@ -14969,7 +15845,7 @@ static PyObject *_wrap_Event_SetEventType(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Event_GetEventType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; wxEventType result; PyObject * obj0 = 0 ; @@ -14988,7 +15864,7 @@ static PyObject *_wrap_Event_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: @@ -14997,7 +15873,7 @@ static PyObject *_wrap_Event_GetEventType(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Event_GetEventObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; wxObject *result; PyObject * obj0 = 0 ; @@ -15016,7 +15892,7 @@ static PyObject *_wrap_Event_GetEventObject(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -15025,7 +15901,7 @@ static PyObject *_wrap_Event_GetEventObject(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Event_SetEventObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; wxObject *arg2 = (wxObject *) 0 ; PyObject * obj0 = 0 ; @@ -15054,7 +15930,7 @@ static PyObject *_wrap_Event_SetEventObject(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Event_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -15073,7 +15949,7 @@ static PyObject *_wrap_Event_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: @@ -15082,7 +15958,7 @@ static PyObject *_wrap_Event_GetTimestamp(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Event_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; long arg2 = (long) 0 ; PyObject * obj0 = 0 ; @@ -15096,7 +15972,7 @@ static PyObject *_wrap_Event_SetTimestamp(PyObject *, PyObject *args, PyObject * 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; } } @@ -15115,7 +15991,7 @@ static PyObject *_wrap_Event_SetTimestamp(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Event_GetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15134,7 +16010,7 @@ static PyObject *_wrap_Event_GetId(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: @@ -15143,7 +16019,7 @@ static PyObject *_wrap_Event_GetId(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Event_SetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15156,7 +16032,7 @@ static PyObject *_wrap_Event_SetId(PyObject *, PyObject *args, PyObject *kwargs) 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; } { @@ -15174,7 +16050,7 @@ static PyObject *_wrap_Event_SetId(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Event_IsCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15202,7 +16078,7 @@ static PyObject *_wrap_Event_IsCommandEvent(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Event_Skip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -15216,7 +16092,7 @@ static PyObject *_wrap_Event_Skip(PyObject *, PyObject *args, PyObject *kwargs) 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; } } @@ -15235,7 +16111,7 @@ static PyObject *_wrap_Event_Skip(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Event_GetSkipped(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15263,7 +16139,7 @@ static PyObject *_wrap_Event_GetSkipped(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Event_ShouldPropagate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15291,7 +16167,7 @@ static PyObject *_wrap_Event_ShouldPropagate(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Event_StopPropagation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15310,7 +16186,7 @@ static PyObject *_wrap_Event_StopPropagation(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: @@ -15319,7 +16195,7 @@ static PyObject *_wrap_Event_StopPropagation(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Event_ResumePropagation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15332,7 +16208,7 @@ static PyObject *_wrap_Event_ResumePropagation(PyObject *, PyObject *args, PyObj 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; } { @@ -15350,7 +16226,7 @@ static PyObject *_wrap_Event_ResumePropagation(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Event_Clone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = (wxEvent *) 0 ; wxEvent *result; PyObject * obj0 = 0 ; @@ -15383,7 +16259,7 @@ static PyObject * Event_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PropagationDisabler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = 0 ; wxPropagationDisabler *result; PyObject * obj0 = 0 ; @@ -15415,7 +16291,7 @@ static PyObject *_wrap_new_PropagationDisabler(PyObject *, PyObject *args, PyObj static PyObject *_wrap_delete_PropagationDisabler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -15447,7 +16323,7 @@ static PyObject * PropagationDisabler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PropagateOnce(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvent *arg1 = 0 ; wxPropagateOnce *result; PyObject * obj0 = 0 ; @@ -15479,7 +16355,7 @@ static PyObject *_wrap_new_PropagateOnce(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_delete_PropagateOnce(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -15511,7 +16387,7 @@ static PyObject * PropagateOnce_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_CommandEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxCommandEvent *result; @@ -15524,13 +16400,13 @@ static PyObject *_wrap_new_CommandEvent(PyObject *, PyObject *args, PyObject *kw 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; } } @@ -15549,7 +16425,7 @@ static PyObject *_wrap_new_CommandEvent(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_CommandEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -15568,7 +16444,7 @@ static PyObject *_wrap_CommandEvent_GetSelection(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: @@ -15577,7 +16453,7 @@ static PyObject *_wrap_CommandEvent_GetSelection(PyObject *, PyObject *args, PyO static PyObject *_wrap_CommandEvent_SetString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -15618,7 +16494,7 @@ static PyObject *_wrap_CommandEvent_SetString(PyObject *, PyObject *args, PyObje static PyObject *_wrap_CommandEvent_GetString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -15650,7 +16526,7 @@ static PyObject *_wrap_CommandEvent_GetString(PyObject *, PyObject *args, PyObje static PyObject *_wrap_CommandEvent_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15678,7 +16554,7 @@ static PyObject *_wrap_CommandEvent_IsChecked(PyObject *, PyObject *args, PyObje static PyObject *_wrap_CommandEvent_IsSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15706,7 +16582,7 @@ static PyObject *_wrap_CommandEvent_IsSelection(PyObject *, PyObject *args, PyOb static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -15719,7 +16595,7 @@ static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *, PyObject *args, PyO 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; } { @@ -15737,7 +16613,7 @@ static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *, PyObject *args, PyO static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -15756,7 +16632,7 @@ static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -15765,7 +16641,7 @@ static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *, PyObject *args, PyO static PyObject *_wrap_CommandEvent_SetInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -15778,7 +16654,7 @@ static PyObject *_wrap_CommandEvent_SetInt(PyObject *, PyObject *args, PyObject 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; } { @@ -15796,7 +16672,7 @@ static PyObject *_wrap_CommandEvent_SetInt(PyObject *, PyObject *args, PyObject static PyObject *_wrap_CommandEvent_GetInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -15815,7 +16691,7 @@ static PyObject *_wrap_CommandEvent_GetInt(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: @@ -15824,7 +16700,7 @@ static PyObject *_wrap_CommandEvent_GetInt(PyObject *, PyObject *args, PyObject static PyObject *_wrap_CommandEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCommandEvent *arg1 = (wxCommandEvent *) 0 ; wxEvent *result; PyObject * obj0 = 0 ; @@ -15857,7 +16733,7 @@ static PyObject * CommandEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_NotifyEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxNotifyEvent *result; @@ -15870,13 +16746,13 @@ static PyObject *_wrap_new_NotifyEvent(PyObject *, PyObject *args, PyObject *kwa 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; } } @@ -15895,7 +16771,7 @@ static PyObject *_wrap_new_NotifyEvent(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_NotifyEvent_Veto(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -15920,7 +16796,7 @@ static PyObject *_wrap_NotifyEvent_Veto(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_NotifyEvent_Allow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -15945,7 +16821,7 @@ static PyObject *_wrap_NotifyEvent_Allow(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15980,7 +16856,7 @@ static PyObject * NotifyEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ScrollEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -15997,25 +16873,25 @@ static PyObject *_wrap_new_ScrollEvent(PyObject *, PyObject *args, PyObject *kwa 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; } } @@ -16034,7 +16910,7 @@ static PyObject *_wrap_new_ScrollEvent(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollEvent *arg1 = (wxScrollEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16053,7 +16929,7 @@ static PyObject *_wrap_ScrollEvent_GetOrientation(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: @@ -16062,7 +16938,7 @@ static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *, PyObject *args, Py static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollEvent *arg1 = (wxScrollEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16081,7 +16957,7 @@ static PyObject *_wrap_ScrollEvent_GetPosition(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: @@ -16090,7 +16966,7 @@ static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollEvent *arg1 = (wxScrollEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16103,7 +16979,7 @@ static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *, PyObject *args, Py 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; } { @@ -16121,7 +16997,7 @@ static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *, PyObject *args, Py static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollEvent *arg1 = (wxScrollEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16134,7 +17010,7 @@ static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *, PyObject *args, PyObj 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; } { @@ -16159,7 +17035,7 @@ static PyObject * ScrollEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ScrollWinEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -16174,19 +17050,19 @@ static PyObject *_wrap_new_ScrollWinEvent(PyObject *, PyObject *args, PyObject * 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; } } @@ -16205,7 +17081,7 @@ static PyObject *_wrap_new_ScrollWinEvent(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16224,7 +17100,7 @@ static PyObject *_wrap_ScrollWinEvent_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: @@ -16233,7 +17109,7 @@ static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *, PyObject *args, static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16252,7 +17128,7 @@ static PyObject *_wrap_ScrollWinEvent_GetPosition(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: @@ -16261,7 +17137,7 @@ static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *, PyObject *args, Py static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16274,7 +17150,7 @@ static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *, PyObject *args, 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; } { @@ -16292,7 +17168,7 @@ static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *, PyObject *args, static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16305,7 +17181,7 @@ static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *, PyObject *args, Py 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; } { @@ -16330,7 +17206,7 @@ static PyObject * ScrollWinEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MouseEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; wxMouseEvent *result; PyObject * obj0 = 0 ; @@ -16341,7 +17217,7 @@ static PyObject *_wrap_new_MouseEvent(PyObject *, PyObject *args, PyObject *kwar 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; } } @@ -16353,7 +17229,7 @@ static PyObject *_wrap_new_MouseEvent(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 1); + resultobj = wxPyMake_wxObject(result, (bool)1); } return resultobj; fail: @@ -16362,7 +17238,7 @@ static PyObject *_wrap_new_MouseEvent(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MouseEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16390,7 +17266,7 @@ static PyObject *_wrap_MouseEvent_IsButton(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 = (int) wxMOUSE_BTN_ANY ; bool result; @@ -16405,7 +17281,7 @@ static PyObject *_wrap_MouseEvent_ButtonDown(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; } } @@ -16426,7 +17302,7 @@ static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 = (int) wxMOUSE_BTN_ANY ; bool result; @@ -16441,7 +17317,7 @@ static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *, PyObject *args, PyObj 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; } } @@ -16462,7 +17338,7 @@ static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *, PyObject *args, PyObj static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 = (int) wxMOUSE_BTN_ANY ; bool result; @@ -16477,7 +17353,7 @@ static PyObject *_wrap_MouseEvent_ButtonUp(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; } } @@ -16498,21 +17374,21 @@ static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_Button(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + 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: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; } { @@ -16532,7 +17408,7 @@ static PyObject *_wrap_MouseEvent_Button(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 ; bool result; @@ -16546,7 +17422,7 @@ static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *, PyObject *args, PyObj 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; } { @@ -16566,7 +17442,7 @@ static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *, PyObject *args, PyObj static PyObject *_wrap_MouseEvent_GetButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16585,7 +17461,7 @@ static PyObject *_wrap_MouseEvent_GetButton(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: @@ -16594,7 +17470,7 @@ static PyObject *_wrap_MouseEvent_GetButton(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16622,7 +17498,7 @@ static PyObject *_wrap_MouseEvent_ControlDown(PyObject *, PyObject *args, PyObje static PyObject *_wrap_MouseEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16650,7 +17526,7 @@ static PyObject *_wrap_MouseEvent_MetaDown(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16678,7 +17554,7 @@ static PyObject *_wrap_MouseEvent_AltDown(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16706,7 +17582,7 @@ static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_CmdDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16734,7 +17610,7 @@ static PyObject *_wrap_MouseEvent_CmdDown(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MouseEvent_LeftDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16762,7 +17638,7 @@ static PyObject *_wrap_MouseEvent_LeftDown(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16790,7 +17666,7 @@ static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_MouseEvent_RightDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16818,7 +17694,7 @@ static PyObject *_wrap_MouseEvent_RightDown(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_LeftUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16846,7 +17722,7 @@ static PyObject *_wrap_MouseEvent_LeftUp(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16874,7 +17750,7 @@ static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_RightUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16902,7 +17778,7 @@ static PyObject *_wrap_MouseEvent_RightUp(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16930,7 +17806,7 @@ static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16958,7 +17834,7 @@ static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *, PyObject *args, PyObj static PyObject *_wrap_MouseEvent_RightDClick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16986,7 +17862,7 @@ static PyObject *_wrap_MouseEvent_RightDClick(PyObject *, PyObject *args, PyObje static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17014,7 +17890,7 @@ static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17042,7 +17918,7 @@ static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *, PyObject *args, PyObj static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17070,7 +17946,7 @@ static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *, PyObject *args, PyObje static PyObject *_wrap_MouseEvent_Dragging(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17098,7 +17974,7 @@ static PyObject *_wrap_MouseEvent_Dragging(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_Moving(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17126,7 +18002,7 @@ static PyObject *_wrap_MouseEvent_Moving(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MouseEvent_Entering(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17154,7 +18030,7 @@ static PyObject *_wrap_MouseEvent_Entering(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MouseEvent_Leaving(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17182,7 +18058,7 @@ static PyObject *_wrap_MouseEvent_Leaving(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MouseEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -17202,7 +18078,7 @@ static PyObject *_wrap_MouseEvent_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; @@ -17212,7 +18088,7 @@ static PyObject *_wrap_MouseEvent_GetPosition(PyObject *, PyObject *args, PyObje static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; long *arg2 = (long *) 0 ; long *arg3 = (long *) 0 ; @@ -17249,7 +18125,7 @@ static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *, PyObject *args, P static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; wxDC *arg2 = 0 ; wxPoint result; @@ -17279,7 +18155,7 @@ static PyObject *_wrap_MouseEvent_GetLogicalPosition(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; @@ -17289,7 +18165,7 @@ static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *, PyObject *args, static PyObject *_wrap_MouseEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17308,7 +18184,7 @@ static PyObject *_wrap_MouseEvent_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: @@ -17317,7 +18193,7 @@ static PyObject *_wrap_MouseEvent_GetX(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_MouseEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17336,7 +18212,7 @@ static PyObject *_wrap_MouseEvent_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: @@ -17345,7 +18221,7 @@ static PyObject *_wrap_MouseEvent_GetY(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17364,7 +18240,7 @@ static PyObject *_wrap_MouseEvent_GetWheelRotation(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: @@ -17373,7 +18249,7 @@ static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *, PyObject *args, P static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17392,7 +18268,7 @@ static PyObject *_wrap_MouseEvent_GetWheelDelta(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: @@ -17401,7 +18277,7 @@ static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *, PyObject *args, PyOb static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17420,7 +18296,7 @@ static PyObject *_wrap_MouseEvent_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: @@ -17429,7 +18305,7 @@ static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *, PyObject *args, static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17457,7 +18333,7 @@ static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *, PyObject *args, PyObj static PyObject *_wrap_MouseEvent_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -17470,7 +18346,7 @@ static PyObject *_wrap_MouseEvent_m_x_set(PyObject *, PyObject *args, PyObject * 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; @@ -17483,7 +18359,7 @@ static PyObject *_wrap_MouseEvent_m_x_set(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MouseEvent_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17497,7 +18373,7 @@ static PyObject *_wrap_MouseEvent_m_x_get(PyObject *, PyObject *args, PyObject * result = (int) ((arg1)->m_x); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -17506,7 +18382,7 @@ static PyObject *_wrap_MouseEvent_m_x_get(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MouseEvent_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -17519,7 +18395,7 @@ static PyObject *_wrap_MouseEvent_m_y_set(PyObject *, PyObject *args, PyObject * 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; @@ -17532,7 +18408,7 @@ static PyObject *_wrap_MouseEvent_m_y_set(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MouseEvent_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17546,7 +18422,7 @@ static PyObject *_wrap_MouseEvent_m_y_get(PyObject *, PyObject *args, PyObject * result = (int) ((arg1)->m_y); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -17555,7 +18431,7 @@ static PyObject *_wrap_MouseEvent_m_y_get(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -17568,7 +18444,7 @@ static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *, PyObject *args, PyO 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; @@ -17581,7 +18457,7 @@ static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *, PyObject *args, PyO static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17604,7 +18480,7 @@ static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *, PyObject *args, PyO static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -17617,7 +18493,7 @@ static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *, PyObject *args, P 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; @@ -17630,7 +18506,7 @@ static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *, PyObject *args, P static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17653,7 +18529,7 @@ static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *, PyObject *args, P static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -17666,7 +18542,7 @@ static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *, PyObject *args, Py 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; @@ -17679,7 +18555,7 @@ static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *, PyObject *args, Py static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17702,7 +18578,7 @@ static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *, PyObject *args, Py static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -17715,7 +18591,7 @@ static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *, PyObject *args, 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; @@ -17728,7 +18604,7 @@ static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *, PyObject *args, static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17751,7 +18627,7 @@ static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *, PyObject *args, static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -17764,7 +18640,7 @@ static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *, PyObject *args, Py 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; @@ -17777,7 +18653,7 @@ static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *, PyObject *args, Py static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17800,7 +18676,7 @@ static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *, PyObject *args, Py static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -17813,7 +18689,7 @@ static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *, PyObject *args, PyOb 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; @@ -17826,7 +18702,7 @@ static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *, PyObject *args, PyOb static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17849,7 +18725,7 @@ static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *, PyObject *args, PyOb static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -17862,7 +18738,7 @@ static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *, PyObject *args, PyO 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; @@ -17875,7 +18751,7 @@ static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *, PyObject *args, PyO static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17898,7 +18774,7 @@ static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *, PyObject *args, PyO static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -17911,7 +18787,7 @@ static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *, PyObject *args 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; @@ -17924,7 +18800,7 @@ static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *, PyObject *args static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17938,7 +18814,7 @@ static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *, PyObject *args result = (int) ((arg1)->m_wheelRotation); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -17947,7 +18823,7 @@ static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *, PyObject *args static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -17960,7 +18836,7 @@ static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *, PyObject *args, P 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; @@ -17973,7 +18849,7 @@ static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *, PyObject *args, P static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -17987,7 +18863,7 @@ static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *, PyObject *args, P result = (int) ((arg1)->m_wheelDelta); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -17996,7 +18872,7 @@ static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *, PyObject *args, P static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -18009,7 +18885,7 @@ static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *, PyObject *arg 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; @@ -18022,7 +18898,7 @@ static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *, PyObject *arg static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseEvent *arg1 = (wxMouseEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18036,7 +18912,7 @@ static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *, PyObject *arg result = (int) ((arg1)->m_linesPerAction); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18052,7 +18928,7 @@ static PyObject * MouseEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_SetCursorEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; wxSetCursorEvent *result; @@ -18065,13 +18941,13 @@ static PyObject *_wrap_new_SetCursorEvent(PyObject *, PyObject *args, PyObject * 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; } } @@ -18090,7 +18966,7 @@ static PyObject *_wrap_new_SetCursorEvent(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_SetCursorEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18109,7 +18985,7 @@ static PyObject *_wrap_SetCursorEvent_GetX(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: @@ -18118,7 +18994,7 @@ static PyObject *_wrap_SetCursorEvent_GetX(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SetCursorEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18137,7 +19013,7 @@ static PyObject *_wrap_SetCursorEvent_GetY(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: @@ -18146,7 +19022,7 @@ static PyObject *_wrap_SetCursorEvent_GetY(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ; wxCursor *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -18181,7 +19057,7 @@ static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *, PyObject *args, PyOb static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ; wxCursor *result; PyObject * obj0 = 0 ; @@ -18213,7 +19089,7 @@ static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *, PyObject *args, PyOb static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18248,18 +19124,18 @@ static PyObject * SetCursorEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_KeyEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + 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_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; } } @@ -18277,8 +19153,36 @@ static PyObject *_wrap_new_KeyEvent(PyObject *, PyObject *args, PyObject *kwargs } +static PyObject *_wrap_KeyEvent_GetModifiers(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; + int result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetModifiers",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)((wxKeyEvent const *)arg1)->GetModifiers(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = SWIG_From_int(static_cast(result)); + } + return resultobj; + fail: + return NULL; +} + + static PyObject *_wrap_KeyEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18306,7 +19210,7 @@ static PyObject *_wrap_KeyEvent_ControlDown(PyObject *, PyObject *args, PyObject static PyObject *_wrap_KeyEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18334,7 +19238,7 @@ static PyObject *_wrap_KeyEvent_MetaDown(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_KeyEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18362,7 +19266,7 @@ static PyObject *_wrap_KeyEvent_AltDown(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18390,7 +19294,7 @@ static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_KeyEvent_CmdDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18418,7 +19322,7 @@ static PyObject *_wrap_KeyEvent_CmdDown(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18446,7 +19350,7 @@ static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18465,7 +19369,7 @@ static PyObject *_wrap_KeyEvent_GetKeyCode(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: @@ -18474,7 +19378,7 @@ static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *, PyObject *args, PyObject static PyObject *_wrap_KeyEvent_GetUnicodeKey(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18493,7 +19397,7 @@ static PyObject *_wrap_KeyEvent_GetUnicodeKey(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: @@ -18502,7 +19406,7 @@ static PyObject *_wrap_KeyEvent_GetUnicodeKey(PyObject *, PyObject *args, PyObje static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; unsigned int result; PyObject * obj0 = 0 ; @@ -18521,7 +19425,7 @@ static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *, PyObject *args, PyObje 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: @@ -18530,7 +19434,7 @@ static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *, PyObject *args, PyObje static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; unsigned int result; PyObject * obj0 = 0 ; @@ -18549,7 +19453,7 @@ static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *, PyObject *args, PyObj 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: @@ -18558,7 +19462,7 @@ static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *, PyObject *args, PyObj static PyObject *_wrap_KeyEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -18578,7 +19482,7 @@ static PyObject *_wrap_KeyEvent_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; @@ -18588,7 +19492,7 @@ static PyObject *_wrap_KeyEvent_GetPosition(PyObject *, PyObject *args, PyObject static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; long *arg2 = (long *) 0 ; long *arg3 = (long *) 0 ; @@ -18625,7 +19529,7 @@ static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *, PyObject *args, PyO static PyObject *_wrap_KeyEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18644,7 +19548,7 @@ static PyObject *_wrap_KeyEvent_GetX(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: @@ -18653,7 +19557,7 @@ static PyObject *_wrap_KeyEvent_GetX(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_KeyEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18672,7 +19576,7 @@ static PyObject *_wrap_KeyEvent_GetY(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: @@ -18681,7 +19585,7 @@ static PyObject *_wrap_KeyEvent_GetY(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_KeyEvent_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -18694,7 +19598,7 @@ static PyObject *_wrap_KeyEvent_m_x_set(PyObject *, PyObject *args, PyObject *kw 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; @@ -18707,7 +19611,7 @@ static PyObject *_wrap_KeyEvent_m_x_set(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_KeyEvent_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18721,7 +19625,7 @@ static PyObject *_wrap_KeyEvent_m_x_get(PyObject *, PyObject *args, PyObject *kw result = (int) ((arg1)->m_x); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18730,7 +19634,7 @@ static PyObject *_wrap_KeyEvent_m_x_get(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_KeyEvent_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -18743,7 +19647,7 @@ static PyObject *_wrap_KeyEvent_m_y_set(PyObject *, PyObject *args, PyObject *kw 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; @@ -18756,7 +19660,7 @@ static PyObject *_wrap_KeyEvent_m_y_set(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_KeyEvent_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -18770,7 +19674,7 @@ static PyObject *_wrap_KeyEvent_m_y_get(PyObject *, PyObject *args, PyObject *kw result = (int) ((arg1)->m_y); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18779,7 +19683,7 @@ static PyObject *_wrap_KeyEvent_m_y_get(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -18792,7 +19696,7 @@ static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *, PyObject *args, PyObje 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; @@ -18805,7 +19709,7 @@ static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *, PyObject *args, PyObje static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; long result; PyObject * obj0 = 0 ; @@ -18819,7 +19723,7 @@ static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *, PyObject *args, PyObje result = (long) ((arg1)->m_keyCode); { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -18828,7 +19732,7 @@ static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *, PyObject *args, PyObje static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -18841,7 +19745,7 @@ static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *, PyObject *args, Py 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; @@ -18854,7 +19758,7 @@ static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *, PyObject *args, Py static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18877,7 +19781,7 @@ static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *, PyObject *args, Py static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -18890,7 +19794,7 @@ static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *, PyObject *args, PyOb 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; @@ -18903,7 +19807,7 @@ static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *, PyObject *args, PyOb static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18926,7 +19830,7 @@ static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *, PyObject *args, PyOb static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -18939,7 +19843,7 @@ static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *, PyObject *args, PyObje 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; @@ -18952,7 +19856,7 @@ static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *, PyObject *args, PyObje static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18975,7 +19879,7 @@ static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *, PyObject *args, PyObje static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -18988,7 +19892,7 @@ static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *, PyObject *args, PyObj 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; @@ -19001,7 +19905,7 @@ static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *, PyObject *args, PyObj static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19024,7 +19928,7 @@ static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *, PyObject *args, PyObj static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -19037,7 +19941,7 @@ static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *, PyObject *args, PyObj 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; @@ -19050,7 +19954,7 @@ static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *, PyObject *args, PyObj static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19073,7 +19977,7 @@ static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *, PyObject *args, PyObj static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; unsigned int arg2 ; PyObject * obj0 = 0 ; @@ -19086,7 +19990,7 @@ static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *, PyObject *args, PyObje 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; @@ -19099,7 +20003,7 @@ static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *, PyObject *args, PyObje static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; unsigned int result; PyObject * obj0 = 0 ; @@ -19113,7 +20017,7 @@ static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *, PyObject *args, PyObje 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: @@ -19122,7 +20026,7 @@ static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *, PyObject *args, PyObje static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; unsigned int arg2 ; PyObject * obj0 = 0 ; @@ -19135,7 +20039,7 @@ static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *, PyObject *args, PyObj 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; @@ -19148,7 +20052,7 @@ static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *, PyObject *args, PyObj static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxKeyEvent *arg1 = (wxKeyEvent *) 0 ; unsigned int result; PyObject * obj0 = 0 ; @@ -19162,7 +20066,7 @@ static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *, PyObject *args, PyObj 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: @@ -19178,7 +20082,7 @@ static PyObject * KeyEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_SizeEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize const &arg1_defvalue = wxDefaultSize ; wxSize *arg1 = (wxSize *) &arg1_defvalue ; int arg2 = (int) 0 ; @@ -19199,7 +20103,7 @@ static PyObject *_wrap_new_SizeEvent(PyObject *, PyObject *args, PyObject *kwarg } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -19218,7 +20122,7 @@ static PyObject *_wrap_new_SizeEvent(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_SizeEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -19238,7 +20142,7 @@ static PyObject *_wrap_SizeEvent_GetSize(PyObject *, PyObject *args, PyObject *k } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -19248,7 +20152,7 @@ static PyObject *_wrap_SizeEvent_GetSize(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizeEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -19268,7 +20172,7 @@ static PyObject *_wrap_SizeEvent_GetRect(PyObject *, PyObject *args, PyObject *k } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -19278,7 +20182,7 @@ static PyObject *_wrap_SizeEvent_GetRect(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizeEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxRect arg2 ; PyObject * obj0 = 0 ; @@ -19315,7 +20219,7 @@ static PyObject *_wrap_SizeEvent_SetRect(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizeEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxSize arg2 ; PyObject * obj0 = 0 ; @@ -19352,7 +20256,7 @@ static PyObject *_wrap_SizeEvent_SetSize(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizeEvent_m_size_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxSize *arg2 = (wxSize *) 0 ; PyObject * obj0 = 0 ; @@ -19376,7 +20280,7 @@ static PyObject *_wrap_SizeEvent_m_size_set(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizeEvent_m_size_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxSize *result; PyObject * obj0 = 0 ; @@ -19397,7 +20301,7 @@ static PyObject *_wrap_SizeEvent_m_size_get(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxRect *arg2 = (wxRect *) 0 ; PyObject * obj0 = 0 ; @@ -19421,7 +20325,7 @@ static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizeEvent *arg1 = (wxSizeEvent *) 0 ; wxRect *result; PyObject * obj0 = 0 ; @@ -19449,7 +20353,7 @@ static PyObject * SizeEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MoveEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint const &arg1_defvalue = wxDefaultPosition ; wxPoint *arg1 = (wxPoint *) &arg1_defvalue ; int arg2 = (int) 0 ; @@ -19470,7 +20374,7 @@ static PyObject *_wrap_new_MoveEvent(PyObject *, PyObject *args, PyObject *kwarg } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -19489,7 +20393,7 @@ static PyObject *_wrap_new_MoveEvent(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_MoveEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMoveEvent *arg1 = (wxMoveEvent *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -19509,7 +20413,7 @@ static PyObject *_wrap_MoveEvent_GetPosition(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; @@ -19519,7 +20423,7 @@ static PyObject *_wrap_MoveEvent_GetPosition(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_MoveEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMoveEvent *arg1 = (wxMoveEvent *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -19539,7 +20443,7 @@ static PyObject *_wrap_MoveEvent_GetRect(PyObject *, PyObject *args, PyObject *k } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -19549,7 +20453,7 @@ static PyObject *_wrap_MoveEvent_GetRect(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MoveEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMoveEvent *arg1 = (wxMoveEvent *) 0 ; wxRect *arg2 = 0 ; wxRect temp2 ; @@ -19581,7 +20485,7 @@ static PyObject *_wrap_MoveEvent_SetRect(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MoveEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMoveEvent *arg1 = (wxMoveEvent *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -19620,7 +20524,7 @@ static PyObject * MoveEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PaintEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxPaintEvent *result; PyObject * obj0 = 0 ; @@ -19631,7 +20535,7 @@ static PyObject *_wrap_new_PaintEvent(PyObject *, PyObject *args, PyObject *kwar 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; } } @@ -19657,7 +20561,7 @@ static PyObject * PaintEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_NcPaintEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxNcPaintEvent *result; PyObject * obj0 = 0 ; @@ -19668,7 +20572,7 @@ static PyObject *_wrap_new_NcPaintEvent(PyObject *, PyObject *args, PyObject *kw 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; } } @@ -19694,9 +20598,9 @@ static PyObject * NcPaintEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_EraseEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; - wxDC *arg2 = (wxDC *) (wxDC *) NULL ; + wxDC *arg2 = (wxDC *) NULL ; wxEraseEvent *result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; @@ -19707,7 +20611,7 @@ static PyObject *_wrap_new_EraseEvent(PyObject *, PyObject *args, PyObject *kwar 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; } } @@ -19730,7 +20634,7 @@ static PyObject *_wrap_new_EraseEvent(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_EraseEvent_GetDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEraseEvent *arg1 = (wxEraseEvent *) 0 ; wxDC *result; PyObject * obj0 = 0 ; @@ -19749,7 +20653,7 @@ static PyObject *_wrap_EraseEvent_GetDC(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -19765,7 +20669,7 @@ static PyObject * EraseEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FocusEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxFocusEvent *result; @@ -19778,13 +20682,13 @@ static PyObject *_wrap_new_FocusEvent(PyObject *, PyObject *args, PyObject *kwar 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; } } @@ -19803,7 +20707,7 @@ static PyObject *_wrap_new_FocusEvent(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_FocusEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFocusEvent *arg1 = (wxFocusEvent *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -19822,7 +20726,7 @@ static PyObject *_wrap_FocusEvent_GetWindow(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -19831,7 +20735,7 @@ static PyObject *_wrap_FocusEvent_GetWindow(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FocusEvent_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFocusEvent *arg1 = (wxFocusEvent *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -19867,7 +20771,7 @@ static PyObject * FocusEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ChildFocusEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) NULL ; wxChildFocusEvent *result; PyObject * obj0 = 0 ; @@ -19895,7 +20799,7 @@ static PyObject *_wrap_new_ChildFocusEvent(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -19914,7 +20818,7 @@ static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -19930,7 +20834,7 @@ static PyObject * ChildFocusEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ActivateEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; bool arg2 = (bool) true ; int arg3 = (int) 0 ; @@ -19945,19 +20849,19 @@ static PyObject *_wrap_new_ActivateEvent(PyObject *, PyObject *args, PyObject *k 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; } } @@ -19976,7 +20880,7 @@ static PyObject *_wrap_new_ActivateEvent(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ActivateEvent_GetActive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxActivateEvent *arg1 = (wxActivateEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20011,7 +20915,7 @@ static PyObject * ActivateEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_InitDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxInitDialogEvent *result; PyObject * obj0 = 0 ; @@ -20022,7 +20926,7 @@ static PyObject *_wrap_new_InitDialogEvent(PyObject *, PyObject *args, PyObject 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; } } @@ -20048,7 +20952,7 @@ static PyObject * InitDialogEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MenuEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxMenu *arg3 = (wxMenu *) NULL ; @@ -20063,13 +20967,13 @@ static PyObject *_wrap_new_MenuEvent(PyObject *, PyObject *args, PyObject *kwarg 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; } } @@ -20092,7 +20996,7 @@ static PyObject *_wrap_new_MenuEvent(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuEvent *arg1 = (wxMenuEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -20111,7 +21015,7 @@ static PyObject *_wrap_MenuEvent_GetMenuId(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: @@ -20120,7 +21024,7 @@ static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuEvent_IsPopup(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuEvent *arg1 = (wxMenuEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20148,7 +21052,7 @@ static PyObject *_wrap_MenuEvent_IsPopup(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MenuEvent_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuEvent *arg1 = (wxMenuEvent *) 0 ; wxMenu *result; PyObject * obj0 = 0 ; @@ -20167,7 +21071,7 @@ static PyObject *_wrap_MenuEvent_GetMenu(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -20183,7 +21087,7 @@ static PyObject * MenuEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_CloseEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxCloseEvent *result; @@ -20196,13 +21100,13 @@ static PyObject *_wrap_new_CloseEvent(PyObject *, PyObject *args, PyObject *kwar 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; } } @@ -20221,7 +21125,7 @@ static PyObject *_wrap_new_CloseEvent(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCloseEvent *arg1 = (wxCloseEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -20234,7 +21138,7 @@ static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *, PyObject *args, PyOb 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; } { @@ -20252,7 +21156,7 @@ static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *, PyObject *args, PyOb static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCloseEvent *arg1 = (wxCloseEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20280,7 +21184,7 @@ static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *, PyObject *args, PyOb static PyObject *_wrap_CloseEvent_Veto(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCloseEvent *arg1 = (wxCloseEvent *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -20294,7 +21198,7 @@ static PyObject *_wrap_CloseEvent_Veto(PyObject *, PyObject *args, PyObject *kwa 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; } } @@ -20312,67 +21216,67 @@ static PyObject *_wrap_CloseEvent_Veto(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_CloseEvent_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:CloseEvent_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_CloseEvent_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:CloseEvent_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_CloseEvent_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 ; @@ -20380,12 +21284,12 @@ static PyObject *_wrap_CloseEvent_GetVeto(PyObject *, PyObject *args, PyObject * (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_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; @@ -20407,7 +21311,7 @@ static PyObject * CloseEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ShowEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; bool arg2 = (bool) false ; wxShowEvent *result; @@ -20420,13 +21324,13 @@ static PyObject *_wrap_new_ShowEvent(PyObject *, PyObject *args, PyObject *kwarg 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; } } @@ -20445,7 +21349,7 @@ static PyObject *_wrap_new_ShowEvent(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_ShowEvent_SetShow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxShowEvent *arg1 = (wxShowEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -20458,7 +21362,7 @@ static PyObject *_wrap_ShowEvent_SetShow(PyObject *, PyObject *args, PyObject *k 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; } { @@ -20476,7 +21380,7 @@ static PyObject *_wrap_ShowEvent_SetShow(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ShowEvent_GetShow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxShowEvent *arg1 = (wxShowEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20511,7 +21415,7 @@ static PyObject * ShowEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_IconizeEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; bool arg2 = (bool) true ; wxIconizeEvent *result; @@ -20524,13 +21428,13 @@ static PyObject *_wrap_new_IconizeEvent(PyObject *, PyObject *args, PyObject *kw 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; } } @@ -20549,7 +21453,7 @@ static PyObject *_wrap_new_IconizeEvent(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_IconizeEvent_Iconized(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20584,7 +21488,7 @@ static PyObject * IconizeEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MaximizeEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxMaximizeEvent *result; PyObject * obj0 = 0 ; @@ -20595,7 +21499,7 @@ static PyObject *_wrap_new_MaximizeEvent(PyObject *, PyObject *args, PyObject *k 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; } } @@ -20621,7 +21525,7 @@ static PyObject * MaximizeEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -20641,7 +21545,7 @@ static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *, PyObject *args, Py } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -20651,7 +21555,7 @@ static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *, PyObject *args, Py static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -20670,7 +21574,7 @@ static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -20679,7 +21583,7 @@ static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *, PyObject *arg static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -20712,7 +21616,7 @@ static PyObject * DropFilesEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_UpdateUIEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxUpdateUIEvent *result; PyObject * obj0 = 0 ; @@ -20723,7 +21627,7 @@ static PyObject *_wrap_new_UpdateUIEvent(PyObject *, PyObject *args, PyObject *k 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; } } @@ -20742,7 +21646,7 @@ static PyObject *_wrap_new_UpdateUIEvent(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20770,7 +21674,7 @@ static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *, PyObject *args, PyOb static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20798,7 +21702,7 @@ static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *, PyObject *args, PyOb static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -20830,7 +21734,7 @@ static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20858,7 +21762,7 @@ static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *, PyObject *args, PyOb static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20886,7 +21790,7 @@ static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *, PyObject *args, P static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20914,7 +21818,7 @@ static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *, PyObject *args, P static PyObject *_wrap_UpdateUIEvent_Check(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -20927,7 +21831,7 @@ static PyObject *_wrap_UpdateUIEvent_Check(PyObject *, PyObject *args, PyObject 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; } { @@ -20945,7 +21849,7 @@ static PyObject *_wrap_UpdateUIEvent_Check(PyObject *, PyObject *args, PyObject static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -20958,7 +21862,7 @@ static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *, PyObject *args, PyObject 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; } { @@ -20976,7 +21880,7 @@ static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *, PyObject *args, PyObject static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -21017,7 +21921,7 @@ static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -21026,7 +21930,7 @@ static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *, PyObject *arg 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; } { @@ -21044,7 +21948,7 @@ static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *, PyObject *arg static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long result; char *kwnames[] = { NULL @@ -21059,7 +21963,7 @@ static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -21068,7 +21972,7 @@ static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *, PyObject *arg static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21096,7 +22000,7 @@ static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *, PyObject *args, PyObj static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -21117,7 +22021,7 @@ static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *, PyObject *args, static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIMode arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -21126,12 +22030,12 @@ static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *, PyObject *args, PyObjec 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; @@ -21144,7 +22048,7 @@ static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxUpdateUIMode result; char *kwnames[] = { NULL @@ -21173,7 +22077,7 @@ static PyObject * UpdateUIEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_SysColourChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSysColourChangedEvent *result; char *kwnames[] = { NULL @@ -21202,7 +22106,7 @@ static PyObject * SysColourChangedEvent_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxWindow *arg2 = (wxWindow *) NULL ; wxMouseCaptureChangedEvent *result; @@ -21215,7 +22119,7 @@ static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *, PyObject *args, 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; } } @@ -21238,7 +22142,7 @@ static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *, PyObject *args, static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -21257,7 +22161,7 @@ static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -21273,7 +22177,7 @@ static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *, PyObject *ar return Py_BuildValue((char *)""); } static PyObject *_wrap_new_DisplayChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDisplayChangedEvent *result; char *kwnames[] = { NULL @@ -21302,7 +22206,7 @@ static PyObject * DisplayChangedEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PaletteChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxPaletteChangedEvent *result; PyObject * obj0 = 0 ; @@ -21313,7 +22217,7 @@ static PyObject *_wrap_new_PaletteChangedEvent(PyObject *, PyObject *args, PyObj 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; } } @@ -21332,7 +22236,7 @@ static PyObject *_wrap_new_PaletteChangedEvent(PyObject *, PyObject *args, PyObj static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -21361,7 +22265,7 @@ static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *, PyObject static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -21380,7 +22284,7 @@ static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -21396,7 +22300,7 @@ static PyObject * PaletteChangedEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxQueryNewPaletteEvent *result; PyObject * obj0 = 0 ; @@ -21407,7 +22311,7 @@ static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *, PyObject *args, PyOb 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; } } @@ -21426,7 +22330,7 @@ static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *, PyObject *args, PyOb static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -21439,7 +22343,7 @@ static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *, PyObj 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; } { @@ -21457,7 +22361,7 @@ static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *, PyObj static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21492,7 +22396,7 @@ static PyObject * QueryNewPaletteEvent_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_NavigationKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNavigationKeyEvent *result; char *kwnames[] = { NULL @@ -21514,7 +22418,7 @@ static PyObject *_wrap_new_NavigationKeyEvent(PyObject *, PyObject *args, PyObje static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21542,7 +22446,7 @@ static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *, PyObject *arg static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -21555,7 +22459,7 @@ static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *, PyObject *arg 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; } { @@ -21573,7 +22477,7 @@ static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *, PyObject *arg static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21601,7 +22505,7 @@ static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *, PyObject *a static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -21614,7 +22518,7 @@ static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *, PyObject * 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; } { @@ -21632,7 +22536,7 @@ static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *, PyObject * static PyObject *_wrap_NavigationKeyEvent_IsFromTab(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21660,7 +22564,7 @@ static PyObject *_wrap_NavigationKeyEvent_IsFromTab(PyObject *, PyObject *args, static PyObject *_wrap_NavigationKeyEvent_SetFromTab(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -21673,7 +22577,7 @@ static PyObject *_wrap_NavigationKeyEvent_SetFromTab(PyObject *, PyObject *args, 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; } { @@ -21691,7 +22595,7 @@ static PyObject *_wrap_NavigationKeyEvent_SetFromTab(PyObject *, PyObject *args, static PyObject *_wrap_NavigationKeyEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -21704,7 +22608,7 @@ static PyObject *_wrap_NavigationKeyEvent_SetFlags(PyObject *, PyObject *args, P 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; } { @@ -21722,7 +22626,7 @@ static PyObject *_wrap_NavigationKeyEvent_SetFlags(PyObject *, PyObject *args, P static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -21741,7 +22645,7 @@ static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -21750,7 +22654,7 @@ static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *, PyObject * static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -21786,7 +22690,7 @@ static PyObject * NavigationKeyEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_WindowCreateEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) NULL ; wxWindowCreateEvent *result; PyObject * obj0 = 0 ; @@ -21814,7 +22718,7 @@ static PyObject *_wrap_new_WindowCreateEvent(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -21833,7 +22737,7 @@ static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *, PyObject *args, P if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -21849,7 +22753,7 @@ static PyObject * WindowCreateEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_WindowDestroyEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) NULL ; wxWindowDestroyEvent *result; PyObject * obj0 = 0 ; @@ -21877,7 +22781,7 @@ static PyObject *_wrap_new_WindowDestroyEvent(PyObject *, PyObject *args, PyObje static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -21896,7 +22800,7 @@ static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -21912,7 +22816,7 @@ static PyObject * WindowDestroyEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ContextMenuEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -21929,13 +22833,13 @@ static PyObject *_wrap_new_ContextMenuEvent(PyObject *, PyObject *args, PyObject 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; } } @@ -21960,7 +22864,7 @@ static PyObject *_wrap_new_ContextMenuEvent(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ; wxPoint *result; PyObject * obj0 = 0 ; @@ -21989,7 +22893,7 @@ static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *, PyObject *args, static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -22028,7 +22932,7 @@ static PyObject * ContextMenuEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_IdleEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIdleEvent *result; char *kwnames[] = { NULL @@ -22050,7 +22954,7 @@ static PyObject *_wrap_new_IdleEvent(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_IdleEvent_RequestMore(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIdleEvent *arg1 = (wxIdleEvent *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -22064,7 +22968,7 @@ static PyObject *_wrap_IdleEvent_RequestMore(PyObject *, PyObject *args, PyObjec 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; } } @@ -22083,7 +22987,7 @@ static PyObject *_wrap_IdleEvent_RequestMore(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIdleEvent *arg1 = (wxIdleEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -22111,7 +23015,7 @@ static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *, PyObject *args, PyObj static PyObject *_wrap_IdleEvent_SetMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIdleMode arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -22120,12 +23024,12 @@ static PyObject *_wrap_IdleEvent_SetMode(PyObject *, PyObject *args, PyObject *k 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; @@ -22138,7 +23042,7 @@ static PyObject *_wrap_IdleEvent_SetMode(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_IdleEvent_GetMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIdleMode result; char *kwnames[] = { NULL @@ -22160,7 +23064,7 @@ static PyObject *_wrap_IdleEvent_GetMode(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_IdleEvent_CanSend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -22195,26 +23099,26 @@ static PyObject * IdleEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + 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_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; } } @@ -22233,7 +23137,7 @@ static PyObject *_wrap_new_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_delete_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyEvent *arg1 = (wxPyEvent *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -22257,8 +23161,8 @@ static PyObject *_wrap_delete_PyEvent(PyObject *, PyObject *args, PyObject *kwar } -static PyObject *_wrap_PyEvent_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 ; @@ -22267,7 +23171,7 @@ static PyObject *_wrap_PyEvent_SetSelf(PyObject *, PyObject *args, PyObject *kwa (char *) "self",(char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent_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; @@ -22285,8 +23189,8 @@ static PyObject *_wrap_PyEvent_SetSelf(PyObject *, PyObject *args, PyObject *kwa } -static PyObject *_wrap_PyEvent_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 ; @@ -22294,7 +23198,7 @@ static PyObject *_wrap_PyEvent_GetSelf(PyObject *, PyObject *args, PyObject *kwa (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent_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; { @@ -22319,26 +23223,26 @@ static PyObject * PyEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + 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_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; } } @@ -22357,7 +23261,7 @@ static PyObject *_wrap_new_PyCommandEvent(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_delete_PyCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -22381,8 +23285,8 @@ static PyObject *_wrap_delete_PyCommandEvent(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_PyCommandEvent_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 ; @@ -22391,7 +23295,7 @@ static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent_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; @@ -22409,8 +23313,8 @@ static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *, PyObject *args, PyObje } -static PyObject *_wrap_PyCommandEvent_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 ; @@ -22418,7 +23322,7 @@ static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *, PyObject *args, PyObje (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent_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; { @@ -22443,7 +23347,7 @@ static PyObject * PyCommandEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_DateEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxDateTime *arg2 = 0 ; wxEventType arg3 ; @@ -22467,7 +23371,7 @@ static PyObject *_wrap_new_DateEvent(PyObject *, PyObject *args, PyObject *kwarg 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; } { @@ -22485,7 +23389,7 @@ static PyObject *_wrap_new_DateEvent(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DateEvent_GetDate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateEvent *arg1 = (wxDateEvent *) 0 ; wxDateTime *result; PyObject * obj0 = 0 ; @@ -22514,7 +23418,7 @@ static PyObject *_wrap_DateEvent_GetDate(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateEvent_SetDate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateEvent *arg1 = (wxDateEvent *) 0 ; wxDateTime *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -22556,7 +23460,7 @@ static PyObject * DateEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyApp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *result; char *kwnames[] = { NULL @@ -22578,7 +23482,7 @@ static PyObject *_wrap_new_PyApp(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_delete_PyApp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -22603,25 +23507,31 @@ static PyObject *_wrap_delete_PyApp(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + 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:PyApp__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; @@ -22634,7 +23544,7 @@ static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *, PyObject *args, PyObje static PyObject *_wrap_PyApp_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -22666,7 +23576,7 @@ static PyObject *_wrap_PyApp_GetAppName(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_PyApp_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -22707,7 +23617,7 @@ static PyObject *_wrap_PyApp_SetAppName(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_PyApp_GetClassName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -22739,7 +23649,7 @@ static PyObject *_wrap_PyApp_GetClassName(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_PyApp_SetClassName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -22780,7 +23690,7 @@ static PyObject *_wrap_PyApp_SetClassName(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_PyApp_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -22815,7 +23725,7 @@ static PyObject *_wrap_PyApp_GetVendorName(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PyApp_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -22856,7 +23766,7 @@ static PyObject *_wrap_PyApp_SetVendorName(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PyApp_GetTraits(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxAppTraits *result; PyObject * obj0 = 0 ; @@ -22882,7 +23792,7 @@ static PyObject *_wrap_PyApp_GetTraits(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -22907,7 +23817,7 @@ static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *, PyObject *args, Py static PyObject *_wrap_PyApp_Yield(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool arg2 = (bool) false ; bool result; @@ -22922,7 +23832,7 @@ static PyObject *_wrap_PyApp_Yield(PyObject *, PyObject *args, PyObject *kwargs) 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; } } @@ -22943,7 +23853,7 @@ static PyObject *_wrap_PyApp_Yield(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -22968,7 +23878,7 @@ static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_PyApp_IsMainLoopRunning(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -22992,7 +23902,7 @@ static PyObject *_wrap_PyApp_IsMainLoopRunning(PyObject *, PyObject *args, PyObj static PyObject *_wrap_PyApp_MainLoop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; int result; PyObject * obj0 = 0 ; @@ -23011,7 +23921,7 @@ static PyObject *_wrap_PyApp_MainLoop(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: @@ -23020,7 +23930,7 @@ static PyObject *_wrap_PyApp_MainLoop(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_PyApp_Exit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -23045,7 +23955,7 @@ static PyObject *_wrap_PyApp_Exit(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -23070,7 +23980,7 @@ static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_PyApp_Pending(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -23098,7 +24008,7 @@ static PyObject *_wrap_PyApp_Pending(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_PyApp_Dispatch(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -23126,7 +24036,7 @@ static PyObject *_wrap_PyApp_Dispatch(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_PyApp_ProcessIdle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -23154,7 +24064,7 @@ static PyObject *_wrap_PyApp_ProcessIdle(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxIdleEvent *arg3 = 0 ; @@ -23196,7 +24106,7 @@ static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PyApp_IsActive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -23224,7 +24134,7 @@ static PyObject *_wrap_PyApp_IsActive(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_PyApp_SetTopWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -23253,7 +24163,7 @@ static PyObject *_wrap_PyApp_SetTopWindow(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_PyApp_GetTopWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -23272,7 +24182,7 @@ static PyObject *_wrap_PyApp_GetTopWindow(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -23281,7 +24191,7 @@ static PyObject *_wrap_PyApp_GetTopWindow(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -23294,7 +24204,7 @@ static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *, PyObject *args, Py 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; } { @@ -23312,7 +24222,7 @@ static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *, PyObject *args, Py static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -23340,7 +24250,7 @@ static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *, PyObject *args, Py static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -23353,7 +24263,7 @@ static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *, PyObject *args, PyObje 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; } { @@ -23371,7 +24281,7 @@ static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *, PyObject *args, PyObje static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -23399,7 +24309,7 @@ static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *, PyObject *args, PyObje static PyObject *_wrap_PyApp_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -23412,7 +24322,7 @@ static PyObject *_wrap_PyApp_SetPrintMode(PyObject *, PyObject *args, PyObject * 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; } { @@ -23430,7 +24340,7 @@ static PyObject *_wrap_PyApp_SetPrintMode(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_PyApp_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; int result; PyObject * obj0 = 0 ; @@ -23449,7 +24359,7 @@ static PyObject *_wrap_PyApp_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: @@ -23458,7 +24368,7 @@ static PyObject *_wrap_PyApp_GetPrintMode(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_PyApp_SetAssertMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -23471,7 +24381,7 @@ static PyObject *_wrap_PyApp_SetAssertMode(PyObject *, PyObject *args, PyObject 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; } { @@ -23489,7 +24399,7 @@ static PyObject *_wrap_PyApp_SetAssertMode(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PyApp_GetAssertMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; int result; PyObject * obj0 = 0 ; @@ -23508,7 +24418,7 @@ static PyObject *_wrap_PyApp_GetAssertMode(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: @@ -23517,7 +24427,7 @@ static PyObject *_wrap_PyApp_GetAssertMode(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -23541,7 +24451,7 @@ static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *, PyObject * static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long result; char *kwnames[] = { NULL @@ -23556,7 +24466,7 @@ static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(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: @@ -23565,7 +24475,7 @@ static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *, PyObject *args, P static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long result; char *kwnames[] = { NULL @@ -23580,7 +24490,7 @@ static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *, PyObject *a if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -23589,7 +24499,7 @@ static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *, PyObject *a static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long result; char *kwnames[] = { NULL @@ -23604,7 +24514,7 @@ static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -23613,7 +24523,7 @@ static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *, PyObject *args, Py static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -23641,7 +24551,7 @@ static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *, PyObject *args, static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -23650,7 +24560,7 @@ static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *, PyObject * 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; } { @@ -23668,7 +24578,7 @@ static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *, PyObject * static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -23677,7 +24587,7 @@ static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *, PyObject *args, P 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; } { @@ -23695,7 +24605,7 @@ static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *, PyObject *args, P static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -23704,7 +24614,7 @@ static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *, PyObject *a 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; } { @@ -23722,7 +24632,7 @@ static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *, PyObject *a static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -23731,7 +24641,7 @@ static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *, PyObject *args, Py 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; } { @@ -23749,7 +24659,7 @@ static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *, PyObject *args, Py static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -23786,7 +24696,7 @@ static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *, PyObject *args, static PyObject *_wrap_PyApp__BootstrapApp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *arg1 = (wxPyApp *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -23811,7 +24721,7 @@ static PyObject *_wrap_PyApp__BootstrapApp(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int result; char *kwnames[] = { NULL @@ -23826,7 +24736,7 @@ static PyObject *_wrap_PyApp_GetComCtl32Version(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: @@ -23842,7 +24752,7 @@ static PyObject * PyApp_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_Exit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -23863,7 +24773,7 @@ static PyObject *_wrap_Exit(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Yield(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -23887,7 +24797,7 @@ static PyObject *_wrap_Yield(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_YieldIfNeeded(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -23911,7 +24821,7 @@ static PyObject *_wrap_YieldIfNeeded(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_SafeYield(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) NULL ; bool arg2 = (bool) false ; bool result; @@ -23928,7 +24838,7 @@ static PyObject *_wrap_SafeYield(PyObject *, PyObject *args, PyObject *kwargs) { } if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -23949,7 +24859,7 @@ static PyObject *_wrap_SafeYield(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -23970,7 +24880,7 @@ static PyObject *_wrap_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_PostEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) 0 ; wxEvent *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -24005,7 +24915,7 @@ static PyObject *_wrap_PostEvent(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_App_CleanUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -24026,7 +24936,7 @@ static PyObject *_wrap_App_CleanUp(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GetApp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyApp *result; char *kwnames[] = { NULL @@ -24050,7 +24960,7 @@ static PyObject *_wrap_GetApp(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_SetDefaultPyEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *arg1 = (char *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24076,7 +24986,7 @@ static PyObject *_wrap_SetDefaultPyEncoding(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GetDefaultPyEncoding(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *result; char *kwnames[] = { NULL @@ -24098,7 +25008,7 @@ static PyObject *_wrap_GetDefaultPyEncoding(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_EventLoop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventLoop *result; char *kwnames[] = { NULL @@ -24120,7 +25030,7 @@ static PyObject *_wrap_new_EventLoop(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_delete_EventLoop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventLoop *arg1 = (wxEventLoop *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24145,7 +25055,7 @@ static PyObject *_wrap_delete_EventLoop(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_EventLoop_Run(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventLoop *arg1 = (wxEventLoop *) 0 ; int result; PyObject * obj0 = 0 ; @@ -24164,7 +25074,7 @@ static PyObject *_wrap_EventLoop_Run(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: @@ -24173,7 +25083,7 @@ static PyObject *_wrap_EventLoop_Run(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_EventLoop_Exit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventLoop *arg1 = (wxEventLoop *) 0 ; int arg2 = (int) 0 ; PyObject * obj0 = 0 ; @@ -24187,7 +25097,7 @@ static PyObject *_wrap_EventLoop_Exit(PyObject *, PyObject *args, PyObject *kwar 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; } } @@ -24206,7 +25116,7 @@ static PyObject *_wrap_EventLoop_Exit(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_EventLoop_Pending(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventLoop *arg1 = (wxEventLoop *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -24234,7 +25144,7 @@ static PyObject *_wrap_EventLoop_Pending(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_EventLoop_Dispatch(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventLoop *arg1 = (wxEventLoop *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -24262,7 +25172,7 @@ static PyObject *_wrap_EventLoop_Dispatch(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_EventLoop_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventLoop *arg1 = (wxEventLoop *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -24290,7 +25200,7 @@ static PyObject *_wrap_EventLoop_IsRunning(PyObject *, PyObject *args, PyObject static PyObject *_wrap_EventLoop_GetActive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventLoop *result; char *kwnames[] = { NULL @@ -24312,7 +25222,7 @@ static PyObject *_wrap_EventLoop_GetActive(PyObject *, PyObject *args, PyObject static PyObject *_wrap_EventLoop_SetActive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventLoop *arg1 = (wxEventLoop *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24343,8 +25253,66 @@ static PyObject * EventLoop_swigregister(PyObject *, PyObject *args) { Py_INCREF(obj); return Py_BuildValue((char *)""); } +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; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -24359,19 +25327,19 @@ static PyObject *_wrap_new_AcceleratorEntry(PyObject *, PyObject *args, PyObject 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; } } @@ -24390,7 +25358,7 @@ static PyObject *_wrap_new_AcceleratorEntry(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_AcceleratorEntry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24415,7 +25383,7 @@ static PyObject *_wrap_delete_AcceleratorEntry(PyObject *, PyObject *args, PyObj static PyObject *_wrap_AcceleratorEntry_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; int arg2 ; int arg3 ; @@ -24432,15 +25400,15 @@ static PyObject *_wrap_AcceleratorEntry_Set(PyObject *, PyObject *args, PyObject 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; } { @@ -24458,7 +25426,7 @@ static PyObject *_wrap_AcceleratorEntry_Set(PyObject *, PyObject *args, PyObject static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; int result; PyObject * obj0 = 0 ; @@ -24477,7 +25445,7 @@ static PyObject *_wrap_AcceleratorEntry_GetFlags(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: @@ -24486,7 +25454,7 @@ static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *, PyObject *args, PyO static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; int result; PyObject * obj0 = 0 ; @@ -24505,7 +25473,7 @@ static PyObject *_wrap_AcceleratorEntry_GetKeyCode(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: @@ -24514,7 +25482,7 @@ static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *, PyObject *args, P static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ; int result; PyObject * obj0 = 0 ; @@ -24533,7 +25501,7 @@ static PyObject *_wrap_AcceleratorEntry_GetCommand(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: @@ -24549,7 +25517,7 @@ static PyObject * AcceleratorEntry_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_AcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ; wxAcceleratorTable *result; @@ -24585,7 +25553,7 @@ static PyObject *_wrap_new_AcceleratorTable(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_AcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24610,7 +25578,7 @@ static PyObject *_wrap_delete_AcceleratorTable(PyObject *, PyObject *args, PyObj static PyObject *_wrap_AcceleratorTable_Ok(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -24651,7 +25619,7 @@ static int _wrap_NullAcceleratorTable_set(PyObject *) { static PyObject *_wrap_NullAcceleratorTable_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable), SWIGTYPE_p_wxAcceleratorTable, 0); return pyobj; @@ -24659,7 +25627,7 @@ static PyObject *_wrap_NullAcceleratorTable_get(void) { static PyObject *_wrap_GetAccelFromString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxAcceleratorEntry *result; bool temp1 = false ; @@ -24703,7 +25671,7 @@ static int _wrap_PanelNameStr_set(PyObject *) { static PyObject *_wrap_PanelNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -24717,7 +25685,7 @@ static PyObject *_wrap_PanelNameStr_get(void) { static PyObject *_wrap_new_VisualAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVisualAttributes *result; char *kwnames[] = { NULL @@ -24739,7 +25707,7 @@ static PyObject *_wrap_new_VisualAttributes(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_VisualAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24764,7 +25732,7 @@ static PyObject *_wrap_delete_VisualAttributes(PyObject *, PyObject *args, PyObj static PyObject *_wrap_VisualAttributes_font_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; wxFont *arg2 = (wxFont *) 0 ; PyObject * obj0 = 0 ; @@ -24788,7 +25756,7 @@ static PyObject *_wrap_VisualAttributes_font_set(PyObject *, PyObject *args, PyO static PyObject *_wrap_VisualAttributes_font_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; wxFont *result; PyObject * obj0 = 0 ; @@ -24809,7 +25777,7 @@ static PyObject *_wrap_VisualAttributes_font_get(PyObject *, PyObject *args, PyO static PyObject *_wrap_VisualAttributes_colFg_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; wxColour *arg2 = (wxColour *) 0 ; PyObject * obj0 = 0 ; @@ -24833,7 +25801,7 @@ static PyObject *_wrap_VisualAttributes_colFg_set(PyObject *, PyObject *args, Py static PyObject *_wrap_VisualAttributes_colFg_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; wxColour *result; PyObject * obj0 = 0 ; @@ -24854,7 +25822,7 @@ static PyObject *_wrap_VisualAttributes_colFg_get(PyObject *, PyObject *args, Py static PyObject *_wrap_VisualAttributes_colBg_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; wxColour *arg2 = (wxColour *) 0 ; PyObject * obj0 = 0 ; @@ -24878,7 +25846,7 @@ static PyObject *_wrap_VisualAttributes_colBg_set(PyObject *, PyObject *args, Py static PyObject *_wrap_VisualAttributes_colBg_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ; wxColour *result; PyObject * obj0 = 0 ; @@ -24906,7 +25874,7 @@ static PyObject * VisualAttributes_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Window(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) (int)-1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -24935,7 +25903,7 @@ static PyObject *_wrap_new_Window(PyObject *, PyObject *args, PyObject *kwargs) 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; } } @@ -24953,7 +25921,7 @@ static PyObject *_wrap_new_Window(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; } } @@ -24988,7 +25956,7 @@ static PyObject *_wrap_new_Window(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 @@ -25011,7 +25979,7 @@ static PyObject *_wrap_new_PreWindow(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Window_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) (int)-1 ; @@ -25044,7 +26012,7 @@ static PyObject *_wrap_Window_Create(PyObject *, PyObject *args, PyObject *kwarg 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; } } @@ -25062,7 +26030,7 @@ static PyObject *_wrap_Window_Create(PyObject *, PyObject *args, PyObject *kwarg } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -25098,7 +26066,7 @@ static PyObject *_wrap_Window_Create(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Window_Close(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 = (bool) false ; bool result; @@ -25113,7 +26081,7 @@ static PyObject *_wrap_Window_Close(PyObject *, PyObject *args, PyObject *kwargs 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; } } @@ -25134,7 +26102,7 @@ static PyObject *_wrap_Window_Close(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Window_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -25162,7 +26130,7 @@ static PyObject *_wrap_Window_Destroy(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_DestroyChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -25190,7 +26158,7 @@ static PyObject *_wrap_Window_DestroyChildren(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_IsBeingDeleted(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -25217,81 +26185,8 @@ static PyObject *_wrap_Window_IsBeingDeleted(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_Window_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:Window_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_Window_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:Window_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_Window_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -25332,7 +26227,7 @@ static PyObject *_wrap_Window_SetLabel(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -25364,7 +26259,7 @@ static PyObject *_wrap_Window_GetLabel(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_SetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -25405,7 +26300,7 @@ static PyObject *_wrap_Window_SetName(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_GetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -25437,7 +26332,7 @@ static PyObject *_wrap_Window_GetName(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_SetWindowVariant(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindowVariant arg2 ; PyObject * obj0 = 0 ; @@ -25450,12 +26345,12 @@ static PyObject *_wrap_Window_SetWindowVariant(PyObject *, PyObject *args, PyObj 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; @@ -25468,7 +26363,7 @@ static PyObject *_wrap_Window_SetWindowVariant(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_GetWindowVariant(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindowVariant result; PyObject * obj0 = 0 ; @@ -25494,7 +26389,7 @@ static PyObject *_wrap_Window_GetWindowVariant(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_SetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -25507,7 +26402,7 @@ static PyObject *_wrap_Window_SetId(PyObject *, PyObject *args, PyObject *kwargs 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; } { @@ -25525,7 +26420,7 @@ static PyObject *_wrap_Window_SetId(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Window_GetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -25544,7 +26439,7 @@ static PyObject *_wrap_Window_GetId(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: @@ -25553,7 +26448,7 @@ static PyObject *_wrap_Window_GetId(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Window_NewControlId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int result; char *kwnames[] = { NULL @@ -25568,7 +26463,7 @@ static PyObject *_wrap_Window_NewControlId(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: @@ -25577,7 +26472,7 @@ static PyObject *_wrap_Window_NewControlId(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_NextControlId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int result; PyObject * obj0 = 0 ; @@ -25587,7 +26482,7 @@ static PyObject *_wrap_Window_NextControlId(PyObject *, PyObject *args, PyObject 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; } { @@ -25598,7 +26493,7 @@ static PyObject *_wrap_Window_NextControlId(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: @@ -25607,7 +26502,7 @@ static PyObject *_wrap_Window_NextControlId(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_PrevControlId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int result; PyObject * obj0 = 0 ; @@ -25617,7 +26512,7 @@ static PyObject *_wrap_Window_PrevControlId(PyObject *, PyObject *args, PyObject 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; } { @@ -25628,7 +26523,7 @@ static PyObject *_wrap_Window_PrevControlId(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: @@ -25637,7 +26532,7 @@ static PyObject *_wrap_Window_PrevControlId(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -25669,7 +26564,7 @@ static PyObject *_wrap_Window_SetSize(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_SetDimensions(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -25690,24 +26585,24 @@ static PyObject *_wrap_Window_SetDimensions(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; } { - 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; } } @@ -25726,7 +26621,7 @@ static PyObject *_wrap_Window_SetDimensions(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_SetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxRect *arg2 = 0 ; int arg3 = (int) wxSIZE_AUTO ; @@ -25747,7 +26642,7 @@ static PyObject *_wrap_Window_SetRect(PyObject *, PyObject *args, PyObject *kwar } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -25766,7 +26661,7 @@ static PyObject *_wrap_Window_SetRect(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -25781,11 +26676,11 @@ static PyObject *_wrap_Window_SetSizeWH(PyObject *, PyObject *args, PyObject *kw 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; } { @@ -25803,7 +26698,7 @@ static PyObject *_wrap_Window_SetSizeWH(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_Move(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; int arg3 = (int) wxSIZE_USE_EXISTING ; @@ -25824,7 +26719,7 @@ static PyObject *_wrap_Window_Move(PyObject *, PyObject *args, PyObject *kwargs) } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -25843,7 +26738,7 @@ static PyObject *_wrap_Window_Move(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Window_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -25860,16 +26755,16 @@ static PyObject *_wrap_Window_MoveXY(PyObject *, PyObject *args, PyObject *kwarg 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; } } @@ -25888,7 +26783,7 @@ static PyObject *_wrap_Window_MoveXY(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Window_SetBestFittingSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize const &arg2_defvalue = wxDefaultSize ; wxSize *arg2 = (wxSize *) &arg2_defvalue ; @@ -25923,7 +26818,7 @@ static PyObject *_wrap_Window_SetBestFittingSize(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_Raise(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -25948,7 +26843,7 @@ static PyObject *_wrap_Window_Raise(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Window_Lower(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -25973,7 +26868,7 @@ static PyObject *_wrap_Window_Lower(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Window_SetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -26005,7 +26900,7 @@ static PyObject *_wrap_Window_SetClientSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_SetClientSizeWH(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -26020,11 +26915,11 @@ static PyObject *_wrap_Window_SetClientSizeWH(PyObject *, PyObject *args, PyObje 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; } { @@ -26042,7 +26937,7 @@ static PyObject *_wrap_Window_SetClientSizeWH(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_SetClientRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxRect *arg2 = 0 ; wxRect temp2 ; @@ -26074,7 +26969,7 @@ static PyObject *_wrap_Window_SetClientRect(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -26094,7 +26989,7 @@ static PyObject *_wrap_Window_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; @@ -26104,7 +26999,7 @@ static PyObject *_wrap_Window_GetPosition(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -26141,7 +27036,7 @@ static PyObject *_wrap_Window_GetPositionTuple(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -26161,7 +27056,7 @@ static PyObject *_wrap_Window_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; @@ -26171,7 +27066,7 @@ static PyObject *_wrap_Window_GetSize(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -26208,7 +27103,7 @@ static PyObject *_wrap_Window_GetSizeTuple(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -26228,7 +27123,7 @@ static PyObject *_wrap_Window_GetRect(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; @@ -26238,7 +27133,7 @@ static PyObject *_wrap_Window_GetRect(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_GetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -26258,7 +27153,7 @@ static PyObject *_wrap_Window_GetClientSize(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; @@ -26268,7 +27163,7 @@ static PyObject *_wrap_Window_GetClientSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -26305,7 +27200,7 @@ static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -26325,7 +27220,7 @@ static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *, PyObject *args, Py } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -26335,7 +27230,7 @@ static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_GetClientRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -26355,7 +27250,7 @@ static PyObject *_wrap_Window_GetClientRect(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; @@ -26365,7 +27260,7 @@ static PyObject *_wrap_Window_GetClientRect(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -26385,7 +27280,7 @@ static PyObject *_wrap_Window_GetBestSize(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; @@ -26395,7 +27290,7 @@ static PyObject *_wrap_Window_GetBestSize(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -26432,7 +27327,7 @@ static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_InvalidateBestSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -26456,38 +27351,40 @@ static PyObject *_wrap_Window_InvalidateBestSize(PyObject *, PyObject *args, PyO } -static PyObject *_wrap_Window_GetBestFittingSize(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:Window_GetBestFittingSize",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; + { + arg2 = &temp2; + if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxWindow const *)arg1)->GetBestFittingSize(); + ((wxWindow const *)arg1)->CacheBestSize((wxSize const &)*arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); - resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); - } + Py_INCREF(Py_None); resultobj = Py_None; return resultobj; fail: return NULL; } -static PyObject *_wrap_Window_GetAdjustedBestSize(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 ; @@ -26495,19 +27392,19 @@ static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *, PyObject *args, Py (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",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; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxWindow const *)arg1)->GetAdjustedBestSize(); + result = ((wxWindow const *)arg1)->GetBestFittingSize(); 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; @@ -26516,61 +27413,58 @@ static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *, PyObject *args, Py } -static PyObject *_wrap_Window_Center(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; - int arg2 = (int) wxBOTH ; + wxSize result; PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "direction", NULL + (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Center",kwnames,&obj0,&obj1)) 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; - if (obj1) { - { - arg2 = (int)(SWIG_As_int(obj1)); - if (SWIG_arg_fail(2)) SWIG_fail; - } - } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->Center(arg2); + result = ((wxWindow const *)arg1)->GetAdjustedBestSize(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - Py_INCREF(Py_None); resultobj = Py_None; + { + 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_CenterOnScreen(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 ; PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "dir", NULL + (char *) "self",(char *) "direction", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnScreen",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; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->CenterOnScreen(arg2); + (arg1)->Center(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -26583,7 +27477,7 @@ static PyObject *_wrap_Window_CenterOnScreen(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_CenterOnParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) wxBOTH ; PyObject * obj0 = 0 ; @@ -26597,7 +27491,7 @@ static PyObject *_wrap_Window_CenterOnParent(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; } } @@ -26616,7 +27510,7 @@ static PyObject *_wrap_Window_CenterOnParent(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_Fit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -26641,7 +27535,7 @@ static PyObject *_wrap_Window_Fit(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Window_FitInside(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -26666,7 +27560,7 @@ static PyObject *_wrap_Window_FitInside(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_SetSizeHints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -26689,34 +27583,34 @@ static PyObject *_wrap_Window_SetSizeHints(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; } 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; } } @@ -26735,7 +27629,7 @@ static PyObject *_wrap_Window_SetSizeHints(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_SetSizeHintsSz(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize const &arg3_defvalue = wxDefaultSize ; @@ -26787,7 +27681,7 @@ static PyObject *_wrap_Window_SetSizeHintsSz(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -26806,22 +27700,22 @@ static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *, PyObject *args, Py 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; } } @@ -26840,7 +27734,7 @@ static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_SetVirtualSizeHintsSz(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize const &arg3_defvalue = wxDefaultSize ; @@ -26882,7 +27776,7 @@ static PyObject *_wrap_Window_SetVirtualSizeHintsSz(PyObject *, PyObject *args, static PyObject *_wrap_Window_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -26902,7 +27796,7 @@ static PyObject *_wrap_Window_GetMaxSize(PyObject *, PyObject *args, PyObject *k } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -26912,7 +27806,7 @@ static PyObject *_wrap_Window_GetMaxSize(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -26932,7 +27826,7 @@ static PyObject *_wrap_Window_GetMinSize(PyObject *, PyObject *args, PyObject *k } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -26942,7 +27836,7 @@ static PyObject *_wrap_Window_GetMinSize(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_SetMinSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -26974,7 +27868,7 @@ static PyObject *_wrap_Window_SetMinSize(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_SetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -27006,7 +27900,7 @@ static PyObject *_wrap_Window_SetMaxSize(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_GetMinWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -27025,7 +27919,7 @@ static PyObject *_wrap_Window_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: @@ -27034,7 +27928,7 @@ static PyObject *_wrap_Window_GetMinWidth(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_GetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -27053,7 +27947,7 @@ static PyObject *_wrap_Window_GetMinHeight(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: @@ -27062,7 +27956,7 @@ static PyObject *_wrap_Window_GetMinHeight(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetMaxWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -27081,7 +27975,7 @@ static PyObject *_wrap_Window_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: @@ -27090,7 +27984,7 @@ static PyObject *_wrap_Window_GetMaxWidth(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_GetMaxHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -27109,7 +28003,7 @@ static PyObject *_wrap_Window_GetMaxHeight(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: @@ -27118,7 +28012,7 @@ static PyObject *_wrap_Window_GetMaxHeight(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_SetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -27150,7 +28044,7 @@ static PyObject *_wrap_Window_SetVirtualSize(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -27165,11 +28059,11 @@ static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *, PyObject *args, PyObj 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; } { @@ -27187,7 +28081,7 @@ static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_GetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -27207,7 +28101,7 @@ static PyObject *_wrap_Window_GetVirtualSize(PyObject *, PyObject *args, PyObjec } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -27217,7 +28111,7 @@ static PyObject *_wrap_Window_GetVirtualSize(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -27254,7 +28148,7 @@ static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -27274,7 +28168,7 @@ static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *, PyObject *args, PyO } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -27284,7 +28178,7 @@ static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_Show(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 = (bool) true ; bool result; @@ -27299,7 +28193,7 @@ static PyObject *_wrap_Window_Show(PyObject *, PyObject *args, PyObject *kwargs) 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; } } @@ -27320,7 +28214,7 @@ static PyObject *_wrap_Window_Show(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Window_Hide(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -27348,7 +28242,7 @@ static PyObject *_wrap_Window_Hide(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Window_Enable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 = (bool) true ; bool result; @@ -27363,7 +28257,7 @@ static PyObject *_wrap_Window_Enable(PyObject *, PyObject *args, PyObject *kwarg 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; } } @@ -27384,7 +28278,7 @@ static PyObject *_wrap_Window_Enable(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Window_Disable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -27412,7 +28306,7 @@ static PyObject *_wrap_Window_Disable(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_IsShown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -27440,7 +28334,7 @@ static PyObject *_wrap_Window_IsShown(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -27468,7 +28362,7 @@ static PyObject *_wrap_Window_IsEnabled(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -27481,7 +28375,7 @@ static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *, PyObject *args, PyO 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; } { @@ -27499,7 +28393,7 @@ static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long result; PyObject * obj0 = 0 ; @@ -27518,7 +28412,7 @@ static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -27527,7 +28421,7 @@ static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; bool result; @@ -27541,7 +28435,7 @@ static PyObject *_wrap_Window_HasFlag(PyObject *, PyObject *args, PyObject *kwar 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; } { @@ -27561,7 +28455,7 @@ static PyObject *_wrap_Window_HasFlag(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_IsRetained(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -27589,7 +28483,7 @@ static PyObject *_wrap_Window_IsRetained(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_SetExtraStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -27602,7 +28496,7 @@ static PyObject *_wrap_Window_SetExtraStyle(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 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -27620,7 +28514,7 @@ static PyObject *_wrap_Window_SetExtraStyle(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetExtraStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long result; PyObject * obj0 = 0 ; @@ -27639,7 +28533,7 @@ static PyObject *_wrap_Window_GetExtraStyle(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: @@ -27648,7 +28542,7 @@ static PyObject *_wrap_Window_GetExtraStyle(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_MakeModal(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -27662,7 +28556,7 @@ static PyObject *_wrap_Window_MakeModal(PyObject *, PyObject *args, PyObject *kw 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; } } @@ -27681,7 +28575,7 @@ static PyObject *_wrap_Window_MakeModal(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_SetThemeEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -27694,7 +28588,7 @@ static PyObject *_wrap_Window_SetThemeEnabled(PyObject *, PyObject *args, PyObje 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; } { @@ -27712,7 +28606,7 @@ static PyObject *_wrap_Window_SetThemeEnabled(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_GetThemeEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -27740,7 +28634,7 @@ static PyObject *_wrap_Window_GetThemeEnabled(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -27765,7 +28659,7 @@ static PyObject *_wrap_Window_SetFocus(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -27790,7 +28684,7 @@ static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_FindFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *result; char *kwnames[] = { NULL @@ -27815,7 +28709,7 @@ static PyObject *_wrap_Window_FindFocus(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -27843,7 +28737,7 @@ static PyObject *_wrap_Window_AcceptsFocus(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -27871,7 +28765,7 @@ static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *, PyObject *arg static PyObject *_wrap_Window_GetDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -27899,7 +28793,7 @@ static PyObject *_wrap_Window_GetDefaultItem(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_SetDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxWindow *result; @@ -27931,7 +28825,7 @@ static PyObject *_wrap_Window_SetDefaultItem(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -27960,7 +28854,7 @@ static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Window_Navigate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) wxNavigationKeyEvent::IsForward ; bool result; @@ -27975,7 +28869,7 @@ static PyObject *_wrap_Window_Navigate(PyObject *, PyObject *args, PyObject *kwa 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; } } @@ -27996,7 +28890,7 @@ static PyObject *_wrap_Window_Navigate(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_MoveAfterInTabOrder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -28025,7 +28919,7 @@ static PyObject *_wrap_Window_MoveAfterInTabOrder(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_MoveBeforeInTabOrder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -28054,7 +28948,7 @@ static PyObject *_wrap_Window_MoveBeforeInTabOrder(PyObject *, PyObject *args, P static PyObject *_wrap_Window_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -28080,7 +28974,7 @@ static PyObject *_wrap_Window_GetChildren(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_GetParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -28108,7 +29002,7 @@ static PyObject *_wrap_Window_GetParent(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_GetGrandParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -28136,7 +29030,7 @@ static PyObject *_wrap_Window_GetGrandParent(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_IsTopLevel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -28164,7 +29058,7 @@ static PyObject *_wrap_Window_IsTopLevel(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_Reparent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; bool result; @@ -28196,7 +29090,7 @@ static PyObject *_wrap_Window_Reparent(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -28225,7 +29119,7 @@ static PyObject *_wrap_Window_AddChild(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -28254,7 +29148,7 @@ static PyObject *_wrap_Window_RemoveChild(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_FindWindowById(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long arg2 ; wxWindow *result; @@ -28268,7 +29162,7 @@ static PyObject *_wrap_Window_FindWindowById(PyObject *, PyObject *args, PyObjec 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; } { @@ -28288,7 +29182,7 @@ static PyObject *_wrap_Window_FindWindowById(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_FindWindowByName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; wxWindow *result; @@ -28332,7 +29226,7 @@ static PyObject *_wrap_Window_FindWindowByName(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxEvtHandler *result; PyObject * obj0 = 0 ; @@ -28360,7 +29254,7 @@ static PyObject *_wrap_Window_GetEventHandler(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxEvtHandler *arg2 = (wxEvtHandler *) 0 ; PyObject * obj0 = 0 ; @@ -28389,7 +29283,7 @@ static PyObject *_wrap_Window_SetEventHandler(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_PushEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxEvtHandler *arg2 = (wxEvtHandler *) 0 ; PyObject * obj0 = 0 ; @@ -28418,7 +29312,7 @@ static PyObject *_wrap_Window_PushEventHandler(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_PopEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 = (bool) false ; wxEvtHandler *result; @@ -28433,7 +29327,7 @@ static PyObject *_wrap_Window_PopEventHandler(PyObject *, PyObject *args, PyObje 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; } } @@ -28454,7 +29348,7 @@ static PyObject *_wrap_Window_PopEventHandler(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_RemoveEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxEvtHandler *arg2 = (wxEvtHandler *) 0 ; bool result; @@ -28486,7 +29380,7 @@ static PyObject *_wrap_Window_RemoveEventHandler(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_SetValidator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxValidator *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -28521,7 +29415,7 @@ static PyObject *_wrap_Window_SetValidator(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetValidator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxValidator *result; PyObject * obj0 = 0 ; @@ -28540,7 +29434,7 @@ static PyObject *_wrap_Window_GetValidator(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -28549,7 +29443,7 @@ static PyObject *_wrap_Window_GetValidator(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_Validate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -28577,7 +29471,7 @@ static PyObject *_wrap_Window_Validate(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -28605,7 +29499,7 @@ static PyObject *_wrap_Window_TransferDataToWindow(PyObject *, PyObject *args, P static PyObject *_wrap_Window_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -28633,7 +29527,7 @@ static PyObject *_wrap_Window_TransferDataFromWindow(PyObject *, PyObject *args, static PyObject *_wrap_Window_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -28658,7 +29552,7 @@ static PyObject *_wrap_Window_InitDialog(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxAcceleratorTable *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -28693,7 +29587,7 @@ static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxAcceleratorTable *result; PyObject * obj0 = 0 ; @@ -28719,7 +29613,7 @@ static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_RegisterHotKey(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -28737,15 +29631,15 @@ static PyObject *_wrap_Window_RegisterHotKey(PyObject *, PyObject *args, PyObjec 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; } { @@ -28765,7 +29659,7 @@ static PyObject *_wrap_Window_RegisterHotKey(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_UnregisterHotKey(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; bool result; @@ -28779,7 +29673,7 @@ static PyObject *_wrap_Window_UnregisterHotKey(PyObject *, PyObject *args, PyObj 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; } { @@ -28799,7 +29693,7 @@ static PyObject *_wrap_Window_UnregisterHotKey(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; wxPoint result; @@ -28826,7 +29720,7 @@ static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *, PyObject *a } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -28836,7 +29730,7 @@ static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *, PyObject *a static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize result; @@ -28863,7 +29757,7 @@ static PyObject *_wrap_Window_ConvertDialogSizeToPixels(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; @@ -28873,7 +29767,7 @@ static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *, PyObject *ar static PyObject *_wrap_Window_DLG_PNT(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; wxPoint result; @@ -28900,7 +29794,7 @@ static PyObject *_wrap_Window_DLG_PNT(PyObject *, PyObject *args, PyObject *kwar } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -28910,7 +29804,7 @@ static PyObject *_wrap_Window_DLG_PNT(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_DLG_SZE(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize result; @@ -28937,7 +29831,7 @@ static PyObject *_wrap_Window_DLG_SZE(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; @@ -28947,7 +29841,7 @@ static PyObject *_wrap_Window_DLG_SZE(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; wxPoint result; @@ -28974,7 +29868,7 @@ static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *, PyObject *ar } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -28984,7 +29878,7 @@ static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *, PyObject *ar static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxSize result; @@ -29011,7 +29905,7 @@ static PyObject *_wrap_Window_ConvertPixelSizeToDialog(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; @@ -29021,7 +29915,7 @@ static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *, PyObject *arg static PyObject *_wrap_Window_WarpPointer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -29036,11 +29930,11 @@ static PyObject *_wrap_Window_WarpPointer(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; } { @@ -29058,7 +29952,7 @@ static PyObject *_wrap_Window_WarpPointer(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_CaptureMouse(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -29083,7 +29977,7 @@ static PyObject *_wrap_Window_CaptureMouse(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_ReleaseMouse(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -29108,7 +30002,7 @@ static PyObject *_wrap_Window_ReleaseMouse(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetCapture(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *result; char *kwnames[] = { NULL @@ -29133,7 +30027,7 @@ static PyObject *_wrap_Window_GetCapture(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_HasCapture(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -29161,7 +30055,7 @@ static PyObject *_wrap_Window_HasCapture(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_Refresh(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 = (bool) true ; wxRect *arg3 = (wxRect *) NULL ; @@ -29177,7 +30071,7 @@ static PyObject *_wrap_Window_Refresh(PyObject *, PyObject *args, PyObject *kwar 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; } } @@ -29200,7 +30094,7 @@ static PyObject *_wrap_Window_Refresh(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_RefreshRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxRect *arg2 = 0 ; bool arg3 = (bool) true ; @@ -29221,7 +30115,7 @@ static PyObject *_wrap_Window_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; } } @@ -29240,7 +30134,7 @@ static PyObject *_wrap_Window_RefreshRect(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_Update(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -29265,7 +30159,7 @@ static PyObject *_wrap_Window_Update(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Window_ClearBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -29290,7 +30184,7 @@ static PyObject *_wrap_Window_ClearBackground(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_Freeze(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -29315,7 +30209,7 @@ static PyObject *_wrap_Window_Freeze(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Window_Thaw(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -29340,7 +30234,7 @@ static PyObject *_wrap_Window_Thaw(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Window_PrepareDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxDC *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -29375,7 +30269,7 @@ static PyObject *_wrap_Window_PrepareDC(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_GetUpdateRegion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxRegion *result; PyObject * obj0 = 0 ; @@ -29404,7 +30298,7 @@ static PyObject *_wrap_Window_GetUpdateRegion(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -29424,7 +30318,7 @@ static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *, PyObject *args, Py } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -29434,7 +30328,7 @@ static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_IsExposed(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -29454,22 +30348,22 @@ static PyObject *_wrap_Window_IsExposed(PyObject *, PyObject *args, PyObject *kw 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; } } @@ -29490,7 +30384,7 @@ static PyObject *_wrap_Window_IsExposed(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_IsExposedPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; bool result; @@ -29525,7 +30419,7 @@ static PyObject *_wrap_Window_IsExposedPoint(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_IsExposedRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxRect *arg2 = 0 ; bool result; @@ -29560,7 +30454,7 @@ static PyObject *_wrap_Window_IsExposedRect(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -29580,7 +30474,7 @@ static PyObject *_wrap_Window_GetDefaultAttributes(PyObject *, PyObject *args, P } { wxVisualAttributes * resultptr; - resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); + resultptr = new wxVisualAttributes(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); } return resultobj; @@ -29590,7 +30484,7 @@ static PyObject *_wrap_Window_GetDefaultAttributes(PyObject *, PyObject *args, P static PyObject *_wrap_Window_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -29601,21 +30495,21 @@ static PyObject *_wrap_Window_GetClassDefaultAttributes(PyObject *, PyObject *ar 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; @@ -29625,7 +30519,7 @@ static PyObject *_wrap_Window_GetClassDefaultAttributes(PyObject *, PyObject *ar static PyObject *_wrap_Window_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxColour *arg2 = 0 ; bool result; @@ -29660,7 +30554,7 @@ static PyObject *_wrap_Window_SetBackgroundColour(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_SetOwnBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -29692,7 +30586,7 @@ static PyObject *_wrap_Window_SetOwnBackgroundColour(PyObject *, PyObject *args, static PyObject *_wrap_Window_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxColour *arg2 = 0 ; bool result; @@ -29727,7 +30621,7 @@ static PyObject *_wrap_Window_SetForegroundColour(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_SetOwnForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -29759,7 +30653,7 @@ static PyObject *_wrap_Window_SetOwnForegroundColour(PyObject *, PyObject *args, static PyObject *_wrap_Window_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -29779,7 +30673,7 @@ static PyObject *_wrap_Window_GetBackgroundColour(PyObject *, PyObject *args, Py } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -29789,7 +30683,7 @@ static PyObject *_wrap_Window_GetBackgroundColour(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_GetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -29809,7 +30703,7 @@ static PyObject *_wrap_Window_GetForegroundColour(PyObject *, PyObject *args, Py } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -29819,7 +30713,7 @@ static PyObject *_wrap_Window_GetForegroundColour(PyObject *, PyObject *args, Py static PyObject *_wrap_Window_InheritsBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -29847,7 +30741,7 @@ static PyObject *_wrap_Window_InheritsBackgroundColour(PyObject *, PyObject *arg static PyObject *_wrap_Window_UseBgCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -29875,7 +30769,7 @@ static PyObject *_wrap_Window_UseBgCol(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_SetBackgroundStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxBackgroundStyle arg2 ; bool result; @@ -29889,12 +30783,12 @@ static PyObject *_wrap_Window_SetBackgroundStyle(PyObject *, PyObject *args, PyO 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; @@ -29909,7 +30803,7 @@ static PyObject *_wrap_Window_SetBackgroundStyle(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_GetBackgroundStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxBackgroundStyle result; PyObject * obj0 = 0 ; @@ -29935,7 +30829,7 @@ static PyObject *_wrap_Window_GetBackgroundStyle(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_HasTransparentBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -29963,7 +30857,7 @@ static PyObject *_wrap_Window_HasTransparentBackground(PyObject *, PyObject *arg static PyObject *_wrap_Window_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxCursor *arg2 = 0 ; bool result; @@ -30001,7 +30895,7 @@ static PyObject *_wrap_Window_SetCursor(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxCursor result; PyObject * obj0 = 0 ; @@ -30021,7 +30915,7 @@ static PyObject *_wrap_Window_GetCursor(PyObject *, PyObject *args, PyObject *kw } { wxCursor * resultptr; - resultptr = new wxCursor((wxCursor &)(result)); + resultptr = new wxCursor(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1); } return resultobj; @@ -30031,7 +30925,7 @@ static PyObject *_wrap_Window_GetCursor(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_SetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxFont *arg2 = 0 ; bool result; @@ -30069,7 +30963,7 @@ static PyObject *_wrap_Window_SetFont(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_SetOwnFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxFont *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -30104,7 +30998,7 @@ static PyObject *_wrap_Window_SetOwnFont(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_GetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxFont result; PyObject * obj0 = 0 ; @@ -30124,7 +31018,7 @@ static PyObject *_wrap_Window_GetFont(PyObject *, PyObject *args, PyObject *kwar } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } return resultobj; @@ -30134,7 +31028,7 @@ static PyObject *_wrap_Window_GetFont(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_SetCaret(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxCaret *arg2 = (wxCaret *) 0 ; PyObject * obj0 = 0 ; @@ -30146,7 +31040,7 @@ static PyObject *_wrap_Window_SetCaret(PyObject *, PyObject *args, PyObject *kwa 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(); @@ -30163,7 +31057,7 @@ static PyObject *_wrap_Window_SetCaret(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_GetCaret(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxCaret *result; PyObject * obj0 = 0 ; @@ -30189,7 +31083,7 @@ static PyObject *_wrap_Window_GetCaret(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -30208,7 +31102,7 @@ static PyObject *_wrap_Window_GetCharHeight(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: @@ -30217,7 +31111,7 @@ static PyObject *_wrap_Window_GetCharHeight(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -30236,7 +31130,7 @@ static PyObject *_wrap_Window_GetCharWidth(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: @@ -30245,7 +31139,7 @@ static PyObject *_wrap_Window_GetCharWidth(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetTextExtent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; int *arg3 = (int *) 0 ; @@ -30298,7 +31192,7 @@ static PyObject *_wrap_Window_GetTextExtent(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetFullTextExtent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; int *arg3 = (int *) 0 ; @@ -30369,7 +31263,7 @@ static PyObject *_wrap_Window_GetFullTextExtent(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Window_ClientToScreenXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -30422,7 +31316,7 @@ static PyObject *_wrap_Window_ClientToScreenXY(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_ScreenToClientXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -30475,7 +31369,7 @@ static PyObject *_wrap_Window_ScreenToClientXY(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_ClientToScreen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; wxPoint result; @@ -30502,7 +31396,7 @@ static PyObject *_wrap_Window_ClientToScreen(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; @@ -30512,7 +31406,7 @@ static PyObject *_wrap_Window_ClientToScreen(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_ScreenToClient(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; wxPoint result; @@ -30539,7 +31433,7 @@ static PyObject *_wrap_Window_ScreenToClient(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; @@ -30549,7 +31443,7 @@ static PyObject *_wrap_Window_ScreenToClient(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -30565,11 +31459,11 @@ static PyObject *_wrap_Window_HitTestXY(PyObject *, PyObject *args, PyObject *kw 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; } { @@ -30587,7 +31481,7 @@ static PyObject *_wrap_Window_HitTestXY(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPoint *arg2 = 0 ; wxHitTest result; @@ -30620,7 +31514,7 @@ static PyObject *_wrap_Window_HitTest(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_GetBorder__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long arg2 ; wxBorder result; @@ -30631,7 +31525,7 @@ static PyObject *_wrap_Window_GetBorder__SWIG_0(PyObject *, PyObject *args) { 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; } { @@ -30649,7 +31543,7 @@ static PyObject *_wrap_Window_GetBorder__SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_Window_GetBorder__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxBorder result; PyObject * obj0 = 0 ; @@ -30720,7 +31614,7 @@ static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args) { static PyObject *_wrap_Window_UpdateWindowUI(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long arg2 = (long) wxUPDATE_UI_NONE ; PyObject * obj0 = 0 ; @@ -30734,7 +31628,7 @@ static PyObject *_wrap_Window_UpdateWindowUI(PyObject *, PyObject *args, PyObjec 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; } } @@ -30753,7 +31647,7 @@ static PyObject *_wrap_Window_UpdateWindowUI(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_PopupMenuXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; int arg3 = (int) -1 ; @@ -30774,13 +31668,13 @@ static PyObject *_wrap_Window_PopupMenuXY(PyObject *, PyObject *args, PyObject * 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; } } @@ -30801,7 +31695,7 @@ static PyObject *_wrap_Window_PopupMenuXY(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -30843,7 +31737,7 @@ static PyObject *_wrap_Window_PopupMenu(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_GetHandle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long result; PyObject * obj0 = 0 ; @@ -30862,7 +31756,7 @@ static PyObject *_wrap_Window_GetHandle(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -30871,7 +31765,7 @@ static PyObject *_wrap_Window_GetHandle(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Window_AssociateHandle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -30884,7 +31778,7 @@ static PyObject *_wrap_Window_AssociateHandle(PyObject *, PyObject *args, PyObje 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; } { @@ -30902,7 +31796,7 @@ static PyObject *_wrap_Window_AssociateHandle(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_DissociateHandle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -30927,7 +31821,7 @@ static PyObject *_wrap_Window_DissociateHandle(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_OnPaint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPaintEvent *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -30962,7 +31856,7 @@ static PyObject *_wrap_Window_OnPaint(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Window_HasScrollbar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; bool result; @@ -30976,7 +31870,7 @@ static PyObject *_wrap_Window_HasScrollbar(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; } { @@ -30996,7 +31890,7 @@ static PyObject *_wrap_Window_HasScrollbar(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -31017,24 +31911,24 @@ static PyObject *_wrap_Window_SetScrollbar(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; } { - 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; } } @@ -31053,7 +31947,7 @@ static PyObject *_wrap_Window_SetScrollbar(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_SetScrollPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -31070,16 +31964,16 @@ static PyObject *_wrap_Window_SetScrollPos(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; } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -31098,7 +31992,7 @@ static PyObject *_wrap_Window_SetScrollPos(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetScrollPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int result; @@ -31112,7 +32006,7 @@ static PyObject *_wrap_Window_GetScrollPos(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; } { @@ -31123,7 +32017,7 @@ static PyObject *_wrap_Window_GetScrollPos(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: @@ -31132,7 +32026,7 @@ static PyObject *_wrap_Window_GetScrollPos(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetScrollThumb(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int result; @@ -31146,7 +32040,7 @@ static PyObject *_wrap_Window_GetScrollThumb(PyObject *, PyObject *args, PyObjec 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; } { @@ -31157,7 +32051,7 @@ static PyObject *_wrap_Window_GetScrollThumb(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: @@ -31166,7 +32060,7 @@ static PyObject *_wrap_Window_GetScrollThumb(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_GetScrollRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int result; @@ -31180,7 +32074,7 @@ static PyObject *_wrap_Window_GetScrollRange(PyObject *, PyObject *args, PyObjec 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; } { @@ -31191,7 +32085,7 @@ static PyObject *_wrap_Window_GetScrollRange(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: @@ -31200,7 +32094,7 @@ static PyObject *_wrap_Window_GetScrollRange(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_ScrollWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; int arg3 ; @@ -31217,11 +32111,11 @@ static PyObject *_wrap_Window_ScrollWindow(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; } if (obj3) { @@ -31243,7 +32137,7 @@ static PyObject *_wrap_Window_ScrollWindow(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; bool result; @@ -31257,7 +32151,7 @@ static PyObject *_wrap_Window_ScrollLines(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; } { @@ -31277,7 +32171,7 @@ static PyObject *_wrap_Window_ScrollLines(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 ; bool result; @@ -31291,7 +32185,7 @@ static PyObject *_wrap_Window_ScrollPages(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; } { @@ -31311,7 +32205,7 @@ static PyObject *_wrap_Window_ScrollPages(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_LineUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -31339,7 +32233,7 @@ static PyObject *_wrap_Window_LineUp(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Window_LineDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -31367,7 +32261,7 @@ static PyObject *_wrap_Window_LineDown(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_PageUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -31395,7 +32289,7 @@ static PyObject *_wrap_Window_PageUp(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Window_PageDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -31423,7 +32317,7 @@ static PyObject *_wrap_Window_PageDown(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_SetHelpText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -31464,7 +32358,7 @@ static PyObject *_wrap_Window_SetHelpText(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_SetHelpTextForId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -31505,7 +32399,7 @@ static PyObject *_wrap_Window_SetHelpTextForId(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_GetHelpText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -31537,7 +32431,7 @@ static PyObject *_wrap_Window_GetHelpText(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Window_SetToolTipString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -31578,7 +32472,7 @@ static PyObject *_wrap_Window_SetToolTipString(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Window_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxToolTip *arg2 = (wxToolTip *) 0 ; PyObject * obj0 = 0 ; @@ -31590,7 +32484,7 @@ static PyObject *_wrap_Window_SetToolTip(PyObject *, PyObject *args, PyObject *k 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(); @@ -31607,7 +32501,7 @@ static PyObject *_wrap_Window_SetToolTip(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxToolTip *result; PyObject * obj0 = 0 ; @@ -31626,7 +32520,7 @@ static PyObject *_wrap_Window_GetToolTip(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -31635,7 +32529,7 @@ static PyObject *_wrap_Window_GetToolTip(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_SetDropTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPyDropTarget *arg2 = (wxPyDropTarget *) 0 ; PyObject * obj0 = 0 ; @@ -31664,7 +32558,7 @@ static PyObject *_wrap_Window_SetDropTarget(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetDropTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPyDropTarget *result; PyObject * obj0 = 0 ; @@ -31690,7 +32584,7 @@ static PyObject *_wrap_Window_GetDropTarget(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_DragAcceptFiles(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -31703,7 +32597,7 @@ static PyObject *_wrap_Window_DragAcceptFiles(PyObject *, PyObject *args, PyObje 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; } { @@ -31721,7 +32615,7 @@ static PyObject *_wrap_Window_DragAcceptFiles(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Window_SetConstraints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ; PyObject * obj0 = 0 ; @@ -31750,7 +32644,7 @@ static PyObject *_wrap_Window_SetConstraints(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_GetConstraints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxLayoutConstraints *result; PyObject * obj0 = 0 ; @@ -31776,7 +32670,7 @@ static PyObject *_wrap_Window_GetConstraints(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_SetAutoLayout(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -31789,7 +32683,7 @@ static PyObject *_wrap_Window_SetAutoLayout(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 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -31807,7 +32701,7 @@ static PyObject *_wrap_Window_SetAutoLayout(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_GetAutoLayout(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -31835,7 +32729,7 @@ static PyObject *_wrap_Window_GetAutoLayout(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Window_Layout(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -31863,7 +32757,7 @@ static PyObject *_wrap_Window_Layout(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Window_SetSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; bool arg3 = (bool) true ; @@ -31877,11 +32771,11 @@ static PyObject *_wrap_Window_SetSizer(PyObject *, PyObject *args, PyObject *kwa 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; } } @@ -31900,7 +32794,7 @@ static PyObject *_wrap_Window_SetSizer(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_SetSizerAndFit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; bool arg3 = (bool) true ; @@ -31914,11 +32808,11 @@ static PyObject *_wrap_Window_SetSizerAndFit(PyObject *, PyObject *args, PyObjec 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; } } @@ -31937,7 +32831,7 @@ static PyObject *_wrap_Window_SetSizerAndFit(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Window_GetSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSizer *result; PyObject * obj0 = 0 ; @@ -31956,7 +32850,7 @@ static PyObject *_wrap_Window_GetSizer(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxSizer(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -31965,7 +32859,7 @@ static PyObject *_wrap_Window_GetSizer(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Window_SetContainingSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; PyObject * obj0 = 0 ; @@ -31994,7 +32888,7 @@ static PyObject *_wrap_Window_SetContainingSizer(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_GetContainingSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSizer *result; PyObject * obj0 = 0 ; @@ -32013,7 +32907,7 @@ static PyObject *_wrap_Window_GetContainingSizer(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxSizer(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -32022,7 +32916,7 @@ static PyObject *_wrap_Window_GetContainingSizer(PyObject *, PyObject *args, PyO static PyObject *_wrap_Window_InheritAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -32047,7 +32941,7 @@ static PyObject *_wrap_Window_InheritAttributes(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Window_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32082,7 +32976,7 @@ static PyObject * Window_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_FindWindowById(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; wxWindow *arg2 = (wxWindow *) NULL ; wxWindow *result; @@ -32094,7 +32988,7 @@ static PyObject *_wrap_FindWindowById(PyObject *, PyObject *args, PyObject *kwar 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) { @@ -32119,7 +33013,7 @@ static PyObject *_wrap_FindWindowById(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_FindWindowByName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxWindow *arg2 = (wxWindow *) NULL ; wxWindow *result; @@ -32166,7 +33060,7 @@ static PyObject *_wrap_FindWindowByName(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_FindWindowByLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxWindow *arg2 = (wxWindow *) NULL ; wxWindow *result; @@ -32213,7 +33107,7 @@ static PyObject *_wrap_FindWindowByLabel(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Window_FromHWND(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; unsigned long arg2 ; wxWindow *result; @@ -32227,7 +33121,7 @@ static PyObject *_wrap_Window_FromHWND(PyObject *, PyObject *args, PyObject *kwa 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; } { @@ -32246,8 +33140,30 @@ static PyObject *_wrap_Window_FromHWND(PyObject *, PyObject *args, PyObject *kwa } +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; + PyObject *resultobj = NULL; wxValidator *result; char *kwnames[] = { NULL @@ -32269,7 +33185,7 @@ static PyObject *_wrap_new_Validator(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Validator_Clone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxValidator *arg1 = (wxValidator *) 0 ; wxValidator *result; PyObject * obj0 = 0 ; @@ -32297,7 +33213,7 @@ static PyObject *_wrap_Validator_Clone(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Validator_Validate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxValidator *arg1 = (wxValidator *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; bool result; @@ -32329,7 +33245,7 @@ static PyObject *_wrap_Validator_Validate(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Validator_TransferToWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxValidator *arg1 = (wxValidator *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32357,7 +33273,7 @@ static PyObject *_wrap_Validator_TransferToWindow(PyObject *, PyObject *args, Py static PyObject *_wrap_Validator_TransferFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxValidator *arg1 = (wxValidator *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -32385,7 +33301,7 @@ static PyObject *_wrap_Validator_TransferFromWindow(PyObject *, PyObject *args, static PyObject *_wrap_Validator_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxValidator *arg1 = (wxValidator *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -32413,7 +33329,7 @@ static PyObject *_wrap_Validator_GetWindow(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Validator_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxValidator *arg1 = (wxValidator *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -32442,7 +33358,7 @@ static PyObject *_wrap_Validator_SetWindow(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Validator_IsSilent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -32466,7 +33382,7 @@ static PyObject *_wrap_Validator_IsSilent(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Validator_SetBellOnError(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) true ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -32476,7 +33392,7 @@ static PyObject *_wrap_Validator_SetBellOnError(PyObject *, PyObject *args, PyOb 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; } } @@ -32502,7 +33418,7 @@ static PyObject * Validator_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyValidator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyValidator *result; char *kwnames[] = { NULL @@ -32524,7 +33440,7 @@ static PyObject *_wrap_new_PyValidator(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyValidator *arg1 = (wxPyValidator *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -32544,7 +33460,7 @@ static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *, PyObject *args, arg3 = obj2; if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -32576,7 +33492,7 @@ static int _wrap_DefaultValidator_set(PyObject *) { static PyObject *_wrap_DefaultValidator_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxDefaultValidator), SWIGTYPE_p_wxValidator, 0); return pyobj; @@ -32584,7 +33500,7 @@ static PyObject *_wrap_DefaultValidator_get(void) { static PyObject *_wrap_new_Menu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; long arg2 = (long) 0 ; @@ -32606,7 +33522,7 @@ static PyObject *_wrap_new_Menu(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; } } @@ -32634,7 +33550,7 @@ static PyObject *_wrap_new_Menu(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Menu_Append(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -32657,7 +33573,7 @@ static PyObject *_wrap_Menu_Append(PyObject *, PyObject *args, PyObject *kwargs) 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; } { @@ -32674,19 +33590,19 @@ static PyObject *_wrap_Menu_Append(PyObject *, PyObject *args, PyObject *kwargs) } 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) @@ -32711,7 +33627,7 @@ static PyObject *_wrap_Menu_Append(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Menu_AppendSeparator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuItem *result; PyObject * obj0 = 0 ; @@ -32730,7 +33646,7 @@ static PyObject *_wrap_Menu_AppendSeparator(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -32739,7 +33655,7 @@ static PyObject *_wrap_Menu_AppendSeparator(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Menu_AppendCheckItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -32760,7 +33676,7 @@ static PyObject *_wrap_Menu_AppendCheckItem(PyObject *, PyObject *args, PyObject 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; } { @@ -32783,7 +33699,7 @@ static PyObject *_wrap_Menu_AppendCheckItem(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } { if (temp3) @@ -32808,7 +33724,7 @@ static PyObject *_wrap_Menu_AppendCheckItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Menu_AppendRadioItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -32829,7 +33745,7 @@ static PyObject *_wrap_Menu_AppendRadioItem(PyObject *, PyObject *args, PyObject 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; } { @@ -32852,7 +33768,7 @@ static PyObject *_wrap_Menu_AppendRadioItem(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } { if (temp3) @@ -32877,7 +33793,7 @@ static PyObject *_wrap_Menu_AppendRadioItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Menu_AppendMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -32900,7 +33816,7 @@ static PyObject *_wrap_Menu_AppendMenu(PyObject *, PyObject *args, PyObject *kwa 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; } { @@ -32925,7 +33841,7 @@ static PyObject *_wrap_Menu_AppendMenu(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } { if (temp3) @@ -32950,7 +33866,7 @@ static PyObject *_wrap_Menu_AppendMenu(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Menu_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuItem *arg2 = (wxMenuItem *) 0 ; wxMenuItem *result; @@ -32973,7 +33889,7 @@ static PyObject *_wrap_Menu_AppendItem(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -32982,7 +33898,7 @@ static PyObject *_wrap_Menu_AppendItem(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Menu_Break(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -33007,7 +33923,7 @@ static PyObject *_wrap_Menu_Break(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Menu_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t arg2 ; wxMenuItem *arg3 = (wxMenuItem *) 0 ; @@ -33023,7 +33939,7 @@ static PyObject *_wrap_Menu_InsertItem(PyObject *, PyObject *args, PyObject *kwa 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); @@ -33036,7 +33952,7 @@ static PyObject *_wrap_Menu_InsertItem(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -33045,7 +33961,7 @@ static PyObject *_wrap_Menu_InsertItem(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Menu_Insert(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t arg2 ; int arg3 ; @@ -33070,11 +33986,11 @@ static PyObject *_wrap_Menu_Insert(PyObject *, PyObject *args, PyObject *kwargs) 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; } { @@ -33091,19 +34007,19 @@ static PyObject *_wrap_Menu_Insert(PyObject *, PyObject *args, PyObject *kwargs) } 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) @@ -33128,7 +34044,7 @@ static PyObject *_wrap_Menu_Insert(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Menu_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t arg2 ; wxMenuItem *result; @@ -33142,7 +34058,7 @@ static PyObject *_wrap_Menu_InsertSeparator(PyObject *, PyObject *args, PyObject 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; } { @@ -33153,7 +34069,7 @@ static PyObject *_wrap_Menu_InsertSeparator(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -33162,7 +34078,7 @@ static PyObject *_wrap_Menu_InsertSeparator(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Menu_InsertCheckItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t arg2 ; int arg3 ; @@ -33185,11 +34101,11 @@ static PyObject *_wrap_Menu_InsertCheckItem(PyObject *, PyObject *args, PyObject 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; } { @@ -33212,7 +34128,7 @@ static PyObject *_wrap_Menu_InsertCheckItem(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } { if (temp4) @@ -33237,7 +34153,7 @@ static PyObject *_wrap_Menu_InsertCheckItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Menu_InsertRadioItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t arg2 ; int arg3 ; @@ -33260,11 +34176,11 @@ static PyObject *_wrap_Menu_InsertRadioItem(PyObject *, PyObject *args, PyObject 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; } { @@ -33287,7 +34203,7 @@ static PyObject *_wrap_Menu_InsertRadioItem(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } { if (temp4) @@ -33312,7 +34228,7 @@ static PyObject *_wrap_Menu_InsertRadioItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Menu_InsertMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t arg2 ; int arg3 ; @@ -33337,11 +34253,11 @@ static PyObject *_wrap_Menu_InsertMenu(PyObject *, PyObject *args, PyObject *kwa 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; } { @@ -33366,7 +34282,7 @@ static PyObject *_wrap_Menu_InsertMenu(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } { if (temp4) @@ -33391,7 +34307,7 @@ static PyObject *_wrap_Menu_InsertMenu(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Menu_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuItem *arg2 = (wxMenuItem *) 0 ; wxMenuItem *result; @@ -33414,7 +34330,7 @@ static PyObject *_wrap_Menu_PrependItem(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -33423,7 +34339,7 @@ static PyObject *_wrap_Menu_PrependItem(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Menu_Prepend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -33446,7 +34362,7 @@ static PyObject *_wrap_Menu_Prepend(PyObject *, PyObject *args, PyObject *kwargs 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; } { @@ -33463,19 +34379,19 @@ static PyObject *_wrap_Menu_Prepend(PyObject *, PyObject *args, PyObject *kwargs } 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) @@ -33500,7 +34416,7 @@ static PyObject *_wrap_Menu_Prepend(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Menu_PrependSeparator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuItem *result; PyObject * obj0 = 0 ; @@ -33519,7 +34435,7 @@ static PyObject *_wrap_Menu_PrependSeparator(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -33528,7 +34444,7 @@ static PyObject *_wrap_Menu_PrependSeparator(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Menu_PrependCheckItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -33549,7 +34465,7 @@ static PyObject *_wrap_Menu_PrependCheckItem(PyObject *, PyObject *args, PyObjec 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; } { @@ -33572,7 +34488,7 @@ static PyObject *_wrap_Menu_PrependCheckItem(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } { if (temp3) @@ -33597,7 +34513,7 @@ static PyObject *_wrap_Menu_PrependCheckItem(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Menu_PrependRadioItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -33618,7 +34534,7 @@ static PyObject *_wrap_Menu_PrependRadioItem(PyObject *, PyObject *args, PyObjec 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; } { @@ -33641,7 +34557,7 @@ static PyObject *_wrap_Menu_PrependRadioItem(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } { if (temp3) @@ -33666,7 +34582,7 @@ static PyObject *_wrap_Menu_PrependRadioItem(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Menu_PrependMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -33689,7 +34605,7 @@ static PyObject *_wrap_Menu_PrependMenu(PyObject *, PyObject *args, PyObject *kw 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; } { @@ -33714,7 +34630,7 @@ static PyObject *_wrap_Menu_PrependMenu(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } { if (temp3) @@ -33739,7 +34655,7 @@ static PyObject *_wrap_Menu_PrependMenu(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Menu_Remove(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxMenuItem *result; @@ -33753,7 +34669,7 @@ static PyObject *_wrap_Menu_Remove(PyObject *, PyObject *args, PyObject *kwargs) 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; } { @@ -33764,7 +34680,7 @@ static PyObject *_wrap_Menu_Remove(PyObject *, PyObject *args, PyObject *kwargs) if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -33773,7 +34689,7 @@ static PyObject *_wrap_Menu_Remove(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Menu_RemoveItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuItem *arg2 = (wxMenuItem *) 0 ; wxMenuItem *result; @@ -33796,7 +34712,7 @@ static PyObject *_wrap_Menu_RemoveItem(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -33805,7 +34721,7 @@ static PyObject *_wrap_Menu_RemoveItem(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Menu_Delete(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; bool result; @@ -33819,7 +34735,7 @@ static PyObject *_wrap_Menu_Delete(PyObject *, PyObject *args, PyObject *kwargs) 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; } { @@ -33839,7 +34755,7 @@ static PyObject *_wrap_Menu_Delete(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Menu_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuItem *arg2 = (wxMenuItem *) 0 ; bool result; @@ -33871,7 +34787,7 @@ static PyObject *_wrap_Menu_DeleteItem(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Menu_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -33896,7 +34812,7 @@ static PyObject *_wrap_Menu_Destroy(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Menu_DestroyId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; bool result; @@ -33910,7 +34826,7 @@ static PyObject *_wrap_Menu_DestroyId(PyObject *, PyObject *args, PyObject *kwar 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; } { @@ -33930,7 +34846,7 @@ static PyObject *_wrap_Menu_DestroyId(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Menu_DestroyItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuItem *arg2 = (wxMenuItem *) 0 ; bool result; @@ -33962,7 +34878,7 @@ static PyObject *_wrap_Menu_DestroyItem(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -33981,7 +34897,7 @@ static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *, PyObject *args, PyObjec 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: @@ -33990,7 +34906,7 @@ static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Menu_GetMenuItems(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -34016,7 +34932,7 @@ static PyObject *_wrap_Menu_GetMenuItems(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Menu_FindItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxString *arg2 = 0 ; int result; @@ -34043,7 +34959,7 @@ static PyObject *_wrap_Menu_FindItem(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -34060,7 +34976,7 @@ static PyObject *_wrap_Menu_FindItem(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Menu_FindItemById(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxMenuItem *result; @@ -34074,7 +34990,7 @@ static PyObject *_wrap_Menu_FindItemById(PyObject *, PyObject *args, PyObject *k 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; } { @@ -34085,7 +35001,7 @@ static PyObject *_wrap_Menu_FindItemById(PyObject *, PyObject *args, PyObject *k if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -34094,7 +35010,7 @@ static PyObject *_wrap_Menu_FindItemById(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Menu_FindItemByPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; size_t arg2 ; wxMenuItem *result; @@ -34108,7 +35024,7 @@ static PyObject *_wrap_Menu_FindItemByPosition(PyObject *, PyObject *args, PyObj 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; } { @@ -34119,7 +35035,7 @@ static PyObject *_wrap_Menu_FindItemByPosition(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -34128,7 +35044,7 @@ static PyObject *_wrap_Menu_FindItemByPosition(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Menu_Enable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; bool arg3 ; @@ -34143,11 +35059,11 @@ static PyObject *_wrap_Menu_Enable(PyObject *, PyObject *args, PyObject *kwargs) 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; } { @@ -34165,7 +35081,7 @@ static PyObject *_wrap_Menu_Enable(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Menu_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; bool result; @@ -34179,7 +35095,7 @@ static PyObject *_wrap_Menu_IsEnabled(PyObject *, PyObject *args, PyObject *kwar 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; } { @@ -34199,7 +35115,7 @@ static PyObject *_wrap_Menu_IsEnabled(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Menu_Check(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; bool arg3 ; @@ -34214,11 +35130,11 @@ static PyObject *_wrap_Menu_Check(PyObject *, PyObject *args, PyObject *kwargs) 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; } { @@ -34236,7 +35152,7 @@ static PyObject *_wrap_Menu_Check(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Menu_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; bool result; @@ -34250,7 +35166,7 @@ static PyObject *_wrap_Menu_IsChecked(PyObject *, PyObject *args, PyObject *kwar 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; } { @@ -34270,7 +35186,7 @@ static PyObject *_wrap_Menu_IsChecked(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Menu_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -34286,7 +35202,7 @@ static PyObject *_wrap_Menu_SetLabel(PyObject *, PyObject *args, PyObject *kwarg 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; } { @@ -34317,7 +35233,7 @@ static PyObject *_wrap_Menu_SetLabel(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Menu_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString result; @@ -34331,7 +35247,7 @@ static PyObject *_wrap_Menu_GetLabel(PyObject *, PyObject *args, PyObject *kwarg 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; } { @@ -34355,7 +35271,7 @@ static PyObject *_wrap_Menu_GetLabel(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Menu_SetHelpString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -34371,7 +35287,7 @@ static PyObject *_wrap_Menu_SetHelpString(PyObject *, PyObject *args, PyObject * 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; } { @@ -34402,7 +35318,7 @@ static PyObject *_wrap_Menu_SetHelpString(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Menu_GetHelpString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; int arg2 ; wxString result; @@ -34416,7 +35332,7 @@ static PyObject *_wrap_Menu_GetHelpString(PyObject *, PyObject *args, PyObject * 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; } { @@ -34440,7 +35356,7 @@ static PyObject *_wrap_Menu_GetHelpString(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Menu_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -34481,7 +35397,7 @@ static PyObject *_wrap_Menu_SetTitle(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Menu_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -34513,7 +35429,7 @@ static PyObject *_wrap_Menu_GetTitle(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Menu_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxEvtHandler *arg2 = (wxEvtHandler *) 0 ; PyObject * obj0 = 0 ; @@ -34542,7 +35458,7 @@ static PyObject *_wrap_Menu_SetEventHandler(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Menu_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxEvtHandler *result; PyObject * obj0 = 0 ; @@ -34570,7 +35486,7 @@ static PyObject *_wrap_Menu_GetEventHandler(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -34599,7 +35515,7 @@ static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -34627,7 +35543,7 @@ static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Menu_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; long result; PyObject * obj0 = 0 ; @@ -34646,7 +35562,7 @@ static PyObject *_wrap_Menu_GetStyle(PyObject *, PyObject *args, PyObject *kwarg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -34655,7 +35571,7 @@ static PyObject *_wrap_Menu_GetStyle(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Menu_UpdateUI(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxEvtHandler *arg2 = (wxEvtHandler *) NULL ; PyObject * obj0 = 0 ; @@ -34686,7 +35602,7 @@ static PyObject *_wrap_Menu_UpdateUI(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Menu_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuBar *result; PyObject * obj0 = 0 ; @@ -34705,7 +35621,7 @@ static PyObject *_wrap_Menu_GetMenuBar(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -34714,7 +35630,7 @@ static PyObject *_wrap_Menu_GetMenuBar(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Menu_Attach(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ; PyObject * obj0 = 0 ; @@ -34743,7 +35659,7 @@ static PyObject *_wrap_Menu_Attach(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Menu_Detach(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -34768,7 +35684,7 @@ static PyObject *_wrap_Menu_Detach(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Menu_IsAttached(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -34796,7 +35712,7 @@ static PyObject *_wrap_Menu_IsAttached(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Menu_SetParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; @@ -34825,7 +35741,7 @@ static PyObject *_wrap_Menu_SetParent(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Menu_GetParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) 0 ; wxMenu *result; PyObject * obj0 = 0 ; @@ -34860,7 +35776,7 @@ static PyObject * Menu_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MenuBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 = (long) 0 ; wxMenuBar *result; PyObject * obj0 = 0 ; @@ -34871,7 +35787,7 @@ static PyObject *_wrap_new_MenuBar(PyObject *, PyObject *args, PyObject *kwargs) 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; } } @@ -34891,7 +35807,7 @@ static PyObject *_wrap_new_MenuBar(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_MenuBar_Append(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; wxString *arg3 = 0 ; @@ -34939,7 +35855,7 @@ static PyObject *_wrap_MenuBar_Append(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MenuBar_Insert(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; wxMenu *arg3 = (wxMenu *) 0 ; @@ -34958,7 +35874,7 @@ static PyObject *_wrap_MenuBar_Insert(PyObject *, PyObject *args, PyObject *kwar 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); @@ -34993,7 +35909,7 @@ static PyObject *_wrap_MenuBar_Insert(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -35012,7 +35928,7 @@ static PyObject *_wrap_MenuBar_GetMenuCount(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: @@ -35021,7 +35937,7 @@ static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuBar_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; wxMenu *result; @@ -35035,7 +35951,7 @@ static PyObject *_wrap_MenuBar_GetMenu(PyObject *, PyObject *args, PyObject *kwa 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; } { @@ -35055,7 +35971,7 @@ static PyObject *_wrap_MenuBar_GetMenu(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_MenuBar_Replace(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; wxMenu *arg3 = (wxMenu *) 0 ; @@ -35074,7 +35990,7 @@ static PyObject *_wrap_MenuBar_Replace(PyObject *, PyObject *args, PyObject *kwa 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); @@ -35109,7 +36025,7 @@ static PyObject *_wrap_MenuBar_Replace(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_MenuBar_Remove(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; wxMenu *result; @@ -35123,7 +36039,7 @@ static PyObject *_wrap_MenuBar_Remove(PyObject *, PyObject *args, PyObject *kwar 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; } { @@ -35143,7 +36059,7 @@ static PyObject *_wrap_MenuBar_Remove(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MenuBar_EnableTop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; bool arg3 ; @@ -35158,11 +36074,11 @@ static PyObject *_wrap_MenuBar_EnableTop(PyObject *, PyObject *args, PyObject *k 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; } { @@ -35180,7 +36096,7 @@ static PyObject *_wrap_MenuBar_EnableTop(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; bool result; @@ -35194,7 +36110,7 @@ static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *, PyObject *args, PyObject 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; } { @@ -35214,7 +36130,7 @@ static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; wxString *arg3 = 0 ; @@ -35230,7 +36146,7 @@ static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *, PyObject *args, PyObject 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; } { @@ -35261,7 +36177,7 @@ static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; size_t arg2 ; wxString result; @@ -35275,7 +36191,7 @@ static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *, PyObject *args, PyObject 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; } { @@ -35299,7 +36215,7 @@ static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -35334,7 +36250,7 @@ static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -35359,7 +36275,7 @@ static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuBar_FindItemById(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; wxMenuItem *result; @@ -35373,7 +36289,7 @@ static PyObject *_wrap_MenuBar_FindItemById(PyObject *, PyObject *args, PyObject 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; } { @@ -35384,7 +36300,7 @@ static PyObject *_wrap_MenuBar_FindItemById(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -35393,7 +36309,7 @@ static PyObject *_wrap_MenuBar_FindItemById(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuBar_FindMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; wxString *arg2 = 0 ; int result; @@ -35414,13 +36330,13 @@ static PyObject *_wrap_MenuBar_FindMenu(PyObject *, PyObject *args, PyObject *kw } { 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) @@ -35437,7 +36353,7 @@ static PyObject *_wrap_MenuBar_FindMenu(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuBar_Enable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; bool arg3 ; @@ -35452,11 +36368,11 @@ static PyObject *_wrap_MenuBar_Enable(PyObject *, PyObject *args, PyObject *kwar 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; } { @@ -35474,7 +36390,7 @@ static PyObject *_wrap_MenuBar_Enable(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MenuBar_Check(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; bool arg3 ; @@ -35489,11 +36405,11 @@ static PyObject *_wrap_MenuBar_Check(PyObject *, PyObject *args, PyObject *kwarg 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; } { @@ -35511,7 +36427,7 @@ static PyObject *_wrap_MenuBar_Check(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_MenuBar_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; bool result; @@ -35525,7 +36441,7 @@ static PyObject *_wrap_MenuBar_IsChecked(PyObject *, PyObject *args, PyObject *k 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; } { @@ -35545,7 +36461,7 @@ static PyObject *_wrap_MenuBar_IsChecked(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MenuBar_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; bool result; @@ -35559,7 +36475,7 @@ static PyObject *_wrap_MenuBar_IsEnabled(PyObject *, PyObject *args, PyObject *k 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; } { @@ -35579,7 +36495,7 @@ static PyObject *_wrap_MenuBar_IsEnabled(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MenuBar_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -35595,7 +36511,7 @@ static PyObject *_wrap_MenuBar_SetLabel(PyObject *, PyObject *args, PyObject *kw 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; } { @@ -35626,7 +36542,7 @@ static PyObject *_wrap_MenuBar_SetLabel(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuBar_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; wxString result; @@ -35640,7 +36556,7 @@ static PyObject *_wrap_MenuBar_GetLabel(PyObject *, PyObject *args, PyObject *kw 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; } { @@ -35664,7 +36580,7 @@ static PyObject *_wrap_MenuBar_GetLabel(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuBar_SetHelpString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -35680,7 +36596,7 @@ static PyObject *_wrap_MenuBar_SetHelpString(PyObject *, PyObject *args, PyObjec 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; } { @@ -35711,7 +36627,7 @@ static PyObject *_wrap_MenuBar_SetHelpString(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_MenuBar_GetHelpString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; int arg2 ; wxString result; @@ -35725,7 +36641,7 @@ static PyObject *_wrap_MenuBar_GetHelpString(PyObject *, PyObject *args, PyObjec 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; } { @@ -35749,7 +36665,7 @@ static PyObject *_wrap_MenuBar_GetHelpString(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_MenuBar_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; wxFrame *result; PyObject * obj0 = 0 ; @@ -35768,7 +36684,7 @@ static PyObject *_wrap_MenuBar_GetFrame(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -35777,7 +36693,7 @@ static PyObject *_wrap_MenuBar_GetFrame(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuBar_IsAttached(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -35805,7 +36721,7 @@ static PyObject *_wrap_MenuBar_IsAttached(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MenuBar_Attach(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; wxFrame *arg2 = (wxFrame *) 0 ; PyObject * obj0 = 0 ; @@ -35834,7 +36750,7 @@ static PyObject *_wrap_MenuBar_Attach(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MenuBar_Detach(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuBar *arg1 = (wxMenuBar *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -35858,6 +36774,57 @@ static PyObject *_wrap_MenuBar_Detach(PyObject *, PyObject *args, PyObject *kwar } +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; @@ -35866,7 +36833,7 @@ static PyObject * MenuBar_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MenuItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenu *arg1 = (wxMenu *) NULL ; int arg2 = (int) wxID_ANY ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -35895,7 +36862,7 @@ static PyObject *_wrap_new_MenuItem(PyObject *, PyObject *args, PyObject *kwargs } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -35915,7 +36882,7 @@ static PyObject *_wrap_new_MenuItem(PyObject *, PyObject *args, PyObject *kwargs } if (obj4) { { - arg5 = (wxItemKind)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -35925,13 +36892,13 @@ static PyObject *_wrap_new_MenuItem(PyObject *, PyObject *args, PyObject *kwargs } { 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) @@ -35956,7 +36923,7 @@ static PyObject *_wrap_new_MenuItem(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_MenuItem_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxMenu *result; PyObject * obj0 = 0 ; @@ -35984,7 +36951,7 @@ static PyObject *_wrap_MenuItem_GetMenu(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuItem_SetMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; @@ -36013,7 +36980,7 @@ static PyObject *_wrap_MenuItem_SetMenu(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -36026,7 +36993,7 @@ static PyObject *_wrap_MenuItem_SetId(PyObject *, PyObject *args, PyObject *kwar 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; } { @@ -36044,7 +37011,7 @@ static PyObject *_wrap_MenuItem_SetId(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MenuItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -36063,7 +37030,7 @@ static PyObject *_wrap_MenuItem_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: @@ -36072,7 +37039,7 @@ static PyObject *_wrap_MenuItem_GetId(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MenuItem_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -36100,7 +37067,7 @@ static PyObject *_wrap_MenuItem_IsSeparator(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -36141,7 +37108,7 @@ static PyObject *_wrap_MenuItem_SetText(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuItem_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -36173,7 +37140,7 @@ static PyObject *_wrap_MenuItem_GetLabel(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MenuItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -36208,7 +37175,7 @@ static PyObject *_wrap_MenuItem_GetText(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString result; bool temp1 = false ; @@ -36252,7 +37219,7 @@ static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *, PyObject *args, PyO static PyObject *_wrap_MenuItem_GetKind(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxItemKind result; PyObject * obj0 = 0 ; @@ -36278,7 +37245,7 @@ static PyObject *_wrap_MenuItem_GetKind(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuItem_SetKind(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxItemKind arg2 ; PyObject * obj0 = 0 ; @@ -36291,12 +37258,12 @@ static PyObject *_wrap_MenuItem_SetKind(PyObject *, PyObject *args, PyObject *kw 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; @@ -36309,7 +37276,7 @@ static PyObject *_wrap_MenuItem_SetKind(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuItem_SetCheckable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -36322,7 +37289,7 @@ static PyObject *_wrap_MenuItem_SetCheckable(PyObject *, PyObject *args, PyObjec 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; } { @@ -36340,7 +37307,7 @@ static PyObject *_wrap_MenuItem_SetCheckable(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_MenuItem_IsCheckable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -36368,7 +37335,7 @@ static PyObject *_wrap_MenuItem_IsCheckable(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -36396,7 +37363,7 @@ static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; @@ -36425,7 +37392,7 @@ static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxMenu *result; PyObject * obj0 = 0 ; @@ -36453,7 +37420,7 @@ static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuItem_Enable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -36467,7 +37434,7 @@ static PyObject *_wrap_MenuItem_Enable(PyObject *, PyObject *args, PyObject *kwa 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; } } @@ -36486,7 +37453,7 @@ static PyObject *_wrap_MenuItem_Enable(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_MenuItem_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -36514,7 +37481,7 @@ static PyObject *_wrap_MenuItem_IsEnabled(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MenuItem_Check(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -36528,7 +37495,7 @@ static PyObject *_wrap_MenuItem_Check(PyObject *, PyObject *args, PyObject *kwar 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; } } @@ -36547,7 +37514,7 @@ static PyObject *_wrap_MenuItem_Check(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_MenuItem_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -36575,7 +37542,7 @@ static PyObject *_wrap_MenuItem_IsChecked(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_MenuItem_Toggle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -36600,7 +37567,7 @@ static PyObject *_wrap_MenuItem_Toggle(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_MenuItem_SetHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -36641,7 +37608,7 @@ static PyObject *_wrap_MenuItem_SetHelp(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuItem_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -36676,7 +37643,7 @@ static PyObject *_wrap_MenuItem_GetHelp(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuItem_GetAccel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxAcceleratorEntry *result; PyObject * obj0 = 0 ; @@ -36702,7 +37669,7 @@ static PyObject *_wrap_MenuItem_GetAccel(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_MenuItem_SetAccel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ; PyObject * obj0 = 0 ; @@ -36730,8 +37697,75 @@ static PyObject *_wrap_MenuItem_SetAccel(PyObject *, PyObject *args, PyObject *k } +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; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxFont *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -36766,7 +37800,7 @@ static PyObject *_wrap_MenuItem_SetFont(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxFont result; PyObject * obj0 = 0 ; @@ -36786,7 +37820,7 @@ static PyObject *_wrap_MenuItem_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; @@ -36796,7 +37830,7 @@ static PyObject *_wrap_MenuItem_GetFont(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MenuItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -36828,7 +37862,7 @@ static PyObject *_wrap_MenuItem_SetTextColour(PyObject *, PyObject *args, PyObje static PyObject *_wrap_MenuItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -36848,7 +37882,7 @@ static PyObject *_wrap_MenuItem_GetTextColour(PyObject *, PyObject *args, PyObje } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -36858,7 +37892,7 @@ static PyObject *_wrap_MenuItem_GetTextColour(PyObject *, PyObject *args, PyObje static PyObject *_wrap_MenuItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -36890,7 +37924,7 @@ static PyObject *_wrap_MenuItem_SetBackgroundColour(PyObject *, PyObject *args, static PyObject *_wrap_MenuItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -36910,7 +37944,7 @@ static PyObject *_wrap_MenuItem_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; @@ -36920,7 +37954,7 @@ static PyObject *_wrap_MenuItem_GetBackgroundColour(PyObject *, PyObject *args, static PyObject *_wrap_MenuItem_SetBitmaps(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxBitmap *arg2 = 0 ; wxBitmap const &arg3_defvalue = wxNullBitmap ; @@ -36968,7 +38002,7 @@ static PyObject *_wrap_MenuItem_SetBitmaps(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MenuItem_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -37003,7 +38037,7 @@ static PyObject *_wrap_MenuItem_SetDisabledBitmap(PyObject *, PyObject *args, Py static PyObject *_wrap_MenuItem_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; wxBitmap *result; PyObject * obj0 = 0 ; @@ -37035,7 +38069,7 @@ static PyObject *_wrap_MenuItem_GetDisabledBitmap(PyObject *, PyObject *args, Py static PyObject *_wrap_MenuItem_SetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -37048,7 +38082,7 @@ static PyObject *_wrap_MenuItem_SetMarginWidth(PyObject *, PyObject *args, PyObj 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; } { @@ -37066,7 +38100,7 @@ static PyObject *_wrap_MenuItem_SetMarginWidth(PyObject *, PyObject *args, PyObj static PyObject *_wrap_MenuItem_GetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -37085,7 +38119,7 @@ static PyObject *_wrap_MenuItem_GetMarginWidth(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: @@ -37094,7 +38128,7 @@ static PyObject *_wrap_MenuItem_GetMarginWidth(PyObject *, PyObject *args, PyObj static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int result; char *kwnames[] = { NULL @@ -37109,7 +38143,7 @@ static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *, PyObject *args if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -37118,7 +38152,7 @@ static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *, PyObject *args static PyObject *_wrap_MenuItem_IsOwnerDrawn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -37146,7 +38180,7 @@ static PyObject *_wrap_MenuItem_IsOwnerDrawn(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_MenuItem_SetOwnerDrawn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -37160,7 +38194,7 @@ static PyObject *_wrap_MenuItem_SetOwnerDrawn(PyObject *, PyObject *args, PyObje 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; } } @@ -37179,7 +38213,7 @@ static PyObject *_wrap_MenuItem_SetOwnerDrawn(PyObject *, PyObject *args, PyObje static PyObject *_wrap_MenuItem_ResetOwnerDrawn(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMenuItem *arg1 = (wxMenuItem *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -37203,73 +38237,6 @@ static PyObject *_wrap_MenuItem_ResetOwnerDrawn(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_MenuItem_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: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; - 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 * MenuItem_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; @@ -37284,7 +38251,7 @@ static int _wrap_ControlNameStr_set(PyObject *) { static PyObject *_wrap_ControlNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -37298,7 +38265,7 @@ static PyObject *_wrap_ControlNameStr_get(void) { static PyObject *_wrap_new_Control(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -37330,7 +38297,7 @@ static PyObject *_wrap_new_Control(PyObject *, PyObject *args, PyObject *kwargs) 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; } } @@ -37348,7 +38315,7 @@ static PyObject *_wrap_new_Control(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; } } @@ -37393,7 +38360,7 @@ static PyObject *_wrap_new_Control(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_PreControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxControl *result; char *kwnames[] = { NULL @@ -37416,7 +38383,7 @@ static PyObject *_wrap_new_PreControl(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Control_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxControl *arg1 = (wxControl *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -37452,7 +38419,7 @@ static PyObject *_wrap_Control_Create(PyObject *, PyObject *args, PyObject *kwar 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; } } @@ -37470,7 +38437,7 @@ static PyObject *_wrap_Control_Create(PyObject *, PyObject *args, PyObject *kwar } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -37516,7 +38483,7 @@ static PyObject *_wrap_Control_Create(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Control_Command(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxControl *arg1 = (wxControl *) 0 ; wxCommandEvent *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -37551,7 +38518,7 @@ static PyObject *_wrap_Control_Command(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Control_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxControl *arg1 = (wxControl *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -37583,7 +38550,7 @@ static PyObject *_wrap_Control_GetLabel(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Control_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxControl *arg1 = (wxControl *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -37624,7 +38591,7 @@ static PyObject *_wrap_Control_SetLabel(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Control_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -37635,21 +38602,21 @@ static PyObject *_wrap_Control_GetClassDefaultAttributes(PyObject *, PyObject *a 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; @@ -37666,7 +38633,7 @@ static PyObject * Control_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_ItemContainer_Append(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; wxString *arg2 = 0 ; PyObject *arg3 = (PyObject *) NULL ; @@ -37698,7 +38665,7 @@ static PyObject *_wrap_ItemContainer_Append(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -37715,7 +38682,7 @@ static PyObject *_wrap_ItemContainer_Append(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ItemContainer_AppendItems(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; wxArrayString *arg2 = 0 ; bool temp2 = false ; @@ -37738,15 +38705,11 @@ static PyObject *_wrap_ItemContainer_AppendItems(PyObject *, PyObject *args, PyO int i, len=PySequence_Length(obj1); for (i=0; iAdd(Py2wxString(str)); + arg2->Add(*s); + delete s; Py_DECREF(item); - Py_DECREF(str); } } { @@ -37770,7 +38733,7 @@ static PyObject *_wrap_ItemContainer_AppendItems(PyObject *, PyObject *args, PyO static PyObject *_wrap_ItemContainer_Insert(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; wxString *arg2 = 0 ; int arg3 ; @@ -37794,7 +38757,7 @@ static PyObject *_wrap_ItemContainer_Insert(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; } if (obj3) { @@ -37808,7 +38771,7 @@ static PyObject *_wrap_ItemContainer_Insert(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -37825,7 +38788,7 @@ static PyObject *_wrap_ItemContainer_Insert(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ItemContainer_Clear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -37850,7 +38813,7 @@ static PyObject *_wrap_ItemContainer_Clear(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ItemContainer_Delete(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -37863,7 +38826,7 @@ static PyObject *_wrap_ItemContainer_Delete(PyObject *, PyObject *args, PyObject 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; } { @@ -37881,7 +38844,7 @@ static PyObject *_wrap_ItemContainer_Delete(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ItemContainer_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int arg2 ; PyObject *result; @@ -37895,7 +38858,7 @@ static PyObject *_wrap_ItemContainer_GetClientData(PyObject *, PyObject *args, P 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; } { @@ -37913,7 +38876,7 @@ static PyObject *_wrap_ItemContainer_GetClientData(PyObject *, PyObject *args, P static PyObject *_wrap_ItemContainer_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int arg2 ; PyObject *arg3 = (PyObject *) 0 ; @@ -37928,7 +38891,7 @@ static PyObject *_wrap_ItemContainer_SetClientData(PyObject *, PyObject *args, P 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; @@ -37947,7 +38910,7 @@ static PyObject *_wrap_ItemContainer_SetClientData(PyObject *, PyObject *args, P static PyObject *_wrap_ItemContainer_GetCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -37966,7 +38929,7 @@ static PyObject *_wrap_ItemContainer_GetCount(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: @@ -37975,7 +38938,7 @@ static PyObject *_wrap_ItemContainer_GetCount(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -38003,7 +38966,7 @@ static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ItemContainer_GetString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int arg2 ; wxString result; @@ -38017,7 +38980,7 @@ static PyObject *_wrap_ItemContainer_GetString(PyObject *, PyObject *args, PyObj 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; } { @@ -38041,7 +39004,7 @@ static PyObject *_wrap_ItemContainer_GetString(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ItemContainer_GetStrings(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; wxArrayString result; PyObject * obj0 = 0 ; @@ -38069,7 +39032,7 @@ static PyObject *_wrap_ItemContainer_GetStrings(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ItemContainer_SetString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int arg2 ; wxString *arg3 = 0 ; @@ -38085,7 +39048,7 @@ static PyObject *_wrap_ItemContainer_SetString(PyObject *, PyObject *args, PyObj 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; } { @@ -38116,7 +39079,7 @@ static PyObject *_wrap_ItemContainer_SetString(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ItemContainer_FindString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; wxString *arg2 = 0 ; int result; @@ -38143,7 +39106,7 @@ static PyObject *_wrap_ItemContainer_FindString(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -38160,7 +39123,7 @@ static PyObject *_wrap_ItemContainer_FindString(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ItemContainer_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -38173,7 +39136,7 @@ static PyObject *_wrap_ItemContainer_SetSelection(PyObject *, PyObject *args, Py 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; } { @@ -38191,7 +39154,7 @@ static PyObject *_wrap_ItemContainer_SetSelection(PyObject *, PyObject *args, Py static PyObject *_wrap_ItemContainer_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -38210,7 +39173,7 @@ static PyObject *_wrap_ItemContainer_GetSelection(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: @@ -38219,7 +39182,7 @@ static PyObject *_wrap_ItemContainer_GetSelection(PyObject *, PyObject *args, Py static PyObject *_wrap_ItemContainer_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; wxString *arg2 = 0 ; bool result; @@ -38263,7 +39226,7 @@ static PyObject *_wrap_ItemContainer_SetStringSelection(PyObject *, PyObject *ar static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -38295,7 +39258,7 @@ static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *, PyObject *ar static PyObject *_wrap_ItemContainer_Select(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxItemContainer *arg1 = (wxItemContainer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -38308,7 +39271,7 @@ static PyObject *_wrap_ItemContainer_Select(PyObject *, PyObject *args, PyObject 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; } { @@ -38340,7 +39303,7 @@ static PyObject * ControlWithItems_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_SizerItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *result; char *kwnames[] = { NULL @@ -38361,8 +39324,33 @@ static PyObject *_wrap_new_SizerItem(PyObject *, PyObject *args, PyObject *kwarg } +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 ; @@ -38382,15 +39370,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) { @@ -38411,7 +39399,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 ; @@ -38431,23 +39419,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) { @@ -38468,7 +39456,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 ; @@ -38485,18 +39473,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) { @@ -38517,7 +39505,7 @@ static PyObject *_wrap_new_SizerItemSizer(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -38542,7 +39530,7 @@ static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *, PyObject *args, PyObj static PyObject *_wrap_SizerItem_DetachSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -38567,7 +39555,7 @@ static PyObject *_wrap_SizerItem_DetachSizer(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_SizerItem_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -38587,7 +39575,7 @@ static PyObject *_wrap_SizerItem_GetSize(PyObject *, PyObject *args, PyObject *k } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -38597,7 +39585,7 @@ static PyObject *_wrap_SizerItem_GetSize(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizerItem_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -38617,7 +39605,7 @@ static PyObject *_wrap_SizerItem_CalcMin(PyObject *, PyObject *args, PyObject *k } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -38627,10 +39615,12 @@ static PyObject *_wrap_SizerItem_CalcMin(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizerItem_SetDimension(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + 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 ; @@ -38642,28 +39632,16 @@ static PyObject *_wrap_SizerItem_SetDimension(PyObject *, PyObject *args, PyObje 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; @@ -38676,7 +39654,7 @@ static PyObject *_wrap_SizerItem_SetDimension(PyObject *, PyObject *args, PyObje static PyObject *_wrap_SizerItem_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -38696,7 +39674,7 @@ static PyObject *_wrap_SizerItem_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; @@ -38706,7 +39684,7 @@ static PyObject *_wrap_SizerItem_GetMinSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizerItem_GetMinSizeWithBorder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -38726,7 +39704,7 @@ static PyObject *_wrap_SizerItem_GetMinSizeWithBorder(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; @@ -38736,7 +39714,7 @@ static PyObject *_wrap_SizerItem_GetMinSizeWithBorder(PyObject *, PyObject *args static PyObject *_wrap_SizerItem_SetInitSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int arg2 ; int arg3 ; @@ -38751,11 +39729,11 @@ static PyObject *_wrap_SizerItem_SetInitSize(PyObject *, PyObject *args, PyObjec 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; } { @@ -38773,7 +39751,7 @@ static PyObject *_wrap_SizerItem_SetInitSize(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int arg2 ; int arg3 ; @@ -38788,11 +39766,11 @@ static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *, PyObject *args, PyObject 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; } { @@ -38810,7 +39788,7 @@ static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -38842,7 +39820,7 @@ static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_SizerItem_SetRatio(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; float arg2 ; PyObject * obj0 = 0 ; @@ -38855,7 +39833,7 @@ static PyObject *_wrap_SizerItem_SetRatio(PyObject *, PyObject *args, PyObject * 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; } { @@ -38873,7 +39851,7 @@ static PyObject *_wrap_SizerItem_SetRatio(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_SizerItem_GetRatio(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; float result; PyObject * obj0 = 0 ; @@ -38892,7 +39870,7 @@ static PyObject *_wrap_SizerItem_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: @@ -38901,7 +39879,7 @@ static PyObject *_wrap_SizerItem_GetRatio(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_SizerItem_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -38921,7 +39899,7 @@ static PyObject *_wrap_SizerItem_GetRect(PyObject *, PyObject *args, PyObject *k } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -38931,7 +39909,7 @@ static PyObject *_wrap_SizerItem_GetRect(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizerItem_IsWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -38959,7 +39937,7 @@ static PyObject *_wrap_SizerItem_IsWindow(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_SizerItem_IsSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -38987,7 +39965,7 @@ static PyObject *_wrap_SizerItem_IsSizer(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizerItem_IsSpacer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -39015,7 +39993,7 @@ static PyObject *_wrap_SizerItem_IsSpacer(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_SizerItem_SetProportion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -39028,7 +40006,7 @@ static PyObject *_wrap_SizerItem_SetProportion(PyObject *, PyObject *args, PyObj 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; } { @@ -39046,7 +40024,7 @@ static PyObject *_wrap_SizerItem_SetProportion(PyObject *, PyObject *args, PyObj static PyObject *_wrap_SizerItem_GetProportion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -39065,7 +40043,7 @@ static PyObject *_wrap_SizerItem_GetProportion(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: @@ -39074,7 +40052,7 @@ static PyObject *_wrap_SizerItem_GetProportion(PyObject *, PyObject *args, PyObj static PyObject *_wrap_SizerItem_SetFlag(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -39087,7 +40065,7 @@ static PyObject *_wrap_SizerItem_SetFlag(PyObject *, PyObject *args, PyObject *k 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; } { @@ -39105,7 +40083,7 @@ static PyObject *_wrap_SizerItem_SetFlag(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizerItem_GetFlag(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -39124,7 +40102,7 @@ static PyObject *_wrap_SizerItem_GetFlag(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: @@ -39133,7 +40111,7 @@ static PyObject *_wrap_SizerItem_GetFlag(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizerItem_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -39146,7 +40124,7 @@ static PyObject *_wrap_SizerItem_SetBorder(PyObject *, PyObject *args, PyObject 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; } { @@ -39164,7 +40142,7 @@ static PyObject *_wrap_SizerItem_SetBorder(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizerItem_GetBorder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; int result; PyObject * obj0 = 0 ; @@ -39183,7 +40161,7 @@ static PyObject *_wrap_SizerItem_GetBorder(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: @@ -39192,7 +40170,7 @@ static PyObject *_wrap_SizerItem_GetBorder(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizerItem_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -39220,7 +40198,7 @@ static PyObject *_wrap_SizerItem_GetWindow(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizerItem_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -39249,7 +40227,7 @@ static PyObject *_wrap_SizerItem_SetWindow(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizerItem_GetSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSizer *result; PyObject * obj0 = 0 ; @@ -39268,7 +40246,7 @@ static PyObject *_wrap_SizerItem_GetSizer(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxSizer(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -39277,7 +40255,7 @@ static PyObject *_wrap_SizerItem_GetSizer(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_SizerItem_SetSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; PyObject * obj0 = 0 ; @@ -39289,7 +40267,7 @@ static PyObject *_wrap_SizerItem_SetSizer(PyObject *, PyObject *args, PyObject * 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(); @@ -39306,7 +40284,7 @@ static PyObject *_wrap_SizerItem_SetSizer(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_SizerItem_GetSpacer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSize *result; PyObject * obj0 = 0 ; @@ -39335,7 +40313,7 @@ static PyObject *_wrap_SizerItem_GetSpacer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizerItem_SetSpacer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -39367,7 +40345,7 @@ static PyObject *_wrap_SizerItem_SetSpacer(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SizerItem_Show(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -39380,7 +40358,7 @@ static PyObject *_wrap_SizerItem_Show(PyObject *, PyObject *args, PyObject *kwar 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; } { @@ -39398,7 +40376,7 @@ static PyObject *_wrap_SizerItem_Show(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_SizerItem_IsShown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -39426,7 +40404,7 @@ static PyObject *_wrap_SizerItem_IsShown(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SizerItem_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -39446,7 +40424,7 @@ static PyObject *_wrap_SizerItem_GetPosition(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; @@ -39456,7 +40434,7 @@ static PyObject *_wrap_SizerItem_GetPosition(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_SizerItem_GetUserData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizerItem *arg1 = (wxSizerItem *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -39481,6 +40459,34 @@ static PyObject *_wrap_SizerItem_GetUserData(PyObject *, PyObject *args, PyObjec } +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; @@ -39488,8 +40494,33 @@ static PyObject * SizerItem_swigregister(PyObject *, PyObject *args) { Py_INCREF(obj); return Py_BuildValue((char *)""); } +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; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -39517,7 +40548,7 @@ static PyObject *_wrap_Sizer__setOORInfo(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Sizer_Add(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; int arg3 = (int) 0 ; @@ -39541,19 +40572,19 @@ static PyObject *_wrap_Sizer_Add(PyObject *, PyObject *args, PyObject *kwargs) { 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; } } @@ -39575,7 +40606,7 @@ static PyObject *_wrap_Sizer_Add(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Sizer_Insert(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; int arg2 ; PyObject *arg3 = (PyObject *) 0 ; @@ -39599,25 +40630,25 @@ static PyObject *_wrap_Sizer_Insert(PyObject *, PyObject *args, PyObject *kwargs 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; } } @@ -39639,7 +40670,7 @@ static PyObject *_wrap_Sizer_Insert(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Sizer_Prepend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; int arg3 = (int) 0 ; @@ -39663,19 +40694,19 @@ static PyObject *_wrap_Sizer_Prepend(PyObject *, PyObject *args, PyObject *kwarg 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; } } @@ -39697,7 +40728,7 @@ static PyObject *_wrap_Sizer_Prepend(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Sizer_Remove(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; bool result; @@ -39728,7 +40759,7 @@ static PyObject *_wrap_Sizer_Remove(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Sizer_Detach(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; bool result; @@ -39759,7 +40790,7 @@ static PyObject *_wrap_Sizer_Detach(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Sizer_GetItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; wxSizerItem *result; @@ -39788,7 +40819,7 @@ static PyObject *_wrap_Sizer_GetItem(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; wxSize *arg3 = 0 ; @@ -39823,7 +40854,7 @@ static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Sizer_AddItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxSizerItem *arg2 = (wxSizerItem *) 0 ; wxSizerItem *result; @@ -39836,7 +40867,7 @@ static PyObject *_wrap_Sizer_AddItem(PyObject *, PyObject *args, PyObject *kwarg 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(); @@ -39853,7 +40884,7 @@ static PyObject *_wrap_Sizer_AddItem(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Sizer_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; size_t arg2 ; wxSizerItem *arg3 = (wxSizerItem *) 0 ; @@ -39869,10 +40900,10 @@ static PyObject *_wrap_Sizer_InsertItem(PyObject *, PyObject *args, PyObject *kw 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(); @@ -39889,7 +40920,7 @@ static PyObject *_wrap_Sizer_InsertItem(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Sizer_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxSizerItem *arg2 = (wxSizerItem *) 0 ; wxSizerItem *result; @@ -39902,7 +40933,7 @@ static PyObject *_wrap_Sizer_PrependItem(PyObject *, PyObject *args, PyObject *k 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(); @@ -39919,7 +40950,7 @@ static PyObject *_wrap_Sizer_PrependItem(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Sizer_SetDimension(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; int arg2 ; int arg3 ; @@ -39938,19 +40969,19 @@ static PyObject *_wrap_Sizer_SetDimension(PyObject *, PyObject *args, PyObject * 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; } { @@ -39968,7 +40999,7 @@ static PyObject *_wrap_Sizer_SetDimension(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Sizer_SetMinSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -40000,7 +41031,7 @@ static PyObject *_wrap_Sizer_SetMinSize(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Sizer_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -40020,7 +41051,7 @@ static PyObject *_wrap_Sizer_GetSize(PyObject *, PyObject *args, PyObject *kwarg } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -40030,7 +41061,7 @@ static PyObject *_wrap_Sizer_GetSize(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Sizer_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -40050,7 +41081,7 @@ static PyObject *_wrap_Sizer_GetPosition(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; @@ -40060,7 +41091,7 @@ static PyObject *_wrap_Sizer_GetPosition(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Sizer_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -40080,7 +41111,7 @@ static PyObject *_wrap_Sizer_GetMinSize(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; @@ -40090,7 +41121,7 @@ static PyObject *_wrap_Sizer_GetMinSize(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Sizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -40115,7 +41146,7 @@ static PyObject *_wrap_Sizer_RecalcSizes(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Sizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -40135,7 +41166,7 @@ static PyObject *_wrap_Sizer_CalcMin(PyObject *, PyObject *args, PyObject *kwarg } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -40145,7 +41176,7 @@ static PyObject *_wrap_Sizer_CalcMin(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Sizer_Layout(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -40170,7 +41201,7 @@ static PyObject *_wrap_Sizer_Layout(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Sizer_Fit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxSize result; @@ -40194,7 +41225,7 @@ static PyObject *_wrap_Sizer_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; @@ -40204,7 +41235,7 @@ static PyObject *_wrap_Sizer_Fit(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Sizer_FitInside(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -40233,7 +41264,7 @@ static PyObject *_wrap_Sizer_FitInside(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Sizer_SetSizeHints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -40262,7 +41293,7 @@ static PyObject *_wrap_Sizer_SetSizeHints(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -40291,7 +41322,7 @@ static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *, PyObject *args, PyO static PyObject *_wrap_Sizer_Clear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; bool arg2 = (bool) false ; PyObject * obj0 = 0 ; @@ -40305,7 +41336,7 @@ static PyObject *_wrap_Sizer_Clear(PyObject *, PyObject *args, PyObject *kwargs) 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; } } @@ -40324,7 +41355,7 @@ static PyObject *_wrap_Sizer_Clear(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Sizer_DeleteWindows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -40349,7 +41380,7 @@ static PyObject *_wrap_Sizer_DeleteWindows(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Sizer_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -40375,7 +41406,7 @@ static PyObject *_wrap_Sizer_GetChildren(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Sizer_Show(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; bool arg3 = (bool) true ; @@ -40395,13 +41426,13 @@ static PyObject *_wrap_Sizer_Show(PyObject *, PyObject *args, PyObject *kwargs) 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; } } @@ -40422,7 +41453,7 @@ static PyObject *_wrap_Sizer_Show(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Sizer_IsShown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; bool result; @@ -40453,7 +41484,7 @@ static PyObject *_wrap_Sizer_IsShown(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Sizer_ShowItems(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSizer *arg1 = (wxSizer *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -40466,7 +41497,7 @@ static PyObject *_wrap_Sizer_ShowItems(PyObject *, PyObject *args, PyObject *kwa 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; } { @@ -40491,7 +41522,7 @@ static PyObject * Sizer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PySizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPySizer *result; char *kwnames[] = { NULL @@ -40513,7 +41544,7 @@ static PyObject *_wrap_new_PySizer(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPySizer *arg1 = (wxPySizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -40551,7 +41582,7 @@ static PyObject * PySizer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_BoxSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) wxHORIZONTAL ; wxBoxSizer *result; PyObject * obj0 = 0 ; @@ -40562,7 +41593,7 @@ static PyObject *_wrap_new_BoxSizer(PyObject *, PyObject *args, PyObject *kwargs 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; } } @@ -40581,7 +41612,7 @@ static PyObject *_wrap_new_BoxSizer(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBoxSizer *arg1 = (wxBoxSizer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -40600,7 +41631,7 @@ static PyObject *_wrap_BoxSizer_GetOrientation(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: @@ -40609,7 +41640,7 @@ static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *, PyObject *args, PyObj static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBoxSizer *arg1 = (wxBoxSizer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -40622,7 +41653,7 @@ static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *, PyObject *args, PyObj 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; } { @@ -40647,7 +41678,7 @@ static PyObject * BoxSizer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_StaticBoxSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticBox *arg1 = (wxStaticBox *) 0 ; int arg2 = (int) wxHORIZONTAL ; wxStaticBoxSizer *result; @@ -40662,7 +41693,7 @@ static PyObject *_wrap_new_StaticBoxSizer(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; } } @@ -40681,7 +41712,7 @@ static PyObject *_wrap_new_StaticBoxSizer(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ; wxStaticBox *result; PyObject * obj0 = 0 ; @@ -40700,7 +41731,7 @@ static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *, PyObject *args, P if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -40716,7 +41747,7 @@ static PyObject * StaticBoxSizer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 1 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -40733,25 +41764,25 @@ static PyObject *_wrap_new_GridSizer(PyObject *, PyObject *args, PyObject *kwarg 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; } } @@ -40770,7 +41801,7 @@ static PyObject *_wrap_new_GridSizer(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_GridSizer_SetCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -40783,7 +41814,7 @@ static PyObject *_wrap_GridSizer_SetCols(PyObject *, PyObject *args, PyObject *k 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; } { @@ -40801,7 +41832,7 @@ static PyObject *_wrap_GridSizer_SetCols(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GridSizer_SetRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -40814,7 +41845,7 @@ static PyObject *_wrap_GridSizer_SetRows(PyObject *, PyObject *args, PyObject *k 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; } { @@ -40832,7 +41863,7 @@ static PyObject *_wrap_GridSizer_SetRows(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GridSizer_SetVGap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -40845,7 +41876,7 @@ static PyObject *_wrap_GridSizer_SetVGap(PyObject *, PyObject *args, PyObject *k 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; } { @@ -40863,7 +41894,7 @@ static PyObject *_wrap_GridSizer_SetVGap(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GridSizer_SetHGap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -40876,7 +41907,7 @@ static PyObject *_wrap_GridSizer_SetHGap(PyObject *, PyObject *args, PyObject *k 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; } { @@ -40894,7 +41925,7 @@ static PyObject *_wrap_GridSizer_SetHGap(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GridSizer_GetCols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -40913,7 +41944,7 @@ static PyObject *_wrap_GridSizer_GetCols(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: @@ -40922,7 +41953,7 @@ static PyObject *_wrap_GridSizer_GetCols(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GridSizer_GetRows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -40941,7 +41972,7 @@ static PyObject *_wrap_GridSizer_GetRows(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: @@ -40950,7 +41981,7 @@ static PyObject *_wrap_GridSizer_GetRows(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GridSizer_GetVGap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -40969,7 +42000,7 @@ static PyObject *_wrap_GridSizer_GetVGap(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: @@ -40978,7 +42009,7 @@ static PyObject *_wrap_GridSizer_GetVGap(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GridSizer_GetHGap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridSizer *arg1 = (wxGridSizer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -40997,7 +42028,7 @@ static PyObject *_wrap_GridSizer_GetHGap(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: @@ -41013,7 +42044,7 @@ static PyObject * GridSizer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FlexGridSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 1 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -41030,25 +42061,25 @@ static PyObject *_wrap_new_FlexGridSizer(PyObject *, PyObject *args, PyObject *k 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; } } @@ -41067,7 +42098,7 @@ static PyObject *_wrap_new_FlexGridSizer(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; size_t arg2 ; int arg3 = (int) 0 ; @@ -41082,12 +42113,12 @@ static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *, PyObject *args, 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; } } @@ -41106,7 +42137,7 @@ static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *, PyObject *args, static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; size_t arg2 ; PyObject * obj0 = 0 ; @@ -41119,7 +42150,7 @@ static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *, PyObject *arg 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; } { @@ -41137,7 +42168,7 @@ static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *, PyObject *arg static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; size_t arg2 ; int arg3 = (int) 0 ; @@ -41152,12 +42183,12 @@ static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *, PyObject *args, 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; } } @@ -41176,7 +42207,7 @@ static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *, PyObject *args, static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; size_t arg2 ; PyObject * obj0 = 0 ; @@ -41189,7 +42220,7 @@ static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *, PyObject *arg 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; } { @@ -41207,7 +42238,7 @@ static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *, PyObject *arg static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -41220,7 +42251,7 @@ static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *, PyObject * 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; } { @@ -41238,7 +42269,7 @@ static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *, PyObject * static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -41257,7 +42288,7 @@ static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -41266,7 +42297,7 @@ static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *, PyObject * static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; wxFlexSizerGrowMode arg2 ; PyObject * obj0 = 0 ; @@ -41279,12 +42310,12 @@ static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *, PyObject 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; @@ -41297,7 +42328,7 @@ static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *, PyObject static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; wxFlexSizerGrowMode result; PyObject * obj0 = 0 ; @@ -41323,7 +42354,7 @@ static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *, PyObject static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; wxArrayInt *result; PyObject * obj0 = 0 ; @@ -41360,7 +42391,7 @@ static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *, PyObject *args, P static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ; wxArrayInt *result; PyObject * obj0 = 0 ; @@ -41404,7 +42435,7 @@ static PyObject * FlexGridSizer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_StdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *result; char *kwnames[] = { NULL @@ -41426,7 +42457,7 @@ static PyObject *_wrap_new_StdDialogButtonSizer(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StdDialogButtonSizer_AddButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *arg2 = (wxButton *) 0 ; PyObject * obj0 = 0 ; @@ -41455,7 +42486,7 @@ static PyObject *_wrap_StdDialogButtonSizer_AddButton(PyObject *, PyObject *args static PyObject *_wrap_StdDialogButtonSizer_Realize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -41480,7 +42511,7 @@ static PyObject *_wrap_StdDialogButtonSizer_Realize(PyObject *, PyObject *args, static PyObject *_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *arg2 = (wxButton *) 0 ; PyObject * obj0 = 0 ; @@ -41509,7 +42540,7 @@ static PyObject *_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject *, PyO static PyObject *_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *arg2 = (wxButton *) 0 ; PyObject * obj0 = 0 ; @@ -41538,7 +42569,7 @@ static PyObject *_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject *, PyObje static PyObject *_wrap_StdDialogButtonSizer_SetCancelButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *arg2 = (wxButton *) 0 ; PyObject * obj0 = 0 ; @@ -41567,7 +42598,7 @@ static PyObject *_wrap_StdDialogButtonSizer_SetCancelButton(PyObject *, PyObject static PyObject *_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *result; PyObject * obj0 = 0 ; @@ -41586,7 +42617,7 @@ static PyObject *_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject *, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -41595,7 +42626,7 @@ static PyObject *_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject *, PyO static PyObject *_wrap_StdDialogButtonSizer_GetApplyButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *result; PyObject * obj0 = 0 ; @@ -41614,7 +42645,7 @@ static PyObject *_wrap_StdDialogButtonSizer_GetApplyButton(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -41623,7 +42654,7 @@ static PyObject *_wrap_StdDialogButtonSizer_GetApplyButton(PyObject *, PyObject static PyObject *_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *result; PyObject * obj0 = 0 ; @@ -41642,7 +42673,7 @@ static PyObject *_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject *, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -41651,7 +42682,7 @@ static PyObject *_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject *, PyObje static PyObject *_wrap_StdDialogButtonSizer_GetCancelButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *result; PyObject * obj0 = 0 ; @@ -41670,7 +42701,7 @@ static PyObject *_wrap_StdDialogButtonSizer_GetCancelButton(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -41679,7 +42710,7 @@ static PyObject *_wrap_StdDialogButtonSizer_GetCancelButton(PyObject *, PyObject static PyObject *_wrap_StdDialogButtonSizer_GetHelpButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStdDialogButtonSizer *arg1 = (wxStdDialogButtonSizer *) 0 ; wxButton *result; PyObject * obj0 = 0 ; @@ -41698,7 +42729,7 @@ static PyObject *_wrap_StdDialogButtonSizer_GetHelpButton(PyObject *, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -41714,7 +42745,7 @@ static PyObject * StdDialogButtonSizer_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GBPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; wxGBPosition *result; @@ -41727,13 +42758,13 @@ static PyObject *_wrap_new_GBPosition(PyObject *, PyObject *args, PyObject *kwar 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; } } @@ -41751,8 +42782,33 @@ static PyObject *_wrap_new_GBPosition(PyObject *, PyObject *args, PyObject *kwar } +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; + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; int result; PyObject * obj0 = 0 ; @@ -41771,7 +42827,7 @@ static PyObject *_wrap_GBPosition_GetRow(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: @@ -41780,7 +42836,7 @@ static PyObject *_wrap_GBPosition_GetRow(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GBPosition_GetCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; int result; PyObject * obj0 = 0 ; @@ -41799,7 +42855,7 @@ static PyObject *_wrap_GBPosition_GetCol(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: @@ -41808,7 +42864,7 @@ static PyObject *_wrap_GBPosition_GetCol(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GBPosition_SetRow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -41821,7 +42877,7 @@ static PyObject *_wrap_GBPosition_SetRow(PyObject *, PyObject *args, PyObject *k 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; } { @@ -41839,7 +42895,7 @@ static PyObject *_wrap_GBPosition_SetRow(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GBPosition_SetCol(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -41852,7 +42908,7 @@ static PyObject *_wrap_GBPosition_SetCol(PyObject *, PyObject *args, PyObject *k 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; } { @@ -41870,7 +42926,7 @@ static PyObject *_wrap_GBPosition_SetCol(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GBPosition___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; wxGBPosition *arg2 = 0 ; bool result; @@ -41905,7 +42961,7 @@ static PyObject *_wrap_GBPosition___eq__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GBPosition___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; wxGBPosition *arg2 = 0 ; bool result; @@ -41940,7 +42996,7 @@ static PyObject *_wrap_GBPosition___ne__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GBPosition_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -41956,13 +43012,13 @@ static PyObject *_wrap_GBPosition_Set(PyObject *, PyObject *args, PyObject *kwar 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; } } @@ -41981,7 +43037,7 @@ static PyObject *_wrap_GBPosition_Set(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_GBPosition_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBPosition *arg1 = (wxGBPosition *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -42014,7 +43070,7 @@ static PyObject * GBPosition_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GBSpan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 1 ; int arg2 = (int) 1 ; wxGBSpan *result; @@ -42027,13 +43083,13 @@ static PyObject *_wrap_new_GBSpan(PyObject *, PyObject *args, PyObject *kwargs) 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; } } @@ -42051,8 +43107,33 @@ static PyObject *_wrap_new_GBSpan(PyObject *, PyObject *args, PyObject *kwargs) } +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; + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -42071,7 +43152,7 @@ static PyObject *_wrap_GBSpan_GetRowspan(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: @@ -42080,7 +43161,7 @@ static PyObject *_wrap_GBSpan_GetRowspan(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GBSpan_GetColspan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -42099,7 +43180,7 @@ static PyObject *_wrap_GBSpan_GetColspan(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: @@ -42108,7 +43189,7 @@ static PyObject *_wrap_GBSpan_GetColspan(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GBSpan_SetRowspan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -42121,7 +43202,7 @@ static PyObject *_wrap_GBSpan_SetRowspan(PyObject *, PyObject *args, PyObject *k 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; } { @@ -42139,7 +43220,7 @@ static PyObject *_wrap_GBSpan_SetRowspan(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GBSpan_SetColspan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -42152,7 +43233,7 @@ static PyObject *_wrap_GBSpan_SetColspan(PyObject *, PyObject *args, PyObject *k 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; } { @@ -42170,7 +43251,7 @@ static PyObject *_wrap_GBSpan_SetColspan(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GBSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; wxGBSpan *arg2 = 0 ; bool result; @@ -42205,7 +43286,7 @@ static PyObject *_wrap_GBSpan___eq__(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_GBSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; wxGBSpan *arg2 = 0 ; bool result; @@ -42240,7 +43321,7 @@ static PyObject *_wrap_GBSpan___ne__(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_GBSpan_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; int arg2 = (int) 1 ; int arg3 = (int) 1 ; @@ -42256,13 +43337,13 @@ static PyObject *_wrap_GBSpan_Set(PyObject *, PyObject *args, PyObject *kwargs) 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; } } @@ -42281,7 +43362,7 @@ static PyObject *_wrap_GBSpan_Set(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GBSpan_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSpan *arg1 = (wxGBSpan *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -42320,7 +43401,7 @@ static int _wrap_DefaultSpan_set(PyObject *) { static PyObject *_wrap_DefaultSpan_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSpan), SWIGTYPE_p_wxGBSpan, 0); return pyobj; @@ -42328,7 +43409,7 @@ static PyObject *_wrap_DefaultSpan_get(void) { static PyObject *_wrap_new_GBSizerItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSizerItem *result; char *kwnames[] = { NULL @@ -42349,8 +43430,33 @@ static PyObject *_wrap_new_GBSizerItem(PyObject *, PyObject *args, PyObject *kwa } +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 ; @@ -42382,11 +43488,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) { @@ -42407,7 +43513,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 ; @@ -42428,7 +43534,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; @@ -42439,11 +43545,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) { @@ -42464,7 +43570,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 ; @@ -42488,11 +43594,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; } { @@ -42504,11 +43610,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) { @@ -42529,7 +43635,7 @@ static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GBSizerItem_GetPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGBPosition result; PyObject * obj0 = 0 ; @@ -42549,7 +43655,7 @@ static PyObject *_wrap_GBSizerItem_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; @@ -42559,7 +43665,7 @@ static PyObject *_wrap_GBSizerItem_GetPos(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGBSpan result; PyObject * obj0 = 0 ; @@ -42579,7 +43685,7 @@ static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *, PyObject *args, 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; @@ -42589,7 +43695,7 @@ static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GBSizerItem_SetPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGBPosition *arg2 = 0 ; bool result; @@ -42624,7 +43730,7 @@ static PyObject *_wrap_GBSizerItem_SetPos(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGBSpan *arg2 = 0 ; bool result; @@ -42659,7 +43765,7 @@ static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GBSizerItem_Intersects(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGBSizerItem *arg2 = 0 ; bool result; @@ -42697,7 +43803,7 @@ static PyObject *_wrap_GBSizerItem_Intersects(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GBSizerItem_IntersectsPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGBPosition *arg2 = 0 ; wxGBSpan *arg3 = 0 ; @@ -42739,7 +43845,7 @@ static PyObject *_wrap_GBSizerItem_IntersectsPos(PyObject *, PyObject *args, PyO static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGBPosition result; PyObject * obj0 = 0 ; @@ -42759,7 +43865,7 @@ static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *, PyObject *args, PyObjec } { wxGBPosition * resultptr; - resultptr = new wxGBPosition((wxGBPosition &)(result)); + resultptr = new wxGBPosition(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1); } return resultobj; @@ -42769,7 +43875,7 @@ static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGridBagSizer *result; PyObject * obj0 = 0 ; @@ -42795,7 +43901,7 @@ static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *, PyObject *args, PyObje static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ; wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ; PyObject * obj0 = 0 ; @@ -42831,7 +43937,7 @@ static PyObject * GBSizerItem_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_GridBagSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; wxGridBagSizer *result; @@ -42844,13 +43950,13 @@ static PyObject *_wrap_new_GridBagSizer(PyObject *, PyObject *args, PyObject *kw 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; } } @@ -42869,7 +43975,7 @@ static PyObject *_wrap_new_GridBagSizer(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_GridBagSizer_Add(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; wxGBPosition *arg3 = 0 ; @@ -42908,13 +44014,13 @@ static PyObject *_wrap_GridBagSizer_Add(PyObject *, PyObject *args, PyObject *kw } 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; } } @@ -42936,7 +44042,7 @@ static PyObject *_wrap_GridBagSizer_Add(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_GridBagSizer_AddItem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ; wxGBSizerItem *result; @@ -42949,7 +44055,7 @@ static PyObject *_wrap_GridBagSizer_AddItem(PyObject *, PyObject *args, PyObject 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(); @@ -42966,7 +44072,7 @@ static PyObject *_wrap_GridBagSizer_AddItem(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GridBagSizer_GetCellSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; int arg2 ; int arg3 ; @@ -42982,11 +44088,11 @@ static PyObject *_wrap_GridBagSizer_GetCellSize(PyObject *, PyObject *args, PyOb 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; } { @@ -42998,7 +44104,7 @@ static PyObject *_wrap_GridBagSizer_GetCellSize(PyObject *, PyObject *args, PyOb } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -43008,7 +44114,7 @@ static PyObject *_wrap_GridBagSizer_GetCellSize(PyObject *, PyObject *args, PyOb static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -43028,7 +44134,7 @@ static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(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; @@ -43038,7 +44144,7 @@ static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *, PyObject *args, static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -43070,7 +44176,7 @@ static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *, PyObject *args, static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxGBPosition result; @@ -43091,7 +44197,7 @@ static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *, 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; @@ -43101,7 +44207,7 @@ static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *, PyObject static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; wxGBPosition result; @@ -43122,7 +44228,7 @@ static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *, 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; @@ -43132,7 +44238,7 @@ static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *, PyObject static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; size_t arg2 ; wxGBPosition result; @@ -43143,7 +44249,7 @@ static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *, PyObject 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; } { @@ -43155,7 +44261,7 @@ static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *, 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; @@ -43250,7 +44356,7 @@ static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *ar static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxGBPosition *arg3 = 0 ; @@ -43286,7 +44392,7 @@ static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *, PyObject static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; wxGBPosition *arg3 = 0 ; @@ -43322,7 +44428,7 @@ static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *, PyObject static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; size_t arg2 ; wxGBPosition *arg3 = 0 ; @@ -43336,7 +44442,7 @@ static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *, PyObject 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; } { @@ -43460,7 +44566,7 @@ static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *ar static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxGBSpan result; @@ -43481,7 +44587,7 @@ static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *, PyObject *ar } { wxGBSpan * resultptr; - resultptr = new wxGBSpan((wxGBSpan &)(result)); + resultptr = new wxGBSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1); } return resultobj; @@ -43491,7 +44597,7 @@ static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *, PyObject *ar static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; wxGBSpan result; @@ -43512,7 +44618,7 @@ static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *, PyObject *ar } { wxGBSpan * resultptr; - resultptr = new wxGBSpan((wxGBSpan &)(result)); + resultptr = new wxGBSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1); } return resultobj; @@ -43522,7 +44628,7 @@ static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *, PyObject *ar static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; size_t arg2 ; wxGBSpan result; @@ -43533,7 +44639,7 @@ static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *, PyObject *ar 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; } { @@ -43545,7 +44651,7 @@ static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *, PyObject *ar } { wxGBSpan * resultptr; - resultptr = new wxGBSpan((wxGBSpan &)(result)); + resultptr = new wxGBSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1); } return resultobj; @@ -43640,7 +44746,7 @@ static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxGBSpan *arg3 = 0 ; @@ -43676,7 +44782,7 @@ static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *, PyObject *ar static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; wxGBSpan *arg3 = 0 ; @@ -43712,7 +44818,7 @@ static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *, PyObject *ar static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; size_t arg2 ; wxGBSpan *arg3 = 0 ; @@ -43726,7 +44832,7 @@ static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *, PyObject *ar 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; } { @@ -43850,7 +44956,7 @@ static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxGBSizerItem *result; @@ -43877,7 +44983,7 @@ static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *, PyObject *args) static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxSizer *arg2 = (wxSizer *) 0 ; wxGBSizerItem *result; @@ -43971,7 +45077,7 @@ static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) { static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxGBPosition *arg2 = 0 ; wxGBSizerItem *result; @@ -44004,7 +45110,7 @@ static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *, PyObject *arg static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxPoint *arg2 = 0 ; wxGBSizerItem *result; @@ -44037,7 +45143,7 @@ static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *, PyObject *args, static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ; wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ; @@ -44075,7 +45181,7 @@ static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *, PyObject *a static PyObject *_wrap_GridBagSizer_CheckForIntersectionPos(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ; wxGBPosition *arg2 = 0 ; wxGBSpan *arg3 = 0 ; @@ -44130,7 +45236,7 @@ static PyObject * GridBagSizer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxRelationship arg2 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -44151,30 +45257,30 @@ static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *, PyObject *args 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; @@ -44187,7 +45293,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *, PyObject *args static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) 0 ; @@ -44205,7 +45311,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *, PyObject *a 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; } } @@ -44224,7 +45330,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *, PyObject *a static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) 0 ; @@ -44242,7 +45348,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *, PyObject * 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; } } @@ -44261,7 +45367,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *, PyObject * static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) 0 ; @@ -44279,7 +45385,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *, PyObject *ar 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; } } @@ -44298,7 +45404,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *, PyObject *ar static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) 0 ; @@ -44316,7 +45422,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *, PyObject *ar 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; } } @@ -44335,7 +45441,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *, PyObject *ar static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxEdge arg3 ; @@ -44354,18 +45460,18 @@ static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *, PyObject *a 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; @@ -44378,7 +45484,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *, PyObject *a static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxEdge arg3 ; @@ -44397,16 +45503,16 @@ static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *, PyObject 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; @@ -44419,7 +45525,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *, PyObject static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -44432,7 +45538,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *, PyObject 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; } { @@ -44450,7 +45556,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *, PyObject static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -44475,7 +45581,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *, PyOb static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -44500,7 +45606,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *, PyObject *arg static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -44528,7 +45634,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *, PyO static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxEdge result; PyObject * obj0 = 0 ; @@ -44554,7 +45660,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *, PyObject static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxEdge arg2 ; PyObject * obj0 = 0 ; @@ -44567,12 +45673,12 @@ static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *, PyObject * 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; @@ -44585,7 +45691,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *, PyObject * static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -44598,7 +45704,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *, PyObject 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; } { @@ -44616,7 +45722,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *, PyObject static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; int result; PyObject * obj0 = 0 ; @@ -44635,7 +45741,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -44644,7 +45750,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *, PyObject static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -44657,7 +45763,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *, PyObject 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; } { @@ -44675,7 +45781,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *, PyObject static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; int result; PyObject * obj0 = 0 ; @@ -44694,7 +45800,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -44703,7 +45809,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *, PyObject static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; int result; PyObject * obj0 = 0 ; @@ -44722,7 +45828,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -44731,7 +45837,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *, PyObjec static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; int result; PyObject * obj0 = 0 ; @@ -44750,7 +45856,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -44759,7 +45865,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *, PyObj static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -44787,7 +45893,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *, PyObject * static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -44800,7 +45906,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *, PyObject * 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; } { @@ -44818,7 +45924,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *, PyObject * static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxRelationship result; PyObject * obj0 = 0 ; @@ -44844,7 +45950,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *, Py static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxRelationship arg2 ; PyObject * obj0 = 0 ; @@ -44857,12 +45963,12 @@ static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *, Py 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; @@ -44875,7 +45981,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *, Py static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; bool result; @@ -44907,7 +46013,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *, PyObjec static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -44943,7 +46049,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *, static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ; wxEdge arg2 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -44961,7 +46067,7 @@ static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *, PyObject * 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); @@ -44970,13 +46076,13 @@ static PyObject *_wrap_IndividualLayoutConstraint_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: @@ -44992,7 +46098,7 @@ static PyObject * IndividualLayoutConstraint_swigregister(PyObject *, PyObject * return Py_BuildValue((char *)""); } static PyObject *_wrap_LayoutConstraints_left_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -45013,7 +46119,7 @@ static PyObject *_wrap_LayoutConstraints_left_get(PyObject *, PyObject *args, Py static PyObject *_wrap_LayoutConstraints_top_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -45034,7 +46140,7 @@ static PyObject *_wrap_LayoutConstraints_top_get(PyObject *, PyObject *args, PyO static PyObject *_wrap_LayoutConstraints_right_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -45055,7 +46161,7 @@ static PyObject *_wrap_LayoutConstraints_right_get(PyObject *, PyObject *args, P static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -45076,7 +46182,7 @@ static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *, PyObject *args, static PyObject *_wrap_LayoutConstraints_width_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -45097,7 +46203,7 @@ static PyObject *_wrap_LayoutConstraints_width_get(PyObject *, PyObject *args, P static PyObject *_wrap_LayoutConstraints_height_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -45118,7 +46224,7 @@ static PyObject *_wrap_LayoutConstraints_height_get(PyObject *, PyObject *args, static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -45139,7 +46245,7 @@ static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *, PyObject *args, static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxIndividualLayoutConstraint *result; PyObject * obj0 = 0 ; @@ -45160,7 +46266,7 @@ static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *, PyObject *args, static PyObject *_wrap_new_LayoutConstraints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *result; char *kwnames[] = { NULL @@ -45182,7 +46288,7 @@ static PyObject *_wrap_new_LayoutConstraints(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int *arg3 = (int *) 0 ; @@ -45220,7 +46326,7 @@ static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *, PyObject static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -45352,6 +46458,7 @@ static PyMethodDef SwigMethods[] = { { (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_CenterIn", (PyCFunction) _wrap_Rect_CenterIn, 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}, @@ -45475,6 +46582,9 @@ static PyMethodDef SwigMethods[] = { { (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}, @@ -45482,6 +46592,22 @@ static PyMethodDef SwigMethods[] = { { (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}, @@ -45506,6 +46632,7 @@ static PyMethodDef SwigMethods[] = { { (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}, @@ -45546,6 +46673,7 @@ static PyMethodDef SwigMethods[] = { { (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}, @@ -45560,6 +46688,9 @@ static PyMethodDef SwigMethods[] = { { (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}, @@ -45723,6 +46854,7 @@ static PyMethodDef SwigMethods[] = { { (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_GetModifiers", (PyCFunction) _wrap_KeyEvent_GetModifiers, 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}, @@ -45802,9 +46934,9 @@ static PyMethodDef SwigMethods[] = { { (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_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, 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}, @@ -45881,13 +47013,13 @@ static PyMethodDef SwigMethods[] = { { (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__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__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}, @@ -45958,6 +47090,9 @@ static PyMethodDef SwigMethods[] = { { (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}, @@ -45986,8 +47121,6 @@ static PyMethodDef SwigMethods[] = { { (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_SetTitle", (PyCFunction) _wrap_Window_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"Window_GetTitle", (PyCFunction) _wrap_Window_GetTitle, 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}, @@ -46023,10 +47156,10 @@ static PyMethodDef SwigMethods[] = { { (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}, @@ -46197,6 +47330,7 @@ static PyMethodDef SwigMethods[] = { { (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}, @@ -46291,6 +47425,8 @@ static PyMethodDef SwigMethods[] = { { (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}, @@ -46318,6 +47454,8 @@ static PyMethodDef SwigMethods[] = { { (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}, @@ -46333,8 +47471,6 @@ static PyMethodDef SwigMethods[] = { { (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_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, 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}, @@ -46365,6 +47501,7 @@ static PyMethodDef SwigMethods[] = { { (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}, @@ -46400,7 +47537,9 @@ static PyMethodDef SwigMethods[] = { { (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}, @@ -46476,6 +47615,7 @@ static PyMethodDef SwigMethods[] = { { (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}, @@ -46486,6 +47626,7 @@ static PyMethodDef SwigMethods[] = { { (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}, @@ -46496,6 +47637,7 @@ static PyMethodDef SwigMethods[] = { { (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}, @@ -46765,6 +47907,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)); } @@ -46921,9 +48066,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)); } @@ -46951,9 +48093,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)); } @@ -47074,265 +48222,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, }; @@ -47344,6 +48767,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 @@ -47361,7 +48995,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; @@ -47371,13 +49005,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; @@ -47390,7 +49024,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -47403,7 +49037,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) { @@ -47416,72 +49050,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; } @@ -47490,11 +49141,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); @@ -47531,7 +49182,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, @@ -47543,7 +49194,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]); @@ -47556,14 +49207,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; + } + } } } } @@ -47573,69 +49228,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 @@ -47644,42 +49236,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); @@ -47692,1823 +49263,2003 @@ SWIGEXPORT(void) SWIG_init(void) { #endif { - PyDict_SetItemString(d,"NOT_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,"VSCROLL", SWIG_From_int((int)(wxVSCROLL))); + PyDict_SetItemString(d,"WANTS_CHARS", SWIG_From_int(static_cast(wxWANTS_CHARS))); } { - PyDict_SetItemString(d,"HSCROLL", SWIG_From_int((int)(wxHSCROLL))); + PyDict_SetItemString(d,"POPUP_WINDOW", SWIG_From_int(static_cast(wxPOPUP_WINDOW))); } { - PyDict_SetItemString(d,"CAPTION", SWIG_From_int((int)(wxCAPTION))); + PyDict_SetItemString(d,"CENTER_FRAME", SWIG_From_int(static_cast(wxCENTER_FRAME))); } { - PyDict_SetItemString(d,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER))); + PyDict_SetItemString(d,"CENTRE_ON_SCREEN", SWIG_From_int(static_cast(wxCENTRE_ON_SCREEN))); } { - PyDict_SetItemString(d,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER))); + PyDict_SetItemString(d,"CENTER_ON_SCREEN", SWIG_From_int(static_cast(wxCENTER_ON_SCREEN))); } { - PyDict_SetItemString(d,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER))); + PyDict_SetItemString(d,"CLIP_CHILDREN", SWIG_From_int(static_cast(wxCLIP_CHILDREN))); } { - PyDict_SetItemString(d,"BORDER", SWIG_From_int((int)(wxBORDER))); + PyDict_SetItemString(d,"CLIP_SIBLINGS", SWIG_From_int(static_cast(wxCLIP_SIBLINGS))); } { - PyDict_SetItemString(d,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER))); + PyDict_SetItemString(d,"ALWAYS_SHOW_SB", SWIG_From_int(static_cast(wxALWAYS_SHOW_SB))); } { - PyDict_SetItemString(d,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER))); + PyDict_SetItemString(d,"RETAINED", SWIG_From_int(static_cast(wxRETAINED))); } { - PyDict_SetItemString(d,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW))); + PyDict_SetItemString(d,"BACKINGSTORE", SWIG_From_int(static_cast(wxBACKINGSTORE))); } { - PyDict_SetItemString(d,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER))); + PyDict_SetItemString(d,"COLOURED", SWIG_From_int(static_cast(wxCOLOURED))); } { - PyDict_SetItemString(d,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL))); + PyDict_SetItemString(d,"FIXED_LENGTH", SWIG_From_int(static_cast(wxFIXED_LENGTH))); } { - PyDict_SetItemString(d,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS))); + PyDict_SetItemString(d,"LB_NEEDED_SB", SWIG_From_int(static_cast(wxLB_NEEDED_SB))); } { - PyDict_SetItemString(d,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW))); + PyDict_SetItemString(d,"LB_ALWAYS_SB", SWIG_From_int(static_cast(wxLB_ALWAYS_SB))); } { - PyDict_SetItemString(d,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME))); + PyDict_SetItemString(d,"LB_SORT", SWIG_From_int(static_cast(wxLB_SORT))); } { - PyDict_SetItemString(d,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN))); + PyDict_SetItemString(d,"LB_SINGLE", SWIG_From_int(static_cast(wxLB_SINGLE))); } { - PyDict_SetItemString(d,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN))); + PyDict_SetItemString(d,"LB_MULTIPLE", SWIG_From_int(static_cast(wxLB_MULTIPLE))); } { - PyDict_SetItemString(d,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN))); + PyDict_SetItemString(d,"LB_EXTENDED", SWIG_From_int(static_cast(wxLB_EXTENDED))); } { - PyDict_SetItemString(d,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS))); + PyDict_SetItemString(d,"LB_OWNERDRAW", SWIG_From_int(static_cast(wxLB_OWNERDRAW))); } { - PyDict_SetItemString(d,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB))); + PyDict_SetItemString(d,"LB_HSCROLL", SWIG_From_int(static_cast(wxLB_HSCROLL))); } { - PyDict_SetItemString(d,"RETAINED", SWIG_From_int((int)(wxRETAINED))); + PyDict_SetItemString(d,"PROCESS_ENTER", SWIG_From_int(static_cast(wxPROCESS_ENTER))); } { - PyDict_SetItemString(d,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE))); + PyDict_SetItemString(d,"PASSWORD", SWIG_From_int(static_cast(wxPASSWORD))); } { - PyDict_SetItemString(d,"COLOURED", SWIG_From_int((int)(wxCOLOURED))); + PyDict_SetItemString(d,"CB_SIMPLE", SWIG_From_int(static_cast(wxCB_SIMPLE))); } { - PyDict_SetItemString(d,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH))); + PyDict_SetItemString(d,"CB_DROPDOWN", SWIG_From_int(static_cast(wxCB_DROPDOWN))); } { - PyDict_SetItemString(d,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB))); + PyDict_SetItemString(d,"CB_SORT", SWIG_From_int(static_cast(wxCB_SORT))); } { - PyDict_SetItemString(d,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB))); + PyDict_SetItemString(d,"CB_READONLY", SWIG_From_int(static_cast(wxCB_READONLY))); } { - PyDict_SetItemString(d,"LB_SORT", SWIG_From_int((int)(wxLB_SORT))); + PyDict_SetItemString(d,"RA_HORIZONTAL", SWIG_From_int(static_cast(wxRA_HORIZONTAL))); } { - PyDict_SetItemString(d,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE))); + PyDict_SetItemString(d,"RA_VERTICAL", SWIG_From_int(static_cast(wxRA_VERTICAL))); } { - PyDict_SetItemString(d,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE))); + PyDict_SetItemString(d,"RA_SPECIFY_ROWS", SWIG_From_int(static_cast(wxRA_SPECIFY_ROWS))); } { - PyDict_SetItemString(d,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED))); + PyDict_SetItemString(d,"RA_SPECIFY_COLS", SWIG_From_int(static_cast(wxRA_SPECIFY_COLS))); } { - PyDict_SetItemString(d,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW))); + PyDict_SetItemString(d,"RA_USE_CHECKBOX", SWIG_From_int(static_cast(wxRA_USE_CHECKBOX))); } { - PyDict_SetItemString(d,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL))); + PyDict_SetItemString(d,"RB_GROUP", SWIG_From_int(static_cast(wxRB_GROUP))); } { - PyDict_SetItemString(d,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER))); + PyDict_SetItemString(d,"RB_SINGLE", SWIG_From_int(static_cast(wxRB_SINGLE))); } { - PyDict_SetItemString(d,"PASSWORD", SWIG_From_int((int)(wxPASSWORD))); + PyDict_SetItemString(d,"SB_HORIZONTAL", SWIG_From_int(static_cast(wxSB_HORIZONTAL))); } { - PyDict_SetItemString(d,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE))); + PyDict_SetItemString(d,"SB_VERTICAL", SWIG_From_int(static_cast(wxSB_VERTICAL))); } { - PyDict_SetItemString(d,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN))); + PyDict_SetItemString(d,"RB_USE_CHECKBOX", SWIG_From_int(static_cast(wxRB_USE_CHECKBOX))); } { - PyDict_SetItemString(d,"CB_SORT", SWIG_From_int((int)(wxCB_SORT))); + PyDict_SetItemString(d,"ST_SIZEGRIP", SWIG_From_int(static_cast(wxST_SIZEGRIP))); } { - PyDict_SetItemString(d,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY))); + PyDict_SetItemString(d,"ST_NO_AUTORESIZE", SWIG_From_int(static_cast(wxST_NO_AUTORESIZE))); } { - PyDict_SetItemString(d,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL))); + PyDict_SetItemString(d,"FLOOD_SURFACE", SWIG_From_int(static_cast(wxFLOOD_SURFACE))); } { - PyDict_SetItemString(d,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL))); + PyDict_SetItemString(d,"FLOOD_BORDER", SWIG_From_int(static_cast(wxFLOOD_BORDER))); } { - PyDict_SetItemString(d,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS))); + PyDict_SetItemString(d,"ODDEVEN_RULE", SWIG_From_int(static_cast(wxODDEVEN_RULE))); } { - PyDict_SetItemString(d,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS))); + PyDict_SetItemString(d,"WINDING_RULE", SWIG_From_int(static_cast(wxWINDING_RULE))); } { - PyDict_SetItemString(d,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX))); + PyDict_SetItemString(d,"TOOL_TOP", SWIG_From_int(static_cast(wxTOOL_TOP))); } { - PyDict_SetItemString(d,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP))); + PyDict_SetItemString(d,"TOOL_BOTTOM", SWIG_From_int(static_cast(wxTOOL_BOTTOM))); } { - PyDict_SetItemString(d,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE))); + PyDict_SetItemString(d,"TOOL_LEFT", SWIG_From_int(static_cast(wxTOOL_LEFT))); } { - PyDict_SetItemString(d,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL))); + PyDict_SetItemString(d,"TOOL_RIGHT", SWIG_From_int(static_cast(wxTOOL_RIGHT))); } { - PyDict_SetItemString(d,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL))); + PyDict_SetItemString(d,"OK", SWIG_From_int(static_cast(wxOK))); } { - PyDict_SetItemString(d,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX))); + PyDict_SetItemString(d,"YES_NO", SWIG_From_int(static_cast(wxYES_NO))); } { - PyDict_SetItemString(d,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP))); + PyDict_SetItemString(d,"CANCEL", SWIG_From_int(static_cast(wxCANCEL))); } { - PyDict_SetItemString(d,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE))); + PyDict_SetItemString(d,"YES", SWIG_From_int(static_cast(wxYES))); } { - PyDict_SetItemString(d,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE))); + PyDict_SetItemString(d,"NO", SWIG_From_int(static_cast(wxNO))); } { - PyDict_SetItemString(d,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER))); + PyDict_SetItemString(d,"NO_DEFAULT", SWIG_From_int(static_cast(wxNO_DEFAULT))); } { - PyDict_SetItemString(d,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE))); + PyDict_SetItemString(d,"YES_DEFAULT", SWIG_From_int(static_cast(wxYES_DEFAULT))); } { - PyDict_SetItemString(d,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE))); + PyDict_SetItemString(d,"ICON_EXCLAMATION", SWIG_From_int(static_cast(wxICON_EXCLAMATION))); } { - PyDict_SetItemString(d,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP))); + PyDict_SetItemString(d,"ICON_HAND", SWIG_From_int(static_cast(wxICON_HAND))); } { - PyDict_SetItemString(d,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM))); + PyDict_SetItemString(d,"ICON_QUESTION", SWIG_From_int(static_cast(wxICON_QUESTION))); } { - PyDict_SetItemString(d,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT))); + PyDict_SetItemString(d,"ICON_INFORMATION", SWIG_From_int(static_cast(wxICON_INFORMATION))); } { - PyDict_SetItemString(d,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT))); + PyDict_SetItemString(d,"ICON_STOP", SWIG_From_int(static_cast(wxICON_STOP))); } { - PyDict_SetItemString(d,"OK", SWIG_From_int((int)(wxOK))); + PyDict_SetItemString(d,"ICON_ASTERISK", SWIG_From_int(static_cast(wxICON_ASTERISK))); } { - PyDict_SetItemString(d,"YES_NO", SWIG_From_int((int)(wxYES_NO))); + PyDict_SetItemString(d,"ICON_MASK", SWIG_From_int(static_cast(wxICON_MASK))); } { - PyDict_SetItemString(d,"CANCEL", SWIG_From_int((int)(wxCANCEL))); + PyDict_SetItemString(d,"ICON_WARNING", SWIG_From_int(static_cast(wxICON_WARNING))); } { - PyDict_SetItemString(d,"YES", SWIG_From_int((int)(wxYES))); + PyDict_SetItemString(d,"ICON_ERROR", SWIG_From_int(static_cast(wxICON_ERROR))); } { - PyDict_SetItemString(d,"NO", SWIG_From_int((int)(wxNO))); + PyDict_SetItemString(d,"FORWARD", SWIG_From_int(static_cast(wxFORWARD))); } { - PyDict_SetItemString(d,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT))); + PyDict_SetItemString(d,"BACKWARD", SWIG_From_int(static_cast(wxBACKWARD))); } { - PyDict_SetItemString(d,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT))); + PyDict_SetItemString(d,"RESET", SWIG_From_int(static_cast(wxRESET))); } { - PyDict_SetItemString(d,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION))); + PyDict_SetItemString(d,"HELP", SWIG_From_int(static_cast(wxHELP))); } { - PyDict_SetItemString(d,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND))); + PyDict_SetItemString(d,"MORE", SWIG_From_int(static_cast(wxMORE))); } { - PyDict_SetItemString(d,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION))); + PyDict_SetItemString(d,"SETUP", SWIG_From_int(static_cast(wxSETUP))); } { - PyDict_SetItemString(d,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION))); + PyDict_SetItemString(d,"SIZE_AUTO_WIDTH", SWIG_From_int(static_cast(wxSIZE_AUTO_WIDTH))); } { - PyDict_SetItemString(d,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP))); + PyDict_SetItemString(d,"SIZE_AUTO_HEIGHT", SWIG_From_int(static_cast(wxSIZE_AUTO_HEIGHT))); } { - PyDict_SetItemString(d,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK))); + PyDict_SetItemString(d,"SIZE_AUTO", SWIG_From_int(static_cast(wxSIZE_AUTO))); } { - PyDict_SetItemString(d,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK))); + PyDict_SetItemString(d,"SIZE_USE_EXISTING", SWIG_From_int(static_cast(wxSIZE_USE_EXISTING))); } { - PyDict_SetItemString(d,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING))); + PyDict_SetItemString(d,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int(static_cast(wxSIZE_ALLOW_MINUS_ONE))); } { - PyDict_SetItemString(d,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR))); + PyDict_SetItemString(d,"SIZE_FORCE", SWIG_From_int(static_cast(wxSIZE_FORCE))); } { - PyDict_SetItemString(d,"FORWARD", SWIG_From_int((int)(wxFORWARD))); + PyDict_SetItemString(d,"PORTRAIT", SWIG_From_int(static_cast(wxPORTRAIT))); } { - PyDict_SetItemString(d,"BACKWARD", SWIG_From_int((int)(wxBACKWARD))); + PyDict_SetItemString(d,"LANDSCAPE", SWIG_From_int(static_cast(wxLANDSCAPE))); } { - PyDict_SetItemString(d,"RESET", SWIG_From_int((int)(wxRESET))); + PyDict_SetItemString(d,"PRINT_QUALITY_HIGH", SWIG_From_int(static_cast(wxPRINT_QUALITY_HIGH))); } { - PyDict_SetItemString(d,"HELP", SWIG_From_int((int)(wxHELP))); + PyDict_SetItemString(d,"PRINT_QUALITY_MEDIUM", SWIG_From_int(static_cast(wxPRINT_QUALITY_MEDIUM))); } { - PyDict_SetItemString(d,"MORE", SWIG_From_int((int)(wxMORE))); + PyDict_SetItemString(d,"PRINT_QUALITY_LOW", SWIG_From_int(static_cast(wxPRINT_QUALITY_LOW))); } { - PyDict_SetItemString(d,"SETUP", SWIG_From_int((int)(wxSETUP))); + PyDict_SetItemString(d,"PRINT_QUALITY_DRAFT", SWIG_From_int(static_cast(wxPRINT_QUALITY_DRAFT))); } { - PyDict_SetItemString(d,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH))); + PyDict_SetItemString(d,"ID_ANY", SWIG_From_int(static_cast(wxID_ANY))); } { - PyDict_SetItemString(d,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT))); + PyDict_SetItemString(d,"ID_SEPARATOR", SWIG_From_int(static_cast(wxID_SEPARATOR))); } { - PyDict_SetItemString(d,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO))); + PyDict_SetItemString(d,"ID_NONE", SWIG_From_int(static_cast(wxID_NONE))); } { - PyDict_SetItemString(d,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING))); + PyDict_SetItemString(d,"ID_LOWEST", SWIG_From_int(static_cast(wxID_LOWEST))); } { - PyDict_SetItemString(d,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE))); + PyDict_SetItemString(d,"ID_OPEN", SWIG_From_int(static_cast(wxID_OPEN))); } { - PyDict_SetItemString(d,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT))); + PyDict_SetItemString(d,"ID_CLOSE", SWIG_From_int(static_cast(wxID_CLOSE))); } { - PyDict_SetItemString(d,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE))); + PyDict_SetItemString(d,"ID_NEW", SWIG_From_int(static_cast(wxID_NEW))); } { - PyDict_SetItemString(d,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH))); + PyDict_SetItemString(d,"ID_SAVE", SWIG_From_int(static_cast(wxID_SAVE))); } { - PyDict_SetItemString(d,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM))); + PyDict_SetItemString(d,"ID_SAVEAS", SWIG_From_int(static_cast(wxID_SAVEAS))); } { - PyDict_SetItemString(d,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW))); + PyDict_SetItemString(d,"ID_REVERT", SWIG_From_int(static_cast(wxID_REVERT))); } { - PyDict_SetItemString(d,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT))); + PyDict_SetItemString(d,"ID_EXIT", SWIG_From_int(static_cast(wxID_EXIT))); } { - PyDict_SetItemString(d,"ID_ANY", SWIG_From_int((int)(wxID_ANY))); + PyDict_SetItemString(d,"ID_UNDO", SWIG_From_int(static_cast(wxID_UNDO))); } { - PyDict_SetItemString(d,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR))); + PyDict_SetItemString(d,"ID_REDO", SWIG_From_int(static_cast(wxID_REDO))); } { - PyDict_SetItemString(d,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST))); + PyDict_SetItemString(d,"ID_HELP", SWIG_From_int(static_cast(wxID_HELP))); } { - PyDict_SetItemString(d,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN))); + PyDict_SetItemString(d,"ID_PRINT", SWIG_From_int(static_cast(wxID_PRINT))); } { - PyDict_SetItemString(d,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE))); + PyDict_SetItemString(d,"ID_PRINT_SETUP", SWIG_From_int(static_cast(wxID_PRINT_SETUP))); } { - PyDict_SetItemString(d,"ID_NEW", SWIG_From_int((int)(wxID_NEW))); + PyDict_SetItemString(d,"ID_PREVIEW", SWIG_From_int(static_cast(wxID_PREVIEW))); } { - PyDict_SetItemString(d,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE))); + PyDict_SetItemString(d,"ID_ABOUT", SWIG_From_int(static_cast(wxID_ABOUT))); } { - PyDict_SetItemString(d,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS))); + PyDict_SetItemString(d,"ID_HELP_CONTENTS", SWIG_From_int(static_cast(wxID_HELP_CONTENTS))); } { - PyDict_SetItemString(d,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT))); + PyDict_SetItemString(d,"ID_HELP_COMMANDS", SWIG_From_int(static_cast(wxID_HELP_COMMANDS))); } { - PyDict_SetItemString(d,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT))); + PyDict_SetItemString(d,"ID_HELP_PROCEDURES", SWIG_From_int(static_cast(wxID_HELP_PROCEDURES))); } { - PyDict_SetItemString(d,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO))); + PyDict_SetItemString(d,"ID_HELP_CONTEXT", SWIG_From_int(static_cast(wxID_HELP_CONTEXT))); } { - PyDict_SetItemString(d,"ID_REDO", SWIG_From_int((int)(wxID_REDO))); + PyDict_SetItemString(d,"ID_CLOSE_ALL", SWIG_From_int(static_cast(wxID_CLOSE_ALL))); } { - PyDict_SetItemString(d,"ID_HELP", SWIG_From_int((int)(wxID_HELP))); + PyDict_SetItemString(d,"ID_PREFERENCES", SWIG_From_int(static_cast(wxID_PREFERENCES))); } { - PyDict_SetItemString(d,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT))); + PyDict_SetItemString(d,"ID_CUT", SWIG_From_int(static_cast(wxID_CUT))); } { - PyDict_SetItemString(d,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP))); + PyDict_SetItemString(d,"ID_COPY", SWIG_From_int(static_cast(wxID_COPY))); } { - PyDict_SetItemString(d,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW))); + PyDict_SetItemString(d,"ID_PASTE", SWIG_From_int(static_cast(wxID_PASTE))); } { - PyDict_SetItemString(d,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT))); + PyDict_SetItemString(d,"ID_CLEAR", SWIG_From_int(static_cast(wxID_CLEAR))); } { - PyDict_SetItemString(d,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS))); + PyDict_SetItemString(d,"ID_FIND", SWIG_From_int(static_cast(wxID_FIND))); } { - PyDict_SetItemString(d,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS))); + PyDict_SetItemString(d,"ID_DUPLICATE", SWIG_From_int(static_cast(wxID_DUPLICATE))); } { - PyDict_SetItemString(d,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES))); + PyDict_SetItemString(d,"ID_SELECTALL", SWIG_From_int(static_cast(wxID_SELECTALL))); } { - PyDict_SetItemString(d,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT))); + PyDict_SetItemString(d,"ID_DELETE", SWIG_From_int(static_cast(wxID_DELETE))); } { - PyDict_SetItemString(d,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL))); + PyDict_SetItemString(d,"ID_REPLACE", SWIG_From_int(static_cast(wxID_REPLACE))); } { - PyDict_SetItemString(d,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES))); + PyDict_SetItemString(d,"ID_REPLACE_ALL", SWIG_From_int(static_cast(wxID_REPLACE_ALL))); } { - PyDict_SetItemString(d,"ID_CUT", SWIG_From_int((int)(wxID_CUT))); + PyDict_SetItemString(d,"ID_PROPERTIES", SWIG_From_int(static_cast(wxID_PROPERTIES))); } { - PyDict_SetItemString(d,"ID_COPY", SWIG_From_int((int)(wxID_COPY))); + PyDict_SetItemString(d,"ID_VIEW_DETAILS", SWIG_From_int(static_cast(wxID_VIEW_DETAILS))); } { - PyDict_SetItemString(d,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE))); + PyDict_SetItemString(d,"ID_VIEW_LARGEICONS", SWIG_From_int(static_cast(wxID_VIEW_LARGEICONS))); } { - PyDict_SetItemString(d,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR))); + PyDict_SetItemString(d,"ID_VIEW_SMALLICONS", SWIG_From_int(static_cast(wxID_VIEW_SMALLICONS))); } { - PyDict_SetItemString(d,"ID_FIND", SWIG_From_int((int)(wxID_FIND))); + PyDict_SetItemString(d,"ID_VIEW_LIST", SWIG_From_int(static_cast(wxID_VIEW_LIST))); } { - PyDict_SetItemString(d,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE))); + PyDict_SetItemString(d,"ID_VIEW_SORTDATE", SWIG_From_int(static_cast(wxID_VIEW_SORTDATE))); } { - PyDict_SetItemString(d,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL))); + PyDict_SetItemString(d,"ID_VIEW_SORTNAME", SWIG_From_int(static_cast(wxID_VIEW_SORTNAME))); } { - PyDict_SetItemString(d,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE))); + PyDict_SetItemString(d,"ID_VIEW_SORTSIZE", SWIG_From_int(static_cast(wxID_VIEW_SORTSIZE))); } { - PyDict_SetItemString(d,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE))); + PyDict_SetItemString(d,"ID_VIEW_SORTTYPE", SWIG_From_int(static_cast(wxID_VIEW_SORTTYPE))); } { - PyDict_SetItemString(d,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL))); + PyDict_SetItemString(d,"ID_FILE1", SWIG_From_int(static_cast(wxID_FILE1))); } { - PyDict_SetItemString(d,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES))); + PyDict_SetItemString(d,"ID_FILE2", SWIG_From_int(static_cast(wxID_FILE2))); } { - PyDict_SetItemString(d,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS))); + PyDict_SetItemString(d,"ID_FILE3", SWIG_From_int(static_cast(wxID_FILE3))); } { - PyDict_SetItemString(d,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS))); + PyDict_SetItemString(d,"ID_FILE4", SWIG_From_int(static_cast(wxID_FILE4))); } { - PyDict_SetItemString(d,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS))); + PyDict_SetItemString(d,"ID_FILE5", SWIG_From_int(static_cast(wxID_FILE5))); } { - PyDict_SetItemString(d,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST))); + PyDict_SetItemString(d,"ID_FILE6", SWIG_From_int(static_cast(wxID_FILE6))); } { - PyDict_SetItemString(d,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE))); + PyDict_SetItemString(d,"ID_FILE7", SWIG_From_int(static_cast(wxID_FILE7))); } { - PyDict_SetItemString(d,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME))); + PyDict_SetItemString(d,"ID_FILE8", SWIG_From_int(static_cast(wxID_FILE8))); } { - PyDict_SetItemString(d,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE))); + PyDict_SetItemString(d,"ID_FILE9", SWIG_From_int(static_cast(wxID_FILE9))); } { - PyDict_SetItemString(d,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE))); + PyDict_SetItemString(d,"ID_OK", SWIG_From_int(static_cast(wxID_OK))); } { - PyDict_SetItemString(d,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1))); + PyDict_SetItemString(d,"ID_CANCEL", SWIG_From_int(static_cast(wxID_CANCEL))); } { - PyDict_SetItemString(d,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2))); + PyDict_SetItemString(d,"ID_APPLY", SWIG_From_int(static_cast(wxID_APPLY))); } { - PyDict_SetItemString(d,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3))); + PyDict_SetItemString(d,"ID_YES", SWIG_From_int(static_cast(wxID_YES))); } { - PyDict_SetItemString(d,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4))); + PyDict_SetItemString(d,"ID_NO", SWIG_From_int(static_cast(wxID_NO))); } { - PyDict_SetItemString(d,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5))); + PyDict_SetItemString(d,"ID_STATIC", SWIG_From_int(static_cast(wxID_STATIC))); } { - PyDict_SetItemString(d,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6))); + PyDict_SetItemString(d,"ID_FORWARD", SWIG_From_int(static_cast(wxID_FORWARD))); } { - PyDict_SetItemString(d,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7))); + PyDict_SetItemString(d,"ID_BACKWARD", SWIG_From_int(static_cast(wxID_BACKWARD))); } { - PyDict_SetItemString(d,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8))); + PyDict_SetItemString(d,"ID_DEFAULT", SWIG_From_int(static_cast(wxID_DEFAULT))); } { - PyDict_SetItemString(d,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9))); + PyDict_SetItemString(d,"ID_MORE", SWIG_From_int(static_cast(wxID_MORE))); } { - PyDict_SetItemString(d,"ID_OK", SWIG_From_int((int)(wxID_OK))); + PyDict_SetItemString(d,"ID_SETUP", SWIG_From_int(static_cast(wxID_SETUP))); } { - PyDict_SetItemString(d,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL))); + PyDict_SetItemString(d,"ID_RESET", SWIG_From_int(static_cast(wxID_RESET))); } { - PyDict_SetItemString(d,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY))); + PyDict_SetItemString(d,"ID_CONTEXT_HELP", SWIG_From_int(static_cast(wxID_CONTEXT_HELP))); } { - PyDict_SetItemString(d,"ID_YES", SWIG_From_int((int)(wxID_YES))); + PyDict_SetItemString(d,"ID_YESTOALL", SWIG_From_int(static_cast(wxID_YESTOALL))); } { - PyDict_SetItemString(d,"ID_NO", SWIG_From_int((int)(wxID_NO))); + PyDict_SetItemString(d,"ID_NOTOALL", SWIG_From_int(static_cast(wxID_NOTOALL))); } { - PyDict_SetItemString(d,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC))); + PyDict_SetItemString(d,"ID_ABORT", SWIG_From_int(static_cast(wxID_ABORT))); } { - PyDict_SetItemString(d,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD))); + PyDict_SetItemString(d,"ID_RETRY", SWIG_From_int(static_cast(wxID_RETRY))); } { - PyDict_SetItemString(d,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD))); + PyDict_SetItemString(d,"ID_IGNORE", SWIG_From_int(static_cast(wxID_IGNORE))); } { - PyDict_SetItemString(d,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT))); + PyDict_SetItemString(d,"ID_ADD", SWIG_From_int(static_cast(wxID_ADD))); } { - PyDict_SetItemString(d,"ID_MORE", SWIG_From_int((int)(wxID_MORE))); + PyDict_SetItemString(d,"ID_REMOVE", SWIG_From_int(static_cast(wxID_REMOVE))); } { - PyDict_SetItemString(d,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP))); + PyDict_SetItemString(d,"ID_UP", SWIG_From_int(static_cast(wxID_UP))); } { - PyDict_SetItemString(d,"ID_RESET", SWIG_From_int((int)(wxID_RESET))); + PyDict_SetItemString(d,"ID_DOWN", SWIG_From_int(static_cast(wxID_DOWN))); } { - PyDict_SetItemString(d,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP))); + PyDict_SetItemString(d,"ID_HOME", SWIG_From_int(static_cast(wxID_HOME))); } { - PyDict_SetItemString(d,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL))); + PyDict_SetItemString(d,"ID_REFRESH", SWIG_From_int(static_cast(wxID_REFRESH))); } { - PyDict_SetItemString(d,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL))); + PyDict_SetItemString(d,"ID_STOP", SWIG_From_int(static_cast(wxID_STOP))); } { - PyDict_SetItemString(d,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT))); + PyDict_SetItemString(d,"ID_INDEX", SWIG_From_int(static_cast(wxID_INDEX))); } { - PyDict_SetItemString(d,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY))); + PyDict_SetItemString(d,"ID_BOLD", SWIG_From_int(static_cast(wxID_BOLD))); } { - PyDict_SetItemString(d,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE))); + PyDict_SetItemString(d,"ID_ITALIC", SWIG_From_int(static_cast(wxID_ITALIC))); } { - PyDict_SetItemString(d,"ID_ADD", SWIG_From_int((int)(wxID_ADD))); + PyDict_SetItemString(d,"ID_JUSTIFY_CENTER", SWIG_From_int(static_cast(wxID_JUSTIFY_CENTER))); } { - PyDict_SetItemString(d,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE))); + PyDict_SetItemString(d,"ID_JUSTIFY_FILL", SWIG_From_int(static_cast(wxID_JUSTIFY_FILL))); } { - PyDict_SetItemString(d,"ID_UP", SWIG_From_int((int)(wxID_UP))); + PyDict_SetItemString(d,"ID_JUSTIFY_RIGHT", SWIG_From_int(static_cast(wxID_JUSTIFY_RIGHT))); } { - PyDict_SetItemString(d,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN))); + PyDict_SetItemString(d,"ID_JUSTIFY_LEFT", SWIG_From_int(static_cast(wxID_JUSTIFY_LEFT))); } { - PyDict_SetItemString(d,"ID_HOME", SWIG_From_int((int)(wxID_HOME))); + PyDict_SetItemString(d,"ID_UNDERLINE", SWIG_From_int(static_cast(wxID_UNDERLINE))); } { - PyDict_SetItemString(d,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH))); + PyDict_SetItemString(d,"ID_INDENT", SWIG_From_int(static_cast(wxID_INDENT))); } { - PyDict_SetItemString(d,"ID_STOP", SWIG_From_int((int)(wxID_STOP))); + PyDict_SetItemString(d,"ID_UNINDENT", SWIG_From_int(static_cast(wxID_UNINDENT))); } { - PyDict_SetItemString(d,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX))); + PyDict_SetItemString(d,"ID_ZOOM_100", SWIG_From_int(static_cast(wxID_ZOOM_100))); } { - PyDict_SetItemString(d,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD))); + PyDict_SetItemString(d,"ID_ZOOM_FIT", SWIG_From_int(static_cast(wxID_ZOOM_FIT))); } { - PyDict_SetItemString(d,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC))); + PyDict_SetItemString(d,"ID_ZOOM_IN", SWIG_From_int(static_cast(wxID_ZOOM_IN))); } { - PyDict_SetItemString(d,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER))); + PyDict_SetItemString(d,"ID_ZOOM_OUT", SWIG_From_int(static_cast(wxID_ZOOM_OUT))); } { - PyDict_SetItemString(d,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL))); + PyDict_SetItemString(d,"ID_UNDELETE", SWIG_From_int(static_cast(wxID_UNDELETE))); } { - PyDict_SetItemString(d,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT))); + PyDict_SetItemString(d,"ID_REVERT_TO_SAVED", SWIG_From_int(static_cast(wxID_REVERT_TO_SAVED))); } { - PyDict_SetItemString(d,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT))); + PyDict_SetItemString(d,"ID_HIGHEST", SWIG_From_int(static_cast(wxID_HIGHEST))); } { - PyDict_SetItemString(d,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE))); + PyDict_SetItemString(d,"OPEN", SWIG_From_int(static_cast(wxOPEN))); } { - PyDict_SetItemString(d,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT))); + PyDict_SetItemString(d,"SAVE", SWIG_From_int(static_cast(wxSAVE))); } { - PyDict_SetItemString(d,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT))); + PyDict_SetItemString(d,"HIDE_READONLY", SWIG_From_int(static_cast(wxHIDE_READONLY))); } { - PyDict_SetItemString(d,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100))); + PyDict_SetItemString(d,"OVERWRITE_PROMPT", SWIG_From_int(static_cast(wxOVERWRITE_PROMPT))); } { - PyDict_SetItemString(d,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT))); + PyDict_SetItemString(d,"FILE_MUST_EXIST", SWIG_From_int(static_cast(wxFILE_MUST_EXIST))); } { - PyDict_SetItemString(d,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN))); + PyDict_SetItemString(d,"MULTIPLE", SWIG_From_int(static_cast(wxMULTIPLE))); } { - PyDict_SetItemString(d,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT))); + PyDict_SetItemString(d,"CHANGE_DIR", SWIG_From_int(static_cast(wxCHANGE_DIR))); } { - PyDict_SetItemString(d,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE))); + PyDict_SetItemString(d,"ACCEL_ALT", SWIG_From_int(static_cast(wxACCEL_ALT))); } { - PyDict_SetItemString(d,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED))); + PyDict_SetItemString(d,"ACCEL_CTRL", SWIG_From_int(static_cast(wxACCEL_CTRL))); } { - PyDict_SetItemString(d,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST))); + PyDict_SetItemString(d,"ACCEL_SHIFT", SWIG_From_int(static_cast(wxACCEL_SHIFT))); } { - PyDict_SetItemString(d,"OPEN", SWIG_From_int((int)(wxOPEN))); + PyDict_SetItemString(d,"ACCEL_NORMAL", SWIG_From_int(static_cast(wxACCEL_NORMAL))); } { - PyDict_SetItemString(d,"SAVE", SWIG_From_int((int)(wxSAVE))); + PyDict_SetItemString(d,"PD_AUTO_HIDE", SWIG_From_int(static_cast(wxPD_AUTO_HIDE))); } { - PyDict_SetItemString(d,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY))); + PyDict_SetItemString(d,"PD_APP_MODAL", SWIG_From_int(static_cast(wxPD_APP_MODAL))); } { - PyDict_SetItemString(d,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT))); + PyDict_SetItemString(d,"PD_CAN_ABORT", SWIG_From_int(static_cast(wxPD_CAN_ABORT))); } { - PyDict_SetItemString(d,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST))); + PyDict_SetItemString(d,"PD_ELAPSED_TIME", SWIG_From_int(static_cast(wxPD_ELAPSED_TIME))); } { - PyDict_SetItemString(d,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE))); + PyDict_SetItemString(d,"PD_ESTIMATED_TIME", SWIG_From_int(static_cast(wxPD_ESTIMATED_TIME))); } { - PyDict_SetItemString(d,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR))); + PyDict_SetItemString(d,"PD_REMAINING_TIME", SWIG_From_int(static_cast(wxPD_REMAINING_TIME))); } { - PyDict_SetItemString(d,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT))); + PyDict_SetItemString(d,"PD_SMOOTH", SWIG_From_int(static_cast(wxPD_SMOOTH))); } { - PyDict_SetItemString(d,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL))); + PyDict_SetItemString(d,"PD_CAN_SKIP", SWIG_From_int(static_cast(wxPD_CAN_SKIP))); } { - PyDict_SetItemString(d,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT))); + PyDict_SetItemString(d,"DD_NEW_DIR_BUTTON", SWIG_From_int(static_cast(wxDD_NEW_DIR_BUTTON))); } { - PyDict_SetItemString(d,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL))); + PyDict_SetItemString(d,"DD_DEFAULT_STYLE", SWIG_From_int(static_cast(wxDD_DEFAULT_STYLE))); } { - PyDict_SetItemString(d,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE))); + PyDict_SetItemString(d,"MENU_TEAROFF", SWIG_From_int(static_cast(wxMENU_TEAROFF))); } { - PyDict_SetItemString(d,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL))); + PyDict_SetItemString(d,"MB_DOCKABLE", SWIG_From_int(static_cast(wxMB_DOCKABLE))); } { - PyDict_SetItemString(d,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT))); + PyDict_SetItemString(d,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int(static_cast(wxNO_FULL_REPAINT_ON_RESIZE))); } { - PyDict_SetItemString(d,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME))); + PyDict_SetItemString(d,"FULL_REPAINT_ON_RESIZE", SWIG_From_int(static_cast(wxFULL_REPAINT_ON_RESIZE))); } { - PyDict_SetItemString(d,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME))); + PyDict_SetItemString(d,"LI_HORIZONTAL", SWIG_From_int(static_cast(wxLI_HORIZONTAL))); } { - PyDict_SetItemString(d,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME))); + PyDict_SetItemString(d,"LI_VERTICAL", SWIG_From_int(static_cast(wxLI_VERTICAL))); } { - PyDict_SetItemString(d,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH))); + PyDict_SetItemString(d,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int(static_cast(wxWS_EX_VALIDATE_RECURSIVELY))); } { - PyDict_SetItemString(d,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP))); + PyDict_SetItemString(d,"WS_EX_BLOCK_EVENTS", SWIG_From_int(static_cast(wxWS_EX_BLOCK_EVENTS))); } { - PyDict_SetItemString(d,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON))); + PyDict_SetItemString(d,"WS_EX_TRANSIENT", SWIG_From_int(static_cast(wxWS_EX_TRANSIENT))); } { - PyDict_SetItemString(d,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE))); + PyDict_SetItemString(d,"WS_EX_THEMED_BACKGROUND", SWIG_From_int(static_cast(wxWS_EX_THEMED_BACKGROUND))); } { - PyDict_SetItemString(d,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF))); + PyDict_SetItemString(d,"WS_EX_PROCESS_IDLE", SWIG_From_int(static_cast(wxWS_EX_PROCESS_IDLE))); } { - PyDict_SetItemString(d,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE))); + PyDict_SetItemString(d,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int(static_cast(wxWS_EX_PROCESS_UI_UPDATES))); } { - PyDict_SetItemString(d,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE))); + PyDict_SetItemString(d,"MM_TEXT", SWIG_From_int(static_cast(wxMM_TEXT))); } { - PyDict_SetItemString(d,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE))); + PyDict_SetItemString(d,"MM_LOMETRIC", SWIG_From_int(static_cast(wxMM_LOMETRIC))); } { - PyDict_SetItemString(d,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL))); + PyDict_SetItemString(d,"MM_HIMETRIC", SWIG_From_int(static_cast(wxMM_HIMETRIC))); } { - PyDict_SetItemString(d,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL))); + PyDict_SetItemString(d,"MM_LOENGLISH", SWIG_From_int(static_cast(wxMM_LOENGLISH))); } { - PyDict_SetItemString(d,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY))); + PyDict_SetItemString(d,"MM_HIENGLISH", SWIG_From_int(static_cast(wxMM_HIENGLISH))); } { - PyDict_SetItemString(d,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS))); + PyDict_SetItemString(d,"MM_TWIPS", SWIG_From_int(static_cast(wxMM_TWIPS))); } { - PyDict_SetItemString(d,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT))); + PyDict_SetItemString(d,"MM_ISOTROPIC", SWIG_From_int(static_cast(wxMM_ISOTROPIC))); } { - PyDict_SetItemString(d,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND))); + PyDict_SetItemString(d,"MM_ANISOTROPIC", SWIG_From_int(static_cast(wxMM_ANISOTROPIC))); } { - PyDict_SetItemString(d,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE))); + PyDict_SetItemString(d,"MM_POINTS", SWIG_From_int(static_cast(wxMM_POINTS))); } { - PyDict_SetItemString(d,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES))); + PyDict_SetItemString(d,"MM_METRIC", SWIG_From_int(static_cast(wxMM_METRIC))); } { - PyDict_SetItemString(d,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT))); + PyDict_SetItemString(d,"CENTRE", SWIG_From_int(static_cast(wxCENTRE))); } { - PyDict_SetItemString(d,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC))); + PyDict_SetItemString(d,"CENTER", SWIG_From_int(static_cast(wxCENTER))); } { - PyDict_SetItemString(d,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC))); + PyDict_SetItemString(d,"HORIZONTAL", SWIG_From_int(static_cast(wxHORIZONTAL))); } { - PyDict_SetItemString(d,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH))); + PyDict_SetItemString(d,"VERTICAL", SWIG_From_int(static_cast(wxVERTICAL))); } { - PyDict_SetItemString(d,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH))); + PyDict_SetItemString(d,"BOTH", SWIG_From_int(static_cast(wxBOTH))); } { - PyDict_SetItemString(d,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS))); + PyDict_SetItemString(d,"LEFT", SWIG_From_int(static_cast(wxLEFT))); } { - PyDict_SetItemString(d,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC))); + PyDict_SetItemString(d,"RIGHT", SWIG_From_int(static_cast(wxRIGHT))); } { - PyDict_SetItemString(d,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC))); + PyDict_SetItemString(d,"UP", SWIG_From_int(static_cast(wxUP))); } { - PyDict_SetItemString(d,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS))); + PyDict_SetItemString(d,"DOWN", SWIG_From_int(static_cast(wxDOWN))); } { - PyDict_SetItemString(d,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC))); + PyDict_SetItemString(d,"TOP", SWIG_From_int(static_cast(wxTOP))); } { - PyDict_SetItemString(d,"CENTRE", SWIG_From_int((int)(wxCENTRE))); + PyDict_SetItemString(d,"BOTTOM", SWIG_From_int(static_cast(wxBOTTOM))); } { - PyDict_SetItemString(d,"CENTER", SWIG_From_int((int)(wxCENTER))); + PyDict_SetItemString(d,"NORTH", SWIG_From_int(static_cast(wxNORTH))); } { - PyDict_SetItemString(d,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL))); + PyDict_SetItemString(d,"SOUTH", SWIG_From_int(static_cast(wxSOUTH))); } { - PyDict_SetItemString(d,"VERTICAL", SWIG_From_int((int)(wxVERTICAL))); + PyDict_SetItemString(d,"WEST", SWIG_From_int(static_cast(wxWEST))); } { - PyDict_SetItemString(d,"BOTH", SWIG_From_int((int)(wxBOTH))); + PyDict_SetItemString(d,"EAST", SWIG_From_int(static_cast(wxEAST))); } { - PyDict_SetItemString(d,"LEFT", SWIG_From_int((int)(wxLEFT))); + PyDict_SetItemString(d,"ALL", SWIG_From_int(static_cast(wxALL))); } { - PyDict_SetItemString(d,"RIGHT", SWIG_From_int((int)(wxRIGHT))); + PyDict_SetItemString(d,"ALIGN_NOT", SWIG_From_int(static_cast(wxALIGN_NOT))); } { - PyDict_SetItemString(d,"UP", SWIG_From_int((int)(wxUP))); + PyDict_SetItemString(d,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int(static_cast(wxALIGN_CENTER_HORIZONTAL))); } { - PyDict_SetItemString(d,"DOWN", SWIG_From_int((int)(wxDOWN))); + PyDict_SetItemString(d,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int(static_cast(wxALIGN_CENTRE_HORIZONTAL))); } { - PyDict_SetItemString(d,"TOP", SWIG_From_int((int)(wxTOP))); + PyDict_SetItemString(d,"ALIGN_LEFT", SWIG_From_int(static_cast(wxALIGN_LEFT))); } { - PyDict_SetItemString(d,"BOTTOM", SWIG_From_int((int)(wxBOTTOM))); + PyDict_SetItemString(d,"ALIGN_TOP", SWIG_From_int(static_cast(wxALIGN_TOP))); } { - PyDict_SetItemString(d,"NORTH", SWIG_From_int((int)(wxNORTH))); + PyDict_SetItemString(d,"ALIGN_RIGHT", SWIG_From_int(static_cast(wxALIGN_RIGHT))); } { - PyDict_SetItemString(d,"SOUTH", SWIG_From_int((int)(wxSOUTH))); + PyDict_SetItemString(d,"ALIGN_BOTTOM", SWIG_From_int(static_cast(wxALIGN_BOTTOM))); } { - PyDict_SetItemString(d,"WEST", SWIG_From_int((int)(wxWEST))); + PyDict_SetItemString(d,"ALIGN_CENTER_VERTICAL", SWIG_From_int(static_cast(wxALIGN_CENTER_VERTICAL))); } { - PyDict_SetItemString(d,"EAST", SWIG_From_int((int)(wxEAST))); + PyDict_SetItemString(d,"ALIGN_CENTRE_VERTICAL", SWIG_From_int(static_cast(wxALIGN_CENTRE_VERTICAL))); } { - PyDict_SetItemString(d,"ALL", SWIG_From_int((int)(wxALL))); + PyDict_SetItemString(d,"ALIGN_CENTER", SWIG_From_int(static_cast(wxALIGN_CENTER))); } { - PyDict_SetItemString(d,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT))); + PyDict_SetItemString(d,"ALIGN_CENTRE", SWIG_From_int(static_cast(wxALIGN_CENTRE))); } { - PyDict_SetItemString(d,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL))); + PyDict_SetItemString(d,"ALIGN_MASK", SWIG_From_int(static_cast(wxALIGN_MASK))); } { - PyDict_SetItemString(d,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL))); + PyDict_SetItemString(d,"STRETCH_NOT", SWIG_From_int(static_cast(wxSTRETCH_NOT))); } { - PyDict_SetItemString(d,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT))); + PyDict_SetItemString(d,"SHRINK", SWIG_From_int(static_cast(wxSHRINK))); } { - PyDict_SetItemString(d,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP))); + PyDict_SetItemString(d,"GROW", SWIG_From_int(static_cast(wxGROW))); } { - PyDict_SetItemString(d,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT))); + PyDict_SetItemString(d,"EXPAND", SWIG_From_int(static_cast(wxEXPAND))); } { - PyDict_SetItemString(d,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM))); + PyDict_SetItemString(d,"SHAPED", SWIG_From_int(static_cast(wxSHAPED))); } { - PyDict_SetItemString(d,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL))); + PyDict_SetItemString(d,"FIXED_MINSIZE", SWIG_From_int(static_cast(wxFIXED_MINSIZE))); } { - PyDict_SetItemString(d,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL))); + PyDict_SetItemString(d,"TILE", SWIG_From_int(static_cast(wxTILE))); } { - PyDict_SetItemString(d,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER))); + PyDict_SetItemString(d,"ADJUST_MINSIZE", SWIG_From_int(static_cast(wxADJUST_MINSIZE))); } { - PyDict_SetItemString(d,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE))); + PyDict_SetItemString(d,"BORDER_DEFAULT", SWIG_From_int(static_cast(wxBORDER_DEFAULT))); } { - PyDict_SetItemString(d,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK))); + PyDict_SetItemString(d,"BORDER_NONE", SWIG_From_int(static_cast(wxBORDER_NONE))); } { - PyDict_SetItemString(d,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT))); + PyDict_SetItemString(d,"BORDER_STATIC", SWIG_From_int(static_cast(wxBORDER_STATIC))); } { - PyDict_SetItemString(d,"SHRINK", SWIG_From_int((int)(wxSHRINK))); + PyDict_SetItemString(d,"BORDER_SIMPLE", SWIG_From_int(static_cast(wxBORDER_SIMPLE))); } { - PyDict_SetItemString(d,"GROW", SWIG_From_int((int)(wxGROW))); + PyDict_SetItemString(d,"BORDER_RAISED", SWIG_From_int(static_cast(wxBORDER_RAISED))); } { - PyDict_SetItemString(d,"EXPAND", SWIG_From_int((int)(wxEXPAND))); + PyDict_SetItemString(d,"BORDER_SUNKEN", SWIG_From_int(static_cast(wxBORDER_SUNKEN))); } { - PyDict_SetItemString(d,"SHAPED", SWIG_From_int((int)(wxSHAPED))); + PyDict_SetItemString(d,"BORDER_DOUBLE", SWIG_From_int(static_cast(wxBORDER_DOUBLE))); } { - PyDict_SetItemString(d,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE))); + PyDict_SetItemString(d,"BORDER_MASK", SWIG_From_int(static_cast(wxBORDER_MASK))); } { - PyDict_SetItemString(d,"TILE", SWIG_From_int((int)(wxTILE))); + PyDict_SetItemString(d,"BG_STYLE_SYSTEM", SWIG_From_int(static_cast(wxBG_STYLE_SYSTEM))); } { - PyDict_SetItemString(d,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE))); + PyDict_SetItemString(d,"BG_STYLE_COLOUR", SWIG_From_int(static_cast(wxBG_STYLE_COLOUR))); } { - PyDict_SetItemString(d,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT))); + PyDict_SetItemString(d,"BG_STYLE_CUSTOM", SWIG_From_int(static_cast(wxBG_STYLE_CUSTOM))); } { - PyDict_SetItemString(d,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE))); + PyDict_SetItemString(d,"DEFAULT", SWIG_From_int(static_cast(wxDEFAULT))); } { - PyDict_SetItemString(d,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC))); + PyDict_SetItemString(d,"DECORATIVE", SWIG_From_int(static_cast(wxDECORATIVE))); } { - PyDict_SetItemString(d,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE))); + PyDict_SetItemString(d,"ROMAN", SWIG_From_int(static_cast(wxROMAN))); } { - PyDict_SetItemString(d,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED))); + PyDict_SetItemString(d,"SCRIPT", SWIG_From_int(static_cast(wxSCRIPT))); } { - PyDict_SetItemString(d,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN))); + PyDict_SetItemString(d,"SWISS", SWIG_From_int(static_cast(wxSWISS))); } { - PyDict_SetItemString(d,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE))); + PyDict_SetItemString(d,"MODERN", SWIG_From_int(static_cast(wxMODERN))); } { - PyDict_SetItemString(d,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK))); + PyDict_SetItemString(d,"TELETYPE", SWIG_From_int(static_cast(wxTELETYPE))); } { - PyDict_SetItemString(d,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM))); + PyDict_SetItemString(d,"VARIABLE", SWIG_From_int(static_cast(wxVARIABLE))); } { - PyDict_SetItemString(d,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR))); + PyDict_SetItemString(d,"FIXED", SWIG_From_int(static_cast(wxFIXED))); } { - PyDict_SetItemString(d,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM))); + PyDict_SetItemString(d,"NORMAL", SWIG_From_int(static_cast(wxNORMAL))); } { - PyDict_SetItemString(d,"DEFAULT", SWIG_From_int((int)(wxDEFAULT))); + PyDict_SetItemString(d,"LIGHT", SWIG_From_int(static_cast(wxLIGHT))); } { - PyDict_SetItemString(d,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE))); + PyDict_SetItemString(d,"BOLD", SWIG_From_int(static_cast(wxBOLD))); } { - PyDict_SetItemString(d,"ROMAN", SWIG_From_int((int)(wxROMAN))); + PyDict_SetItemString(d,"ITALIC", SWIG_From_int(static_cast(wxITALIC))); } { - PyDict_SetItemString(d,"SCRIPT", SWIG_From_int((int)(wxSCRIPT))); + PyDict_SetItemString(d,"SLANT", SWIG_From_int(static_cast(wxSLANT))); } { - PyDict_SetItemString(d,"SWISS", SWIG_From_int((int)(wxSWISS))); + PyDict_SetItemString(d,"SOLID", SWIG_From_int(static_cast(wxSOLID))); } { - PyDict_SetItemString(d,"MODERN", SWIG_From_int((int)(wxMODERN))); + PyDict_SetItemString(d,"DOT", SWIG_From_int(static_cast(wxDOT))); } { - PyDict_SetItemString(d,"TELETYPE", SWIG_From_int((int)(wxTELETYPE))); + PyDict_SetItemString(d,"LONG_DASH", SWIG_From_int(static_cast(wxLONG_DASH))); } { - PyDict_SetItemString(d,"VARIABLE", SWIG_From_int((int)(wxVARIABLE))); + PyDict_SetItemString(d,"SHORT_DASH", SWIG_From_int(static_cast(wxSHORT_DASH))); } { - PyDict_SetItemString(d,"FIXED", SWIG_From_int((int)(wxFIXED))); + PyDict_SetItemString(d,"DOT_DASH", SWIG_From_int(static_cast(wxDOT_DASH))); } { - PyDict_SetItemString(d,"NORMAL", SWIG_From_int((int)(wxNORMAL))); + PyDict_SetItemString(d,"USER_DASH", SWIG_From_int(static_cast(wxUSER_DASH))); } { - PyDict_SetItemString(d,"LIGHT", SWIG_From_int((int)(wxLIGHT))); + PyDict_SetItemString(d,"TRANSPARENT", SWIG_From_int(static_cast(wxTRANSPARENT))); } { - PyDict_SetItemString(d,"BOLD", SWIG_From_int((int)(wxBOLD))); + PyDict_SetItemString(d,"STIPPLE", SWIG_From_int(static_cast(wxSTIPPLE))); } { - PyDict_SetItemString(d,"ITALIC", SWIG_From_int((int)(wxITALIC))); + PyDict_SetItemString(d,"STIPPLE_MASK", SWIG_From_int(static_cast(wxSTIPPLE_MASK))); } { - PyDict_SetItemString(d,"SLANT", SWIG_From_int((int)(wxSLANT))); + PyDict_SetItemString(d,"STIPPLE_MASK_OPAQUE", SWIG_From_int(static_cast(wxSTIPPLE_MASK_OPAQUE))); } { - PyDict_SetItemString(d,"SOLID", SWIG_From_int((int)(wxSOLID))); + PyDict_SetItemString(d,"BDIAGONAL_HATCH", SWIG_From_int(static_cast(wxBDIAGONAL_HATCH))); } { - PyDict_SetItemString(d,"DOT", SWIG_From_int((int)(wxDOT))); + PyDict_SetItemString(d,"CROSSDIAG_HATCH", SWIG_From_int(static_cast(wxCROSSDIAG_HATCH))); } { - PyDict_SetItemString(d,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH))); + PyDict_SetItemString(d,"FDIAGONAL_HATCH", SWIG_From_int(static_cast(wxFDIAGONAL_HATCH))); } { - PyDict_SetItemString(d,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH))); + PyDict_SetItemString(d,"CROSS_HATCH", SWIG_From_int(static_cast(wxCROSS_HATCH))); } { - PyDict_SetItemString(d,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH))); + PyDict_SetItemString(d,"HORIZONTAL_HATCH", SWIG_From_int(static_cast(wxHORIZONTAL_HATCH))); } { - PyDict_SetItemString(d,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH))); + PyDict_SetItemString(d,"VERTICAL_HATCH", SWIG_From_int(static_cast(wxVERTICAL_HATCH))); } { - PyDict_SetItemString(d,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT))); + PyDict_SetItemString(d,"JOIN_BEVEL", SWIG_From_int(static_cast(wxJOIN_BEVEL))); } { - PyDict_SetItemString(d,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE))); + PyDict_SetItemString(d,"JOIN_MITER", SWIG_From_int(static_cast(wxJOIN_MITER))); } { - PyDict_SetItemString(d,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH))); + PyDict_SetItemString(d,"JOIN_ROUND", SWIG_From_int(static_cast(wxJOIN_ROUND))); } { - PyDict_SetItemString(d,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH))); + PyDict_SetItemString(d,"CAP_ROUND", SWIG_From_int(static_cast(wxCAP_ROUND))); } { - PyDict_SetItemString(d,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH))); + PyDict_SetItemString(d,"CAP_PROJECTING", SWIG_From_int(static_cast(wxCAP_PROJECTING))); } { - PyDict_SetItemString(d,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH))); + PyDict_SetItemString(d,"CAP_BUTT", SWIG_From_int(static_cast(wxCAP_BUTT))); } { - PyDict_SetItemString(d,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH))); + PyDict_SetItemString(d,"CLEAR", SWIG_From_int(static_cast(wxCLEAR))); } { - PyDict_SetItemString(d,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH))); + PyDict_SetItemString(d,"XOR", SWIG_From_int(static_cast(wxXOR))); } { - PyDict_SetItemString(d,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL))); + PyDict_SetItemString(d,"INVERT", SWIG_From_int(static_cast(wxINVERT))); } { - PyDict_SetItemString(d,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER))); + PyDict_SetItemString(d,"OR_REVERSE", SWIG_From_int(static_cast(wxOR_REVERSE))); } { - PyDict_SetItemString(d,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND))); + PyDict_SetItemString(d,"AND_REVERSE", SWIG_From_int(static_cast(wxAND_REVERSE))); } { - PyDict_SetItemString(d,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND))); + PyDict_SetItemString(d,"COPY", SWIG_From_int(static_cast(wxCOPY))); } { - PyDict_SetItemString(d,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING))); + PyDict_SetItemString(d,"AND", SWIG_From_int(static_cast(wxAND))); } { - PyDict_SetItemString(d,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT))); + PyDict_SetItemString(d,"AND_INVERT", SWIG_From_int(static_cast(wxAND_INVERT))); } { - PyDict_SetItemString(d,"CLEAR", SWIG_From_int((int)(wxCLEAR))); + PyDict_SetItemString(d,"NO_OP", SWIG_From_int(static_cast(wxNO_OP))); } { - PyDict_SetItemString(d,"XOR", SWIG_From_int((int)(wxXOR))); + PyDict_SetItemString(d,"NOR", SWIG_From_int(static_cast(wxNOR))); } { - PyDict_SetItemString(d,"INVERT", SWIG_From_int((int)(wxINVERT))); + PyDict_SetItemString(d,"EQUIV", SWIG_From_int(static_cast(wxEQUIV))); } { - PyDict_SetItemString(d,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE))); + PyDict_SetItemString(d,"SRC_INVERT", SWIG_From_int(static_cast(wxSRC_INVERT))); } { - PyDict_SetItemString(d,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE))); + PyDict_SetItemString(d,"OR_INVERT", SWIG_From_int(static_cast(wxOR_INVERT))); } { - PyDict_SetItemString(d,"COPY", SWIG_From_int((int)(wxCOPY))); + PyDict_SetItemString(d,"NAND", SWIG_From_int(static_cast(wxNAND))); } { - PyDict_SetItemString(d,"AND", SWIG_From_int((int)(wxAND))); + PyDict_SetItemString(d,"OR", SWIG_From_int(static_cast(wxOR))); } { - PyDict_SetItemString(d,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT))); + PyDict_SetItemString(d,"SET", SWIG_From_int(static_cast(wxSET))); } { - PyDict_SetItemString(d,"NO_OP", SWIG_From_int((int)(wxNO_OP))); + PyDict_SetItemString(d,"WXK_BACK", SWIG_From_int(static_cast(WXK_BACK))); } { - PyDict_SetItemString(d,"NOR", SWIG_From_int((int)(wxNOR))); + PyDict_SetItemString(d,"WXK_TAB", SWIG_From_int(static_cast(WXK_TAB))); } { - PyDict_SetItemString(d,"EQUIV", SWIG_From_int((int)(wxEQUIV))); + PyDict_SetItemString(d,"WXK_RETURN", SWIG_From_int(static_cast(WXK_RETURN))); } { - PyDict_SetItemString(d,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT))); + PyDict_SetItemString(d,"WXK_ESCAPE", SWIG_From_int(static_cast(WXK_ESCAPE))); } { - PyDict_SetItemString(d,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT))); + PyDict_SetItemString(d,"WXK_SPACE", SWIG_From_int(static_cast(WXK_SPACE))); } { - PyDict_SetItemString(d,"NAND", SWIG_From_int((int)(wxNAND))); + PyDict_SetItemString(d,"WXK_DELETE", SWIG_From_int(static_cast(WXK_DELETE))); } { - PyDict_SetItemString(d,"OR", SWIG_From_int((int)(wxOR))); + PyDict_SetItemString(d,"WXK_START", SWIG_From_int(static_cast(WXK_START))); } { - PyDict_SetItemString(d,"SET", SWIG_From_int((int)(wxSET))); + PyDict_SetItemString(d,"WXK_LBUTTON", SWIG_From_int(static_cast(WXK_LBUTTON))); } { - PyDict_SetItemString(d,"WXK_BACK", SWIG_From_int((int)(WXK_BACK))); + PyDict_SetItemString(d,"WXK_RBUTTON", SWIG_From_int(static_cast(WXK_RBUTTON))); } { - PyDict_SetItemString(d,"WXK_TAB", SWIG_From_int((int)(WXK_TAB))); + PyDict_SetItemString(d,"WXK_CANCEL", SWIG_From_int(static_cast(WXK_CANCEL))); } { - PyDict_SetItemString(d,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN))); + PyDict_SetItemString(d,"WXK_MBUTTON", SWIG_From_int(static_cast(WXK_MBUTTON))); } { - PyDict_SetItemString(d,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE))); + PyDict_SetItemString(d,"WXK_CLEAR", SWIG_From_int(static_cast(WXK_CLEAR))); } { - PyDict_SetItemString(d,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE))); + PyDict_SetItemString(d,"WXK_SHIFT", SWIG_From_int(static_cast(WXK_SHIFT))); } { - PyDict_SetItemString(d,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE))); + PyDict_SetItemString(d,"WXK_ALT", SWIG_From_int(static_cast(WXK_ALT))); } { - PyDict_SetItemString(d,"WXK_START", SWIG_From_int((int)(WXK_START))); + PyDict_SetItemString(d,"WXK_CONTROL", SWIG_From_int(static_cast(WXK_CONTROL))); } { - PyDict_SetItemString(d,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON))); + PyDict_SetItemString(d,"WXK_MENU", SWIG_From_int(static_cast(WXK_MENU))); } { - PyDict_SetItemString(d,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON))); + PyDict_SetItemString(d,"WXK_PAUSE", SWIG_From_int(static_cast(WXK_PAUSE))); } { - PyDict_SetItemString(d,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL))); + PyDict_SetItemString(d,"WXK_CAPITAL", SWIG_From_int(static_cast(WXK_CAPITAL))); } { - PyDict_SetItemString(d,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON))); + PyDict_SetItemString(d,"WXK_PRIOR", SWIG_From_int(static_cast(WXK_PRIOR))); } { - PyDict_SetItemString(d,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR))); + PyDict_SetItemString(d,"WXK_NEXT", SWIG_From_int(static_cast(WXK_NEXT))); } { - PyDict_SetItemString(d,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT))); + PyDict_SetItemString(d,"WXK_END", SWIG_From_int(static_cast(WXK_END))); } { - PyDict_SetItemString(d,"WXK_ALT", SWIG_From_int((int)(WXK_ALT))); + PyDict_SetItemString(d,"WXK_HOME", SWIG_From_int(static_cast(WXK_HOME))); } { - PyDict_SetItemString(d,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL))); + PyDict_SetItemString(d,"WXK_LEFT", SWIG_From_int(static_cast(WXK_LEFT))); } { - PyDict_SetItemString(d,"WXK_MENU", SWIG_From_int((int)(WXK_MENU))); + PyDict_SetItemString(d,"WXK_UP", SWIG_From_int(static_cast(WXK_UP))); } { - PyDict_SetItemString(d,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE))); + PyDict_SetItemString(d,"WXK_RIGHT", SWIG_From_int(static_cast(WXK_RIGHT))); } { - PyDict_SetItemString(d,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL))); + PyDict_SetItemString(d,"WXK_DOWN", SWIG_From_int(static_cast(WXK_DOWN))); } { - PyDict_SetItemString(d,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR))); + PyDict_SetItemString(d,"WXK_SELECT", SWIG_From_int(static_cast(WXK_SELECT))); } { - PyDict_SetItemString(d,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT))); + PyDict_SetItemString(d,"WXK_PRINT", SWIG_From_int(static_cast(WXK_PRINT))); } { - PyDict_SetItemString(d,"WXK_END", SWIG_From_int((int)(WXK_END))); + PyDict_SetItemString(d,"WXK_EXECUTE", SWIG_From_int(static_cast(WXK_EXECUTE))); } { - PyDict_SetItemString(d,"WXK_HOME", SWIG_From_int((int)(WXK_HOME))); + PyDict_SetItemString(d,"WXK_SNAPSHOT", SWIG_From_int(static_cast(WXK_SNAPSHOT))); } { - PyDict_SetItemString(d,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT))); + PyDict_SetItemString(d,"WXK_INSERT", SWIG_From_int(static_cast(WXK_INSERT))); } { - PyDict_SetItemString(d,"WXK_UP", SWIG_From_int((int)(WXK_UP))); + PyDict_SetItemString(d,"WXK_HELP", SWIG_From_int(static_cast(WXK_HELP))); } { - PyDict_SetItemString(d,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT))); + PyDict_SetItemString(d,"WXK_NUMPAD0", SWIG_From_int(static_cast(WXK_NUMPAD0))); } { - PyDict_SetItemString(d,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN))); + PyDict_SetItemString(d,"WXK_NUMPAD1", SWIG_From_int(static_cast(WXK_NUMPAD1))); } { - PyDict_SetItemString(d,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT))); + PyDict_SetItemString(d,"WXK_NUMPAD2", SWIG_From_int(static_cast(WXK_NUMPAD2))); } { - PyDict_SetItemString(d,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT))); + PyDict_SetItemString(d,"WXK_NUMPAD3", SWIG_From_int(static_cast(WXK_NUMPAD3))); } { - PyDict_SetItemString(d,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE))); + PyDict_SetItemString(d,"WXK_NUMPAD4", SWIG_From_int(static_cast(WXK_NUMPAD4))); } { - PyDict_SetItemString(d,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT))); + PyDict_SetItemString(d,"WXK_NUMPAD5", SWIG_From_int(static_cast(WXK_NUMPAD5))); } { - PyDict_SetItemString(d,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT))); + PyDict_SetItemString(d,"WXK_NUMPAD6", SWIG_From_int(static_cast(WXK_NUMPAD6))); } { - PyDict_SetItemString(d,"WXK_HELP", SWIG_From_int((int)(WXK_HELP))); + PyDict_SetItemString(d,"WXK_NUMPAD7", SWIG_From_int(static_cast(WXK_NUMPAD7))); } { - PyDict_SetItemString(d,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0))); + PyDict_SetItemString(d,"WXK_NUMPAD8", SWIG_From_int(static_cast(WXK_NUMPAD8))); } { - PyDict_SetItemString(d,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1))); + PyDict_SetItemString(d,"WXK_NUMPAD9", SWIG_From_int(static_cast(WXK_NUMPAD9))); } { - PyDict_SetItemString(d,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2))); + PyDict_SetItemString(d,"WXK_MULTIPLY", SWIG_From_int(static_cast(WXK_MULTIPLY))); } { - PyDict_SetItemString(d,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3))); + PyDict_SetItemString(d,"WXK_ADD", SWIG_From_int(static_cast(WXK_ADD))); } { - PyDict_SetItemString(d,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4))); + PyDict_SetItemString(d,"WXK_SEPARATOR", SWIG_From_int(static_cast(WXK_SEPARATOR))); } { - PyDict_SetItemString(d,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5))); + PyDict_SetItemString(d,"WXK_SUBTRACT", SWIG_From_int(static_cast(WXK_SUBTRACT))); } { - PyDict_SetItemString(d,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6))); + PyDict_SetItemString(d,"WXK_DECIMAL", SWIG_From_int(static_cast(WXK_DECIMAL))); } { - PyDict_SetItemString(d,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7))); + PyDict_SetItemString(d,"WXK_DIVIDE", SWIG_From_int(static_cast(WXK_DIVIDE))); } { - PyDict_SetItemString(d,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8))); + PyDict_SetItemString(d,"WXK_F1", SWIG_From_int(static_cast(WXK_F1))); } { - PyDict_SetItemString(d,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9))); + PyDict_SetItemString(d,"WXK_F2", SWIG_From_int(static_cast(WXK_F2))); } { - PyDict_SetItemString(d,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY))); + PyDict_SetItemString(d,"WXK_F3", SWIG_From_int(static_cast(WXK_F3))); } { - PyDict_SetItemString(d,"WXK_ADD", SWIG_From_int((int)(WXK_ADD))); + PyDict_SetItemString(d,"WXK_F4", SWIG_From_int(static_cast(WXK_F4))); } { - PyDict_SetItemString(d,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR))); + PyDict_SetItemString(d,"WXK_F5", SWIG_From_int(static_cast(WXK_F5))); } { - PyDict_SetItemString(d,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT))); + PyDict_SetItemString(d,"WXK_F6", SWIG_From_int(static_cast(WXK_F6))); } { - PyDict_SetItemString(d,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL))); + PyDict_SetItemString(d,"WXK_F7", SWIG_From_int(static_cast(WXK_F7))); } { - PyDict_SetItemString(d,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE))); + PyDict_SetItemString(d,"WXK_F8", SWIG_From_int(static_cast(WXK_F8))); } { - PyDict_SetItemString(d,"WXK_F1", SWIG_From_int((int)(WXK_F1))); + PyDict_SetItemString(d,"WXK_F9", SWIG_From_int(static_cast(WXK_F9))); } { - PyDict_SetItemString(d,"WXK_F2", SWIG_From_int((int)(WXK_F2))); + PyDict_SetItemString(d,"WXK_F10", SWIG_From_int(static_cast(WXK_F10))); } { - PyDict_SetItemString(d,"WXK_F3", SWIG_From_int((int)(WXK_F3))); + PyDict_SetItemString(d,"WXK_F11", SWIG_From_int(static_cast(WXK_F11))); } { - PyDict_SetItemString(d,"WXK_F4", SWIG_From_int((int)(WXK_F4))); + PyDict_SetItemString(d,"WXK_F12", SWIG_From_int(static_cast(WXK_F12))); } { - PyDict_SetItemString(d,"WXK_F5", SWIG_From_int((int)(WXK_F5))); + PyDict_SetItemString(d,"WXK_F13", SWIG_From_int(static_cast(WXK_F13))); } { - PyDict_SetItemString(d,"WXK_F6", SWIG_From_int((int)(WXK_F6))); + PyDict_SetItemString(d,"WXK_F14", SWIG_From_int(static_cast(WXK_F14))); } { - PyDict_SetItemString(d,"WXK_F7", SWIG_From_int((int)(WXK_F7))); + PyDict_SetItemString(d,"WXK_F15", SWIG_From_int(static_cast(WXK_F15))); } { - PyDict_SetItemString(d,"WXK_F8", SWIG_From_int((int)(WXK_F8))); + PyDict_SetItemString(d,"WXK_F16", SWIG_From_int(static_cast(WXK_F16))); } { - PyDict_SetItemString(d,"WXK_F9", SWIG_From_int((int)(WXK_F9))); + PyDict_SetItemString(d,"WXK_F17", SWIG_From_int(static_cast(WXK_F17))); } { - PyDict_SetItemString(d,"WXK_F10", SWIG_From_int((int)(WXK_F10))); + PyDict_SetItemString(d,"WXK_F18", SWIG_From_int(static_cast(WXK_F18))); } { - PyDict_SetItemString(d,"WXK_F11", SWIG_From_int((int)(WXK_F11))); + PyDict_SetItemString(d,"WXK_F19", SWIG_From_int(static_cast(WXK_F19))); } { - PyDict_SetItemString(d,"WXK_F12", SWIG_From_int((int)(WXK_F12))); + PyDict_SetItemString(d,"WXK_F20", SWIG_From_int(static_cast(WXK_F20))); } { - PyDict_SetItemString(d,"WXK_F13", SWIG_From_int((int)(WXK_F13))); + PyDict_SetItemString(d,"WXK_F21", SWIG_From_int(static_cast(WXK_F21))); } { - PyDict_SetItemString(d,"WXK_F14", SWIG_From_int((int)(WXK_F14))); + PyDict_SetItemString(d,"WXK_F22", SWIG_From_int(static_cast(WXK_F22))); } { - PyDict_SetItemString(d,"WXK_F15", SWIG_From_int((int)(WXK_F15))); + PyDict_SetItemString(d,"WXK_F23", SWIG_From_int(static_cast(WXK_F23))); } { - PyDict_SetItemString(d,"WXK_F16", SWIG_From_int((int)(WXK_F16))); + PyDict_SetItemString(d,"WXK_F24", SWIG_From_int(static_cast(WXK_F24))); } { - PyDict_SetItemString(d,"WXK_F17", SWIG_From_int((int)(WXK_F17))); + PyDict_SetItemString(d,"WXK_NUMLOCK", SWIG_From_int(static_cast(WXK_NUMLOCK))); } { - PyDict_SetItemString(d,"WXK_F18", SWIG_From_int((int)(WXK_F18))); + PyDict_SetItemString(d,"WXK_SCROLL", SWIG_From_int(static_cast(WXK_SCROLL))); } { - PyDict_SetItemString(d,"WXK_F19", SWIG_From_int((int)(WXK_F19))); + PyDict_SetItemString(d,"WXK_PAGEUP", SWIG_From_int(static_cast(WXK_PAGEUP))); } { - PyDict_SetItemString(d,"WXK_F20", SWIG_From_int((int)(WXK_F20))); + PyDict_SetItemString(d,"WXK_PAGEDOWN", SWIG_From_int(static_cast(WXK_PAGEDOWN))); } { - PyDict_SetItemString(d,"WXK_F21", SWIG_From_int((int)(WXK_F21))); + PyDict_SetItemString(d,"WXK_NUMPAD_SPACE", SWIG_From_int(static_cast(WXK_NUMPAD_SPACE))); } { - PyDict_SetItemString(d,"WXK_F22", SWIG_From_int((int)(WXK_F22))); + PyDict_SetItemString(d,"WXK_NUMPAD_TAB", SWIG_From_int(static_cast(WXK_NUMPAD_TAB))); } { - PyDict_SetItemString(d,"WXK_F23", SWIG_From_int((int)(WXK_F23))); + PyDict_SetItemString(d,"WXK_NUMPAD_ENTER", SWIG_From_int(static_cast(WXK_NUMPAD_ENTER))); } { - PyDict_SetItemString(d,"WXK_F24", SWIG_From_int((int)(WXK_F24))); + PyDict_SetItemString(d,"WXK_NUMPAD_F1", SWIG_From_int(static_cast(WXK_NUMPAD_F1))); } { - PyDict_SetItemString(d,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK))); + PyDict_SetItemString(d,"WXK_NUMPAD_F2", SWIG_From_int(static_cast(WXK_NUMPAD_F2))); } { - PyDict_SetItemString(d,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL))); + PyDict_SetItemString(d,"WXK_NUMPAD_F3", SWIG_From_int(static_cast(WXK_NUMPAD_F3))); } { - PyDict_SetItemString(d,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP))); + PyDict_SetItemString(d,"WXK_NUMPAD_F4", SWIG_From_int(static_cast(WXK_NUMPAD_F4))); } { - PyDict_SetItemString(d,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN))); + PyDict_SetItemString(d,"WXK_NUMPAD_HOME", SWIG_From_int(static_cast(WXK_NUMPAD_HOME))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE))); + PyDict_SetItemString(d,"WXK_NUMPAD_LEFT", SWIG_From_int(static_cast(WXK_NUMPAD_LEFT))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB))); + PyDict_SetItemString(d,"WXK_NUMPAD_UP", SWIG_From_int(static_cast(WXK_NUMPAD_UP))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER))); + PyDict_SetItemString(d,"WXK_NUMPAD_RIGHT", SWIG_From_int(static_cast(WXK_NUMPAD_RIGHT))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1))); + PyDict_SetItemString(d,"WXK_NUMPAD_DOWN", SWIG_From_int(static_cast(WXK_NUMPAD_DOWN))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2))); + PyDict_SetItemString(d,"WXK_NUMPAD_PRIOR", SWIG_From_int(static_cast(WXK_NUMPAD_PRIOR))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3))); + PyDict_SetItemString(d,"WXK_NUMPAD_PAGEUP", SWIG_From_int(static_cast(WXK_NUMPAD_PAGEUP))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4))); + PyDict_SetItemString(d,"WXK_NUMPAD_NEXT", SWIG_From_int(static_cast(WXK_NUMPAD_NEXT))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME))); + PyDict_SetItemString(d,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int(static_cast(WXK_NUMPAD_PAGEDOWN))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT))); + PyDict_SetItemString(d,"WXK_NUMPAD_END", SWIG_From_int(static_cast(WXK_NUMPAD_END))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP))); + PyDict_SetItemString(d,"WXK_NUMPAD_BEGIN", SWIG_From_int(static_cast(WXK_NUMPAD_BEGIN))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT))); + PyDict_SetItemString(d,"WXK_NUMPAD_INSERT", SWIG_From_int(static_cast(WXK_NUMPAD_INSERT))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN))); + PyDict_SetItemString(d,"WXK_NUMPAD_DELETE", SWIG_From_int(static_cast(WXK_NUMPAD_DELETE))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR))); + PyDict_SetItemString(d,"WXK_NUMPAD_EQUAL", SWIG_From_int(static_cast(WXK_NUMPAD_EQUAL))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP))); + PyDict_SetItemString(d,"WXK_NUMPAD_MULTIPLY", SWIG_From_int(static_cast(WXK_NUMPAD_MULTIPLY))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT))); + PyDict_SetItemString(d,"WXK_NUMPAD_ADD", SWIG_From_int(static_cast(WXK_NUMPAD_ADD))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN))); + PyDict_SetItemString(d,"WXK_NUMPAD_SEPARATOR", SWIG_From_int(static_cast(WXK_NUMPAD_SEPARATOR))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END))); + PyDict_SetItemString(d,"WXK_NUMPAD_SUBTRACT", SWIG_From_int(static_cast(WXK_NUMPAD_SUBTRACT))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN))); + PyDict_SetItemString(d,"WXK_NUMPAD_DECIMAL", SWIG_From_int(static_cast(WXK_NUMPAD_DECIMAL))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT))); + PyDict_SetItemString(d,"WXK_NUMPAD_DIVIDE", SWIG_From_int(static_cast(WXK_NUMPAD_DIVIDE))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE))); + PyDict_SetItemString(d,"WXK_WINDOWS_LEFT", SWIG_From_int(static_cast(WXK_WINDOWS_LEFT))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL))); + PyDict_SetItemString(d,"WXK_WINDOWS_RIGHT", SWIG_From_int(static_cast(WXK_WINDOWS_RIGHT))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY))); + PyDict_SetItemString(d,"WXK_WINDOWS_MENU", SWIG_From_int(static_cast(WXK_WINDOWS_MENU))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD))); + PyDict_SetItemString(d,"WXK_COMMAND", SWIG_From_int(static_cast(WXK_COMMAND))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR))); + PyDict_SetItemString(d,"WXK_SPECIAL1", SWIG_From_int(static_cast(WXK_SPECIAL1))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT))); + PyDict_SetItemString(d,"WXK_SPECIAL2", SWIG_From_int(static_cast(WXK_SPECIAL2))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL))); + PyDict_SetItemString(d,"WXK_SPECIAL3", SWIG_From_int(static_cast(WXK_SPECIAL3))); } { - PyDict_SetItemString(d,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE))); + PyDict_SetItemString(d,"WXK_SPECIAL4", SWIG_From_int(static_cast(WXK_SPECIAL4))); } { - PyDict_SetItemString(d,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT))); + PyDict_SetItemString(d,"WXK_SPECIAL5", SWIG_From_int(static_cast(WXK_SPECIAL5))); } { - PyDict_SetItemString(d,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT))); + PyDict_SetItemString(d,"WXK_SPECIAL6", SWIG_From_int(static_cast(WXK_SPECIAL6))); } { - PyDict_SetItemString(d,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU))); + PyDict_SetItemString(d,"WXK_SPECIAL7", SWIG_From_int(static_cast(WXK_SPECIAL7))); } { - PyDict_SetItemString(d,"WXK_COMMAND", SWIG_From_int((int)(WXK_COMMAND))); + PyDict_SetItemString(d,"WXK_SPECIAL8", SWIG_From_int(static_cast(WXK_SPECIAL8))); } { - PyDict_SetItemString(d,"WXK_SPECIAL1", SWIG_From_int((int)(WXK_SPECIAL1))); + PyDict_SetItemString(d,"WXK_SPECIAL9", SWIG_From_int(static_cast(WXK_SPECIAL9))); } { - PyDict_SetItemString(d,"WXK_SPECIAL2", SWIG_From_int((int)(WXK_SPECIAL2))); + PyDict_SetItemString(d,"WXK_SPECIAL10", SWIG_From_int(static_cast(WXK_SPECIAL10))); } { - PyDict_SetItemString(d,"WXK_SPECIAL3", SWIG_From_int((int)(WXK_SPECIAL3))); + PyDict_SetItemString(d,"WXK_SPECIAL11", SWIG_From_int(static_cast(WXK_SPECIAL11))); } { - PyDict_SetItemString(d,"WXK_SPECIAL4", SWIG_From_int((int)(WXK_SPECIAL4))); + PyDict_SetItemString(d,"WXK_SPECIAL12", SWIG_From_int(static_cast(WXK_SPECIAL12))); } { - PyDict_SetItemString(d,"WXK_SPECIAL5", SWIG_From_int((int)(WXK_SPECIAL5))); + PyDict_SetItemString(d,"WXK_SPECIAL13", SWIG_From_int(static_cast(WXK_SPECIAL13))); } { - PyDict_SetItemString(d,"WXK_SPECIAL6", SWIG_From_int((int)(WXK_SPECIAL6))); + PyDict_SetItemString(d,"WXK_SPECIAL14", SWIG_From_int(static_cast(WXK_SPECIAL14))); } { - PyDict_SetItemString(d,"WXK_SPECIAL7", SWIG_From_int((int)(WXK_SPECIAL7))); + PyDict_SetItemString(d,"WXK_SPECIAL15", SWIG_From_int(static_cast(WXK_SPECIAL15))); } { - PyDict_SetItemString(d,"WXK_SPECIAL8", SWIG_From_int((int)(WXK_SPECIAL8))); + PyDict_SetItemString(d,"WXK_SPECIAL16", SWIG_From_int(static_cast(WXK_SPECIAL16))); } { - PyDict_SetItemString(d,"WXK_SPECIAL9", SWIG_From_int((int)(WXK_SPECIAL9))); + PyDict_SetItemString(d,"WXK_SPECIAL17", SWIG_From_int(static_cast(WXK_SPECIAL17))); } { - PyDict_SetItemString(d,"WXK_SPECIAL10", SWIG_From_int((int)(WXK_SPECIAL10))); + PyDict_SetItemString(d,"WXK_SPECIAL18", SWIG_From_int(static_cast(WXK_SPECIAL18))); } { - PyDict_SetItemString(d,"WXK_SPECIAL11", SWIG_From_int((int)(WXK_SPECIAL11))); + PyDict_SetItemString(d,"WXK_SPECIAL19", SWIG_From_int(static_cast(WXK_SPECIAL19))); } { - PyDict_SetItemString(d,"WXK_SPECIAL12", SWIG_From_int((int)(WXK_SPECIAL12))); + PyDict_SetItemString(d,"WXK_SPECIAL20", SWIG_From_int(static_cast(WXK_SPECIAL20))); } { - PyDict_SetItemString(d,"WXK_SPECIAL13", SWIG_From_int((int)(WXK_SPECIAL13))); + PyDict_SetItemString(d,"PAPER_NONE", SWIG_From_int(static_cast(wxPAPER_NONE))); } { - PyDict_SetItemString(d,"WXK_SPECIAL14", SWIG_From_int((int)(WXK_SPECIAL14))); + PyDict_SetItemString(d,"PAPER_LETTER", SWIG_From_int(static_cast(wxPAPER_LETTER))); } { - PyDict_SetItemString(d,"WXK_SPECIAL15", SWIG_From_int((int)(WXK_SPECIAL15))); + PyDict_SetItemString(d,"PAPER_LEGAL", SWIG_From_int(static_cast(wxPAPER_LEGAL))); } { - PyDict_SetItemString(d,"WXK_SPECIAL16", SWIG_From_int((int)(WXK_SPECIAL16))); + PyDict_SetItemString(d,"PAPER_A4", SWIG_From_int(static_cast(wxPAPER_A4))); } { - PyDict_SetItemString(d,"WXK_SPECIAL17", SWIG_From_int((int)(WXK_SPECIAL17))); + PyDict_SetItemString(d,"PAPER_CSHEET", SWIG_From_int(static_cast(wxPAPER_CSHEET))); } { - PyDict_SetItemString(d,"WXK_SPECIAL18", SWIG_From_int((int)(WXK_SPECIAL18))); + PyDict_SetItemString(d,"PAPER_DSHEET", SWIG_From_int(static_cast(wxPAPER_DSHEET))); } { - PyDict_SetItemString(d,"WXK_SPECIAL19", SWIG_From_int((int)(WXK_SPECIAL19))); + PyDict_SetItemString(d,"PAPER_ESHEET", SWIG_From_int(static_cast(wxPAPER_ESHEET))); } { - PyDict_SetItemString(d,"WXK_SPECIAL20", SWIG_From_int((int)(WXK_SPECIAL20))); + PyDict_SetItemString(d,"PAPER_LETTERSMALL", SWIG_From_int(static_cast(wxPAPER_LETTERSMALL))); } { - PyDict_SetItemString(d,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE))); + PyDict_SetItemString(d,"PAPER_TABLOID", SWIG_From_int(static_cast(wxPAPER_TABLOID))); } { - PyDict_SetItemString(d,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER))); + PyDict_SetItemString(d,"PAPER_LEDGER", SWIG_From_int(static_cast(wxPAPER_LEDGER))); } { - PyDict_SetItemString(d,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL))); + PyDict_SetItemString(d,"PAPER_STATEMENT", SWIG_From_int(static_cast(wxPAPER_STATEMENT))); } { - PyDict_SetItemString(d,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4))); + PyDict_SetItemString(d,"PAPER_EXECUTIVE", SWIG_From_int(static_cast(wxPAPER_EXECUTIVE))); } { - PyDict_SetItemString(d,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET))); + PyDict_SetItemString(d,"PAPER_A3", SWIG_From_int(static_cast(wxPAPER_A3))); } { - PyDict_SetItemString(d,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET))); + PyDict_SetItemString(d,"PAPER_A4SMALL", SWIG_From_int(static_cast(wxPAPER_A4SMALL))); } { - PyDict_SetItemString(d,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET))); + PyDict_SetItemString(d,"PAPER_A5", SWIG_From_int(static_cast(wxPAPER_A5))); } { - PyDict_SetItemString(d,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL))); + PyDict_SetItemString(d,"PAPER_B4", SWIG_From_int(static_cast(wxPAPER_B4))); } { - PyDict_SetItemString(d,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID))); + PyDict_SetItemString(d,"PAPER_B5", SWIG_From_int(static_cast(wxPAPER_B5))); } { - PyDict_SetItemString(d,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER))); + PyDict_SetItemString(d,"PAPER_FOLIO", SWIG_From_int(static_cast(wxPAPER_FOLIO))); } { - PyDict_SetItemString(d,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT))); + PyDict_SetItemString(d,"PAPER_QUARTO", SWIG_From_int(static_cast(wxPAPER_QUARTO))); } { - PyDict_SetItemString(d,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE))); + PyDict_SetItemString(d,"PAPER_10X14", SWIG_From_int(static_cast(wxPAPER_10X14))); } { - PyDict_SetItemString(d,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3))); + PyDict_SetItemString(d,"PAPER_11X17", SWIG_From_int(static_cast(wxPAPER_11X17))); } { - PyDict_SetItemString(d,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL))); + PyDict_SetItemString(d,"PAPER_NOTE", SWIG_From_int(static_cast(wxPAPER_NOTE))); } { - PyDict_SetItemString(d,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5))); + PyDict_SetItemString(d,"PAPER_ENV_9", SWIG_From_int(static_cast(wxPAPER_ENV_9))); } { - PyDict_SetItemString(d,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4))); + PyDict_SetItemString(d,"PAPER_ENV_10", SWIG_From_int(static_cast(wxPAPER_ENV_10))); } { - PyDict_SetItemString(d,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5))); + PyDict_SetItemString(d,"PAPER_ENV_11", SWIG_From_int(static_cast(wxPAPER_ENV_11))); } { - PyDict_SetItemString(d,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO))); + PyDict_SetItemString(d,"PAPER_ENV_12", SWIG_From_int(static_cast(wxPAPER_ENV_12))); } { - PyDict_SetItemString(d,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO))); + PyDict_SetItemString(d,"PAPER_ENV_14", SWIG_From_int(static_cast(wxPAPER_ENV_14))); } { - PyDict_SetItemString(d,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14))); + PyDict_SetItemString(d,"PAPER_ENV_DL", SWIG_From_int(static_cast(wxPAPER_ENV_DL))); } { - PyDict_SetItemString(d,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17))); + PyDict_SetItemString(d,"PAPER_ENV_C5", SWIG_From_int(static_cast(wxPAPER_ENV_C5))); } { - PyDict_SetItemString(d,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE))); + PyDict_SetItemString(d,"PAPER_ENV_C3", SWIG_From_int(static_cast(wxPAPER_ENV_C3))); } { - PyDict_SetItemString(d,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9))); + PyDict_SetItemString(d,"PAPER_ENV_C4", SWIG_From_int(static_cast(wxPAPER_ENV_C4))); } { - PyDict_SetItemString(d,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10))); + PyDict_SetItemString(d,"PAPER_ENV_C6", SWIG_From_int(static_cast(wxPAPER_ENV_C6))); } { - PyDict_SetItemString(d,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11))); + PyDict_SetItemString(d,"PAPER_ENV_C65", SWIG_From_int(static_cast(wxPAPER_ENV_C65))); } { - PyDict_SetItemString(d,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12))); + PyDict_SetItemString(d,"PAPER_ENV_B4", SWIG_From_int(static_cast(wxPAPER_ENV_B4))); } { - PyDict_SetItemString(d,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14))); + PyDict_SetItemString(d,"PAPER_ENV_B5", SWIG_From_int(static_cast(wxPAPER_ENV_B5))); } { - PyDict_SetItemString(d,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL))); + PyDict_SetItemString(d,"PAPER_ENV_B6", SWIG_From_int(static_cast(wxPAPER_ENV_B6))); } { - PyDict_SetItemString(d,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5))); + PyDict_SetItemString(d,"PAPER_ENV_ITALY", SWIG_From_int(static_cast(wxPAPER_ENV_ITALY))); } { - PyDict_SetItemString(d,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3))); + PyDict_SetItemString(d,"PAPER_ENV_MONARCH", SWIG_From_int(static_cast(wxPAPER_ENV_MONARCH))); } { - PyDict_SetItemString(d,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4))); + PyDict_SetItemString(d,"PAPER_ENV_PERSONAL", SWIG_From_int(static_cast(wxPAPER_ENV_PERSONAL))); } { - PyDict_SetItemString(d,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6))); + PyDict_SetItemString(d,"PAPER_FANFOLD_US", SWIG_From_int(static_cast(wxPAPER_FANFOLD_US))); } { - PyDict_SetItemString(d,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65))); + PyDict_SetItemString(d,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int(static_cast(wxPAPER_FANFOLD_STD_GERMAN))); } { - PyDict_SetItemString(d,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4))); + PyDict_SetItemString(d,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int(static_cast(wxPAPER_FANFOLD_LGL_GERMAN))); } { - PyDict_SetItemString(d,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5))); + PyDict_SetItemString(d,"PAPER_ISO_B4", SWIG_From_int(static_cast(wxPAPER_ISO_B4))); } { - PyDict_SetItemString(d,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6))); + PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD", SWIG_From_int(static_cast(wxPAPER_JAPANESE_POSTCARD))); } { - PyDict_SetItemString(d,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY))); + PyDict_SetItemString(d,"PAPER_9X11", SWIG_From_int(static_cast(wxPAPER_9X11))); } { - PyDict_SetItemString(d,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH))); + PyDict_SetItemString(d,"PAPER_10X11", SWIG_From_int(static_cast(wxPAPER_10X11))); } { - PyDict_SetItemString(d,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL))); + PyDict_SetItemString(d,"PAPER_15X11", SWIG_From_int(static_cast(wxPAPER_15X11))); } { - PyDict_SetItemString(d,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US))); + PyDict_SetItemString(d,"PAPER_ENV_INVITE", SWIG_From_int(static_cast(wxPAPER_ENV_INVITE))); } { - PyDict_SetItemString(d,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN))); + PyDict_SetItemString(d,"PAPER_LETTER_EXTRA", SWIG_From_int(static_cast(wxPAPER_LETTER_EXTRA))); } { - PyDict_SetItemString(d,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN))); + PyDict_SetItemString(d,"PAPER_LEGAL_EXTRA", SWIG_From_int(static_cast(wxPAPER_LEGAL_EXTRA))); } { - PyDict_SetItemString(d,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4))); + PyDict_SetItemString(d,"PAPER_TABLOID_EXTRA", SWIG_From_int(static_cast(wxPAPER_TABLOID_EXTRA))); } { - PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD))); + PyDict_SetItemString(d,"PAPER_A4_EXTRA", SWIG_From_int(static_cast(wxPAPER_A4_EXTRA))); } { - PyDict_SetItemString(d,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11))); + PyDict_SetItemString(d,"PAPER_LETTER_TRANSVERSE", SWIG_From_int(static_cast(wxPAPER_LETTER_TRANSVERSE))); } { - PyDict_SetItemString(d,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11))); + PyDict_SetItemString(d,"PAPER_A4_TRANSVERSE", SWIG_From_int(static_cast(wxPAPER_A4_TRANSVERSE))); } { - PyDict_SetItemString(d,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11))); + PyDict_SetItemString(d,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int(static_cast(wxPAPER_LETTER_EXTRA_TRANSVERSE))); } { - PyDict_SetItemString(d,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE))); + PyDict_SetItemString(d,"PAPER_A_PLUS", SWIG_From_int(static_cast(wxPAPER_A_PLUS))); } { - PyDict_SetItemString(d,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA))); + PyDict_SetItemString(d,"PAPER_B_PLUS", SWIG_From_int(static_cast(wxPAPER_B_PLUS))); } { - PyDict_SetItemString(d,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA))); + PyDict_SetItemString(d,"PAPER_LETTER_PLUS", SWIG_From_int(static_cast(wxPAPER_LETTER_PLUS))); } { - PyDict_SetItemString(d,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA))); + PyDict_SetItemString(d,"PAPER_A4_PLUS", SWIG_From_int(static_cast(wxPAPER_A4_PLUS))); } { - PyDict_SetItemString(d,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA))); + PyDict_SetItemString(d,"PAPER_A5_TRANSVERSE", SWIG_From_int(static_cast(wxPAPER_A5_TRANSVERSE))); } { - PyDict_SetItemString(d,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE))); + PyDict_SetItemString(d,"PAPER_B5_TRANSVERSE", SWIG_From_int(static_cast(wxPAPER_B5_TRANSVERSE))); } { - PyDict_SetItemString(d,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE))); + PyDict_SetItemString(d,"PAPER_A3_EXTRA", SWIG_From_int(static_cast(wxPAPER_A3_EXTRA))); } { - PyDict_SetItemString(d,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE))); + PyDict_SetItemString(d,"PAPER_A5_EXTRA", SWIG_From_int(static_cast(wxPAPER_A5_EXTRA))); } { - PyDict_SetItemString(d,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS))); + PyDict_SetItemString(d,"PAPER_B5_EXTRA", SWIG_From_int(static_cast(wxPAPER_B5_EXTRA))); } { - PyDict_SetItemString(d,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS))); + PyDict_SetItemString(d,"PAPER_A2", SWIG_From_int(static_cast(wxPAPER_A2))); } { - PyDict_SetItemString(d,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS))); + PyDict_SetItemString(d,"PAPER_A3_TRANSVERSE", SWIG_From_int(static_cast(wxPAPER_A3_TRANSVERSE))); } { - PyDict_SetItemString(d,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS))); + PyDict_SetItemString(d,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int(static_cast(wxPAPER_A3_EXTRA_TRANSVERSE))); } { - PyDict_SetItemString(d,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE))); + PyDict_SetItemString(d,"PAPER_DBL_JAPANESE_POSTCARD", SWIG_From_int(static_cast(wxPAPER_DBL_JAPANESE_POSTCARD))); } { - PyDict_SetItemString(d,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE))); + PyDict_SetItemString(d,"PAPER_A6", SWIG_From_int(static_cast(wxPAPER_A6))); } { - PyDict_SetItemString(d,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA))); + PyDict_SetItemString(d,"PAPER_JENV_KAKU2", SWIG_From_int(static_cast(wxPAPER_JENV_KAKU2))); } { - PyDict_SetItemString(d,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA))); + PyDict_SetItemString(d,"PAPER_JENV_KAKU3", SWIG_From_int(static_cast(wxPAPER_JENV_KAKU3))); } { - PyDict_SetItemString(d,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA))); + PyDict_SetItemString(d,"PAPER_JENV_CHOU3", SWIG_From_int(static_cast(wxPAPER_JENV_CHOU3))); } { - PyDict_SetItemString(d,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2))); + PyDict_SetItemString(d,"PAPER_JENV_CHOU4", SWIG_From_int(static_cast(wxPAPER_JENV_CHOU4))); } { - PyDict_SetItemString(d,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE))); + PyDict_SetItemString(d,"PAPER_LETTER_ROTATED", SWIG_From_int(static_cast(wxPAPER_LETTER_ROTATED))); } { - PyDict_SetItemString(d,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE))); + PyDict_SetItemString(d,"PAPER_A3_ROTATED", SWIG_From_int(static_cast(wxPAPER_A3_ROTATED))); } { - PyDict_SetItemString(d,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX))); + PyDict_SetItemString(d,"PAPER_A4_ROTATED", SWIG_From_int(static_cast(wxPAPER_A4_ROTATED))); } { - PyDict_SetItemString(d,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL))); + PyDict_SetItemString(d,"PAPER_A5_ROTATED", SWIG_From_int(static_cast(wxPAPER_A5_ROTATED))); } { - PyDict_SetItemString(d,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL))); + PyDict_SetItemString(d,"PAPER_B4_JIS_ROTATED", SWIG_From_int(static_cast(wxPAPER_B4_JIS_ROTATED))); } { - PyDict_SetItemString(d,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR))); + PyDict_SetItemString(d,"PAPER_B5_JIS_ROTATED", SWIG_From_int(static_cast(wxPAPER_B5_JIS_ROTATED))); } { - PyDict_SetItemString(d,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL))); + PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD_ROTATED", SWIG_From_int(static_cast(wxPAPER_JAPANESE_POSTCARD_ROTATED))); } { - PyDict_SetItemString(d,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK))); + PyDict_SetItemString(d,"PAPER_DBL_JAPANESE_POSTCARD_ROTATED", SWIG_From_int(static_cast(wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED))); } { - PyDict_SetItemString(d,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO))); + PyDict_SetItemString(d,"PAPER_A6_ROTATED", SWIG_From_int(static_cast(wxPAPER_A6_ROTATED))); } { - PyDict_SetItemString(d,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX))); + PyDict_SetItemString(d,"PAPER_JENV_KAKU2_ROTATED", SWIG_From_int(static_cast(wxPAPER_JENV_KAKU2_ROTATED))); } { - PyDict_SetItemString(d,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE))); + PyDict_SetItemString(d,"PAPER_JENV_KAKU3_ROTATED", SWIG_From_int(static_cast(wxPAPER_JENV_KAKU3_ROTATED))); } { - PyDict_SetItemString(d,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST))); + PyDict_SetItemString(d,"PAPER_JENV_CHOU3_ROTATED", SWIG_From_int(static_cast(wxPAPER_JENV_CHOU3_ROTATED))); } { - PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1))); + PyDict_SetItemString(d,"PAPER_JENV_CHOU4_ROTATED", SWIG_From_int(static_cast(wxPAPER_JENV_CHOU4_ROTATED))); } { - PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2))); + PyDict_SetItemString(d,"PAPER_B6_JIS", SWIG_From_int(static_cast(wxPAPER_B6_JIS))); } { - PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1))); + PyDict_SetItemString(d,"PAPER_B6_JIS_ROTATED", SWIG_From_int(static_cast(wxPAPER_B6_JIS_ROTATED))); } { - PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2))); + PyDict_SetItemString(d,"PAPER_12X11", SWIG_From_int(static_cast(wxPAPER_12X11))); } { - PyDict_SetItemString(d,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB))); + PyDict_SetItemString(d,"PAPER_JENV_YOU4", SWIG_From_int(static_cast(wxPAPER_JENV_YOU4))); } { - PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1))); + PyDict_SetItemString(d,"PAPER_JENV_YOU4_ROTATED", SWIG_From_int(static_cast(wxPAPER_JENV_YOU4_ROTATED))); } { - PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2))); + PyDict_SetItemString(d,"PAPER_P16K", SWIG_From_int(static_cast(wxPAPER_P16K))); } { - PyDict_SetItemString(d,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST))); + PyDict_SetItemString(d,"PAPER_P32K", SWIG_From_int(static_cast(wxPAPER_P32K))); } { - PyDict_SetItemString(d,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE))); + PyDict_SetItemString(d,"PAPER_P32KBIG", SWIG_From_int(static_cast(wxPAPER_P32KBIG))); } { - PyDict_SetItemString(d,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE))); + PyDict_SetItemString(d,"PAPER_PENV_1", SWIG_From_int(static_cast(wxPAPER_PENV_1))); } { - PyDict_SetItemString(d,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR))); + PyDict_SetItemString(d,"PAPER_PENV_2", SWIG_From_int(static_cast(wxPAPER_PENV_2))); } { - PyDict_SetItemString(d,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR))); + PyDict_SetItemString(d,"PAPER_PENV_3", SWIG_From_int(static_cast(wxPAPER_PENV_3))); } { - PyDict_SetItemString(d,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER))); + PyDict_SetItemString(d,"PAPER_PENV_4", SWIG_From_int(static_cast(wxPAPER_PENV_4))); } { - PyDict_SetItemString(d,"HT_MAX", SWIG_From_int((int)(wxHT_MAX))); + PyDict_SetItemString(d,"PAPER_PENV_5", SWIG_From_int(static_cast(wxPAPER_PENV_5))); } { - PyDict_SetItemString(d,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE))); + PyDict_SetItemString(d,"PAPER_PENV_6", SWIG_From_int(static_cast(wxPAPER_PENV_6))); } { - PyDict_SetItemString(d,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT))); + PyDict_SetItemString(d,"PAPER_PENV_7", SWIG_From_int(static_cast(wxPAPER_PENV_7))); } { - PyDict_SetItemString(d,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL))); + PyDict_SetItemString(d,"PAPER_PENV_8", SWIG_From_int(static_cast(wxPAPER_PENV_8))); } { - PyDict_SetItemString(d,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT))); + PyDict_SetItemString(d,"PAPER_PENV_9", SWIG_From_int(static_cast(wxPAPER_PENV_9))); } { - PyDict_SetItemString(d,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN))); + PyDict_SetItemString(d,"PAPER_PENV_10", SWIG_From_int(static_cast(wxPAPER_PENV_10))); } { - PyDict_SetItemString(d,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE))); + PyDict_SetItemString(d,"PAPER_P16K_ROTATED", SWIG_From_int(static_cast(wxPAPER_P16K_ROTATED))); } { - PyDict_SetItemString(d,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE))); + PyDict_SetItemString(d,"PAPER_P32K_ROTATED", SWIG_From_int(static_cast(wxPAPER_P32K_ROTATED))); } { - PyDict_SetItemString(d,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE))); + PyDict_SetItemString(d,"PAPER_P32KBIG_ROTATED", SWIG_From_int(static_cast(wxPAPER_P32KBIG_ROTATED))); + } + { + PyDict_SetItemString(d,"PAPER_PENV_1_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_1_ROTATED))); + } + { + PyDict_SetItemString(d,"PAPER_PENV_2_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_2_ROTATED))); + } + { + PyDict_SetItemString(d,"PAPER_PENV_3_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_3_ROTATED))); + } + { + PyDict_SetItemString(d,"PAPER_PENV_4_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_4_ROTATED))); + } + { + PyDict_SetItemString(d,"PAPER_PENV_5_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_5_ROTATED))); + } + { + PyDict_SetItemString(d,"PAPER_PENV_6_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_6_ROTATED))); + } + { + PyDict_SetItemString(d,"PAPER_PENV_7_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_7_ROTATED))); + } + { + PyDict_SetItemString(d,"PAPER_PENV_8_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_8_ROTATED))); + } + { + PyDict_SetItemString(d,"PAPER_PENV_9_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_9_ROTATED))); + } + { + PyDict_SetItemString(d,"PAPER_PENV_10_ROTATED", SWIG_From_int(static_cast(wxPAPER_PENV_10_ROTATED))); + } + { + PyDict_SetItemString(d,"DUPLEX_SIMPLEX", SWIG_From_int(static_cast(wxDUPLEX_SIMPLEX))); + } + { + PyDict_SetItemString(d,"DUPLEX_HORIZONTAL", SWIG_From_int(static_cast(wxDUPLEX_HORIZONTAL))); + } + { + PyDict_SetItemString(d,"DUPLEX_VERTICAL", SWIG_From_int(static_cast(wxDUPLEX_VERTICAL))); + } + { + PyDict_SetItemString(d,"ITEM_SEPARATOR", SWIG_From_int(static_cast(wxITEM_SEPARATOR))); + } + { + PyDict_SetItemString(d,"ITEM_NORMAL", SWIG_From_int(static_cast(wxITEM_NORMAL))); + } + { + PyDict_SetItemString(d,"ITEM_CHECK", SWIG_From_int(static_cast(wxITEM_CHECK))); + } + { + 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,"BITMAP_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,"BITMAP_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,"BITMAP_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,"BITMAP_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,"BITMAP_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,"BITMAP_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,"BITMAP_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,"BITMAP_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,"BITMAP_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,"BITMAP_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,"BITMAP_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,"BITMAP_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,"BITMAP_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,"BITMAP_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,"BITMAP_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,"BITMAP_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,"BITMAP_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,"BITMAP_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,"BITMAP_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,"BITMAP_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,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE))); + PyDict_SetItemString(d,"CURSOR_NONE", SWIG_From_int(static_cast(wxCURSOR_NONE))); } { - PyDict_SetItemString(d,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW))); + PyDict_SetItemString(d,"CURSOR_ARROW", SWIG_From_int(static_cast(wxCURSOR_ARROW))); } { - PyDict_SetItemString(d,"CURSOR_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,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE))); + PyDict_SetItemString(d,"CURSOR_BULLSEYE", SWIG_From_int(static_cast(wxCURSOR_BULLSEYE))); } { - PyDict_SetItemString(d,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR))); + PyDict_SetItemString(d,"CURSOR_CHAR", SWIG_From_int(static_cast(wxCURSOR_CHAR))); } { - PyDict_SetItemString(d,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS))); + PyDict_SetItemString(d,"CURSOR_CROSS", SWIG_From_int(static_cast(wxCURSOR_CROSS))); } { - PyDict_SetItemString(d,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND))); + PyDict_SetItemString(d,"CURSOR_HAND", SWIG_From_int(static_cast(wxCURSOR_HAND))); } { - PyDict_SetItemString(d,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM))); + PyDict_SetItemString(d,"CURSOR_IBEAM", SWIG_From_int(static_cast(wxCURSOR_IBEAM))); } { - PyDict_SetItemString(d,"CURSOR_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,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER))); + PyDict_SetItemString(d,"CURSOR_MAGNIFIER", SWIG_From_int(static_cast(wxCURSOR_MAGNIFIER))); } { - PyDict_SetItemString(d,"CURSOR_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,"CURSOR_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,"CURSOR_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,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL))); + PyDict_SetItemString(d,"CURSOR_PENCIL", SWIG_From_int(static_cast(wxCURSOR_PENCIL))); } { - PyDict_SetItemString(d,"CURSOR_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,"CURSOR_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,"CURSOR_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,"CURSOR_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,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW))); + PyDict_SetItemString(d,"CURSOR_SIZENESW", SWIG_From_int(static_cast(wxCURSOR_SIZENESW))); } { - PyDict_SetItemString(d,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS))); + PyDict_SetItemString(d,"CURSOR_SIZENS", SWIG_From_int(static_cast(wxCURSOR_SIZENS))); } { - PyDict_SetItemString(d,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE))); + PyDict_SetItemString(d,"CURSOR_SIZENWSE", SWIG_From_int(static_cast(wxCURSOR_SIZENWSE))); } { - PyDict_SetItemString(d,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE))); + PyDict_SetItemString(d,"CURSOR_SIZEWE", SWIG_From_int(static_cast(wxCURSOR_SIZEWE))); } { - PyDict_SetItemString(d,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING))); + PyDict_SetItemString(d,"CURSOR_SIZING", SWIG_From_int(static_cast(wxCURSOR_SIZING))); } { - PyDict_SetItemString(d,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN))); + PyDict_SetItemString(d,"CURSOR_SPRAYCAN", SWIG_From_int(static_cast(wxCURSOR_SPRAYCAN))); } { - PyDict_SetItemString(d,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT))); + PyDict_SetItemString(d,"CURSOR_WAIT", SWIG_From_int(static_cast(wxCURSOR_WAIT))); } { - PyDict_SetItemString(d,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH))); + PyDict_SetItemString(d,"CURSOR_WATCH", SWIG_From_int(static_cast(wxCURSOR_WATCH))); } { - PyDict_SetItemString(d,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK))); + PyDict_SetItemString(d,"CURSOR_BLANK", SWIG_From_int(static_cast(wxCURSOR_BLANK))); } { - PyDict_SetItemString(d,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT))); + PyDict_SetItemString(d,"CURSOR_DEFAULT", SWIG_From_int(static_cast(wxCURSOR_DEFAULT))); } { - PyDict_SetItemString(d,"CURSOR_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,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT))); + PyDict_SetItemString(d,"CURSOR_ARROWWAIT", SWIG_From_int(static_cast(wxCURSOR_ARROWWAIT))); } { - PyDict_SetItemString(d,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX))); + PyDict_SetItemString(d,"CURSOR_MAX", SWIG_From_int(static_cast(wxCURSOR_MAX))); } 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,"FromStart", SWIG_From_int((int)(wxFromStart))); + PyDict_SetItemString(d,"FromStart", SWIG_From_int(static_cast(wxFromStart))); } { - PyDict_SetItemString(d,"FromCurrent", SWIG_From_int((int)(wxFromCurrent))); + PyDict_SetItemString(d,"FromCurrent", SWIG_From_int(static_cast(wxFromCurrent))); } { - PyDict_SetItemString(d,"FromEnd", SWIG_From_int((int)(wxFromEnd))); + PyDict_SetItemString(d,"FromEnd", SWIG_From_int(static_cast(wxFromEnd))); } wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream"); @@ -49516,6 +51267,15 @@ SWIGEXPORT(void) SWIG_init(void) { wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler"); + { + 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); @@ -49527,10 +51287,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,"IMAGE_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,"IMAGE_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); @@ -49539,52 +51299,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,"PNG_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,"PNG_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,"PNG_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,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP))); + PyDict_SetItemString(d,"BMP_24BPP", SWIG_From_int(static_cast(wxBMP_24BPP))); } { - PyDict_SetItemString(d,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP))); + PyDict_SetItemString(d,"BMP_8BPP", SWIG_From_int(static_cast(wxBMP_8BPP))); } { - PyDict_SetItemString(d,"BMP_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,"BMP_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,"BMP_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,"BMP_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,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP))); + PyDict_SetItemString(d,"BMP_4BPP", SWIG_From_int(static_cast(wxBMP_4BPP))); } { - PyDict_SetItemString(d,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP))); + PyDict_SetItemString(d,"BMP_1BPP", SWIG_From_int(static_cast(wxBMP_1BPP))); } { - PyDict_SetItemString(d,"BMP_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,"QUANTIZE_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,"QUANTIZE_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,"EVENT_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,"EVENT_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)); @@ -49648,7 +51408,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)); @@ -49702,148 +51462,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,"MOUSE_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,"MOUSE_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,"MOUSE_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,"MOUSE_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,"MOUSE_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,"UPDATE_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,"UPDATE_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,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward))); + PyDict_SetItemString(d,"NavigationKeyEvent_IsBackward", SWIG_From_int(static_cast(wxNavigationKeyEvent::IsBackward))); } { - PyDict_SetItemString(d,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward))); + PyDict_SetItemString(d,"NavigationKeyEvent_IsForward", SWIG_From_int(static_cast(wxNavigationKeyEvent::IsForward))); } { - PyDict_SetItemString(d,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange))); + PyDict_SetItemString(d,"NavigationKeyEvent_WinChange", SWIG_From_int(static_cast(wxNavigationKeyEvent::WinChange))); } { - PyDict_SetItemString(d,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab))); + PyDict_SetItemString(d,"NavigationKeyEvent_FromTab", SWIG_From_int(static_cast(wxNavigationKeyEvent::FromTab))); } { - PyDict_SetItemString(d,"IDLE_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,"IDLE_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,"PYAPP_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,"PYAPP_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,"PYAPP_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,"PYAPP_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,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS))); + PyDict_SetItemString(d,"PRINT_WINDOWS", SWIG_From_int(static_cast(wxPRINT_WINDOWS))); } { - PyDict_SetItemString(d,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT))); + PyDict_SetItemString(d,"PRINT_POSTSCRIPT", SWIG_From_int(static_cast(wxPRINT_POSTSCRIPT))); } 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,"WINDOW_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,"WINDOW_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,"WINDOW_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,"WINDOW_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,"WINDOW_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*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set); SWIG_addvarlink(SWIG_globals,(char*)"ControlNameStr",_wrap_ControlNameStr_get, _wrap_ControlNameStr_set); { - PyDict_SetItemString(d,"FLEX_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,"FLEX_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,"FLEX_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*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set); { - PyDict_SetItemString(d,"Left", SWIG_From_int((int)(wxLeft))); + PyDict_SetItemString(d,"Left", SWIG_From_int(static_cast(wxLeft))); } { - PyDict_SetItemString(d,"Top", SWIG_From_int((int)(wxTop))); + PyDict_SetItemString(d,"Top", SWIG_From_int(static_cast(wxTop))); } { - PyDict_SetItemString(d,"Right", SWIG_From_int((int)(wxRight))); + PyDict_SetItemString(d,"Right", SWIG_From_int(static_cast(wxRight))); } { - PyDict_SetItemString(d,"Bottom", SWIG_From_int((int)(wxBottom))); + PyDict_SetItemString(d,"Bottom", SWIG_From_int(static_cast(wxBottom))); } { - PyDict_SetItemString(d,"Width", SWIG_From_int((int)(wxWidth))); + PyDict_SetItemString(d,"Width", SWIG_From_int(static_cast(wxWidth))); } { - PyDict_SetItemString(d,"Height", SWIG_From_int((int)(wxHeight))); + PyDict_SetItemString(d,"Height", SWIG_From_int(static_cast(wxHeight))); } { - PyDict_SetItemString(d,"Centre", SWIG_From_int((int)(wxCentre))); + PyDict_SetItemString(d,"Centre", SWIG_From_int(static_cast(wxCentre))); } { - PyDict_SetItemString(d,"Center", SWIG_From_int((int)(wxCenter))); + PyDict_SetItemString(d,"Center", SWIG_From_int(static_cast(wxCenter))); } { - PyDict_SetItemString(d,"CentreX", SWIG_From_int((int)(wxCentreX))); + PyDict_SetItemString(d,"CentreX", SWIG_From_int(static_cast(wxCentreX))); } { - PyDict_SetItemString(d,"CentreY", SWIG_From_int((int)(wxCentreY))); + PyDict_SetItemString(d,"CentreY", SWIG_From_int(static_cast(wxCentreY))); } { - PyDict_SetItemString(d,"Unconstrained", SWIG_From_int((int)(wxUnconstrained))); + PyDict_SetItemString(d,"Unconstrained", SWIG_From_int(static_cast(wxUnconstrained))); } { - PyDict_SetItemString(d,"AsIs", SWIG_From_int((int)(wxAsIs))); + PyDict_SetItemString(d,"AsIs", SWIG_From_int(static_cast(wxAsIs))); } { - PyDict_SetItemString(d,"PercentOf", SWIG_From_int((int)(wxPercentOf))); + PyDict_SetItemString(d,"PercentOf", SWIG_From_int(static_cast(wxPercentOf))); } { - PyDict_SetItemString(d,"Above", SWIG_From_int((int)(wxAbove))); + PyDict_SetItemString(d,"Above", SWIG_From_int(static_cast(wxAbove))); } { - PyDict_SetItemString(d,"Below", SWIG_From_int((int)(wxBelow))); + PyDict_SetItemString(d,"Below", SWIG_From_int(static_cast(wxBelow))); } { - PyDict_SetItemString(d,"LeftOf", SWIG_From_int((int)(wxLeftOf))); + PyDict_SetItemString(d,"LeftOf", SWIG_From_int(static_cast(wxLeftOf))); } { - PyDict_SetItemString(d,"RightOf", SWIG_From_int((int)(wxRightOf))); + PyDict_SetItemString(d,"RightOf", SWIG_From_int(static_cast(wxRightOf))); } { - PyDict_SetItemString(d,"SameAs", SWIG_From_int((int)(wxSameAs))); + PyDict_SetItemString(d,"SameAs", SWIG_From_int(static_cast(wxSameAs))); } { - PyDict_SetItemString(d,"Absolute", SWIG_From_int((int)(wxAbsolute))); + PyDict_SetItemString(d,"Absolute", SWIG_From_int(static_cast(wxAbsolute))); } // Initialize threading, some globals and such