X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53aa7709e08bb3cdaa8ec5c4977f32e817aff7d6..e17b4db3f8167a2eb8dc831775de4b7d86948da6:/wxPython/src/gtk/_misc_wrap.cpp diff --git a/wxPython/src/gtk/_misc_wrap.cpp b/wxPython/src/gtk/_misc_wrap.cpp index be0cc21e50..87e0346b4c 100644 --- a/wxPython/src/gtk/_misc_wrap.cpp +++ b/wxPython/src/gtk/_misc_wrap.cpp @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 1.3.24 + * Version 1.3.27 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency. Do not make @@ -9,6 +9,7 @@ * ----------------------------------------------------------------------------- */ #define SWIGPYTHON +#define SWIG_VERSION 0x010327 #ifdef __cplusplus template class SwigValueWrapper { @@ -26,15 +27,73 @@ private: }; #endif +/*********************************************************************** + * + * This section contains generic SWIG labels for method/variable + * declarations/attributes, and other compiler dependent labels. + * + ************************************************************************/ -#ifndef SWIG_TEMPLATE_DISAMBIGUATOR -# if defined(__SUNPRO_CC) -# define SWIG_TEMPLATE_DISAMBIGUATOR template +/* template workaround for compilers that cannot correctly implement the C++ standard */ +#ifndef SWIGTEMPLATEDISAMBIGUATOR +# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) +# define SWIGTEMPLATEDISAMBIGUATOR template # else -# define SWIG_TEMPLATE_DISAMBIGUATOR +# define SWIGTEMPLATEDISAMBIGUATOR # endif #endif +/* inline attribute */ +#ifndef SWIGINLINE +# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) +# define SWIGINLINE inline +# else +# define SWIGINLINE +# endif +#endif + +/* attribute recognised by some compilers to avoid 'unused' warnings */ +#ifndef SWIGUNUSED +# if defined(__GNUC__) || defined(__ICC) +# define SWIGUNUSED __attribute__ ((unused)) +# else +# define SWIGUNUSED +# endif +#endif + +/* internal SWIG method */ +#ifndef SWIGINTERN +# define SWIGINTERN static SWIGUNUSED +#endif + +/* internal inline SWIG method */ +#ifndef SWIGINTERNINLINE +# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE +#endif + +/* exporting methods for Windows DLLs */ +#ifndef SWIGEXPORT +# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) +# if defined(STATIC_LINKED) +# define SWIGEXPORT +# else +# define SWIGEXPORT __declspec(dllexport) +# endif +# else +# define SWIGEXPORT +# endif +#endif + +/* calling conventions for Windows */ +#ifndef SWIGSTDCALL +# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) +# define SWIGSTDCALL __stdcall +# else +# define SWIGSTDCALL +# endif +#endif + + #include @@ -48,25 +107,15 @@ private: /* This should only be incremented when either the layout of swig_type_info changes, or for whatever reason, the runtime changes incompatibly */ -#define SWIG_RUNTIME_VERSION "1" +#define SWIG_RUNTIME_VERSION "2" /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ #ifdef SWIG_TYPE_TABLE -#define SWIG_QUOTE_STRING(x) #x -#define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) -#define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) -#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 +126,17 @@ private: But only do this if is strictly necessary, ie, if you have problems with your compiler or so. */ + #ifndef SWIGRUNTIME -#define SWIGRUNTIME static +# define SWIGRUNTIME SWIGINTERN #endif + #ifndef SWIGRUNTIMEINLINE -#define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE +# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE #endif +#include + #ifdef __cplusplus extern "C" { #endif @@ -91,16 +144,36 @@ extern "C" { typedef void *(*swig_converter_func)(void *); typedef struct swig_type_info *(*swig_dycast_func)(void **); +/* Structure to store inforomation on one type */ typedef struct swig_type_info { - const char *name; - swig_converter_func converter; - const char *str; - void *clientdata; - swig_dycast_func dcast; - struct swig_type_info *next; - struct swig_type_info *prev; + const char *name; /* mangled name of this type */ + const char *str; /* human readable name of this type */ + swig_dycast_func dcast; /* dynamic cast function down a hierarchy */ + struct swig_cast_info *cast; /* linked list of types that can cast into this type */ + void *clientdata; /* language specific type data */ } swig_type_info; +/* Structure to store a type and conversion function used for casting */ +typedef struct swig_cast_info { + swig_type_info *type; /* pointer to type that is equivalent to this type */ + swig_converter_func converter; /* function to cast the void pointers */ + struct swig_cast_info *next; /* pointer to next cast in linked list */ + struct swig_cast_info *prev; /* pointer to the previous cast */ +} swig_cast_info; + +/* Structure used to store module information + * Each module generates one structure like this, and the runtime collects + * all of these structures and stores them in a circularly linked list.*/ +typedef struct swig_module_info { + swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */ + size_t size; /* Number of types in this module */ + struct swig_module_info *next; /* Pointer to next element in circularly linked list */ + swig_type_info **type_initial; /* Array of initially generated type structures */ + swig_cast_info **cast_initial; /* Array of initially generated casting structures */ + void *clientdata; /* Language specific module data */ +} swig_module_info; + + /* Compare two type names skipping the space characters, therefore "char*" == "char *" and "Class" == "Class", etc. @@ -114,13 +187,14 @@ SWIG_TypeNameComp(const char *f1, const char *l1, for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { while ((*f1 == ' ') && (f1 != l1)) ++f1; while ((*f2 == ' ') && (f2 != l2)) ++f2; - if (*f1 != *f2) return *f1 - *f2; + if (*f1 != *f2) return (int)(*f1 - *f2); } return (l1 - f1) - (l2 - f2); } /* Check type equivalence in a name list like ||... + Return 0 if not equal, 1 if equal */ SWIGRUNTIME int SWIG_TypeEquiv(const char *nb, const char *tb) { @@ -131,96 +205,73 @@ SWIG_TypeEquiv(const char *nb, const char *tb) { for (nb = ne; *ne; ++ne) { if (*ne == '|') break; } - equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0; + equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; if (*ne) ++ne; } return equiv; } /* - Register a type mapping with the type-checking + Check type equivalence in a name list like ||... + Return 0 if equal, -1 if nb < tb, 1 if nb > tb */ -SWIGRUNTIME swig_type_info * -SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) { - swig_type_info *tc, *head, *ret, *next; - /* Check to see if this type has already been registered */ - tc = *tl; - while (tc) { - /* check simple type equivalence */ - int typeequiv = (strcmp(tc->name, ti->name) == 0); - /* check full type equivalence, resolving typedefs */ - if (!typeequiv) { - /* only if tc is not a typedef (no '|' on it) */ - if (tc->str && ti->str && !strstr(tc->str,"|")) { - typeequiv = SWIG_TypeEquiv(ti->str,tc->str); - } - } - if (typeequiv) { - /* Already exists in the table. Just add additional types to the list */ - if (ti->clientdata) tc->clientdata = ti->clientdata; - head = tc; - next = tc->next; - goto l1; +SWIGRUNTIME int +SWIG_TypeCompare(const char *nb, const char *tb) { + int equiv = 0; + const char* te = tb + strlen(tb); + const char* ne = nb; + while (!equiv && *ne) { + for (nb = ne; *ne; ++ne) { + if (*ne == '|') break; } - tc = tc->prev; - } - head = ti; - next = 0; - - /* Place in list */ - ti->prev = *tl; - *tl = ti; - - /* Build linked lists */ - l1: - ret = head; - tc = ti + 1; - /* Patch up the rest of the links */ - while (tc->name) { - head->next = tc; - tc->prev = head; - head = tc; - tc++; + equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; + if (*ne) ++ne; } - if (next) next->prev = head; - head->next = next; - - return ret; + return equiv; } + +/* think of this as a c++ template<> or a scheme macro */ +#define SWIG_TypeCheck_Template(comparison, ty) \ + if (ty) { \ + swig_cast_info *iter = ty->cast; \ + while (iter) { \ + if (comparison) { \ + if (iter == ty->cast) return iter; \ + /* Move iter to the top of the linked list */ \ + iter->prev->next = iter->next; \ + if (iter->next) \ + iter->next->prev = iter->prev; \ + iter->next = ty->cast; \ + iter->prev = 0; \ + if (ty->cast) ty->cast->prev = iter; \ + ty->cast = iter; \ + return iter; \ + } \ + iter = iter->next; \ + } \ + } \ + return 0 + /* Check the typename */ -SWIGRUNTIME swig_type_info * +SWIGRUNTIME swig_cast_info * SWIG_TypeCheck(const char *c, swig_type_info *ty) { - swig_type_info *s; - if (!ty) return 0; /* Void pointer */ - s = ty->next; /* First element always just a name */ - do { - if (strcmp(s->name,c) == 0) { - if (s == ty->next) return s; - /* Move s to the top of the linked list */ - s->prev->next = s->next; - if (s->next) { - s->next->prev = s->prev; - } - /* Insert s as second element in the list */ - s->next = ty->next; - if (ty->next) ty->next->prev = s; - ty->next = s; - s->prev = ty; - return s; - } - s = s->next; - } while (s && (s != ty->next)); - return 0; + SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty); +} + +/* Same as previous function, except strcmp is replaced with a pointer comparison */ +SWIGRUNTIME swig_cast_info * +SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) { + SWIG_TypeCheck_Template(iter->type == from, into); } /* Cast a pointer up an inheritance hierarchy */ SWIGRUNTIMEINLINE void * -SWIG_TypeCast(swig_type_info *ty, void *ptr) { +SWIG_TypeCast(swig_cast_info *ty, void *ptr) { return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr); } @@ -267,54 +318,116 @@ SWIG_TypePrettyName(const swig_type_info *type) { return type->name; } -/* - Search for a swig_type_info structure -*/ -SWIGRUNTIME swig_type_info * -SWIG_TypeQueryTL(swig_type_info *tl, const char *name) { - swig_type_info *ty = tl; - while (ty) { - if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty; - if (ty->name && (strcmp(name,ty->name) == 0)) return ty; - ty = ty->prev; - } - return 0; -} - /* Set the clientdata field for a type */ SWIGRUNTIME void -SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) { - swig_type_info *tc, *equiv; - if (ti->clientdata) return; +SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { + swig_cast_info *cast = ti->cast; /* if (ti->clientdata == clientdata) return; */ ti->clientdata = clientdata; - equiv = ti->next; - while (equiv) { - if (!equiv->converter) { - tc = tl; - while (tc) { - if ((strcmp(tc->name, equiv->name) == 0)) - SWIG_TypeClientDataTL(tl,tc,clientdata); - tc = tc->prev; + + while (cast) { + if (!cast->converter) { + swig_type_info *tc = cast->type; + if (!tc->clientdata) { + SWIG_TypeClientData(tc, clientdata); } + } + cast = cast->next; + } +} + +/* + Search for a swig_type_info structure only by mangled name + Search is a O(log #types) + + We start searching at module start, and finish searching when start == end. + Note: if start == end at the beginning of the function, we go all the way around + the circular list. +*/ +SWIGRUNTIME swig_type_info * +SWIG_MangledTypeQueryModule(swig_module_info *start, + swig_module_info *end, + const char *name) { + swig_module_info *iter = start; + do { + if (iter->size) { + register size_t l = 0; + register size_t r = iter->size - 1; + do { + /* since l+r >= 0, we can (>> 1) instead (/ 2) */ + register size_t i = (l + r) >> 1; + const char *iname = iter->types[i]->name; + if (iname) { + register int compare = strcmp(name, iname); + if (compare == 0) { + return iter->types[i]; + } else if (compare < 0) { + if (i) { + r = i - 1; + } else { + break; + } + } else if (compare > 0) { + l = i + 1; + } + } else { + break; /* should never happen */ + } + } while (l <= r); } - equiv = equiv->next; + iter = iter->next; + } while (iter != end); + return 0; +} + +/* + Search for a swig_type_info structure for either a mangled name or a human readable name. + It first searches the mangled names of the types, which is a O(log #types) + If a type is not found it then searches the human readable names, which is O(#types). + + We start searching at module start, and finish searching when start == end. + Note: if start == end at the beginning of the function, we go all the way around + the circular list. +*/ +SWIGRUNTIME swig_type_info * +SWIG_TypeQueryModule(swig_module_info *start, + swig_module_info *end, + const char *name) { + /* STEP 1: Search the name field using binary search */ + swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name); + if (ret) { + return ret; + } else { + /* STEP 2: If the type hasn't been found, do a complete search + of the str field (the human readable name) */ + swig_module_info *iter = start; + do { + register size_t i = 0; + for (; i < iter->size; ++i) { + if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) + return iter->types[i]; + } + iter = iter->next; + } while (iter != end); } + + /* neither found a match */ + return 0; } + /* Pack binary data into a string */ SWIGRUNTIME char * SWIG_PackData(char *c, void *ptr, size_t sz) { - static char hex[17] = "0123456789abcdef"; - unsigned char *u = (unsigned char *) ptr; - const unsigned char *eu = u + sz; - register unsigned char uu; + static const char hex[17] = "0123456789abcdef"; + register const unsigned char *u = (unsigned char *) ptr; + register const unsigned char *eu = u + sz; for (; u != eu; ++u) { - uu = *u; + register unsigned char uu = *u; *(c++) = hex[(uu & 0xf0) >> 4]; *(c++) = hex[uu & 0xf]; } @@ -327,9 +440,9 @@ SWIG_PackData(char *c, void *ptr, size_t sz) { SWIGRUNTIME const char * SWIG_UnpackData(const char *c, void *ptr, size_t sz) { register unsigned char *u = (unsigned char *) ptr; - register const unsigned char *eu = u + sz; + register const unsigned char *eu = u + sz; for (; u != eu; ++u) { - register int d = *(c++); + register char d = *(c++); register unsigned char uu = 0; if ((d >= '0') && (d <= '9')) uu = ((d - '0') << 4); @@ -349,30 +462,6 @@ SWIG_UnpackData(const char *c, void *ptr, size_t sz) { return c; } -/* - This function will propagate the clientdata field of type to any new - swig_type_info structures that have been added into the list of - equivalent types. It is like calling SWIG_TypeClientData(type, - clientdata) a second time. -*/ -SWIGRUNTIME void -SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) { - swig_type_info *equiv = type->next; - swig_type_info *tc; - if (!type->clientdata) return; - while (equiv) { - if (!equiv->converter) { - tc = tl; - while (tc) { - if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata) - SWIG_TypeClientDataTL(tl,tc, type->clientdata); - tc = tc->prev; - } - } - equiv = equiv->next; - } -} - /* Pack 'void *' into a string buffer. */ @@ -432,78 +521,6 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { } #endif -/*********************************************************************** - * common.swg - * - * This file contains generic SWIG runtime support for pointer - * type checking as well as a few commonly used macros to control - * external linkage. - * - * Author : David Beazley (beazley@cs.uchicago.edu) - * - * Copyright (c) 1999-2000, The University of Chicago - * - * This file may be freely redistributed without license or fee provided - * this copyright message remains intact. - ************************************************************************/ - - -#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) -# if !defined(STATIC_LINKED) -# define SWIGEXPORT(a) __declspec(dllexport) a -# else -# define SWIGEXPORT(a) a -# endif -#else -# define SWIGEXPORT(a) a -#endif - -#ifdef __cplusplus -extern "C" { -#endif - - -/*************************************************************************/ - - -/* The static type info list */ - -static swig_type_info *swig_type_list = 0; -static swig_type_info **swig_type_list_handle = &swig_type_list; - - -/* Register a type mapping with the type-checking */ -static swig_type_info * -SWIG_TypeRegister(swig_type_info *ti) { - return SWIG_TypeRegisterTL(swig_type_list_handle, ti); -} - -/* Search for a swig_type_info structure */ -static swig_type_info * -SWIG_TypeQuery(const char *name) { - return SWIG_TypeQueryTL(*swig_type_list_handle, name); -} - -/* Set the clientdata field for a type */ -static void -SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { - SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata); -} - -/* This function will propagate the clientdata field of type to -* any new swig_type_info structures that have been added into the list -* of equivalent types. It is like calling -* SWIG_TypeClientData(type, clientdata) a second time. -*/ -static void -SWIG_PropagateClientData(swig_type_info *type) { - SWIG_PropagateClientDataTL(*swig_type_list_handle, type); -} - -#ifdef __cplusplus -} -#endif - /* ----------------------------------------------------------------------------- * SWIG API. Portion that goes into the runtime * ----------------------------------------------------------------------------- */ @@ -517,18 +534,13 @@ extern "C" { * ----------------------------------------------------------------------------- */ #ifndef SWIGINTERN -#define SWIGINTERN static +# define SWIGINTERN static SWIGUNUSED #endif -#ifndef SWIGINTERNSHORT -#ifdef __cplusplus -#define SWIGINTERNSHORT static inline -#else /* C case */ -#define SWIGINTERNSHORT static -#endif /* __cplusplus */ +#ifndef SWIGINTERNINLINE +# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE #endif - /* Exception handling in wrappers */ @@ -599,6 +611,9 @@ typedef struct swig_const_info { #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) +/* Runtime API */ +#define SWIG_GetModule(clientdata) SWIG_Python_GetModule() +#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) /* ----------------------------------------------------------------------------- * Pointer declarations @@ -617,6 +632,11 @@ typedef struct swig_const_info { #define SWIG_POINTER_DISOWN 0x2 +/* Add PyOS_snprintf for old Pythons */ +#if PY_VERSION_HEX < 0x02020000 +#define PyOS_snprintf snprintf +#endif + #ifdef __cplusplus extern "C" { #endif @@ -624,11 +644,28 @@ extern "C" { /* ----------------------------------------------------------------------------- * Create a new pointer string * ----------------------------------------------------------------------------- */ - #ifndef SWIG_BUFFER_SIZE #define SWIG_BUFFER_SIZE 1024 #endif +/* A crude PyString_FromFormat implementation for old Pythons */ +#if PY_VERSION_HEX < 0x02020000 +static PyObject * +PyString_FromFormat(const char *fmt, ...) { + va_list ap; + char buf[SWIG_BUFFER_SIZE * 2]; + int res; + va_start(ap, fmt); + res = vsnprintf(buf, sizeof(buf), fmt, ap); + va_end(ap); + return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf); +} +#endif + +#if PY_VERSION_HEX < 0x01060000 +#define PyObject_Del(op) PyMem_DEL((op)) +#endif + #if defined(SWIG_COBJECT_TYPES) #if !defined(SWIG_COBJECT_PYTHON) /* ----------------------------------------------------------------------------- @@ -647,6 +684,7 @@ SWIGRUNTIME int PySwigObject_print(PySwigObject *v, FILE *fp, int flags) { char result[SWIG_BUFFER_SIZE]; + flags = flags; if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) { fputs("", fp); return 0; @@ -674,27 +712,35 @@ PySwigObject_str(PySwigObject *v) SWIGRUNTIME PyObject * PySwigObject_long(PySwigObject *v) { - return PyLong_FromUnsignedLong((unsigned long) v->ptr); + return PyLong_FromVoidPtr(v->ptr); +} + +SWIGRUNTIME PyObject * +PySwigObject_format(const char* fmt, PySwigObject *v) +{ + PyObject *res = NULL; + PyObject *args = PyTuple_New(1); + if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) { + PyObject *ofmt = PyString_FromString(fmt); + if (ofmt) { + res = PyString_Format(ofmt,args); + Py_DECREF(ofmt); + } + Py_DECREF(args); + } + return res; } SWIGRUNTIME PyObject * PySwigObject_oct(PySwigObject *v) { - char buf[100]; - unsigned long x = (unsigned long)v->ptr; - if (x == 0) - strcpy(buf, "0"); - else - PyOS_snprintf(buf, sizeof(buf), "0%lo", x); - return PyString_FromString(buf); + return PySwigObject_format("%o",v); } SWIGRUNTIME PyObject * PySwigObject_hex(PySwigObject *v) { - char buf[100]; - PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr); - return PyString_FromString(buf); + return PySwigObject_format("%x",v); } SWIGRUNTIME int @@ -702,23 +748,23 @@ PySwigObject_compare(PySwigObject *v, PySwigObject *w) { int c = strcmp(v->desc, w->desc); if (c) { - return c; + return (c > 0) ? 1 : -1; } else { void *i = v->ptr; void *j = w->ptr; - return (i < j) ? -1 : (i > j) ? 1 : 0; + return (i < j) ? -1 : ((i > j) ? 1 : 0); } } SWIGRUNTIME void PySwigObject_dealloc(PySwigObject *self) { - PyObject_DEL(self); + PyObject_Del(self); } SWIGRUNTIME PyTypeObject* -PySwigObject_GetType() { - static char PySwigObject_Type__doc__[] = +PySwigObject_type(void) { + static char pyswigobject_type__doc__[] = "Swig object carries a C/C++ instance pointer"; static PyNumberMethods PySwigObject_as_number = { @@ -745,19 +791,24 @@ PySwigObject_GetType() { (unaryfunc)0, /*nb_float*/ (unaryfunc)PySwigObject_oct, /*nb_oct*/ (unaryfunc)PySwigObject_hex, /*nb_hex*/ -#if PY_VERSION_HEX >= 0x02000000 +#if PY_VERSION_HEX >= 0x02020000 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ +#elif PY_VERSION_HEX >= 0x02000000 + 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ #endif }; - static int type_init = 0; - static PyTypeObject PySwigObject_Type; - + static PyTypeObject pyswigobject_type +#if !defined(__cplusplus) + ; + static int type_init = 0; if (!type_init) { - PyTypeObject tmp = { + PyTypeObject tmp +#endif + = { PyObject_HEAD_INIT(&PyType_Type) 0, /*ob_size*/ - "PySwigObject", /*tp_name*/ + (char *)"PySwigObject", /*tp_name*/ sizeof(PySwigObject), /*tp_basicsize*/ 0, /*tp_itemsize*/ /* methods */ @@ -774,8 +825,8 @@ PySwigObject_GetType() { (ternaryfunc)0, /*tp_call*/ (reprfunc)PySwigObject_str, /*tp_str*/ /* Space for future expansion */ - 0L,0L,0L,0L, - PySwigObject_Type__doc__, /* Documentation string */ + 0,0,0,0, + pyswigobject_type__doc__, /* Documentation string */ #if PY_VERSION_HEX >= 0x02000000 0, /* tp_traverse */ 0, /* tp_clear */ @@ -794,21 +845,22 @@ PySwigObject_GetType() { 0,0,0,0 /* tp_alloc -> tp_next */ #endif }; - - PySwigObject_Type = tmp; +#if !defined(__cplusplus) + pyswigobject_type = tmp; type_init = 1; } - - return &PySwigObject_Type; +#endif + return &pyswigobject_type; } SWIGRUNTIME PyObject * PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc) { - PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType()); - if (self == NULL) return NULL; - self->ptr = ptr; - self->desc = desc; + PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type()); + if (self) { + self->ptr = ptr; + self->desc = desc; + } return (PyObject *)self; } @@ -826,7 +878,7 @@ PySwigObject_GetDesc(PyObject *self) SWIGRUNTIMEINLINE int PySwigObject_Check(PyObject *op) { - return ((op)->ob_type == PySwigObject_GetType()) + return ((op)->ob_type == PySwigObject_type()) || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0); } @@ -845,6 +897,7 @@ SWIGRUNTIME int PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags) { char result[SWIG_BUFFER_SIZE]; + flags = flags; fputs("pack, v->size, 0, sizeof(result))) { fputs("at ", fp); @@ -873,7 +926,7 @@ PySwigPacked_str(PySwigPacked *v) if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ return PyString_FromFormat("%s%s", result, v->desc); } else { - return PyString_FromFormat("%s", v->desc); + return PyString_FromString(v->desc); } } @@ -882,11 +935,11 @@ PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) { int c = strcmp(v->desc, w->desc); if (c) { - return c; + return (c > 0) ? 1 : -1; } else { size_t i = v->size; size_t j = w->size; - int s = (i < j) ? -1 : (i > j) ? 1 : 0; + int s = (i < j) ? -1 : ((i > j) ? 1 : 0); return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); } } @@ -895,21 +948,24 @@ SWIGRUNTIME void PySwigPacked_dealloc(PySwigPacked *self) { free(self->pack); - PyObject_DEL(self); + PyObject_Del(self); } SWIGRUNTIME PyTypeObject* -PySwigPacked_GetType() { - static char PySwigPacked_Type__doc__[] = +PySwigPacked_type(void) { + static char pyswigpacked_type__doc__[] = "Swig object carries a C/C++ instance pointer"; - static int type_init = 0; - - static PyTypeObject PySwigPacked_Type; + static PyTypeObject pyswigpacked_type +#if !defined(__cplusplus) + ; + static int type_init = 0; if (!type_init) { - PyTypeObject tmp = { + PyTypeObject tmp +#endif + = { PyObject_HEAD_INIT(&PyType_Type) 0, /*ob_size*/ - "PySwigPacked", /*tp_name*/ + (char *)"PySwigPacked", /*tp_name*/ sizeof(PySwigPacked), /*tp_basicsize*/ 0, /*tp_itemsize*/ /* methods */ @@ -926,8 +982,8 @@ PySwigPacked_GetType() { (ternaryfunc)0, /*tp_call*/ (reprfunc)PySwigPacked_str, /*tp_str*/ /* Space for future expansion */ - 0L,0L,0L,0L, - PySwigPacked_Type__doc__, /* Documentation string */ + 0,0,0,0, + pyswigpacked_type__doc__, /* Documentation string */ #if PY_VERSION_HEX >= 0x02000000 0, /* tp_traverse */ 0, /* tp_clear */ @@ -946,29 +1002,30 @@ PySwigPacked_GetType() { 0,0,0,0 /* tp_alloc -> tp_next */ #endif }; - - PySwigPacked_Type = tmp; +#if !defined(__cplusplus) + pyswigpacked_type = tmp; type_init = 1; } - - - - return &PySwigPacked_Type; +#endif + return &pyswigpacked_type; } SWIGRUNTIME PyObject * PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc) { - PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType()); + PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type()); if (self == NULL) { return NULL; } else { void *pack = malloc(size); - memcpy(pack, ptr, size); - self->pack = pack; - self->desc = desc; - self->size = size; - return (PyObject *) self; + if (pack) { + memcpy(pack, ptr, size); + self->pack = pack; + self->desc = desc; + self->size = size; + return (PyObject *) self; + } + return NULL; } } @@ -989,7 +1046,7 @@ PySwigPacked_GetDesc(PyObject *self) SWIGRUNTIMEINLINE int PySwigPacked_Check(PyObject *op) { - return ((op)->ob_type == PySwigPacked_GetType()) + return ((op)->ob_type == PySwigPacked_type()) || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0); } @@ -1016,7 +1073,7 @@ SWIG_Python_TypeError(const char *type, PyObject *obj) { if (type) { #if defined(SWIG_COBJECT_TYPES) - if (PySwigObject_Check(obj)) { + if (obj && PySwigObject_Check(obj)) { const char *otype = (const char *) PySwigObject_GetDesc(obj); if (otype) { PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received", @@ -1037,7 +1094,7 @@ SWIG_Python_TypeError(const char *type, PyObject *obj) PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", type, otype); } - Py_DECREF(str); + Py_XDECREF(str); return; } } @@ -1088,7 +1145,7 @@ SWIG_Python_ArgFail(int argnum) if (PyErr_Occurred()) { /* add information about failing argument */ char mesg[256]; - sprintf(mesg, "argument number %d:", argnum); + PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum); return SWIG_Python_AddErrMesg(mesg, 1); } else { return 0; @@ -1103,7 +1160,7 @@ SWIG_Python_ArgFail(int argnum) /* Convert a pointer value */ SWIGRUNTIME int SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) { - swig_type_info *tc; + swig_cast_info *tc; const char *c = 0; static PyObject *SWIG_this = 0; int newref = 0; @@ -1146,7 +1203,7 @@ SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) goto type_error; } } - c = PyString_AS_STRING(obj); + c = PyString_AsString(obj); /* Pointer values must start with leading underscore */ c = SWIG_UnpackVoidPtr(c, &vptr, ty->name); if (newref) { Py_DECREF(obj); } @@ -1154,7 +1211,6 @@ SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) #endif type_check: - if (ty) { tc = SWIG_TypeCheck(c,ty); if (!tc) goto type_error; @@ -1162,7 +1218,6 @@ type_check: } else { *ptr = vptr; } - if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) { PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False); } @@ -1177,7 +1232,7 @@ type_error: char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); c = doc ? strstr(doc, "swig_ptr: ") : 0; if (c) { - c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name); + c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0; if (!c) goto type_error; goto type_check; } @@ -1210,14 +1265,14 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) /* Convert a packed value value */ SWIGRUNTIME int SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) { - swig_type_info *tc; + swig_cast_info *tc; const char *c = 0; #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) c = PySwigPacked_UnpackData(obj, ptr, sz); #else if ((!obj) || (!PyString_Check(obj))) goto type_error; - c = PyString_AS_STRING(obj); + c = PyString_AsString(obj); /* Pointer values must start with leading underscore */ c = SWIG_UnpackDataName(c, ptr, sz, ty->name); #endif @@ -1244,6 +1299,12 @@ type_error: SWIGRUNTIME PyObject * SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) { PyObject *robj = 0; + if (!type) { + if (!PyErr_Occurred()) { + PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj"); + } + return robj; + } if (!ptr) { Py_INCREF(Py_None); return Py_None; @@ -1301,8 +1362,8 @@ SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { void *SWIG_ReturnGlobalTypeList(void *); #endif -SWIGRUNTIME swig_type_info ** -SWIG_Python_GetTypeListHandle() { +SWIGRUNTIME swig_module_info * +SWIG_Python_GetModule(void) { static void *type_pointer = (void *)0; /* first check if module already created */ if (!type_pointer) { @@ -1315,21 +1376,54 @@ SWIG_Python_GetTypeListHandle() { PyErr_Clear(); type_pointer = (void *)0; } - } #endif - return (swig_type_info **) type_pointer; + } + return (swig_module_info *) type_pointer; } -/* - Search for a swig_type_info structure - */ -SWIGRUNTIMEINLINE swig_type_info * -SWIG_Python_GetTypeList() { - swig_type_info **tlh = SWIG_Python_GetTypeListHandle(); - return tlh ? *tlh : (swig_type_info*)0; +#if PY_MAJOR_VERSION < 2 +/* PyModule_AddObject function was introduced in Python 2.0. The following function +is copied out of Python/modsupport.c in python version 2.3.4 */ +SWIGINTERN int +PyModule_AddObject(PyObject *m, char *name, PyObject *o) +{ + PyObject *dict; + if (!PyModule_Check(m)) { + PyErr_SetString(PyExc_TypeError, + "PyModule_AddObject() needs module as first arg"); + return -1; + } + if (!o) { + PyErr_SetString(PyExc_TypeError, + "PyModule_AddObject() needs non-NULL value"); + return -1; + } + + dict = PyModule_GetDict(m); + if (dict == NULL) { + /* Internal error -- modules must have a dict! */ + PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", + PyModule_GetName(m)); + return -1; + } + if (PyDict_SetItemString(dict, name, o)) + return -1; + Py_DECREF(o); + return 0; } +#endif -#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList +SWIGRUNTIME void +SWIG_Python_SetModule(swig_module_info *swig_module) { + static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */ + + PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, + swig_empty_runtime_method_table); + PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL); + if (pointer && module) { + PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); + } +} #ifdef __cplusplus } @@ -1338,102 +1432,182 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxLogChain swig_types[0] -#define SWIGTYPE_p_wxMutexGuiLocker swig_types[1] -#define SWIGTYPE_p_wxFileHistory swig_types[2] -#define SWIGTYPE_p_wxLog swig_types[3] -#define SWIGTYPE_p_wxMenu swig_types[4] -#define SWIGTYPE_p_wxEvent swig_types[5] -#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[6] -#define SWIGTYPE_p_wxConfigBase swig_types[7] -#define SWIGTYPE_p_wxDisplay swig_types[8] -#define SWIGTYPE_p_wxFileType swig_types[9] -#define SWIGTYPE_p_wxLogGui swig_types[10] -#define SWIGTYPE_p_wxFont swig_types[11] -#define SWIGTYPE_p_wxDataFormat swig_types[12] -#define SWIGTYPE_p_wxTimerEvent swig_types[13] -#define SWIGTYPE_p_wxCaret swig_types[14] -#define SWIGTYPE_ptrdiff_t swig_types[15] -#define SWIGTYPE_std__ptrdiff_t swig_types[16] -#define SWIGTYPE_p_int swig_types[17] -#define SWIGTYPE_p_wxSize swig_types[18] -#define SWIGTYPE_p_wxClipboard swig_types[19] -#define SWIGTYPE_p_wxStopWatch swig_types[20] -#define SWIGTYPE_p_wxClipboardLocker swig_types[21] -#define SWIGTYPE_p_wxIcon swig_types[22] -#define SWIGTYPE_p_wxLogStderr swig_types[23] -#define SWIGTYPE_p_wxLogTextCtrl swig_types[24] -#define SWIGTYPE_p_wxTextCtrl swig_types[25] -#define SWIGTYPE_p_wxBusyCursor swig_types[26] -#define SWIGTYPE_p_wxBitmapDataObject swig_types[27] -#define SWIGTYPE_p_wxTextDataObject swig_types[28] -#define SWIGTYPE_p_wxDataObject swig_types[29] -#define SWIGTYPE_p_wxPyTextDataObject swig_types[30] -#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[31] -#define SWIGTYPE_p_wxFileDataObject swig_types[32] -#define SWIGTYPE_p_wxCustomDataObject swig_types[33] -#define SWIGTYPE_p_wxURLDataObject swig_types[34] -#define SWIGTYPE_p_wxMetafileDataObject swig_types[35] -#define SWIGTYPE_p_wxSound swig_types[36] -#define SWIGTYPE_p_wxTimerRunner swig_types[37] -#define SWIGTYPE_p_wxLogWindow swig_types[38] -#define SWIGTYPE_p_wxTimeSpan swig_types[39] -#define SWIGTYPE_p_wxArrayString swig_types[40] -#define SWIGTYPE_p_wxWindowDisabler swig_types[41] -#define SWIGTYPE_p_form_ops_t swig_types[42] -#define SWIGTYPE_p_wxToolTip swig_types[43] -#define SWIGTYPE_p_wxDataObjectComposite swig_types[44] -#define SWIGTYPE_p_wxFileConfig swig_types[45] -#define SWIGTYPE_p_wxSystemSettings swig_types[46] -#define SWIGTYPE_p_wxVideoMode swig_types[47] -#define SWIGTYPE_p_wxDataObjectSimple swig_types[48] -#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[49] -#define SWIGTYPE_p_wxDuplexMode swig_types[50] -#define SWIGTYPE_p_wxEvtHandler swig_types[51] -#define SWIGTYPE_p_wxRect swig_types[52] -#define SWIGTYPE_p_char swig_types[53] -#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[54] -#define SWIGTYPE_p_wxStandardPaths swig_types[55] -#define SWIGTYPE_p_wxFileTypeInfo swig_types[56] -#define SWIGTYPE_p_wxFrame swig_types[57] -#define SWIGTYPE_p_wxTimer swig_types[58] -#define SWIGTYPE_p_wxPaperSize swig_types[59] -#define SWIGTYPE_p_wxMimeTypesManager swig_types[60] -#define SWIGTYPE_p_wxPyArtProvider swig_types[61] -#define SWIGTYPE_p_wxPyTipProvider swig_types[62] -#define SWIGTYPE_p_wxTipProvider swig_types[63] -#define SWIGTYPE_p_wxJoystick swig_types[64] -#define SWIGTYPE_p_wxSystemOptions swig_types[65] -#define SWIGTYPE_p_wxPoint swig_types[66] -#define SWIGTYPE_p_wxJoystickEvent swig_types[67] -#define SWIGTYPE_p_wxCursor swig_types[68] -#define SWIGTYPE_p_wxObject swig_types[69] -#define SWIGTYPE_p_wxOutputStream swig_types[70] -#define SWIGTYPE_p_wxDateTime swig_types[71] -#define SWIGTYPE_p_wxPyDropSource swig_types[72] -#define SWIGTYPE_p_unsigned_long swig_types[73] -#define SWIGTYPE_p_wxKillError swig_types[74] -#define SWIGTYPE_p_wxWindow swig_types[75] -#define SWIGTYPE_p_wxString swig_types[76] -#define SWIGTYPE_p_wxPyProcess swig_types[77] -#define SWIGTYPE_p_wxBitmap swig_types[78] -#define SWIGTYPE_p_wxConfig swig_types[79] -#define SWIGTYPE_unsigned_int swig_types[80] -#define SWIGTYPE_p_unsigned_int swig_types[81] -#define SWIGTYPE_p_unsigned_char swig_types[82] -#define SWIGTYPE_p_wxChar swig_types[83] -#define SWIGTYPE_p_wxBusyInfo swig_types[84] -#define SWIGTYPE_p_wxPyDropTarget swig_types[85] -#define SWIGTYPE_p_wxPyTextDropTarget swig_types[86] -#define SWIGTYPE_p_wxPyFileDropTarget swig_types[87] -#define SWIGTYPE_p_wxProcessEvent swig_types[88] -#define SWIGTYPE_p_wxPyLog swig_types[89] -#define SWIGTYPE_p_wxLogNull swig_types[90] -#define SWIGTYPE_p_wxColour swig_types[91] -#define SWIGTYPE_p_wxPyTimer swig_types[92] -#define SWIGTYPE_p_wxConfigPathChanger swig_types[93] -#define SWIGTYPE_p_wxDateSpan swig_types[94] -static swig_type_info *swig_types[96]; +#define SWIGTYPE_p_char swig_types[0] +#define SWIGTYPE_p_form_ops_t swig_types[1] +#define SWIGTYPE_p_int swig_types[2] +#define SWIGTYPE_p_unsigned_char swig_types[3] +#define SWIGTYPE_p_unsigned_int swig_types[4] +#define SWIGTYPE_p_unsigned_long swig_types[5] +#define SWIGTYPE_p_void swig_types[6] +#define SWIGTYPE_p_wxANIHandler swig_types[7] +#define SWIGTYPE_p_wxAcceleratorTable swig_types[8] +#define SWIGTYPE_p_wxActivateEvent swig_types[9] +#define SWIGTYPE_p_wxArrayString swig_types[10] +#define SWIGTYPE_p_wxBMPHandler swig_types[11] +#define SWIGTYPE_p_wxBitmap swig_types[12] +#define SWIGTYPE_p_wxBitmapDataObject swig_types[13] +#define SWIGTYPE_p_wxBoxSizer swig_types[14] +#define SWIGTYPE_p_wxBusyCursor swig_types[15] +#define SWIGTYPE_p_wxBusyInfo swig_types[16] +#define SWIGTYPE_p_wxCURHandler swig_types[17] +#define SWIGTYPE_p_wxCaret swig_types[18] +#define SWIGTYPE_p_wxChar swig_types[19] +#define SWIGTYPE_p_wxChildFocusEvent swig_types[20] +#define SWIGTYPE_p_wxClipboard swig_types[21] +#define SWIGTYPE_p_wxClipboardLocker swig_types[22] +#define SWIGTYPE_p_wxCloseEvent swig_types[23] +#define SWIGTYPE_p_wxColour swig_types[24] +#define SWIGTYPE_p_wxCommandEvent swig_types[25] +#define SWIGTYPE_p_wxConfig swig_types[26] +#define SWIGTYPE_p_wxConfigBase swig_types[27] +#define SWIGTYPE_p_wxConfigPathChanger swig_types[28] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[29] +#define SWIGTYPE_p_wxControl swig_types[30] +#define SWIGTYPE_p_wxControlWithItems swig_types[31] +#define SWIGTYPE_p_wxCursor swig_types[32] +#define SWIGTYPE_p_wxCustomDataObject swig_types[33] +#define SWIGTYPE_p_wxDC swig_types[34] +#define SWIGTYPE_p_wxDataFormat swig_types[35] +#define SWIGTYPE_p_wxDataObject swig_types[36] +#define SWIGTYPE_p_wxDataObjectComposite swig_types[37] +#define SWIGTYPE_p_wxDataObjectSimple swig_types[38] +#define SWIGTYPE_p_wxDateEvent swig_types[39] +#define SWIGTYPE_p_wxDateSpan swig_types[40] +#define SWIGTYPE_p_wxDateTime swig_types[41] +#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[42] +#define SWIGTYPE_p_wxDisplay swig_types[43] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[45] +#define SWIGTYPE_p_wxDuplexMode swig_types[46] +#define SWIGTYPE_p_wxEraseEvent swig_types[47] +#define SWIGTYPE_p_wxEvent swig_types[48] +#define SWIGTYPE_p_wxEvtHandler swig_types[49] +#define SWIGTYPE_p_wxFSFile swig_types[50] +#define SWIGTYPE_p_wxFileConfig swig_types[51] +#define SWIGTYPE_p_wxFileDataObject swig_types[52] +#define SWIGTYPE_p_wxFileHistory swig_types[53] +#define SWIGTYPE_p_wxFileSystem swig_types[54] +#define SWIGTYPE_p_wxFileType swig_types[55] +#define SWIGTYPE_p_wxFileTypeInfo swig_types[56] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[57] +#define SWIGTYPE_p_wxFocusEvent swig_types[58] +#define SWIGTYPE_p_wxFont swig_types[59] +#define SWIGTYPE_p_wxFrame swig_types[60] +#define SWIGTYPE_p_wxGBSizerItem swig_types[61] +#define SWIGTYPE_p_wxGIFHandler swig_types[62] +#define SWIGTYPE_p_wxGridBagSizer swig_types[63] +#define SWIGTYPE_p_wxGridSizer swig_types[64] +#define SWIGTYPE_p_wxICOHandler swig_types[65] +#define SWIGTYPE_p_wxIcon swig_types[66] +#define SWIGTYPE_p_wxIconizeEvent swig_types[67] +#define SWIGTYPE_p_wxIdleEvent swig_types[68] +#define SWIGTYPE_p_wxImage swig_types[69] +#define SWIGTYPE_p_wxImageHandler swig_types[70] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[71] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[72] +#define SWIGTYPE_p_wxJPEGHandler swig_types[73] +#define SWIGTYPE_p_wxJoystick swig_types[74] +#define SWIGTYPE_p_wxJoystickEvent swig_types[75] +#define SWIGTYPE_p_wxKeyEvent swig_types[76] +#define SWIGTYPE_p_wxKillError swig_types[77] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[78] +#define SWIGTYPE_p_wxLog swig_types[79] +#define SWIGTYPE_p_wxLogBuffer swig_types[80] +#define SWIGTYPE_p_wxLogChain swig_types[81] +#define SWIGTYPE_p_wxLogGui swig_types[82] +#define SWIGTYPE_p_wxLogNull swig_types[83] +#define SWIGTYPE_p_wxLogStderr swig_types[84] +#define SWIGTYPE_p_wxLogTextCtrl swig_types[85] +#define SWIGTYPE_p_wxLogWindow swig_types[86] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[87] +#define SWIGTYPE_p_wxMemorySize swig_types[88] +#define SWIGTYPE_p_wxMenu swig_types[89] +#define SWIGTYPE_p_wxMenuBar swig_types[90] +#define SWIGTYPE_p_wxMenuEvent swig_types[91] +#define SWIGTYPE_p_wxMenuItem swig_types[92] +#define SWIGTYPE_p_wxMetafileDataObject swig_types[93] +#define SWIGTYPE_p_wxMimeTypesManager swig_types[94] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[95] +#define SWIGTYPE_p_wxMouseEvent swig_types[96] +#define SWIGTYPE_p_wxMouseState swig_types[97] +#define SWIGTYPE_p_wxMoveEvent swig_types[98] +#define SWIGTYPE_p_wxMutexGuiLocker swig_types[99] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[100] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[101] +#define SWIGTYPE_p_wxNotifyEvent swig_types[102] +#define SWIGTYPE_p_wxObject swig_types[103] +#define SWIGTYPE_p_wxOutputStream swig_types[104] +#define SWIGTYPE_p_wxPCXHandler swig_types[105] +#define SWIGTYPE_p_wxPNGHandler swig_types[106] +#define SWIGTYPE_p_wxPNMHandler swig_types[107] +#define SWIGTYPE_p_wxPaintEvent swig_types[108] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[109] +#define SWIGTYPE_p_wxPaperSize swig_types[110] +#define SWIGTYPE_p_wxPoint swig_types[111] +#define SWIGTYPE_p_wxProcessEvent swig_types[112] +#define SWIGTYPE_p_wxPyApp swig_types[113] +#define SWIGTYPE_p_wxPyArtProvider swig_types[114] +#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[115] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[116] +#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[117] +#define SWIGTYPE_p_wxPyDropSource swig_types[118] +#define SWIGTYPE_p_wxPyDropTarget swig_types[119] +#define SWIGTYPE_p_wxPyEvent swig_types[120] +#define SWIGTYPE_p_wxPyFileDropTarget swig_types[121] +#define SWIGTYPE_p_wxPyImageHandler swig_types[122] +#define SWIGTYPE_p_wxPyLog swig_types[123] +#define SWIGTYPE_p_wxPyProcess swig_types[124] +#define SWIGTYPE_p_wxPySizer swig_types[125] +#define SWIGTYPE_p_wxPyTextDataObject swig_types[126] +#define SWIGTYPE_p_wxPyTextDropTarget swig_types[127] +#define SWIGTYPE_p_wxPyTimer swig_types[128] +#define SWIGTYPE_p_wxPyTipProvider swig_types[129] +#define SWIGTYPE_p_wxPyValidator swig_types[130] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[131] +#define SWIGTYPE_p_wxRect swig_types[132] +#define SWIGTYPE_p_wxScrollEvent swig_types[133] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[134] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[135] +#define SWIGTYPE_p_wxShowEvent swig_types[136] +#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[137] +#define SWIGTYPE_p_wxSize swig_types[138] +#define SWIGTYPE_p_wxSizeEvent swig_types[139] +#define SWIGTYPE_p_wxSizer swig_types[140] +#define SWIGTYPE_p_wxSizerItem swig_types[141] +#define SWIGTYPE_p_wxSound swig_types[142] +#define SWIGTYPE_p_wxStandardPaths swig_types[143] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[144] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[145] +#define SWIGTYPE_p_wxStopWatch swig_types[146] +#define SWIGTYPE_p_wxString swig_types[147] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[148] +#define SWIGTYPE_p_wxSystemOptions swig_types[149] +#define SWIGTYPE_p_wxSystemSettings swig_types[150] +#define SWIGTYPE_p_wxTIFFHandler swig_types[151] +#define SWIGTYPE_p_wxTextCtrl swig_types[152] +#define SWIGTYPE_p_wxTextDataObject swig_types[153] +#define SWIGTYPE_p_wxTimeSpan swig_types[154] +#define SWIGTYPE_p_wxTimer swig_types[155] +#define SWIGTYPE_p_wxTimerEvent swig_types[156] +#define SWIGTYPE_p_wxTimerRunner swig_types[157] +#define SWIGTYPE_p_wxTipProvider swig_types[158] +#define SWIGTYPE_p_wxToolTip swig_types[159] +#define SWIGTYPE_p_wxURLDataObject swig_types[160] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[161] +#define SWIGTYPE_p_wxValidator swig_types[162] +#define SWIGTYPE_p_wxVideoMode swig_types[163] +#define SWIGTYPE_p_wxWindow swig_types[164] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[165] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[166] +#define SWIGTYPE_p_wxWindowDisabler swig_types[167] +#define SWIGTYPE_p_wxXPMHandler swig_types[168] +#define SWIGTYPE_ptrdiff_t swig_types[169] +#define SWIGTYPE_std__ptrdiff_t swig_types[170] +#define SWIGTYPE_unsigned_int swig_types[171] +static swig_type_info *swig_types[173]; +static swig_module_info swig_module = {swig_types, 172, 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) -------- */ @@ -1453,7 +1627,7 @@ static swig_type_info *swig_types[96]; - /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ + /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_int PyInt_FromLong /*@@*/ @@ -1492,7 +1666,7 @@ SWIG_AsVal_long(PyObject* obj, long* val) return 1; } else { - SWIG_type_error("number", obj); + SWIG_Python_TypeError("number", obj); } return 0; } @@ -1506,7 +1680,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; @@ -1520,7 +1694,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1528,7 +1702,7 @@ SWIGINTERNSHORT int #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1542,7 +1716,7 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_int(PyObject* obj) { return SWIG_AsVal_int(obj, (int*)0); @@ -1556,12 +1730,12 @@ SWIG_Check_int(PyObject* obj) static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr); static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr); - /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ + /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_long PyInt_FromLong /*@@*/ -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1575,7 +1749,7 @@ SWIG_As_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_long(PyObject* obj) { return SWIG_AsVal_long(obj, (long*)0); @@ -1607,7 +1781,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -1621,42 +1795,41 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); } - 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; + } - long wxGetFreeMemory() + wxMemorySize wxGetFreeMemory() { wxPyRaiseNotImplemented(); return 0; } @@ -1665,7 +1838,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; @@ -1673,7 +1846,7 @@ SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val) } -SWIGINTERNSHORT unsigned long +SWIGINTERNINLINE unsigned long SWIG_As_unsigned_SS_long(PyObject* obj) { unsigned long v; @@ -1687,22 +1860,38 @@ 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); } -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)); } + void* wxGetXDisplay() + { +#ifdef __WXGTK__ + return wxGetDisplay(); +#else + return NULL; +#endif + } + + + wxWindow* FindWindowAtPointer() { + wxPoint unused; + return wxFindWindowAtPointer(unused); + } + + void wxWakeUpMainThread() {} @@ -1721,6 +1910,101 @@ static void wxCaret_Destroy(wxCaret *self){ #include +#ifdef __WXMSW__ +#include +#include +#endif + + + +bool wxDrawWindowOnDC(wxWindow* window, const wxDC& dc +#if 0 + , int method +#endif + ) +{ +#ifdef __WXMSW__ +#if 0 + switch (method) + { + case 1: + // This one only partially works. Appears to be an undocumented + // "standard" convention that not all widgets adhear to. For + // example, for some widgets backgrounds or non-client areas may + // not be painted. + ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0); + break; + + case 2: +#endif + // This one works much better, nearly all widgets and their + // children are captured correctly[**]. Prior to the big + // background erase changes that Vadim did in 2004-2005 this + // method failed badly on XP with Themes activated, most native + // widgets draw only partially, if at all. Without themes it + // worked just like on Win2k. After those changes this method + // works very well. + // + // ** For example the radio buttons in a wxRadioBox are not its + // children by default, but you can capture it via the panel + // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp. + ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc), + PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | + PRF_ERASEBKGND | PRF_OWNED ); + return true; +#if 0 + break; + + case 3: + // This one is only defined in the latest SDK and is only + // available on XP. MSDN says it is similar to sending WM_PRINT + // so I expect that it will work similar to the above. Since it + // is avaialble only on XP, it can't be compiled like this and + // will have to be loaded dynamically. + // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break; + + // fall through + + case 4: + // Use PrintWindow if available, or fallback to WM_PRINT + // otherwise. Unfortunately using PrintWindow is even worse than + // WM_PRINT. For most native widgets nothing is drawn to the dc + // at all, with or without Themes. + typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT); + static bool s_triedToLoad = false; + static PrintWindow_t pfnPrintWindow = NULL; + if ( !s_triedToLoad ) + { + + s_triedToLoad = true; + wxDynamicLibrary dllUser32(_T("user32.dll")); + if ( dllUser32.IsLoaded() ) + { + wxLogNull nolog; // Don't report errors here + pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow")); + } + } + if (pfnPrintWindow) + { + //printf("Using PrintWindow\n"); + pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); + } + else + { + //printf("Using WM_PRINT\n"); + ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc), + PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | + PRF_ERASEBKGND | PRF_OWNED ); + } + } +#endif // 0 +#else + return false; +#endif // __WXMSW__ +} + + + #include @@ -1738,7 +2022,7 @@ IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip); IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip); -//IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify); +IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify); IMPLEMENT_ABSTRACT_CLASS(wxPyTimer, wxTimer); @@ -1749,28 +2033,13 @@ wxPyTimer::wxPyTimer(wxEvtHandler *owner, int id) } -void wxPyTimer::Notify() { - bool found; - bool blocked = wxPyBeginBlockThreads(); - if ((found = wxPyCBH_findCallback(m_myInst, "Notify"))) - wxPyCBH_callCallback(m_myInst, Py_BuildValue("()")); - wxPyEndBlockThreads(blocked); - if (! found) - wxTimer::Notify(); -} -void wxPyTimer::base_Notify() { - wxTimer::Notify(); -} - - - SWIGINTERN PyObject * SWIG_FromCharPtr(const char* cptr) { if (cptr) { size_t size = strlen(cptr); if (size > INT_MAX) { - return SWIG_NewPointerObj((char*)(cptr), + return SWIG_NewPointerObj(const_cast(cptr), SWIG_TypeQuery("char *"), 0); } else { if (size != 0) { @@ -1785,7 +2054,7 @@ SWIG_FromCharPtr(const char* cptr) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_CheckUnsignedLongInRange(unsigned long value, unsigned long max_value, const char *errmsg) @@ -1810,7 +2079,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 { @@ -1822,7 +2091,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); @@ -1830,7 +2099,7 @@ SWIGINTERNSHORT unsigned int #endif -SWIGINTERNSHORT unsigned int +SWIGINTERNINLINE unsigned int SWIG_As_unsigned_SS_int(PyObject* obj) { unsigned int v; @@ -1844,19 +2113,19 @@ 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); } -static wxString Log_TimeStamp(){ +static wxString wxLog_TimeStamp(){ wxString msg; wxLog::TimeStamp(&msg); return msg; } static void wxLog_Destroy(wxLog *self){ delete self; } -// Make somce wrappers that double any % signs so they are 'escaped' +// Make some wrappers that double any % signs so they are 'escaped' void wxPyLogFatalError(const wxString& msg) { wxString m(msg); @@ -1957,7 +2226,7 @@ public: virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) { bool found; - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) { PyObject* s = wx2PyString(szString); wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t)); @@ -1970,7 +2239,7 @@ public: virtual void DoLogString(const wxChar *szString, time_t t) { bool found; - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) { PyObject* s = wx2PyString(szString); wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t)); @@ -1981,8 +2250,10 @@ public: wxLog::DoLogString(szString, t); } + DEC_PYCALLBACK_VOID_(Flush); PYPRIVATE; }; +IMP_PYCALLBACK_VOID_(wxPyLog, wxLog, Flush); @@ -1998,7 +2269,7 @@ IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate); class wxJoystick : public wxObject { public: wxJoystick(int joystick = wxJOYSTICK1) { - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); PyErr_SetString(PyExc_NotImplementedError, "wxJoystick is not available on this platform."); wxPyEndBlockThreads(blocked); @@ -2061,19 +2332,19 @@ class wxSound : public wxObject { public: wxSound() { - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); PyErr_SetString(PyExc_NotImplementedError, "wxSound is not available on this platform."); wxPyEndBlockThreads(blocked); } wxSound(const wxString&/*, bool*/) { - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); PyErr_SetString(PyExc_NotImplementedError, "wxSound is not available on this platform."); wxPyEndBlockThreads(blocked); } wxSound(int, const wxByte*) { - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); PyErr_SetString(PyExc_NotImplementedError, "wxSound is not available on this platform."); wxPyEndBlockThreads(blocked); @@ -2101,7 +2372,7 @@ static wxSound *new_wxSound(PyObject *data){ unsigned char* buffer; int size; wxSound *sound = NULL; - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); if (!PyArg_Parse(data, "t#", &buffer, &size)) goto done; sound = new wxSound(size, buffer); @@ -2115,7 +2386,7 @@ static bool wxSound_CreateFromData(wxSound *self,PyObject *data){ int size; bool rv = false; - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); if (!PyArg_Parse(data, "t#", &buffer, &size)) goto done; rv = self->Create(size, buffer); @@ -2123,7 +2394,7 @@ static bool wxSound_CreateFromData(wxSound *self,PyObject *data){ wxPyEndBlockThreads(blocked); return rv; #else - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); PyErr_SetString(PyExc_NotImplementedError, "Create from data is not available on this platform."); wxPyEndBlockThreads(blocked); @@ -2170,7 +2441,7 @@ static PyObject *wxFileType_GetIconInfo(wxFileType *self){ // Make a tuple and put the values in it - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); PyObject* tuple = PyTuple_New(3); PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc), wxT("wxIcon"), true)); @@ -2208,7 +2479,7 @@ static PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &file wxArrayString commands; if (self->GetAllCommands(&verbs, &commands, wxFileType::MessageParameters(filename, mimetype))) { - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); PyObject* tuple = PyTuple_New(2); PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs)); PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands)); @@ -2218,7 +2489,7 @@ static PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &file else RETURN_NONE(); } -static wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype=wxPyEmptyString){ +static wxString wxFileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype=wxPyEmptyString){ return wxFileType::ExpandCommand(command, wxFileType::MessageParameters(filename, mimetype)); } @@ -2252,6 +2523,8 @@ static PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){ static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT); static const wxString wxPyART_GO_HOME(wxART_GO_HOME); static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN); + static const wxString wxPyART_FILE_SAVE(wxART_FILE_SAVE); + static const wxString wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS); static const wxString wxPyART_PRINT(wxART_PRINT); static const wxString wxPyART_HELP(wxART_HELP); static const wxString wxPyART_TIP(wxART_TIP); @@ -2274,6 +2547,16 @@ static PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){ static const wxString wxPyART_WARNING(wxART_WARNING); static const wxString wxPyART_INFORMATION(wxART_INFORMATION); static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE); + static const wxString wxPyART_COPY(wxART_COPY); + static const wxString wxPyART_CUT(wxART_CUT); + static const wxString wxPyART_PASTE(wxART_PASTE); + static const wxString wxPyART_DELETE(wxART_DELETE); + static const wxString wxPyART_NEW(wxART_NEW); + static const wxString wxPyART_UNDO(wxART_UNDO); + static const wxString wxPyART_REDO(wxART_REDO); + static const wxString wxPyART_QUIT(wxART_QUIT); + static const wxString wxPyART_FIND(wxART_FIND); + static const wxString wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE); // Python aware wxArtProvider class wxPyArtProvider : public wxArtProvider { public: @@ -2282,7 +2565,7 @@ public: const wxArtClient& client, const wxSize& size) { wxBitmap rval = wxNullBitmap; - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) { PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0); PyObject* ro; @@ -2365,13 +2648,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; @@ -2385,7 +2668,7 @@ SWIG_As_double(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_double(PyObject* obj) { return SWIG_AsVal_double(obj, (double*)0); @@ -2397,7 +2680,7 @@ static double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,doub return rv; } - /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ + /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_double PyFloat_FromDouble /*@@*/ @@ -2414,13 +2697,24 @@ static bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool de #define LOCAL_TZ wxDateTime::Local +static PyObject *wxDateTime_GetAmPmStrings(){ + wxString am; + wxString pm; + wxDateTime::GetAmPmStrings(&am, &pm); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); + PyObject* tup = PyTuple_New(2); + PyTuple_SET_ITEM(tup, 0, wx2PyString(am)); + PyTuple_SET_ITEM(tup, 1, wx2PyString(pm)); + wxPyEndBlockThreads(blocked); + return tup; + } #if UINT_MAX < LONG_MAX -/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ +/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_unsigned_SS_int SWIG_From_long /*@@*/ #else -/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ +/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long /*@@*/ #endif @@ -2513,13 +2807,12 @@ static PyObject *wxDataObject_GetAllFormats(wxDataObject *self,wxDataObject::Dir wxDataFormat* formats = new wxDataFormat[count]; self->GetAllFormats(formats, dir); - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); PyObject* list = PyList_New(count); for (size_t i=0; iGetDataSize(format); - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); if (size) { char* buf = new char[size]; if (self->GetDataHere(format, buf)) @@ -2544,7 +2837,7 @@ static PyObject *wxDataObject_GetDataHere(wxDataObject *self,wxDataFormat const } static bool wxDataObject_SetData(wxDataObject *self,wxDataFormat const &format,PyObject *data){ bool rval; - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); if (PyString_Check(data)) { rval = self->SetData(format, PyString_Size(data), PyString_AsString(data)); } @@ -2559,7 +2852,7 @@ static bool wxDataObject_SetData(wxDataObject *self,wxDataFormat const &format,P static PyObject *wxDataObjectSimple_GetDataHere(wxDataObjectSimple *self){ PyObject* rval = NULL; size_t size = self->GetDataSize(); - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); if (size) { char* buf = new char[size]; if (self->GetDataHere(buf)) @@ -2575,7 +2868,7 @@ static PyObject *wxDataObjectSimple_GetDataHere(wxDataObjectSimple *self){ } static bool wxDataObjectSimple_SetData(wxDataObjectSimple *self,PyObject *data){ bool rval; - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); if (PyString_Check(data)) { rval = self->SetData(PyString_Size(data), PyString_AsString(data)); } @@ -2608,7 +2901,7 @@ bool wxPyDataObjectSimple::GetDataHere(void *buf) const { // C++ version. bool rval = false; - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) { PyObject* ro; ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); @@ -2627,7 +2920,7 @@ bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{ // For this one we simply need to make a string from buf and len // and send it to the Python method. bool rval = false; - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); if (wxPyCBH_findCallback(m_myInst, "SetData")) { PyObject* data = PyString_FromStringAndSize((char*)buf, len); rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data)); @@ -2667,7 +2960,7 @@ public: wxBitmap wxPyBitmapDataObject::GetBitmap() const { wxBitmap* rval = &wxNullBitmap; - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) { PyObject* ro; wxBitmap* ptr; @@ -2683,7 +2976,7 @@ wxBitmap wxPyBitmapDataObject::GetBitmap() const { } void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) { - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) { PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), false); wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo)); @@ -2697,7 +2990,7 @@ static wxCustomDataObject *new_wxCustomDataObject__SWIG_1(wxString const &format } static bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){ bool rval; - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); if (PyString_Check(data)) { rval = self->SetData(PyString_Size(data), PyString_AsString(data)); } @@ -2711,7 +3004,7 @@ static bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){ } static PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){ PyObject* obj; - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); obj = PyString_FromStringAndSize((char*)self->GetData(), self->GetSize()); wxPyEndBlockThreads(blocked); return obj; @@ -2776,7 +3069,7 @@ public: bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames) { bool rval = false; - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) { PyObject* list = wxArrayString2PyList_helper(filenames); rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list)); @@ -2809,7 +3102,7 @@ static bool wxVideoMode___ne__(wxVideoMode *self,wxVideoMode const *other){ retu #include #include -WX_DECLARE_OBJARRAY(wxVideoMode, wxArrayVideoModes); + WX_DECLARE_OBJARRAY(wxVideoMode, wxArrayVideoModes); #include "wx/arrimpl.cpp" WX_DEFINE_OBJARRAY(wxArrayVideoModes); const wxVideoMode wxDefaultVideoMode; @@ -2846,11 +3139,11 @@ public: }; #endif -static int Display_GetFromWindow(wxWindow *window){ wxPyRaiseNotImplemented(); return wxNOT_FOUND; } +static int wxDisplay_GetFromWindow(wxWindow *window){ wxPyRaiseNotImplemented(); return wxNOT_FOUND; } static PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode=wxDefaultVideoMode){ PyObject* pyList = NULL; wxArrayVideoModes arr = self->GetModes(mode); - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); pyList = PyList_New(0); for (int i=0; i < arr.GetCount(); i++) { wxVideoMode* m = new wxVideoMode(arr.Item(i)); @@ -2864,14 +3157,14 @@ static PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode=wxDe #include -static wxStandardPaths *StandardPaths_Get(){ +static wxStandardPaths *wxStandardPaths_Get(){ return (wxStandardPaths*) &wxStandardPaths::Get(); } #ifdef __cplusplus extern "C" { #endif static PyObject *_wrap_SystemSettings_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSystemColour arg1 ; wxColour result; PyObject * obj0 = 0 ; @@ -2881,20 +3174,20 @@ static PyObject *_wrap_SystemSettings_GetColour(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail; { - arg1 = (wxSystemColour)(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 = wxSystemSettings::GetColour((wxSystemColour )arg1); + result = wxSystemSettings::GetColour(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -2904,7 +3197,7 @@ static PyObject *_wrap_SystemSettings_GetColour(PyObject *, PyObject *args, PyOb static PyObject *_wrap_SystemSettings_GetFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSystemFont arg1 ; wxFont result; PyObject * obj0 = 0 ; @@ -2914,20 +3207,20 @@ static PyObject *_wrap_SystemSettings_GetFont(PyObject *, PyObject *args, PyObje if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail; { - arg1 = (wxSystemFont)(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 = wxSystemSettings::GetFont((wxSystemFont )arg1); + result = wxSystemSettings::GetFont(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } return resultobj; @@ -2937,29 +3230,35 @@ static PyObject *_wrap_SystemSettings_GetFont(PyObject *, PyObject *args, PyObje static PyObject *_wrap_SystemSettings_GetMetric(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSystemMetric arg1 ; + wxWindow *arg2 = (wxWindow *) NULL ; int result; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "index", NULL + (char *) "index",(char *) "win", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetMetric",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SystemSettings_GetMetric",kwnames,&obj0,&obj1)) goto fail; { - arg1 = (wxSystemMetric)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } + if (obj1) { + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1); + result = (int)wxSystemSettings::GetMetric(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -2968,7 +3267,7 @@ static PyObject *_wrap_SystemSettings_GetMetric(PyObject *, PyObject *args, PyOb static PyObject *_wrap_SystemSettings_HasFeature(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSystemFeature arg1 ; bool result; PyObject * obj0 = 0 ; @@ -2978,13 +3277,13 @@ static PyObject *_wrap_SystemSettings_HasFeature(PyObject *, PyObject *args, PyO if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail; { - arg1 = (wxSystemFeature)(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 = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1); + result = (bool)wxSystemSettings::HasFeature(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -2999,7 +3298,7 @@ static PyObject *_wrap_SystemSettings_HasFeature(PyObject *, PyObject *args, PyO static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSystemScreenType result; char *kwnames[] = { NULL @@ -3022,7 +3321,7 @@ static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *, PyObject *args, static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSystemScreenType arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3031,13 +3330,13 @@ static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *, PyObject *args, if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail; { - arg1 = (wxSystemScreenType)(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(); - wxSystemSettings::SetScreenType((wxSystemScreenType )arg1); + wxSystemSettings::SetScreenType(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -3063,7 +3362,7 @@ static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject *) { static PyObject *_wrap_WINDOW_DEFAULT_VARIANT_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -3077,7 +3376,7 @@ static PyObject *_wrap_WINDOW_DEFAULT_VARIANT_get(void) { static PyObject *_wrap_new_SystemOptions(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSystemOptions *result; char *kwnames[] = { NULL @@ -3099,7 +3398,7 @@ static PyObject *_wrap_new_SystemOptions(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SystemOptions_SetOption(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; bool temp1 = false ; @@ -3152,7 +3451,7 @@ static PyObject *_wrap_SystemOptions_SetOption(PyObject *, PyObject *args, PyObj static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; int arg2 ; bool temp1 = false ; @@ -3169,7 +3468,7 @@ static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *, PyObject *args, Py temp1 = true; } { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3195,7 +3494,7 @@ static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *, PyObject *args, Py static PyObject *_wrap_SystemOptions_GetOption(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString result; bool temp1 = false ; @@ -3239,7 +3538,7 @@ static PyObject *_wrap_SystemOptions_GetOption(PyObject *, PyObject *args, PyObj static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; int result; bool temp1 = false ; @@ -3262,7 +3561,7 @@ static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp1) @@ -3279,7 +3578,7 @@ static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *, PyObject *args, Py static PyObject *_wrap_SystemOptions_HasOption(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool result; bool temp1 = false ; @@ -3318,12 +3617,52 @@ static PyObject *_wrap_SystemOptions_HasOption(PyObject *, PyObject *args, PyObj } -static PyObject * SystemOptions_swigregister(PyObject *, PyObject *args) { - PyObject *obj; - if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; - SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj); - Py_INCREF(obj); - return Py_BuildValue((char *)""); +static PyObject *_wrap_SystemOptions_IsFalse(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxString *arg1 = 0 ; + bool result; + bool temp1 = false ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "name", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_IsFalse",kwnames,&obj0)) goto fail; + { + arg1 = wxString_in_helper(obj0); + if (arg1 == NULL) SWIG_fail; + temp1 = true; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)wxSystemOptions::IsFalse((wxString const &)*arg1); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp1) + delete arg1; + } + return resultobj; + fail: + { + if (temp1) + delete arg1; + } + return NULL; +} + + +static PyObject * SystemOptions_swigregister(PyObject *, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); } static int _wrap_FileSelectorPromptStr_set(PyObject *) { PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only."); @@ -3332,7 +3671,7 @@ static int _wrap_FileSelectorPromptStr_set(PyObject *) { static PyObject *_wrap_FileSelectorPromptStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -3352,7 +3691,7 @@ static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) { static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -3372,7 +3711,7 @@ static int _wrap_DirSelectorPromptStr_set(PyObject *) { static PyObject *_wrap_DirSelectorPromptStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -3386,7 +3725,7 @@ static PyObject *_wrap_DirSelectorPromptStr_get(void) { static PyObject *_wrap_NewId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long result; char *kwnames[] = { NULL @@ -3401,7 +3740,7 @@ static PyObject *_wrap_NewId(PyObject *, PyObject *args, PyObject *kwargs) { if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -3410,7 +3749,7 @@ static PyObject *_wrap_NewId(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_RegisterId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3419,7 +3758,7 @@ static PyObject *_wrap_RegisterId(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -3437,7 +3776,7 @@ static PyObject *_wrap_RegisterId(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GetCurrentId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long result; char *kwnames[] = { NULL @@ -3452,7 +3791,7 @@ static PyObject *_wrap_GetCurrentId(PyObject *, PyObject *args, PyObject *kwargs if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -3461,7 +3800,7 @@ static PyObject *_wrap_GetCurrentId(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_IsStockID(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; bool result; PyObject * obj0 = 0 ; @@ -3471,7 +3810,7 @@ static PyObject *_wrap_IsStockID(PyObject *, PyObject *args, PyObject *kwargs) { if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsStockID",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -3491,7 +3830,7 @@ static PyObject *_wrap_IsStockID(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_IsStockLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxString *arg2 = 0 ; bool result; @@ -3504,7 +3843,7 @@ static PyObject *_wrap_IsStockLabel(PyObject *, PyObject *args, PyObject *kwargs if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IsStockLabel",kwnames,&obj0,&obj1)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -3537,7 +3876,7 @@ static PyObject *_wrap_IsStockLabel(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_GetStockLabel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; bool arg2 = (bool) true ; wxString arg3 = (wxString) wxPyEmptyString ; @@ -3551,12 +3890,12 @@ static PyObject *_wrap_GetStockLabel(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GetStockLabel",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; } if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -3589,7 +3928,7 @@ static PyObject *_wrap_GetStockLabel(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Bell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -3611,7 +3950,7 @@ static PyObject *_wrap_Bell(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_EndBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -3633,7 +3972,7 @@ static PyObject *_wrap_EndBusyCursor(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_GetElapsedTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool arg1 = (bool) true ; long result; PyObject * obj0 = 0 ; @@ -3644,7 +3983,7 @@ static PyObject *_wrap_GetElapsedTime(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (bool)(SWIG_As_bool(obj0)); + arg1 = static_cast(SWIG_As_bool(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -3656,42 +3995,8 @@ static PyObject *_wrap_GetElapsedTime(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); - } - return resultobj; - fail: - return NULL; -} - - -static PyObject *_wrap_GetMousePosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - int *arg1 = (int *) 0 ; - int *arg2 = (int *) 0 ; - int temp1 ; - int res1 = 0 ; - int temp2 ; - int res2 = 0 ; - char *kwnames[] = { - NULL - }; - - arg1 = &temp1; res1 = SWIG_NEWOBJ; - arg2 = &temp2; res2 = SWIG_NEWOBJ; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail; - { - if (!wxPyCheckForApp()) SWIG_fail; - PyThreadState* __tstate = wxPyBeginAllowThreads(); - wxGetMousePosition(arg1,arg2); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; + resultobj = SWIG_From_long(static_cast(result)); } - Py_INCREF(Py_None); resultobj = Py_None; - resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ? - SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0))); - resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? - SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); return resultobj; fail: return NULL; @@ -3699,7 +4004,7 @@ static PyObject *_wrap_GetMousePosition(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_IsBusy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -3723,7 +4028,7 @@ static PyObject *_wrap_IsBusy(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Now(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -3751,7 +4056,7 @@ static PyObject *_wrap_Now(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Shell(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; bool result; @@ -3794,7 +4099,7 @@ static PyObject *_wrap_Shell(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_StartTimer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -3815,7 +4120,7 @@ static PyObject *_wrap_StartTimer(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GetOsVersion(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int *arg1 = (int *) 0 ; int *arg2 = (int *) 0 ; int result; @@ -3838,7 +4143,7 @@ static PyObject *_wrap_GetOsVersion(PyObject *, PyObject *args, PyObject *kwargs if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ? SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0))); @@ -3851,7 +4156,7 @@ static PyObject *_wrap_GetOsVersion(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_GetOsDescription(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -3879,8 +4184,8 @@ static PyObject *_wrap_GetOsDescription(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_GetFreeMemory(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - long result; + PyObject *resultobj = NULL; + wxMemorySize result; char *kwnames[] = { NULL }; @@ -3888,13 +4193,15 @@ static PyObject *_wrap_GetFreeMemory(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (long)wxGetFreeMemory(); + result = wxGetFreeMemory(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + wxMemorySize * resultptr; + resultptr = new wxMemorySize(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMemorySize, 1); } return resultobj; fail: @@ -3903,7 +4210,7 @@ static PyObject *_wrap_GetFreeMemory(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Shutdown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxShutdownFlags arg1 ; bool result; PyObject * obj0 = 0 ; @@ -3913,13 +4220,13 @@ static PyObject *_wrap_Shutdown(PyObject *, PyObject *args, PyObject *kwargs) { if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail; { - arg1 = (wxShutdownFlags)(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 = (bool)wxShutdown((wxShutdownFlags )arg1); + result = (bool)wxShutdown(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -3934,7 +4241,7 @@ static PyObject *_wrap_Shutdown(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Sleep(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3943,7 +4250,7 @@ static PyObject *_wrap_Sleep(PyObject *, PyObject *args, PyObject *kwargs) { if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -3961,7 +4268,7 @@ static PyObject *_wrap_Sleep(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_MilliSleep(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; unsigned long arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3970,7 +4277,7 @@ static PyObject *_wrap_MilliSleep(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MilliSleep",kwnames,&obj0)) goto fail; { - arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -3988,7 +4295,7 @@ static PyObject *_wrap_MilliSleep(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_MicroSleep(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; unsigned long arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3997,7 +4304,7 @@ static PyObject *_wrap_MicroSleep(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MicroSleep",kwnames,&obj0)) goto fail; { - arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -4015,7 +4322,7 @@ static PyObject *_wrap_MicroSleep(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_EnableTopLevelWindows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4024,7 +4331,7 @@ static PyObject *_wrap_EnableTopLevelWindows(PyObject *, PyObject *args, PyObjec if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail; { - arg1 = (bool)(SWIG_As_bool(obj0)); + arg1 = static_cast(SWIG_As_bool(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -4042,7 +4349,7 @@ static PyObject *_wrap_EnableTopLevelWindows(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_StripMenuCodes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString result; bool temp1 = false ; @@ -4086,7 +4393,7 @@ static PyObject *_wrap_StripMenuCodes(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_GetEmailAddress(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -4114,7 +4421,7 @@ static PyObject *_wrap_GetEmailAddress(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_GetHostName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -4142,7 +4449,7 @@ static PyObject *_wrap_GetHostName(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GetFullHostName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -4170,7 +4477,7 @@ static PyObject *_wrap_GetFullHostName(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_GetUserId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -4198,7 +4505,7 @@ static PyObject *_wrap_GetUserId(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_GetUserName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -4226,7 +4533,7 @@ static PyObject *_wrap_GetUserName(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GetHomeDir(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -4254,7 +4561,7 @@ static PyObject *_wrap_GetHomeDir(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GetUserHome(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxString result; @@ -4301,7 +4608,7 @@ static PyObject *_wrap_GetUserHome(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GetProcessId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; unsigned long result; char *kwnames[] = { NULL @@ -4316,7 +4623,7 @@ static PyObject *_wrap_GetProcessId(PyObject *, PyObject *args, PyObject *kwargs 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: @@ -4325,7 +4632,7 @@ static PyObject *_wrap_GetProcessId(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Trap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -4346,7 +4653,7 @@ static PyObject *_wrap_Trap(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_FileSelector(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxString const &arg2_defvalue = wxPyEmptyString ; @@ -4418,7 +4725,7 @@ static PyObject *_wrap_FileSelector(PyObject *, PyObject *args, PyObject *kwargs } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -4428,13 +4735,13 @@ static PyObject *_wrap_FileSelector(PyObject *, PyObject *args, PyObject *kwargs } if (obj7) { { - arg8 = (int)(SWIG_As_int(obj7)); + arg8 = static_cast(SWIG_As_int(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } if (obj8) { { - arg9 = (int)(SWIG_As_int(obj8)); + arg9 = static_cast(SWIG_As_int(obj8)); if (SWIG_arg_fail(9)) SWIG_fail; } } @@ -4500,7 +4807,7 @@ static PyObject *_wrap_FileSelector(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_LoadFileSelector(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -4586,7 +4893,7 @@ static PyObject *_wrap_LoadFileSelector(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_SaveFileSelector(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -4672,7 +4979,7 @@ static PyObject *_wrap_SaveFileSelector(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DirSelector(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxString const &arg2_defvalue = wxPyEmptyString ; @@ -4711,7 +5018,7 @@ static PyObject *_wrap_DirSelector(PyObject *, PyObject *args, PyObject *kwargs) } if (obj2) { { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -4763,7 +5070,7 @@ static PyObject *_wrap_DirSelector(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GetTextFromUser(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -4814,19 +5121,19 @@ static PyObject *_wrap_GetTextFromUser(PyObject *, PyObject *args, PyObject *kwa } 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 = (bool)(SWIG_As_bool(obj6)); + arg7 = static_cast(SWIG_As_bool(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -4876,7 +5183,7 @@ static PyObject *_wrap_GetTextFromUser(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_GetPasswordFromUser(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -4965,7 +5272,7 @@ static PyObject *_wrap_GetPasswordFromUser(PyObject *, PyObject *args, PyObject static PyObject *_wrap_GetSingleChoice(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; int arg3 ; @@ -5014,31 +5321,31 @@ static PyObject *_wrap_GetSingleChoice(PyObject *, PyObject *args, PyObject *kwa } if (obj4) { { - arg6 = (int)(SWIG_As_int(obj4)); + arg6 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(6)) SWIG_fail; } } if (obj5) { { - arg7 = (int)(SWIG_As_int(obj5)); + arg7 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(7)) SWIG_fail; } } if (obj6) { { - arg8 = (bool)(SWIG_As_bool(obj6)); + arg8 = static_cast(SWIG_As_bool(obj6)); if (SWIG_arg_fail(8)) SWIG_fail; } } if (obj7) { { - arg9 = (int)(SWIG_As_int(obj7)); + arg9 = static_cast(SWIG_As_int(obj7)); if (SWIG_arg_fail(9)) SWIG_fail; } } if (obj8) { { - arg10 = (int)(SWIG_As_int(obj8)); + arg10 = static_cast(SWIG_As_int(obj8)); if (SWIG_arg_fail(10)) SWIG_fail; } } @@ -5086,7 +5393,7 @@ static PyObject *_wrap_GetSingleChoice(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_GetSingleChoiceIndex(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; int arg3 ; @@ -5135,31 +5442,31 @@ static PyObject *_wrap_GetSingleChoiceIndex(PyObject *, PyObject *args, PyObject } if (obj4) { { - arg6 = (int)(SWIG_As_int(obj4)); + arg6 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(6)) SWIG_fail; } } if (obj5) { { - arg7 = (int)(SWIG_As_int(obj5)); + arg7 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(7)) SWIG_fail; } } if (obj6) { { - arg8 = (bool)(SWIG_As_bool(obj6)); + arg8 = static_cast(SWIG_As_bool(obj6)); if (SWIG_arg_fail(8)) SWIG_fail; } } if (obj7) { { - arg9 = (int)(SWIG_As_int(obj7)); + arg9 = static_cast(SWIG_As_int(obj7)); if (SWIG_arg_fail(9)) SWIG_fail; } } if (obj8) { { - arg10 = (int)(SWIG_As_int(obj8)); + arg10 = static_cast(SWIG_As_int(obj8)); if (SWIG_arg_fail(10)) SWIG_fail; } } @@ -5172,7 +5479,7 @@ static PyObject *_wrap_GetSingleChoiceIndex(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp1) @@ -5203,7 +5510,7 @@ static PyObject *_wrap_GetSingleChoiceIndex(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MessageBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -5239,7 +5546,7 @@ static PyObject *_wrap_MessageBox(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; } } @@ -5249,13 +5556,13 @@ static PyObject *_wrap_MessageBox(PyObject *, PyObject *args, PyObject *kwargs) } 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; } } @@ -5268,110 +5575,7 @@ static PyObject *_wrap_MessageBox(PyObject *, PyObject *args, PyObject *kwargs) if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); - } - { - if (temp1) - delete arg1; - } - { - if (temp2) - delete arg2; - } - return resultobj; - fail: - { - if (temp1) - delete arg1; - } - { - if (temp2) - delete arg2; - } - return NULL; -} - - -static PyObject *_wrap_GetNumberFromUser(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxString *arg1 = 0 ; - wxString *arg2 = 0 ; - wxString *arg3 = 0 ; - long arg4 ; - long arg5 = (long) 0 ; - long arg6 = (long) 100 ; - wxWindow *arg7 = (wxWindow *) NULL ; - wxPoint const &arg8_defvalue = wxDefaultPosition ; - wxPoint *arg8 = (wxPoint *) &arg8_defvalue ; - long result; - bool temp1 = false ; - bool temp2 = false ; - bool temp3 = false ; - wxPoint temp8 ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - PyObject * obj4 = 0 ; - PyObject * obj5 = 0 ; - PyObject * obj6 = 0 ; - PyObject * obj7 = 0 ; - char *kwnames[] = { - (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL - }; - - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; - { - arg1 = wxString_in_helper(obj0); - if (arg1 == NULL) SWIG_fail; - temp1 = true; - } - { - arg2 = wxString_in_helper(obj1); - if (arg2 == NULL) SWIG_fail; - temp2 = true; - } - { - arg3 = wxString_in_helper(obj2); - if (arg3 == NULL) SWIG_fail; - temp3 = true; - } - { - arg4 = (long)(SWIG_As_long(obj3)); - if (SWIG_arg_fail(4)) SWIG_fail; - } - if (obj4) { - { - arg5 = (long)(SWIG_As_long(obj4)); - if (SWIG_arg_fail(5)) SWIG_fail; - } - } - if (obj5) { - { - arg6 = (long)(SWIG_As_long(obj5)); - if (SWIG_arg_fail(6)) SWIG_fail; - } - } - if (obj6) { - SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(7)) SWIG_fail; - } - if (obj7) { - { - arg8 = &temp8; - if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail; - } - } - { - if (!wxPyCheckForApp()) SWIG_fail; - PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8); - - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; - } - { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp1) @@ -5381,10 +5585,6 @@ static PyObject *_wrap_GetNumberFromUser(PyObject *, PyObject *args, PyObject *k if (temp2) delete arg2; } - { - if (temp3) - delete arg3; - } return resultobj; fail: { @@ -5395,16 +5595,12 @@ static PyObject *_wrap_GetNumberFromUser(PyObject *, PyObject *args, PyObject *k if (temp2) delete arg2; } - { - if (temp3) - delete arg3; - } return NULL; } static PyObject *_wrap_ColourDisplay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -5429,7 +5625,7 @@ static PyObject *_wrap_ColourDisplay(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int result; char *kwnames[] = { NULL @@ -5445,7 +5641,7 @@ static PyObject *_wrap_DisplayDepth(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: @@ -5454,7 +5650,7 @@ static PyObject *_wrap_DisplayDepth(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_GetDisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int result; char *kwnames[] = { NULL @@ -5470,7 +5666,7 @@ static PyObject *_wrap_GetDisplayDepth(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: @@ -5479,7 +5675,7 @@ static PyObject *_wrap_GetDisplayDepth(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DisplaySize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int *arg1 = (int *) 0 ; int *arg2 = (int *) 0 ; int temp1 ; @@ -5513,7 +5709,7 @@ static PyObject *_wrap_DisplaySize(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GetDisplaySize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize result; char *kwnames[] = { NULL @@ -5530,7 +5726,7 @@ static PyObject *_wrap_GetDisplaySize(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; @@ -5540,7 +5736,7 @@ static PyObject *_wrap_GetDisplaySize(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int *arg1 = (int *) 0 ; int *arg2 = (int *) 0 ; int temp1 ; @@ -5574,7 +5770,7 @@ static PyObject *_wrap_DisplaySizeMM(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_GetDisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSize result; char *kwnames[] = { NULL @@ -5591,7 +5787,7 @@ static PyObject *_wrap_GetDisplaySizeMM(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; @@ -5601,7 +5797,7 @@ static PyObject *_wrap_GetDisplaySizeMM(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int *arg1 = (int *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -5647,7 +5843,7 @@ static PyObject *_wrap_ClientDisplayRect(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_GetClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxRect result; char *kwnames[] = { NULL @@ -5664,7 +5860,7 @@ static PyObject *_wrap_GetClientDisplayRect(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; @@ -5674,7 +5870,7 @@ static PyObject *_wrap_GetClientDisplayRect(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCursor *arg1 = 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5705,8 +5901,31 @@ static PyObject *_wrap_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) { } +static PyObject *_wrap_GetXDisplay(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + void *result; + char *kwnames[] = { + NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetXDisplay",kwnames)) goto fail; + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (void *)wxGetXDisplay(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0); + return resultobj; + fail: + return NULL; +} + + static PyObject *_wrap_BeginBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -5733,8 +5952,60 @@ static PyObject *_wrap_BeginBusyCursor(PyObject *, PyObject *args, PyObject *kwa } +static PyObject *_wrap_GetMousePosition(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxPoint result; + char *kwnames[] = { + NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail; + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = wxGetMousePosition(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + wxPoint * resultptr; + resultptr = new wxPoint(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_FindWindowAtPointer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxWindow *result; + char *kwnames[] = { + NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FindWindowAtPointer",kwnames)) goto fail; + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxWindow *)FindWindowAtPointer(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = wxPyMake_wxObject(result, 0); + } + return resultobj; + fail: + return NULL; +} + + static PyObject *_wrap_GetActiveWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *result; char *kwnames[] = { NULL @@ -5759,7 +6030,7 @@ static PyObject *_wrap_GetActiveWindow(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = 0 ; wxWindow *result; wxPoint temp1 ; @@ -5770,111 +6041,790 @@ static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail; { - arg1 = &temp1; - if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail; + arg1 = &temp1; + if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail; + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = wxPyMake_wxObject(result, 0); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_FindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxPoint *arg1 = 0 ; + wxWindow *result; + wxPoint temp1 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "pt", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail; + { + arg1 = &temp1; + if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail; + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = wxPyMake_wxObject(result, 0); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_GetTopLevelParent(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxWindow *arg1 = (wxWindow *) 0 ; + wxWindow *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "win", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",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 (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxWindow *)wxGetTopLevelParent(arg1); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = wxPyMake_wxObject(result, 0); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_LaunchDefaultBrowser(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxString *arg1 = 0 ; + bool result; + bool temp1 = false ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "url", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LaunchDefaultBrowser",kwnames,&obj0)) goto fail; + { + arg1 = wxString_in_helper(obj0); + if (arg1 == NULL) SWIG_fail; + temp1 = true; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)wxLaunchDefaultBrowser((wxString const &)*arg1); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp1) + delete arg1; + } + return resultobj; + fail: + { + if (temp1) + delete arg1; + } + return NULL; +} + + +static PyObject *_wrap_GetKeyState(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxKeyCode arg1 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "key", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail; + { + arg1 = static_cast(SWIG_As_int(obj0)); + if (SWIG_arg_fail(1)) SWIG_fail; + } + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)wxGetKeyState(arg1); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_new_MouseState(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *result; + char *kwnames[] = { + NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MouseState",kwnames)) goto fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxMouseState *)new wxMouseState(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseState, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_delete_MouseState(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MouseState",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, 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_MouseState_GetX(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + int result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_GetX",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)(arg1)->GetX(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = SWIG_From_int(static_cast(result)); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_GetY(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + int result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_GetY",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (int)(arg1)->GetY(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = SWIG_From_int(static_cast(result)); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_LeftDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_LeftDown",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->LeftDown(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_MiddleDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_MiddleDown",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->MiddleDown(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_RightDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_RightDown",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->RightDown(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_ControlDown",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ControlDown(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_ShiftDown",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->ShiftDown(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_AltDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_AltDown",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->AltDown(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_MetaDown",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->MetaDown(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_CmdDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_CmdDown",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->CmdDown(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_SetX(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + int arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "x", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetX",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, 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; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetX(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_SetY(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + int arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "y", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetY",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, 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; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetY(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_SetLeftDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "down", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetLeftDown",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, 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(); + (arg1)->SetLeftDown(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_SetMiddleDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "down", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetMiddleDown",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, 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(); + (arg1)->SetMiddleDown(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_SetRightDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "down", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetRightDown",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, 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(); + (arg1)->SetRightDown(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_SetControlDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "down", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetControlDown",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, 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(); + (arg1)->SetControlDown(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_MouseState_SetShiftDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "down", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetShiftDown",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, 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; } { - if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1); + (arg1)->SetShiftDown(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - resultobj = wxPyMake_wxObject(result, 0); - } + Py_INCREF(Py_None); resultobj = Py_None; return resultobj; fail: return NULL; } -static PyObject *_wrap_FindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxPoint *arg1 = 0 ; - wxWindow *result; - wxPoint temp1 ; +static PyObject *_wrap_MouseState_SetAltDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "pt", NULL + (char *) "self",(char *) "down", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetAltDown",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; { - arg1 = &temp1; - if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail; + arg2 = static_cast(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; } { - if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1); + (arg1)->SetAltDown(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - resultobj = wxPyMake_wxObject(result, 0); - } + Py_INCREF(Py_None); resultobj = Py_None; return resultobj; fail: return NULL; } -static PyObject *_wrap_GetTopLevelParent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxWindow *arg1 = (wxWindow *) 0 ; - wxWindow *result; +static PyObject *_wrap_MouseState_SetMetaDown(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState *arg1 = (wxMouseState *) 0 ; + bool arg2 ; PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; char *kwnames[] = { - (char *) "win", NULL + (char *) "self",(char *) "down", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetMetaDown",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - if (!wxPyCheckForApp()) SWIG_fail; + arg2 = static_cast(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxWindow *)wxGetTopLevelParent(arg1); + (arg1)->SetMetaDown(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - resultobj = wxPyMake_wxObject(result, 0); - } + Py_INCREF(Py_None); resultobj = Py_None; return resultobj; fail: return NULL; } -static PyObject *_wrap_GetKeyState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxKeyCode arg1 ; - bool result; - PyObject * obj0 = 0 ; +static PyObject * MouseState_swigregister(PyObject *, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxMouseState, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); +} +static PyObject *_wrap_GetMouseState(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxMouseState result; char *kwnames[] = { - (char *) "key", NULL + NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMouseState",kwnames)) goto fail; { - arg1 = (wxKeyCode)(SWIG_As_int(obj0)); - if (SWIG_arg_fail(1)) SWIG_fail; - } - { - if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)wxGetKeyState((wxKeyCode )arg1); + result = wxGetMouseState(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + wxMouseState * resultptr; + resultptr = new wxMouseState(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMouseState, 1); } return resultobj; fail: @@ -5883,7 +6833,7 @@ static PyObject *_wrap_GetKeyState(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_WakeUpMainThread(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -5905,7 +6855,7 @@ static PyObject *_wrap_WakeUpMainThread(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MutexGuiEnter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -5927,7 +6877,7 @@ static PyObject *_wrap_MutexGuiEnter(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_MutexGuiLeave(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -5949,7 +6899,7 @@ static PyObject *_wrap_MutexGuiLeave(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMutexGuiLocker *result; char *kwnames[] = { NULL @@ -5972,7 +6922,7 @@ static PyObject *_wrap_new_MutexGuiLocker(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_delete_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6004,7 +6954,7 @@ static PyObject * MutexGuiLocker_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_Thread_IsMain(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -6028,7 +6978,7 @@ static PyObject *_wrap_Thread_IsMain(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_ToolTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxToolTip *result; bool temp1 = false ; @@ -6051,9 +7001,7 @@ static PyObject *_wrap_new_ToolTip(PyObject *, PyObject *args, PyObject *kwargs) wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - { - resultobj = wxPyMake_wxObject(result, 1); - } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolTip, 1); { if (temp1) delete arg1; @@ -6068,8 +7016,33 @@ static PyObject *_wrap_new_ToolTip(PyObject *, PyObject *args, PyObject *kwargs) } +static PyObject *_wrap_delete_ToolTip(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxToolTip *arg1 = (wxToolTip *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ToolTip",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolTip, 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_ToolTip_SetTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolTip *arg1 = (wxToolTip *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -6110,7 +7083,7 @@ static PyObject *_wrap_ToolTip_SetTip(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ToolTip_GetTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolTip *arg1 = (wxToolTip *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -6142,7 +7115,7 @@ static PyObject *_wrap_ToolTip_GetTip(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ToolTip_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxToolTip *arg1 = (wxToolTip *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -6170,7 +7143,7 @@ static PyObject *_wrap_ToolTip_GetWindow(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ToolTip_Enable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6179,7 +7152,7 @@ static PyObject *_wrap_ToolTip_Enable(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail; { - arg1 = (bool)(SWIG_As_bool(obj0)); + arg1 = static_cast(SWIG_As_bool(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -6197,7 +7170,7 @@ static PyObject *_wrap_ToolTip_Enable(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ToolTip_SetDelay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6206,7 +7179,7 @@ static PyObject *_wrap_ToolTip_SetDelay(PyObject *, PyObject *args, PyObject *kw if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -6231,7 +7204,7 @@ static PyObject * ToolTip_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Caret(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxSize *arg2 = 0 ; wxCaret *result; @@ -6264,8 +7237,33 @@ static PyObject *_wrap_new_Caret(PyObject *, PyObject *args, PyObject *kwargs) { } +static PyObject *_wrap_delete_Caret(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxCaret *arg1 = (wxCaret *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, 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_Caret_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6290,7 +7288,7 @@ static PyObject *_wrap_Caret_Destroy(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Caret_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -6318,7 +7316,7 @@ static PyObject *_wrap_Caret_IsOk(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Caret_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -6346,7 +7344,7 @@ static PyObject *_wrap_Caret_IsVisible(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Caret_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -6366,7 +7364,7 @@ static PyObject *_wrap_Caret_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; @@ -6376,7 +7374,7 @@ static PyObject *_wrap_Caret_GetPosition(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Caret_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -6413,7 +7411,7 @@ static PyObject *_wrap_Caret_GetPositionTuple(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Caret_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -6433,7 +7431,7 @@ static PyObject *_wrap_Caret_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; @@ -6443,7 +7441,7 @@ static PyObject *_wrap_Caret_GetSize(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Caret_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -6480,7 +7478,7 @@ static PyObject *_wrap_Caret_GetSizeTuple(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Caret_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -6508,7 +7506,7 @@ static PyObject *_wrap_Caret_GetWindow(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Caret_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; int arg2 ; int arg3 ; @@ -6523,11 +7521,11 @@ static PyObject *_wrap_Caret_MoveXY(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -6545,7 +7543,7 @@ static PyObject *_wrap_Caret_MoveXY(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Caret_Move(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -6577,7 +7575,7 @@ static PyObject *_wrap_Caret_Move(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Caret_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; int arg2 ; int arg3 ; @@ -6592,11 +7590,11 @@ static PyObject *_wrap_Caret_SetSizeWH(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -6614,7 +7612,7 @@ static PyObject *_wrap_Caret_SetSizeWH(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Caret_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -6646,7 +7644,7 @@ static PyObject *_wrap_Caret_SetSize(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Caret_Show(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; int arg2 = (int) true ; PyObject * obj0 = 0 ; @@ -6660,7 +7658,7 @@ static PyObject *_wrap_Caret_Show(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; } } @@ -6679,7 +7677,7 @@ static PyObject *_wrap_Caret_Show(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Caret_Hide(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCaret *arg1 = (wxCaret *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6704,7 +7702,7 @@ static PyObject *_wrap_Caret_Hide(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Caret_GetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int result; char *kwnames[] = { NULL @@ -6719,7 +7717,7 @@ static PyObject *_wrap_Caret_GetBlinkTime(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: @@ -6728,7 +7726,7 @@ static PyObject *_wrap_Caret_GetBlinkTime(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Caret_SetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6737,7 +7735,7 @@ static PyObject *_wrap_Caret_SetBlinkTime(PyObject *, PyObject *args, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -6762,7 +7760,7 @@ static PyObject * Caret_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ; wxBusyCursor *result; PyObject * obj0 = 0 ; @@ -6791,7 +7789,7 @@ static PyObject *_wrap_new_BusyCursor(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_delete_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBusyCursor *arg1 = (wxBusyCursor *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6823,7 +7821,7 @@ static PyObject * BusyCursor_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) NULL ; wxWindowDisabler *result; PyObject * obj0 = 0 ; @@ -6852,7 +7850,7 @@ static PyObject *_wrap_new_WindowDisabler(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_delete_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6884,7 +7882,7 @@ static PyObject * WindowDisabler_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxBusyInfo *result; bool temp1 = false ; @@ -6923,7 +7921,7 @@ static PyObject *_wrap_new_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_delete_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBusyInfo *arg1 = (wxBusyInfo *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -6955,7 +7953,7 @@ static PyObject * BusyInfo_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_StopWatch(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStopWatch *result; char *kwnames[] = { NULL @@ -6977,7 +7975,7 @@ static PyObject *_wrap_new_StopWatch(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_StopWatch_Start(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStopWatch *arg1 = (wxStopWatch *) 0 ; long arg2 = (long) 0 ; PyObject * obj0 = 0 ; @@ -6991,7 +7989,7 @@ static PyObject *_wrap_StopWatch_Start(PyObject *, PyObject *args, PyObject *kwa 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; } } @@ -7010,7 +8008,7 @@ static PyObject *_wrap_StopWatch_Start(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_StopWatch_Pause(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStopWatch *arg1 = (wxStopWatch *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7035,7 +8033,7 @@ static PyObject *_wrap_StopWatch_Pause(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_StopWatch_Resume(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStopWatch *arg1 = (wxStopWatch *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7060,7 +8058,7 @@ static PyObject *_wrap_StopWatch_Resume(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_StopWatch_Time(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStopWatch *arg1 = (wxStopWatch *) 0 ; long result; PyObject * obj0 = 0 ; @@ -7079,7 +8077,7 @@ static PyObject *_wrap_StopWatch_Time(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -7095,7 +8093,7 @@ static PyObject * StopWatch_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 9 ; int arg2 = (int) wxID_FILE1 ; wxFileHistory *result; @@ -7108,13 +8106,13 @@ static PyObject *_wrap_new_FileHistory(PyObject *, PyObject *args, PyObject *kwa if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FileHistory",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; } } @@ -7133,7 +8131,7 @@ static PyObject *_wrap_new_FileHistory(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_delete_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7158,7 +8156,7 @@ static PyObject *_wrap_delete_FileHistory(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -7199,7 +8197,7 @@ static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *, PyObject *args, static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -7212,7 +8210,7 @@ static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7230,7 +8228,7 @@ static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *, PyObject *a static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7249,7 +8247,7 @@ static PyObject *_wrap_FileHistory_GetMaxFiles(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: @@ -7258,7 +8256,7 @@ static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *, PyObject *args, PyObj static PyObject *_wrap_FileHistory_UseMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; @@ -7287,7 +8285,7 @@ static PyObject *_wrap_FileHistory_UseMenu(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; @@ -7316,7 +8314,7 @@ static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *, PyObject *args, PyObje static PyObject *_wrap_FileHistory_Load(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; wxConfigBase *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7351,7 +8349,7 @@ static PyObject *_wrap_FileHistory_Load(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_FileHistory_Save(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; wxConfigBase *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -7386,7 +8384,7 @@ static PyObject *_wrap_FileHistory_Save(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7411,7 +8409,7 @@ static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *, PyObject *args, Py static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; PyObject * obj0 = 0 ; @@ -7440,7 +8438,7 @@ static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *, PyObject *args static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; int arg2 ; wxString result; @@ -7454,7 +8452,7 @@ static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7478,7 +8476,7 @@ static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *, PyObject *args, Py static PyObject *_wrap_FileHistory_GetCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileHistory *arg1 = (wxFileHistory *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7497,7 +8495,7 @@ static PyObject *_wrap_FileHistory_GetCount(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: @@ -7513,7 +8511,7 @@ static PyObject * FileHistory_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -7570,7 +8568,7 @@ static PyObject *_wrap_new_SingleInstanceChecker(PyObject *, PyObject *args, PyO static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSingleInstanceChecker *result; char *kwnames[] = { NULL @@ -7592,7 +8590,7 @@ static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *, PyObject *args, static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7617,7 +8615,7 @@ static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *, PyObject *args, static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -7680,7 +8678,7 @@ static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *, PyObject *args, static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -7714,8 +8712,46 @@ static PyObject * SingleInstanceChecker_swigregister(PyObject *, PyObject *args) Py_INCREF(obj); return Py_BuildValue((char *)""); } +static PyObject *_wrap_DrawWindowOnDC(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxWindow *arg1 = (wxWindow *) 0 ; + wxDC *arg2 = 0 ; + bool result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "window",(char *) "dc", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DrawWindowOnDC",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_wxDC, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + if (arg2 == NULL) { + SWIG_null_ref("wxDC"); + } + if (SWIG_arg_fail(2)) SWIG_fail; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)wxDrawWindowOnDC(arg1,(wxDC const &)*arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + static PyObject *_wrap_delete_TipProvider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTipProvider *arg1 = (wxTipProvider *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7740,7 +8776,7 @@ static PyObject *_wrap_delete_TipProvider(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TipProvider_GetTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTipProvider *arg1 = (wxTipProvider *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -7772,7 +8808,7 @@ static PyObject *_wrap_TipProvider_GetTip(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTipProvider *arg1 = (wxTipProvider *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -7791,7 +8827,7 @@ static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *, PyObject *args, PyO if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -7800,7 +8836,7 @@ static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *, PyObject *args, PyO static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTipProvider *arg1 = (wxTipProvider *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -7855,7 +8891,7 @@ static PyObject * TipProvider_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyTipProvider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; size_t arg1 ; wxPyTipProvider *result; PyObject * obj0 = 0 ; @@ -7865,7 +8901,7 @@ static PyObject *_wrap_new_PyTipProvider(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail; { - arg1 = (size_t)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -7883,7 +8919,7 @@ static PyObject *_wrap_new_PyTipProvider(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -7921,7 +8957,7 @@ static PyObject * PyTipProvider_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_ShowTip(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxTipProvider *arg2 = (wxTipProvider *) 0 ; bool arg3 = (bool) true ; @@ -7940,7 +8976,7 @@ static PyObject *_wrap_ShowTip(PyObject *, PyObject *args, PyObject *kwargs) { 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; } } @@ -7962,7 +8998,7 @@ static PyObject *_wrap_ShowTip(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_CreateFileTipProvider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; size_t arg2 ; wxTipProvider *result; @@ -7980,7 +9016,7 @@ static PyObject *_wrap_CreateFileTipProvider(PyObject *, PyObject *args, PyObjec temp1 = true; } { - 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; } { @@ -8007,7 +9043,7 @@ static PyObject *_wrap_CreateFileTipProvider(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_new_Timer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) NULL ; int arg2 = (int) -1 ; wxPyTimer *result; @@ -8024,7 +9060,7 @@ static PyObject *_wrap_new_Timer(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; } } @@ -8044,7 +9080,7 @@ static PyObject *_wrap_new_Timer(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_delete_Timer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTimer *arg1 = (wxPyTimer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8069,7 +9105,7 @@ static PyObject *_wrap_delete_Timer(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Timer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTimer *arg1 = (wxPyTimer *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -8089,7 +9125,7 @@ static PyObject *_wrap_Timer__setCallbackInfo(PyObject *, PyObject *args, PyObje arg3 = obj2; if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -8108,7 +9144,7 @@ static PyObject *_wrap_Timer__setCallbackInfo(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Timer_SetOwner(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTimer *arg1 = (wxPyTimer *) 0 ; wxEvtHandler *arg2 = (wxEvtHandler *) 0 ; int arg3 = (int) -1 ; @@ -8126,7 +9162,7 @@ static PyObject *_wrap_Timer_SetOwner(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; } } @@ -8145,7 +9181,7 @@ static PyObject *_wrap_Timer_SetOwner(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Timer_GetOwner(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTimer *arg1 = (wxPyTimer *) 0 ; wxEvtHandler *result; PyObject * obj0 = 0 ; @@ -8173,7 +9209,7 @@ static PyObject *_wrap_Timer_GetOwner(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Timer_Start(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTimer *arg1 = (wxPyTimer *) 0 ; int arg2 = (int) -1 ; bool arg3 = (bool) false ; @@ -8190,13 +9226,13 @@ static PyObject *_wrap_Timer_Start(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 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8217,7 +9253,7 @@ static PyObject *_wrap_Timer_Start(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Timer_Stop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTimer *arg1 = (wxPyTimer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8241,8 +9277,33 @@ static PyObject *_wrap_Timer_Stop(PyObject *, PyObject *args, PyObject *kwargs) } +static PyObject *_wrap_Timer_Notify(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxPyTimer *arg1 = (wxPyTimer *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Notify",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->Notify(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + static PyObject *_wrap_Timer_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTimer *arg1 = (wxPyTimer *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -8270,7 +9331,7 @@ static PyObject *_wrap_Timer_IsRunning(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Timer_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTimer *arg1 = (wxPyTimer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -8289,7 +9350,7 @@ static PyObject *_wrap_Timer_GetInterval(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: @@ -8298,7 +9359,7 @@ static PyObject *_wrap_Timer_GetInterval(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Timer_IsOneShot(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTimer *arg1 = (wxPyTimer *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -8326,7 +9387,7 @@ static PyObject *_wrap_Timer_IsOneShot(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Timer_GetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTimer *arg1 = (wxPyTimer *) 0 ; int result; PyObject * obj0 = 0 ; @@ -8345,7 +9406,7 @@ static PyObject *_wrap_Timer_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: @@ -8361,7 +9422,7 @@ static PyObject * Timer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TimerEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; wxTimerEvent *result; @@ -8374,13 +9435,13 @@ static PyObject *_wrap_new_TimerEvent(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",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; } } @@ -8399,7 +9460,7 @@ static PyObject *_wrap_new_TimerEvent(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_TimerEvent_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimerEvent *arg1 = (wxTimerEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -8418,7 +9479,7 @@ static PyObject *_wrap_TimerEvent_GetInterval(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: @@ -8434,7 +9495,7 @@ static PyObject * TimerEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimer *arg1 = 0 ; wxTimerRunner *result; PyObject * obj0 = 0 ; @@ -8464,7 +9525,7 @@ static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimer *arg1 = 0 ; int arg2 ; bool arg3 = (bool) false ; @@ -8483,12 +9544,12 @@ static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *, PyObject *args) { if (SWIG_arg_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 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8562,7 +9623,7 @@ static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) { static PyObject *_wrap_delete_TimerRunner(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimerRunner *arg1 = (wxTimerRunner *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8587,7 +9648,7 @@ static PyObject *_wrap_delete_TimerRunner(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TimerRunner_Start(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimerRunner *arg1 = (wxTimerRunner *) 0 ; int arg2 ; bool arg3 = (bool) false ; @@ -8602,12 +9663,12 @@ static PyObject *_wrap_TimerRunner_Start(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimerRunner, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -8633,7 +9694,7 @@ static PyObject * TimerRunner_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Log(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLog *result; char *kwnames[] = { NULL @@ -8654,8 +9715,33 @@ static PyObject *_wrap_new_Log(PyObject *, PyObject *args, PyObject *kwargs) { } +static PyObject *_wrap_delete_Log(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxLog *arg1 = (wxLog *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Log",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, 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_Log_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -8679,7 +9765,7 @@ static PyObject *_wrap_Log_IsEnabled(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Log_EnableLogging(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool arg1 = (bool) true ; bool result; PyObject * obj0 = 0 ; @@ -8690,7 +9776,7 @@ static PyObject *_wrap_Log_EnableLogging(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (bool)(SWIG_As_bool(obj0)); + arg1 = static_cast(SWIG_As_bool(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -8711,7 +9797,7 @@ static PyObject *_wrap_Log_EnableLogging(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Log_OnLog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogLevel arg1 ; wxChar *arg2 = (wxChar *) 0 ; time_t arg3 ; @@ -8724,13 +9810,13 @@ static PyObject *_wrap_Log_OnLog(PyObject *, PyObject *args, PyObject *kwargs) { if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail; { - arg1 = (wxLogLevel)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(2)) SWIG_fail; { - arg3 = (time_t)(SWIG_As_unsigned_SS_int(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -8748,7 +9834,7 @@ static PyObject *_wrap_Log_OnLog(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Log_Flush(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLog *arg1 = (wxLog *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8773,7 +9859,7 @@ static PyObject *_wrap_Log_Flush(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Log_FlushActive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -8794,7 +9880,7 @@ static PyObject *_wrap_Log_FlushActive(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Log_GetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLog *result; char *kwnames[] = { NULL @@ -8816,7 +9902,7 @@ static PyObject *_wrap_Log_GetActiveTarget(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Log_SetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLog *arg1 = (wxLog *) 0 ; wxLog *result; PyObject * obj0 = 0 ; @@ -8825,7 +9911,7 @@ static PyObject *_wrap_Log_SetActiveTarget(PyObject *, PyObject *args, PyObject }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0); + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -8834,7 +9920,7 @@ static PyObject *_wrap_Log_SetActiveTarget(PyObject *, PyObject *args, PyObject wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0); + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 1); return resultobj; fail: return NULL; @@ -8842,7 +9928,7 @@ static PyObject *_wrap_Log_SetActiveTarget(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Log_Suspend(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -8863,7 +9949,7 @@ static PyObject *_wrap_Log_Suspend(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Log_Resume(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -8884,7 +9970,7 @@ static PyObject *_wrap_Log_Resume(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Log_SetVerbose(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool arg1 = (bool) true ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8894,7 +9980,7 @@ static PyObject *_wrap_Log_SetVerbose(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (bool)(SWIG_As_bool(obj0)); + arg1 = static_cast(SWIG_As_bool(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -8913,7 +9999,7 @@ static PyObject *_wrap_Log_SetVerbose(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Log_SetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogLevel arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8922,7 +10008,7 @@ static PyObject *_wrap_Log_SetLogLevel(PyObject *, PyObject *args, PyObject *kwa if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail; { - arg1 = (wxLogLevel)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -8940,7 +10026,7 @@ static PyObject *_wrap_Log_SetLogLevel(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -8961,7 +10047,7 @@ static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Log_SetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTraceMask arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8970,7 +10056,7 @@ static PyObject *_wrap_Log_SetTraceMask(PyObject *, PyObject *args, PyObject *kw if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail; { - arg1 = (wxTraceMask)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -8988,7 +10074,7 @@ static PyObject *_wrap_Log_SetTraceMask(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Log_AddTraceMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -9025,7 +10111,7 @@ static PyObject *_wrap_Log_AddTraceMask(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Log_RemoveTraceMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -9062,7 +10148,7 @@ static PyObject *_wrap_Log_RemoveTraceMask(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Log_ClearTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -9083,7 +10169,7 @@ static PyObject *_wrap_Log_ClearTraceMasks(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Log_GetTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxArrayString *result; char *kwnames[] = { NULL @@ -9110,7 +10196,7 @@ static PyObject *_wrap_Log_GetTraceMasks(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Log_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxChar *arg1 = (wxChar *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -9135,7 +10221,7 @@ static PyObject *_wrap_Log_SetTimestamp(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Log_GetVerbose(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -9159,7 +10245,7 @@ static PyObject *_wrap_Log_GetVerbose(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Log_GetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTraceMask result; char *kwnames[] = { NULL @@ -9174,7 +10260,7 @@ static PyObject *_wrap_Log_GetTraceMask(PyObject *, PyObject *args, PyObject *kw 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: @@ -9183,7 +10269,7 @@ static PyObject *_wrap_Log_GetTraceMask(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxChar *arg1 = (wxChar *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9211,7 +10297,7 @@ static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Log_GetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogLevel result; char *kwnames[] = { NULL @@ -9226,7 +10312,7 @@ static PyObject *_wrap_Log_GetLogLevel(PyObject *, PyObject *args, PyObject *kwa 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: @@ -9235,7 +10321,7 @@ static PyObject *_wrap_Log_GetLogLevel(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Log_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxChar *result; char *kwnames[] = { NULL @@ -9257,7 +10343,7 @@ static PyObject *_wrap_Log_GetTimestamp(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Log_TimeStamp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString result; char *kwnames[] = { NULL @@ -9266,7 +10352,7 @@ static PyObject *_wrap_Log_TimeStamp(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = Log_TimeStamp(); + result = wxLog_TimeStamp(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -9285,7 +10371,7 @@ static PyObject *_wrap_Log_TimeStamp(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Log_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLog *arg1 = (wxLog *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -9317,7 +10403,7 @@ static PyObject * Log_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_LogStderr(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogStderr *result; char *kwnames[] = { NULL @@ -9346,7 +10432,7 @@ static PyObject * LogStderr_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_LogTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextCtrl *arg1 = (wxTextCtrl *) 0 ; wxLogTextCtrl *result; PyObject * obj0 = 0 ; @@ -9379,7 +10465,7 @@ static PyObject * LogTextCtrl_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_LogGui(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogGui *result; char *kwnames[] = { NULL @@ -9408,7 +10494,7 @@ static PyObject * LogGui_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_LogWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFrame *arg1 = (wxFrame *) 0 ; wxString *arg2 = 0 ; bool arg3 = (bool) true ; @@ -9433,13 +10519,13 @@ static PyObject *_wrap_new_LogWindow(PyObject *, PyObject *args, PyObject *kwarg } 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; } } @@ -9466,7 +10552,7 @@ static PyObject *_wrap_new_LogWindow(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_LogWindow_Show(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogWindow *arg1 = (wxLogWindow *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -9480,7 +10566,7 @@ static PyObject *_wrap_LogWindow_Show(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; } } @@ -9499,7 +10585,7 @@ static PyObject *_wrap_LogWindow_Show(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_LogWindow_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogWindow *arg1 = (wxLogWindow *) 0 ; wxFrame *result; PyObject * obj0 = 0 ; @@ -9518,7 +10604,7 @@ static PyObject *_wrap_LogWindow_GetFrame(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = wxPyMake_wxObject(result, 0); + resultobj = wxPyMake_wxObject(result, (bool)0); } return resultobj; fail: @@ -9527,7 +10613,7 @@ static PyObject *_wrap_LogWindow_GetFrame(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_LogWindow_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogWindow *arg1 = (wxLogWindow *) 0 ; wxLog *result; PyObject * obj0 = 0 ; @@ -9553,7 +10639,7 @@ static PyObject *_wrap_LogWindow_GetOldLog(PyObject *, PyObject *args, PyObject static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogWindow *arg1 = (wxLogWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9581,7 +10667,7 @@ static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *, PyObject *args, P static PyObject *_wrap_LogWindow_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogWindow *arg1 = (wxLogWindow *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -9594,7 +10680,7 @@ static PyObject *_wrap_LogWindow_PassMessages(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, 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; } { @@ -9619,7 +10705,7 @@ static PyObject * LogWindow_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_LogChain(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLog *arg1 = (wxLog *) 0 ; wxLogChain *result; PyObject * obj0 = 0 ; @@ -9645,7 +10731,7 @@ static PyObject *_wrap_new_LogChain(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_LogChain_SetLog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogChain *arg1 = (wxLogChain *) 0 ; wxLog *arg2 = (wxLog *) 0 ; PyObject * obj0 = 0 ; @@ -9674,7 +10760,7 @@ static PyObject *_wrap_LogChain_SetLog(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_LogChain_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogChain *arg1 = (wxLogChain *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -9687,7 +10773,7 @@ static PyObject *_wrap_LogChain_PassMessages(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, 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; } { @@ -9705,7 +10791,7 @@ static PyObject *_wrap_LogChain_PassMessages(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogChain *arg1 = (wxLogChain *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -9724,7 +10810,97 @@ static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *, PyObject *args, Py if (PyErr_Occurred()) SWIG_fail; } { - resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_LogChain_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxLogChain *arg1 = (wxLogChain *) 0 ; + wxLog *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxLog *)(arg1)->GetOldLog(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0); + return resultobj; + fail: + return NULL; +} + + +static PyObject * LogChain_swigregister(PyObject *, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); +} +static PyObject *_wrap_new_LogBuffer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxLogBuffer *result; + char *kwnames[] = { + NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogBuffer",kwnames)) goto fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxLogBuffer *)new wxLogBuffer(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogBuffer, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_LogBuffer_GetBuffer(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxLogBuffer *arg1 = (wxLogBuffer *) 0 ; + wxString *result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogBuffer_GetBuffer",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogBuffer, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + { + wxString const &_result_ref = ((wxLogBuffer const *)arg1)->GetBuffer(); + result = (wxString *) &_result_ref; + } + + 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: @@ -9732,41 +10908,40 @@ static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *, PyObject *args, Py } -static PyObject *_wrap_LogChain_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxLogChain *arg1 = (wxLogChain *) 0 ; - wxLog *result; +static PyObject *_wrap_LogBuffer_Flush(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxLogBuffer *arg1 = (wxLogBuffer *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogBuffer_Flush",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogBuffer, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxLog *)(arg1)->GetOldLog(); + (arg1)->Flush(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0); + Py_INCREF(Py_None); resultobj = Py_None; return resultobj; fail: return NULL; } -static PyObject * LogChain_swigregister(PyObject *, PyObject *args) { +static PyObject * LogBuffer_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; - SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj); + SWIG_TypeClientData(SWIGTYPE_p_wxLogBuffer, obj); Py_INCREF(obj); return Py_BuildValue((char *)""); } static PyObject *_wrap_SysErrorCode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; unsigned long result; char *kwnames[] = { NULL @@ -9781,7 +10956,7 @@ static PyObject *_wrap_SysErrorCode(PyObject *, PyObject *args, PyObject *kwargs 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: @@ -9790,7 +10965,7 @@ static PyObject *_wrap_SysErrorCode(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_SysErrorMsg(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; unsigned long arg1 = (unsigned long) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -9801,7 +10976,7 @@ static PyObject *_wrap_SysErrorMsg(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -9826,7 +11001,7 @@ static PyObject *_wrap_SysErrorMsg(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_LogFatalError(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -9863,7 +11038,7 @@ static PyObject *_wrap_LogFatalError(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_LogError(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -9900,7 +11075,7 @@ static PyObject *_wrap_LogError(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_LogWarning(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -9937,7 +11112,7 @@ static PyObject *_wrap_LogWarning(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_LogMessage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -9974,7 +11149,7 @@ static PyObject *_wrap_LogMessage(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_LogInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -10011,7 +11186,7 @@ static PyObject *_wrap_LogInfo(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_LogDebug(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -10048,7 +11223,7 @@ static PyObject *_wrap_LogDebug(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_LogVerbose(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -10085,7 +11260,7 @@ static PyObject *_wrap_LogVerbose(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_LogStatus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -10122,7 +11297,7 @@ static PyObject *_wrap_LogStatus(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_LogStatusFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFrame *arg1 = (wxFrame *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10163,7 +11338,7 @@ static PyObject *_wrap_LogStatusFrame(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_LogSysError(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; bool temp1 = false ; PyObject * obj0 = 0 ; @@ -10200,7 +11375,7 @@ static PyObject *_wrap_LogSysError(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_LogGeneric(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; unsigned long arg1 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10212,7 +11387,7 @@ static PyObject *_wrap_LogGeneric(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail; { - arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -10243,7 +11418,7 @@ static PyObject *_wrap_LogGeneric(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_LogTrace__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; unsigned long arg1 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -10252,7 +11427,7 @@ static PyObject *_wrap_LogTrace__SWIG_0(PyObject *, PyObject *args) { if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail; { - arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -10283,7 +11458,7 @@ static PyObject *_wrap_LogTrace__SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_LogTrace__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; bool temp1 = false ; @@ -10374,7 +11549,7 @@ static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) { static PyObject *_wrap_SafeShowMessage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; bool temp1 = false ; @@ -10427,7 +11602,7 @@ static PyObject *_wrap_SafeShowMessage(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_new_LogNull(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogNull *result; char *kwnames[] = { NULL @@ -10449,7 +11624,7 @@ static PyObject *_wrap_new_LogNull(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_delete_LogNull(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLogNull *arg1 = (wxLogNull *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10481,7 +11656,7 @@ static PyObject * LogNull_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyLog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyLog *result; char *kwnames[] = { NULL @@ -10503,7 +11678,7 @@ static PyObject *_wrap_new_PyLog(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyLog *arg1 = (wxPyLog *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -10541,7 +11716,7 @@ static PyObject * PyLog_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_Process_Kill(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxSignal arg2 = (wxSignal) wxSIGTERM ; int arg3 = (int) wxKILL_NOCHILDREN ; @@ -10555,24 +11730,24 @@ static PyObject *_wrap_Process_Kill(PyObject *, PyObject *args, PyObject *kwargs if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Process_Kill",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; } if (obj1) { { - arg2 = (wxSignal)(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; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxKillError)wxPyProcess::Kill(arg1,(wxSignal )arg2,arg3); + result = (wxKillError)wxPyProcess::Kill(arg1,arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -10585,7 +11760,7 @@ static PyObject *_wrap_Process_Kill(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Process_Exists(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; bool result; PyObject * obj0 = 0 ; @@ -10595,7 +11770,7 @@ static PyObject *_wrap_Process_Exists(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -10615,7 +11790,7 @@ static PyObject *_wrap_Process_Exists(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Process_Open(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; int arg2 = (int) wxEXEC_ASYNC ; wxPyProcess *result; @@ -10634,7 +11809,7 @@ static PyObject *_wrap_Process_Open(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; } } @@ -10661,7 +11836,7 @@ static PyObject *_wrap_Process_Open(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_Process(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEvtHandler *arg1 = (wxEvtHandler *) NULL ; int arg2 = (int) -1 ; wxPyProcess *result; @@ -10678,7 +11853,7 @@ static PyObject *_wrap_new_Process(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; } } @@ -10697,7 +11872,7 @@ static PyObject *_wrap_new_Process(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Process__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -10727,8 +11902,8 @@ static PyObject *_wrap_Process__setCallbackInfo(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_Process_base_OnTerminate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_Process_OnTerminate(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; int arg2 ; int arg3 ; @@ -10739,20 +11914,20 @@ static PyObject *_wrap_Process_base_OnTerminate(PyObject *, PyObject *args, PyOb (char *) "self",(char *) "pid",(char *) "status", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_base_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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(); - (arg1)->base_OnTerminate(arg2,arg3); + (arg1)->OnTerminate(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -10765,7 +11940,7 @@ static PyObject *_wrap_Process_base_OnTerminate(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Process_Redirect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10790,7 +11965,7 @@ static PyObject *_wrap_Process_Redirect(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Process_IsRedirected(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -10818,7 +11993,7 @@ static PyObject *_wrap_Process_IsRedirected(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Process_Detach(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10843,7 +12018,7 @@ static PyObject *_wrap_Process_Detach(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Process_GetInputStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; wxInputStream *result; PyObject * obj0 = 0 ; @@ -10876,7 +12051,7 @@ static PyObject *_wrap_Process_GetInputStream(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Process_GetErrorStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; wxInputStream *result; PyObject * obj0 = 0 ; @@ -10909,7 +12084,7 @@ static PyObject *_wrap_Process_GetErrorStream(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Process_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; wxOutputStream *result; PyObject * obj0 = 0 ; @@ -10935,7 +12110,7 @@ static PyObject *_wrap_Process_GetOutputStream(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Process_CloseOutput(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10960,7 +12135,7 @@ static PyObject *_wrap_Process_CloseOutput(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Process_IsInputOpened(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -10988,7 +12163,7 @@ static PyObject *_wrap_Process_IsInputOpened(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Process_IsInputAvailable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11016,7 +12191,7 @@ static PyObject *_wrap_Process_IsInputAvailable(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Process_IsErrorAvailable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyProcess *arg1 = (wxPyProcess *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11051,7 +12226,7 @@ static PyObject * Process_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -11066,19 +12241,19 @@ static PyObject *_wrap_new_ProcessEvent(PyObject *, PyObject *args, PyObject *kw if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",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; } } @@ -11097,7 +12272,7 @@ static PyObject *_wrap_new_ProcessEvent(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ProcessEvent_GetPid(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxProcessEvent *arg1 = (wxProcessEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11116,7 +12291,7 @@ static PyObject *_wrap_ProcessEvent_GetPid(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: @@ -11125,7 +12300,7 @@ static PyObject *_wrap_ProcessEvent_GetPid(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxProcessEvent *arg1 = (wxProcessEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11144,7 +12319,7 @@ static PyObject *_wrap_ProcessEvent_GetExitCode(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: @@ -11153,7 +12328,7 @@ static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxProcessEvent *arg1 = (wxProcessEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -11166,7 +12341,7 @@ static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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_pid = arg2; @@ -11179,7 +12354,7 @@ static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxProcessEvent *arg1 = (wxProcessEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11193,7 +12368,7 @@ static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *, PyObject *args, PyObje result = (int) ((arg1)->m_pid); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11202,7 +12377,7 @@ static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxProcessEvent *arg1 = (wxProcessEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -11215,7 +12390,7 @@ static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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_exitcode = arg2; @@ -11228,7 +12403,7 @@ static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *, PyObject *args, P static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxProcessEvent *arg1 = (wxProcessEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11242,7 +12417,7 @@ static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *, PyObject *args, P result = (int) ((arg1)->m_exitcode); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11258,7 +12433,7 @@ static PyObject * ProcessEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_Execute(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; int arg2 = (int) wxEXEC_ASYNC ; wxPyProcess *arg3 = (wxPyProcess *) NULL ; @@ -11279,7 +12454,7 @@ static PyObject *_wrap_Execute(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; } } @@ -11296,7 +12471,7 @@ static PyObject *_wrap_Execute(PyObject *, PyObject *args, PyObject *kwargs) { if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } { if (temp1) @@ -11313,7 +12488,7 @@ static PyObject *_wrap_Execute(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_Kill(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; wxSignal arg2 = (wxSignal) wxSIGTERM ; wxKillError *arg3 = (wxKillError *) 0 ; @@ -11332,35 +12507,39 @@ static PyObject *_wrap_Kill(PyObject *, PyObject *args, PyObject *kwargs) { } if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Kill",kwnames,&obj0,&obj1,&obj2)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } if (obj1) { { - arg2 = (wxSignal)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg4 = (int)(SWIG_As_int(obj2)); + arg4 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(4)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)wxKill(arg1,(wxSignal )arg2,arg3,arg4); + result = (int)wxKill(arg1,arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { PyObject* o; o = PyInt_FromLong((long) (*arg3)); + resultobj = t_output_helper(resultobj, o); + + + } return resultobj; fail: @@ -11369,7 +12548,7 @@ static PyObject *_wrap_Kill(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_new_Joystick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) wxJOYSTICK1 ; wxJoystick *result; PyObject * obj0 = 0 ; @@ -11380,7 +12559,7 @@ static PyObject *_wrap_new_Joystick(PyObject *, PyObject *args, PyObject *kwargs if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",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; } } @@ -11400,7 +12579,7 @@ static PyObject *_wrap_new_Joystick(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_delete_Joystick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11425,7 +12604,7 @@ static PyObject *_wrap_delete_Joystick(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Joystick_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -11445,7 +12624,7 @@ static PyObject *_wrap_Joystick_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; @@ -11455,7 +12634,7 @@ static PyObject *_wrap_Joystick_GetPosition(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Joystick_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11474,7 +12653,7 @@ static PyObject *_wrap_Joystick_GetZPosition(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: @@ -11483,7 +12662,7 @@ static PyObject *_wrap_Joystick_GetZPosition(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Joystick_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11502,7 +12681,7 @@ static PyObject *_wrap_Joystick_GetButtonState(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: @@ -11511,7 +12690,7 @@ static PyObject *_wrap_Joystick_GetButtonState(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11530,7 +12709,7 @@ static PyObject *_wrap_Joystick_GetPOVPosition(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: @@ -11539,7 +12718,7 @@ static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11558,7 +12737,7 @@ static PyObject *_wrap_Joystick_GetPOVCTSPosition(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: @@ -11567,7 +12746,7 @@ static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *, PyObject *args, Py static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11586,7 +12765,7 @@ static PyObject *_wrap_Joystick_GetRudderPosition(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: @@ -11595,7 +12774,7 @@ static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *, PyObject *args, Py static PyObject *_wrap_Joystick_GetUPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11614,7 +12793,7 @@ static PyObject *_wrap_Joystick_GetUPosition(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: @@ -11623,7 +12802,7 @@ static PyObject *_wrap_Joystick_GetUPosition(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Joystick_GetVPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11642,7 +12821,7 @@ static PyObject *_wrap_Joystick_GetVPosition(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: @@ -11651,7 +12830,7 @@ static PyObject *_wrap_Joystick_GetVPosition(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11670,7 +12849,7 @@ static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -11679,7 +12858,7 @@ static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *, PyObject *args, static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -11692,7 +12871,7 @@ static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11710,7 +12889,7 @@ static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *, PyObject *args, static PyObject *_wrap_Joystick_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11738,7 +12917,7 @@ static PyObject *_wrap_Joystick_IsOk(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11757,7 +12936,7 @@ static PyObject *_wrap_Joystick_GetNumberJoysticks(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: @@ -11766,7 +12945,7 @@ static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *, PyObject *args, P static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11785,7 +12964,7 @@ static PyObject *_wrap_Joystick_GetManufacturerId(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: @@ -11794,7 +12973,7 @@ static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *, PyObject *args, Py static PyObject *_wrap_Joystick_GetProductId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11813,7 +12992,7 @@ static PyObject *_wrap_Joystick_GetProductId(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: @@ -11822,7 +13001,7 @@ static PyObject *_wrap_Joystick_GetProductId(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Joystick_GetProductName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -11854,7 +13033,7 @@ static PyObject *_wrap_Joystick_GetProductName(PyObject *, PyObject *args, PyObj static PyObject *_wrap_Joystick_GetXMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11873,7 +13052,7 @@ static PyObject *_wrap_Joystick_GetXMin(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: @@ -11882,7 +13061,7 @@ static PyObject *_wrap_Joystick_GetXMin(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Joystick_GetYMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11901,7 +13080,7 @@ static PyObject *_wrap_Joystick_GetYMin(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: @@ -11910,7 +13089,7 @@ static PyObject *_wrap_Joystick_GetYMin(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Joystick_GetZMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11929,7 +13108,7 @@ static PyObject *_wrap_Joystick_GetZMin(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: @@ -11938,7 +13117,7 @@ static PyObject *_wrap_Joystick_GetZMin(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Joystick_GetXMax(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11957,7 +13136,7 @@ static PyObject *_wrap_Joystick_GetXMax(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: @@ -11966,7 +13145,7 @@ static PyObject *_wrap_Joystick_GetXMax(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Joystick_GetYMax(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11985,7 +13164,7 @@ static PyObject *_wrap_Joystick_GetYMax(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: @@ -11994,7 +13173,7 @@ static PyObject *_wrap_Joystick_GetYMax(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Joystick_GetZMax(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12013,7 +13192,7 @@ static PyObject *_wrap_Joystick_GetZMax(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: @@ -12022,7 +13201,7 @@ static PyObject *_wrap_Joystick_GetZMax(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12041,7 +13220,7 @@ static PyObject *_wrap_Joystick_GetNumberButtons(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: @@ -12050,7 +13229,7 @@ static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *, PyObject *args, PyO static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12069,7 +13248,7 @@ static PyObject *_wrap_Joystick_GetNumberAxes(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: @@ -12078,7 +13257,7 @@ static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12097,7 +13276,7 @@ static PyObject *_wrap_Joystick_GetMaxButtons(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: @@ -12106,7 +13285,7 @@ static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12125,7 +13304,7 @@ static PyObject *_wrap_Joystick_GetMaxAxes(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: @@ -12134,7 +13313,7 @@ static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Joystick_GetPollingMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12153,7 +13332,7 @@ static PyObject *_wrap_Joystick_GetPollingMin(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: @@ -12162,7 +13341,7 @@ static PyObject *_wrap_Joystick_GetPollingMin(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Joystick_GetPollingMax(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12181,7 +13360,7 @@ static PyObject *_wrap_Joystick_GetPollingMax(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: @@ -12190,7 +13369,7 @@ static PyObject *_wrap_Joystick_GetPollingMax(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Joystick_GetRudderMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12209,7 +13388,7 @@ static PyObject *_wrap_Joystick_GetRudderMin(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: @@ -12218,7 +13397,7 @@ static PyObject *_wrap_Joystick_GetRudderMin(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Joystick_GetRudderMax(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12237,7 +13416,7 @@ static PyObject *_wrap_Joystick_GetRudderMax(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: @@ -12246,7 +13425,7 @@ static PyObject *_wrap_Joystick_GetRudderMax(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Joystick_GetUMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12265,7 +13444,7 @@ static PyObject *_wrap_Joystick_GetUMin(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: @@ -12274,7 +13453,7 @@ static PyObject *_wrap_Joystick_GetUMin(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Joystick_GetUMax(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12293,7 +13472,7 @@ static PyObject *_wrap_Joystick_GetUMax(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: @@ -12302,7 +13481,7 @@ static PyObject *_wrap_Joystick_GetUMax(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Joystick_GetVMin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12321,7 +13500,7 @@ static PyObject *_wrap_Joystick_GetVMin(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: @@ -12330,7 +13509,7 @@ static PyObject *_wrap_Joystick_GetVMin(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Joystick_GetVMax(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12349,7 +13528,7 @@ static PyObject *_wrap_Joystick_GetVMax(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: @@ -12358,7 +13537,7 @@ static PyObject *_wrap_Joystick_GetVMax(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Joystick_HasRudder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12386,7 +13565,7 @@ static PyObject *_wrap_Joystick_HasRudder(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Joystick_HasZ(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12414,7 +13593,7 @@ static PyObject *_wrap_Joystick_HasZ(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Joystick_HasU(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12442,7 +13621,7 @@ static PyObject *_wrap_Joystick_HasU(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Joystick_HasV(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12470,7 +13649,7 @@ static PyObject *_wrap_Joystick_HasV(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Joystick_HasPOV(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12498,7 +13677,7 @@ static PyObject *_wrap_Joystick_HasPOV(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12526,7 +13705,7 @@ static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12554,7 +13733,7 @@ static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Joystick_SetCapture(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) 0 ; @@ -12573,7 +13752,7 @@ static PyObject *_wrap_Joystick_SetCapture(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; } } @@ -12594,7 +13773,7 @@ static PyObject *_wrap_Joystick_SetCapture(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystick *arg1 = (wxJoystick *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12629,7 +13808,7 @@ static PyObject * Joystick_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_JoystickEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; int arg3 = (int) wxJOYSTICK1 ; @@ -12646,25 +13825,25 @@ static PyObject *_wrap_new_JoystickEvent(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",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; } } @@ -12683,7 +13862,7 @@ static PyObject *_wrap_new_JoystickEvent(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -12703,7 +13882,7 @@ static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *, PyObject *args, PyO } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -12713,7 +13892,7 @@ static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *, PyObject *args, PyO static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12732,7 +13911,7 @@ static PyObject *_wrap_JoystickEvent_GetZPosition(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: @@ -12741,7 +13920,7 @@ static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *, PyObject *args, Py static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12760,7 +13939,7 @@ static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12769,7 +13948,7 @@ static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *, PyObject *args, static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12788,7 +13967,7 @@ static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -12797,7 +13976,7 @@ static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *, PyObject *args, static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -12816,7 +13995,7 @@ static PyObject *_wrap_JoystickEvent_GetJoystick(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: @@ -12825,7 +14004,7 @@ static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *, PyObject *args, PyO static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12838,7 +14017,7 @@ static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12856,7 +14035,7 @@ static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *, PyObject *args, PyO static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12869,7 +14048,7 @@ static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12887,7 +14066,7 @@ static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *, PyObject *args, static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12900,7 +14079,7 @@ static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12918,7 +14097,7 @@ static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *, PyObject *args, static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -12950,7 +14129,7 @@ static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *, PyObject *args, PyO static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12963,7 +14142,7 @@ static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12981,7 +14160,7 @@ static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *, PyObject *args, Py static PyObject *_wrap_JoystickEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -13009,7 +14188,7 @@ static PyObject *_wrap_JoystickEvent_IsButton(PyObject *, PyObject *args, PyObje static PyObject *_wrap_JoystickEvent_IsMove(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -13037,7 +14216,7 @@ static PyObject *_wrap_JoystickEvent_IsMove(PyObject *, PyObject *args, PyObject static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -13065,7 +14244,7 @@ static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int arg2 = (int) wxJOY_BUTTON_ANY ; bool result; @@ -13080,7 +14259,7 @@ static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *, PyObject *args, PyOb 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; } } @@ -13101,7 +14280,7 @@ static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *, PyObject *args, PyOb static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int arg2 = (int) wxJOY_BUTTON_ANY ; bool result; @@ -13116,7 +14295,7 @@ static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *, PyObject *args, PyObje 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; } } @@ -13137,7 +14316,7 @@ static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *, PyObject *args, PyObje static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ; int arg2 = (int) wxJOY_BUTTON_ANY ; bool result; @@ -13152,7 +14331,7 @@ static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *, PyObject *args, Py 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; } } @@ -13180,7 +14359,7 @@ static PyObject * JoystickEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Sound(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxSound *result; @@ -13222,7 +14401,7 @@ static PyObject *_wrap_new_Sound(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_new_SoundFromData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; PyObject *arg1 = (PyObject *) 0 ; wxSound *result; PyObject * obj0 = 0 ; @@ -13248,7 +14427,7 @@ static PyObject *_wrap_new_SoundFromData(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_delete_Sound(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSound *arg1 = (wxSound *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13273,7 +14452,7 @@ static PyObject *_wrap_delete_Sound(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Sound_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSound *arg1 = (wxSound *) 0 ; wxString *arg2 = 0 ; bool result; @@ -13317,7 +14496,7 @@ static PyObject *_wrap_Sound_Create(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Sound_CreateFromData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSound *arg1 = (wxSound *) 0 ; PyObject *arg2 = (PyObject *) 0 ; bool result; @@ -13348,7 +14527,7 @@ static PyObject *_wrap_Sound_CreateFromData(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Sound_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSound *arg1 = (wxSound *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -13376,7 +14555,7 @@ static PyObject *_wrap_Sound_IsOk(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Sound_Play(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSound *arg1 = (wxSound *) 0 ; unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ; bool result; @@ -13391,7 +14570,7 @@ static PyObject *_wrap_Sound_Play(PyObject *, PyObject *args, PyObject *kwargs) if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - 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; } } @@ -13413,7 +14592,7 @@ static PyObject *_wrap_Sound_Play(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_Sound_PlaySound(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ; bool result; @@ -13432,7 +14611,7 @@ static PyObject *_wrap_Sound_PlaySound(PyObject *, PyObject *args, PyObject *kwa } if (obj1) { { - 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; } } @@ -13462,7 +14641,7 @@ static PyObject *_wrap_Sound_PlaySound(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Sound_Stop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -13491,7 +14670,7 @@ static PyObject * Sound_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -13577,7 +14756,7 @@ static PyObject *_wrap_new_FileTypeInfo(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxArrayString *arg1 = 0 ; wxFileTypeInfo *result; bool temp1 = false ; @@ -13597,15 +14776,11 @@ static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *, PyObject *args, PyOb int i, len=PySequence_Length(obj0); for (i=0; iAdd(Py2wxString(str)); + arg1->Add(*s); + delete s; Py_DECREF(item); - Py_DECREF(str); } } { @@ -13629,7 +14804,7 @@ static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *, PyObject *args, PyOb static PyObject *_wrap_new_NullFileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *result; char *kwnames[] = { NULL @@ -13651,7 +14826,7 @@ static PyObject *_wrap_new_NullFileTypeInfo(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -13679,7 +14854,7 @@ static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; @@ -13701,7 +14876,7 @@ static PyObject *_wrap_FileTypeInfo_SetIcon(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; } } @@ -13728,7 +14903,7 @@ static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -13769,7 +14944,7 @@ static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *, PyObject *args, PyO static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -13804,7 +14979,7 @@ static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *, PyObject *args, PyOb static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -13839,7 +15014,7 @@ static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *, PyObject *args, P static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -13874,7 +15049,7 @@ static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *, PyObject *args, static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -13909,7 +15084,7 @@ static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *, PyObject *args, PyO static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -13944,7 +15119,7 @@ static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *, PyObject *args, P static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; wxArrayString *result; PyObject * obj0 = 0 ; @@ -13975,7 +15150,7 @@ static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *, PyObject *args, Py static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; int result; PyObject * obj0 = 0 ; @@ -13994,7 +15169,7 @@ static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -14003,7 +15178,7 @@ static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *, PyObject *arg static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -14038,7 +15213,7 @@ static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *, PyObject *args, PyOb static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ; int result; PyObject * obj0 = 0 ; @@ -14057,7 +15232,7 @@ static PyObject *_wrap_FileTypeInfo_GetIconIndex(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: @@ -14073,7 +15248,7 @@ static PyObject * FileTypeInfo_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FileType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileTypeInfo *arg1 = 0 ; wxFileType *result; PyObject * obj0 = 0 ; @@ -14105,7 +15280,7 @@ static PyObject *_wrap_new_FileType(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_delete_FileType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14130,7 +15305,7 @@ static PyObject *_wrap_delete_FileType(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_FileType_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -14156,7 +15331,7 @@ static PyObject *_wrap_FileType_GetMimeType(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileType_GetMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -14182,7 +15357,7 @@ static PyObject *_wrap_FileType_GetMimeTypes(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_FileType_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -14208,7 +15383,7 @@ static PyObject *_wrap_FileType_GetExtensions(PyObject *, PyObject *args, PyObje static PyObject *_wrap_FileType_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; wxIcon *result; PyObject * obj0 = 0 ; @@ -14234,7 +15409,7 @@ static PyObject *_wrap_FileType_GetIcon(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_FileType_GetIconInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -14260,7 +15435,7 @@ static PyObject *_wrap_FileType_GetIconInfo(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileType_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -14286,7 +15461,7 @@ static PyObject *_wrap_FileType_GetDescription(PyObject *, PyObject *args, PyObj static PyObject *_wrap_FileType_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -14347,7 +15522,7 @@ static PyObject *_wrap_FileType_GetOpenCommand(PyObject *, PyObject *args, PyObj static PyObject *_wrap_FileType_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -14408,7 +15583,7 @@ static PyObject *_wrap_FileType_GetPrintCommand(PyObject *, PyObject *args, PyOb static PyObject *_wrap_FileType_GetAllCommands(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -14469,7 +15644,7 @@ static PyObject *_wrap_FileType_GetAllCommands(PyObject *, PyObject *args, PyObj static PyObject *_wrap_FileType_SetCommand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -14500,7 +15675,7 @@ static PyObject *_wrap_FileType_SetCommand(PyObject *, PyObject *args, PyObject } if (obj3) { { - arg4 = (bool)(SWIG_As_bool(obj3)); + arg4 = static_cast(SWIG_As_bool(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -14537,7 +15712,7 @@ static PyObject *_wrap_FileType_SetCommand(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; wxString const &arg2_defvalue = wxPyEmptyString ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -14563,7 +15738,7 @@ static PyObject *_wrap_FileType_SetDefaultIcon(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; } } @@ -14592,7 +15767,7 @@ static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *, PyObject *args, PyObj static PyObject *_wrap_FileType_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileType *arg1 = (wxFileType *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -14620,7 +15795,7 @@ static PyObject *_wrap_FileType_Unassociate(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileType_ExpandCommand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -14656,7 +15831,7 @@ static PyObject *_wrap_FileType_ExpandCommand(PyObject *, PyObject *args, PyObje } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3); + result = wxFileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -14712,7 +15887,7 @@ static int _wrap_TheMimeTypesManager_set(PyObject *) { static PyObject *_wrap_TheMimeTypesManager_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(wxTheMimeTypesManager), SWIGTYPE_p_wxMimeTypesManager, 0); return pyobj; @@ -14720,7 +15895,7 @@ static PyObject *_wrap_TheMimeTypesManager_get(void) { static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; bool result; @@ -14776,7 +15951,7 @@ static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *, PyObject *args, PyO static PyObject *_wrap_new_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *result; char *kwnames[] = { NULL @@ -14798,7 +15973,7 @@ static PyObject *_wrap_new_MimeTypesManager(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; int arg2 = (int) wxMAILCAP_ALL ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -14816,7 +15991,7 @@ static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *, PyObject *args, P 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; } } @@ -14850,7 +16025,7 @@ static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *, PyObject *args, P static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -14875,7 +16050,7 @@ static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *, PyObject *args, Py static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; wxString *arg2 = 0 ; wxFileType *result; @@ -14917,7 +16092,7 @@ static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *, PyO static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; wxString *arg2 = 0 ; wxFileType *result; @@ -14959,7 +16134,7 @@ static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *, PyOb static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; wxString *arg2 = 0 ; bool arg3 = (bool) false ; @@ -14982,7 +16157,7 @@ static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *, PyObject *args, } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -15011,7 +16186,7 @@ static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *, PyObject *args, static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; wxString *arg2 = 0 ; bool result; @@ -15055,7 +16230,7 @@ static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *, PyObject *args static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -15081,7 +16256,7 @@ static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *, PyObject *a static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; wxFileTypeInfo *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -15116,7 +16291,7 @@ static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *, PyObject *args, static PyObject *_wrap_MimeTypesManager_Associate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; wxFileTypeInfo *arg2 = 0 ; wxFileType *result; @@ -15152,7 +16327,7 @@ static PyObject *_wrap_MimeTypesManager_Associate(PyObject *, PyObject *args, Py static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; wxFileType *arg2 = (wxFileType *) 0 ; bool result; @@ -15184,7 +16359,7 @@ static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *, PyObject *args, static PyObject *_wrap_delete_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -15222,7 +16397,7 @@ static int _wrap_ART_TOOLBAR_set(PyObject *) { static PyObject *_wrap_ART_TOOLBAR_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15242,7 +16417,7 @@ static int _wrap_ART_MENU_set(PyObject *) { static PyObject *_wrap_ART_MENU_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15262,7 +16437,7 @@ static int _wrap_ART_FRAME_ICON_set(PyObject *) { static PyObject *_wrap_ART_FRAME_ICON_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15282,7 +16457,7 @@ static int _wrap_ART_CMN_DIALOG_set(PyObject *) { static PyObject *_wrap_ART_CMN_DIALOG_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15302,7 +16477,7 @@ static int _wrap_ART_HELP_BROWSER_set(PyObject *) { static PyObject *_wrap_ART_HELP_BROWSER_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15322,7 +16497,7 @@ static int _wrap_ART_MESSAGE_BOX_set(PyObject *) { static PyObject *_wrap_ART_MESSAGE_BOX_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15342,7 +16517,7 @@ static int _wrap_ART_BUTTON_set(PyObject *) { static PyObject *_wrap_ART_BUTTON_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15362,7 +16537,7 @@ static int _wrap_ART_OTHER_set(PyObject *) { static PyObject *_wrap_ART_OTHER_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15382,7 +16557,7 @@ static int _wrap_ART_ADD_BOOKMARK_set(PyObject *) { static PyObject *_wrap_ART_ADD_BOOKMARK_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15402,7 +16577,7 @@ static int _wrap_ART_DEL_BOOKMARK_set(PyObject *) { static PyObject *_wrap_ART_DEL_BOOKMARK_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15422,7 +16597,7 @@ static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *) { static PyObject *_wrap_ART_HELP_SIDE_PANEL_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15442,7 +16617,7 @@ static int _wrap_ART_HELP_SETTINGS_set(PyObject *) { static PyObject *_wrap_ART_HELP_SETTINGS_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15462,7 +16637,7 @@ static int _wrap_ART_HELP_BOOK_set(PyObject *) { static PyObject *_wrap_ART_HELP_BOOK_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15482,7 +16657,7 @@ static int _wrap_ART_HELP_FOLDER_set(PyObject *) { static PyObject *_wrap_ART_HELP_FOLDER_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15502,7 +16677,7 @@ static int _wrap_ART_HELP_PAGE_set(PyObject *) { static PyObject *_wrap_ART_HELP_PAGE_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15522,7 +16697,7 @@ static int _wrap_ART_GO_BACK_set(PyObject *) { static PyObject *_wrap_ART_GO_BACK_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15542,7 +16717,7 @@ static int _wrap_ART_GO_FORWARD_set(PyObject *) { static PyObject *_wrap_ART_GO_FORWARD_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15562,7 +16737,7 @@ static int _wrap_ART_GO_UP_set(PyObject *) { static PyObject *_wrap_ART_GO_UP_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15582,7 +16757,7 @@ static int _wrap_ART_GO_DOWN_set(PyObject *) { static PyObject *_wrap_ART_GO_DOWN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15602,7 +16777,7 @@ static int _wrap_ART_GO_TO_PARENT_set(PyObject *) { static PyObject *_wrap_ART_GO_TO_PARENT_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15622,7 +16797,7 @@ static int _wrap_ART_GO_HOME_set(PyObject *) { static PyObject *_wrap_ART_GO_HOME_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15642,7 +16817,7 @@ static int _wrap_ART_FILE_OPEN_set(PyObject *) { static PyObject *_wrap_ART_FILE_OPEN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15655,6 +16830,46 @@ static PyObject *_wrap_ART_FILE_OPEN_get(void) { } +static int _wrap_ART_FILE_SAVE_set(PyObject *) { + PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_SAVE is read-only."); + return 1; +} + + +static PyObject *_wrap_ART_FILE_SAVE_get(void) { + PyObject *pyobj = NULL; + + { +#if wxUSE_UNICODE + pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_SAVE)->c_str(), (&wxPyART_FILE_SAVE)->Len()); +#else + pyobj = PyString_FromStringAndSize((&wxPyART_FILE_SAVE)->c_str(), (&wxPyART_FILE_SAVE)->Len()); +#endif + } + return pyobj; +} + + +static int _wrap_ART_FILE_SAVE_AS_set(PyObject *) { + PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_SAVE_AS is read-only."); + return 1; +} + + +static PyObject *_wrap_ART_FILE_SAVE_AS_get(void) { + PyObject *pyobj = NULL; + + { +#if wxUSE_UNICODE + pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS)->c_str(), (&wxPyART_FILE_SAVE_AS)->Len()); +#else + pyobj = PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS)->c_str(), (&wxPyART_FILE_SAVE_AS)->Len()); +#endif + } + return pyobj; +} + + static int _wrap_ART_PRINT_set(PyObject *) { PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only."); return 1; @@ -15662,7 +16877,7 @@ static int _wrap_ART_PRINT_set(PyObject *) { static PyObject *_wrap_ART_PRINT_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15682,7 +16897,7 @@ static int _wrap_ART_HELP_set(PyObject *) { static PyObject *_wrap_ART_HELP_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15702,7 +16917,7 @@ static int _wrap_ART_TIP_set(PyObject *) { static PyObject *_wrap_ART_TIP_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15722,7 +16937,7 @@ static int _wrap_ART_REPORT_VIEW_set(PyObject *) { static PyObject *_wrap_ART_REPORT_VIEW_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15742,7 +16957,7 @@ static int _wrap_ART_LIST_VIEW_set(PyObject *) { static PyObject *_wrap_ART_LIST_VIEW_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15762,7 +16977,7 @@ static int _wrap_ART_NEW_DIR_set(PyObject *) { static PyObject *_wrap_ART_NEW_DIR_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15782,7 +16997,7 @@ static int _wrap_ART_HARDDISK_set(PyObject *) { static PyObject *_wrap_ART_HARDDISK_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15802,7 +17017,7 @@ static int _wrap_ART_FLOPPY_set(PyObject *) { static PyObject *_wrap_ART_FLOPPY_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15822,7 +17037,7 @@ static int _wrap_ART_CDROM_set(PyObject *) { static PyObject *_wrap_ART_CDROM_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15842,7 +17057,7 @@ static int _wrap_ART_REMOVABLE_set(PyObject *) { static PyObject *_wrap_ART_REMOVABLE_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15862,7 +17077,7 @@ static int _wrap_ART_FOLDER_set(PyObject *) { static PyObject *_wrap_ART_FOLDER_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15882,7 +17097,7 @@ static int _wrap_ART_FOLDER_OPEN_set(PyObject *) { static PyObject *_wrap_ART_FOLDER_OPEN_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15902,7 +17117,7 @@ static int _wrap_ART_GO_DIR_UP_set(PyObject *) { static PyObject *_wrap_ART_GO_DIR_UP_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15922,7 +17137,7 @@ static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *) { static PyObject *_wrap_ART_EXECUTABLE_FILE_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15942,7 +17157,7 @@ static int _wrap_ART_NORMAL_FILE_set(PyObject *) { static PyObject *_wrap_ART_NORMAL_FILE_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15962,7 +17177,7 @@ static int _wrap_ART_TICK_MARK_set(PyObject *) { static PyObject *_wrap_ART_TICK_MARK_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15982,7 +17197,7 @@ static int _wrap_ART_CROSS_MARK_set(PyObject *) { static PyObject *_wrap_ART_CROSS_MARK_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16002,7 +17217,7 @@ static int _wrap_ART_ERROR_set(PyObject *) { static PyObject *_wrap_ART_ERROR_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16022,7 +17237,7 @@ static int _wrap_ART_QUESTION_set(PyObject *) { static PyObject *_wrap_ART_QUESTION_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16042,7 +17257,7 @@ static int _wrap_ART_WARNING_set(PyObject *) { static PyObject *_wrap_ART_WARNING_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16062,7 +17277,7 @@ static int _wrap_ART_INFORMATION_set(PyObject *) { static PyObject *_wrap_ART_INFORMATION_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16082,7 +17297,7 @@ static int _wrap_ART_MISSING_IMAGE_set(PyObject *) { static PyObject *_wrap_ART_MISSING_IMAGE_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -16095,8 +17310,208 @@ static PyObject *_wrap_ART_MISSING_IMAGE_get(void) { } +static int _wrap_ART_COPY_set(PyObject *) { + PyErr_SetString(PyExc_TypeError,"Variable ART_COPY is read-only."); + return 1; +} + + +static PyObject *_wrap_ART_COPY_get(void) { + PyObject *pyobj = NULL; + + { +#if wxUSE_UNICODE + pyobj = PyUnicode_FromWideChar((&wxPyART_COPY)->c_str(), (&wxPyART_COPY)->Len()); +#else + pyobj = PyString_FromStringAndSize((&wxPyART_COPY)->c_str(), (&wxPyART_COPY)->Len()); +#endif + } + return pyobj; +} + + +static int _wrap_ART_CUT_set(PyObject *) { + PyErr_SetString(PyExc_TypeError,"Variable ART_CUT is read-only."); + return 1; +} + + +static PyObject *_wrap_ART_CUT_get(void) { + PyObject *pyobj = NULL; + + { +#if wxUSE_UNICODE + pyobj = PyUnicode_FromWideChar((&wxPyART_CUT)->c_str(), (&wxPyART_CUT)->Len()); +#else + pyobj = PyString_FromStringAndSize((&wxPyART_CUT)->c_str(), (&wxPyART_CUT)->Len()); +#endif + } + return pyobj; +} + + +static int _wrap_ART_PASTE_set(PyObject *) { + PyErr_SetString(PyExc_TypeError,"Variable ART_PASTE is read-only."); + return 1; +} + + +static PyObject *_wrap_ART_PASTE_get(void) { + PyObject *pyobj = NULL; + + { +#if wxUSE_UNICODE + pyobj = PyUnicode_FromWideChar((&wxPyART_PASTE)->c_str(), (&wxPyART_PASTE)->Len()); +#else + pyobj = PyString_FromStringAndSize((&wxPyART_PASTE)->c_str(), (&wxPyART_PASTE)->Len()); +#endif + } + return pyobj; +} + + +static int _wrap_ART_DELETE_set(PyObject *) { + PyErr_SetString(PyExc_TypeError,"Variable ART_DELETE is read-only."); + return 1; +} + + +static PyObject *_wrap_ART_DELETE_get(void) { + PyObject *pyobj = NULL; + + { +#if wxUSE_UNICODE + pyobj = PyUnicode_FromWideChar((&wxPyART_DELETE)->c_str(), (&wxPyART_DELETE)->Len()); +#else + pyobj = PyString_FromStringAndSize((&wxPyART_DELETE)->c_str(), (&wxPyART_DELETE)->Len()); +#endif + } + return pyobj; +} + + +static int _wrap_ART_NEW_set(PyObject *) { + PyErr_SetString(PyExc_TypeError,"Variable ART_NEW is read-only."); + return 1; +} + + +static PyObject *_wrap_ART_NEW_get(void) { + PyObject *pyobj = NULL; + + { +#if wxUSE_UNICODE + pyobj = PyUnicode_FromWideChar((&wxPyART_NEW)->c_str(), (&wxPyART_NEW)->Len()); +#else + pyobj = PyString_FromStringAndSize((&wxPyART_NEW)->c_str(), (&wxPyART_NEW)->Len()); +#endif + } + return pyobj; +} + + +static int _wrap_ART_UNDO_set(PyObject *) { + PyErr_SetString(PyExc_TypeError,"Variable ART_UNDO is read-only."); + return 1; +} + + +static PyObject *_wrap_ART_UNDO_get(void) { + PyObject *pyobj = NULL; + + { +#if wxUSE_UNICODE + pyobj = PyUnicode_FromWideChar((&wxPyART_UNDO)->c_str(), (&wxPyART_UNDO)->Len()); +#else + pyobj = PyString_FromStringAndSize((&wxPyART_UNDO)->c_str(), (&wxPyART_UNDO)->Len()); +#endif + } + return pyobj; +} + + +static int _wrap_ART_REDO_set(PyObject *) { + PyErr_SetString(PyExc_TypeError,"Variable ART_REDO is read-only."); + return 1; +} + + +static PyObject *_wrap_ART_REDO_get(void) { + PyObject *pyobj = NULL; + + { +#if wxUSE_UNICODE + pyobj = PyUnicode_FromWideChar((&wxPyART_REDO)->c_str(), (&wxPyART_REDO)->Len()); +#else + pyobj = PyString_FromStringAndSize((&wxPyART_REDO)->c_str(), (&wxPyART_REDO)->Len()); +#endif + } + return pyobj; +} + + +static int _wrap_ART_QUIT_set(PyObject *) { + PyErr_SetString(PyExc_TypeError,"Variable ART_QUIT is read-only."); + return 1; +} + + +static PyObject *_wrap_ART_QUIT_get(void) { + PyObject *pyobj = NULL; + + { +#if wxUSE_UNICODE + pyobj = PyUnicode_FromWideChar((&wxPyART_QUIT)->c_str(), (&wxPyART_QUIT)->Len()); +#else + pyobj = PyString_FromStringAndSize((&wxPyART_QUIT)->c_str(), (&wxPyART_QUIT)->Len()); +#endif + } + return pyobj; +} + + +static int _wrap_ART_FIND_set(PyObject *) { + PyErr_SetString(PyExc_TypeError,"Variable ART_FIND is read-only."); + return 1; +} + + +static PyObject *_wrap_ART_FIND_get(void) { + PyObject *pyobj = NULL; + + { +#if wxUSE_UNICODE + pyobj = PyUnicode_FromWideChar((&wxPyART_FIND)->c_str(), (&wxPyART_FIND)->Len()); +#else + pyobj = PyString_FromStringAndSize((&wxPyART_FIND)->c_str(), (&wxPyART_FIND)->Len()); +#endif + } + return pyobj; +} + + +static int _wrap_ART_FIND_AND_REPLACE_set(PyObject *) { + PyErr_SetString(PyExc_TypeError,"Variable ART_FIND_AND_REPLACE is read-only."); + return 1; +} + + +static PyObject *_wrap_ART_FIND_AND_REPLACE_get(void) { + PyObject *pyobj = NULL; + + { +#if wxUSE_UNICODE + pyobj = PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE)->c_str(), (&wxPyART_FIND_AND_REPLACE)->Len()); +#else + pyobj = PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE)->c_str(), (&wxPyART_FIND_AND_REPLACE)->Len()); +#endif + } + return pyobj; +} + + static PyObject *_wrap_new_ArtProvider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyArtProvider *result; char *kwnames[] = { NULL @@ -16118,8 +17533,33 @@ static PyObject *_wrap_new_ArtProvider(PyObject *, PyObject *args, PyObject *kwa } +static PyObject *_wrap_delete_ArtProvider(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ArtProvider",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, 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_ArtProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -16150,7 +17590,7 @@ static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *, PyObject *args, static PyObject *_wrap_ArtProvider_PushProvider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -16158,7 +17598,7 @@ static PyObject *_wrap_ArtProvider_PushProvider(PyObject *, PyObject *args, PyOb }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0); + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -16175,7 +17615,7 @@ static PyObject *_wrap_ArtProvider_PushProvider(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ArtProvider_PopProvider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool result; char *kwnames[] = { NULL @@ -16199,7 +17639,7 @@ static PyObject *_wrap_ArtProvider_PopProvider(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -16227,7 +17667,7 @@ static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *, PyObject *args, Py static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString const &arg2_defvalue = wxPyART_OTHER ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -16273,7 +17713,7 @@ static PyObject *_wrap_ArtProvider_GetBitmap(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); } { @@ -16299,7 +17739,7 @@ static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ArtProvider_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString const &arg2_defvalue = wxPyART_OTHER ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -16345,7 +17785,7 @@ static PyObject *_wrap_ArtProvider_GetIcon(PyObject *, PyObject *args, PyObject } { wxIcon * resultptr; - resultptr = new wxIcon((wxIcon &)(result)); + resultptr = new wxIcon(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1); } { @@ -16370,8 +17810,58 @@ static PyObject *_wrap_ArtProvider_GetIcon(PyObject *, PyObject *args, PyObject } +static PyObject *_wrap_ArtProvider_GetSizeHint(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxString *arg1 = 0 ; + bool arg2 = (bool) false ; + wxSize result; + bool temp1 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "client",(char *) "platform_dependent", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ArtProvider_GetSizeHint",kwnames,&obj0,&obj1)) goto fail; + { + arg1 = wxString_in_helper(obj0); + if (arg1 == NULL) SWIG_fail; + temp1 = true; + } + if (obj1) { + { + arg2 = static_cast(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = wxPyArtProvider::GetSizeHint((wxString const &)*arg1,arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + wxSize * resultptr; + resultptr = new wxSize(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); + } + { + if (temp1) + delete arg1; + } + return resultobj; + fail: + { + if (temp1) + delete arg1; + } + return NULL; +} + + static PyObject *_wrap_ArtProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -16403,7 +17893,7 @@ static PyObject * ArtProvider_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_delete_ConfigBase(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -16428,7 +17918,7 @@ static PyObject *_wrap_delete_ConfigBase(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ConfigBase_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxConfigBase *result; PyObject * obj0 = 0 ; @@ -16437,7 +17927,7 @@ static PyObject *_wrap_ConfigBase_Set(PyObject *, PyObject *args, PyObject *kwar }; if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0); + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -16454,7 +17944,7 @@ static PyObject *_wrap_ConfigBase_Set(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ConfigBase_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; bool arg1 = (bool) true ; wxConfigBase *result; PyObject * obj0 = 0 ; @@ -16465,7 +17955,7 @@ static PyObject *_wrap_ConfigBase_Get(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (bool)(SWIG_As_bool(obj0)); + arg1 = static_cast(SWIG_As_bool(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -16484,7 +17974,7 @@ static PyObject *_wrap_ConfigBase_Get(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_ConfigBase_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *result; char *kwnames[] = { NULL @@ -16506,7 +17996,7 @@ static PyObject *_wrap_ConfigBase_Create(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; char *kwnames[] = { NULL }; @@ -16527,7 +18017,7 @@ static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *, PyObject *args, static PyObject *_wrap_ConfigBase_SetPath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -16568,7 +18058,7 @@ static PyObject *_wrap_ConfigBase_SetPath(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ConfigBase_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -16603,7 +18093,7 @@ static PyObject *_wrap_ConfigBase_GetPath(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -16629,7 +18119,7 @@ static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; long arg2 ; PyObject *result; @@ -16643,7 +18133,7 @@ static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, 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; } { @@ -16661,7 +18151,7 @@ static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -16687,7 +18177,7 @@ static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; long arg2 ; PyObject *result; @@ -16701,7 +18191,7 @@ static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, 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; } { @@ -16719,7 +18209,7 @@ static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; bool arg2 = (bool) false ; size_t result; @@ -16734,7 +18224,7 @@ static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *, PyObject *args, 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; } } @@ -16746,7 +18236,7 @@ static PyObject *_wrap_ConfigBase_GetNumberOfEntries(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: @@ -16755,7 +18245,7 @@ static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *, PyObject *args, static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; bool arg2 = (bool) false ; size_t result; @@ -16770,7 +18260,7 @@ static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *, PyObject *args, 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; } } @@ -16782,7 +18272,7 @@ static PyObject *_wrap_ConfigBase_GetNumberOfGroups(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: @@ -16791,7 +18281,7 @@ static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *, PyObject *args, static PyObject *_wrap_ConfigBase_HasGroup(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool result; @@ -16835,7 +18325,7 @@ static PyObject *_wrap_ConfigBase_HasGroup(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ConfigBase_HasEntry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool result; @@ -16879,7 +18369,7 @@ static PyObject *_wrap_ConfigBase_HasEntry(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ConfigBase_Exists(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool result; @@ -16923,7 +18413,7 @@ static PyObject *_wrap_ConfigBase_Exists(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; wxConfigBase::EntryType result; @@ -16965,7 +18455,7 @@ static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ConfigBase_Read(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -17032,7 +18522,7 @@ static PyObject *_wrap_ConfigBase_Read(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_ConfigBase_ReadInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; long arg3 = (long) 0 ; @@ -17055,7 +18545,7 @@ static PyObject *_wrap_ConfigBase_ReadInt(PyObject *, PyObject *args, PyObject * } if (obj2) { { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -17067,7 +18557,7 @@ static PyObject *_wrap_ConfigBase_ReadInt(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } { if (temp2) @@ -17084,7 +18574,7 @@ static PyObject *_wrap_ConfigBase_ReadInt(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; double arg3 = (double) 0.0 ; @@ -17107,7 +18597,7 @@ static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *, PyObject *args, PyObject } if (obj2) { { - arg3 = (double)(SWIG_As_double(obj2)); + arg3 = static_cast(SWIG_As_double(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -17119,7 +18609,7 @@ static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } { if (temp2) @@ -17136,7 +18626,7 @@ static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ConfigBase_ReadBool(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool arg3 = (bool) false ; @@ -17159,7 +18649,7 @@ static PyObject *_wrap_ConfigBase_ReadBool(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; } } @@ -17188,7 +18678,7 @@ static PyObject *_wrap_ConfigBase_ReadBool(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ConfigBase_Write(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -17248,7 +18738,7 @@ static PyObject *_wrap_ConfigBase_Write(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ConfigBase_WriteInt(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; long arg3 ; @@ -17270,7 +18760,7 @@ static PyObject *_wrap_ConfigBase_WriteInt(PyObject *, PyObject *args, PyObject temp2 = true; } { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -17298,7 +18788,7 @@ static PyObject *_wrap_ConfigBase_WriteInt(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; double arg3 ; @@ -17320,7 +18810,7 @@ static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *, PyObject *args, PyObjec temp2 = true; } { - arg3 = (double)(SWIG_As_double(obj2)); + arg3 = static_cast(SWIG_As_double(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -17348,7 +18838,7 @@ static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ConfigBase_WriteBool(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool arg3 ; @@ -17370,7 +18860,7 @@ static PyObject *_wrap_ConfigBase_WriteBool(PyObject *, PyObject *args, PyObject temp2 = true; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -17398,7 +18888,7 @@ static PyObject *_wrap_ConfigBase_WriteBool(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ConfigBase_Flush(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; bool arg2 = (bool) false ; bool result; @@ -17413,7 +18903,7 @@ static PyObject *_wrap_ConfigBase_Flush(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; } } @@ -17434,7 +18924,7 @@ static PyObject *_wrap_ConfigBase_Flush(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -17494,7 +18984,7 @@ static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -17554,7 +19044,7 @@ static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool arg3 = (bool) true ; @@ -17577,7 +19067,7 @@ static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *, PyObject *args, PyObje } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -17606,7 +19096,7 @@ static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool result; @@ -17650,7 +19140,7 @@ static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17678,7 +19168,7 @@ static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -17692,7 +19182,7 @@ static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *, PyObject *args, P 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; } } @@ -17711,7 +19201,7 @@ static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *, PyObject *args, P static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17739,7 +19229,7 @@ static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *, PyObject *args, static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -17753,7 +19243,7 @@ static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *, PyObject *args, 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; } } @@ -17772,7 +19262,7 @@ static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *, PyObject *args, static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -17800,7 +19290,7 @@ static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *, PyObject *args static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; wxString result; @@ -17848,7 +19338,7 @@ static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ConfigBase_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -17880,7 +19370,7 @@ static PyObject *_wrap_ConfigBase_GetAppName(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -17912,7 +19402,7 @@ static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ConfigBase_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -17953,7 +19443,7 @@ static PyObject *_wrap_ConfigBase_SetAppName(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -17994,7 +19484,7 @@ static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ConfigBase_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -18007,7 +19497,7 @@ static PyObject *_wrap_ConfigBase_SetStyle(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, 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; } { @@ -18025,7 +19515,7 @@ static PyObject *_wrap_ConfigBase_SetStyle(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ConfigBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; long result; PyObject * obj0 = 0 ; @@ -18044,7 +19534,7 @@ static PyObject *_wrap_ConfigBase_GetStyle(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: @@ -18060,7 +19550,7 @@ static PyObject * ConfigBase_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Config(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxString const &arg2_defvalue = wxPyEmptyString ; @@ -18115,7 +19605,7 @@ static PyObject *_wrap_new_Config(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; } } @@ -18166,7 +19656,7 @@ static PyObject *_wrap_new_Config(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_delete_Config(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfig *arg1 = (wxConfig *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -18198,7 +19688,7 @@ static PyObject * Config_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxString const &arg2_defvalue = wxPyEmptyString ; @@ -18253,7 +19743,7 @@ static PyObject *_wrap_new_FileConfig(PyObject *, PyObject *args, PyObject *kwar } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -18304,7 +19794,7 @@ static PyObject *_wrap_new_FileConfig(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_delete_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileConfig *arg1 = (wxFileConfig *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -18336,7 +19826,7 @@ static PyObject * FileConfig_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigBase *arg1 = (wxConfigBase *) 0 ; wxString *arg2 = 0 ; wxConfigPathChanger *result; @@ -18378,7 +19868,7 @@ static PyObject *_wrap_new_ConfigPathChanger(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_delete_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -18403,7 +19893,7 @@ static PyObject *_wrap_delete_ConfigPathChanger(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ConfigPathChanger_Name(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -18445,7 +19935,7 @@ static PyObject * ConfigPathChanger_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString result; bool temp1 = false ; @@ -18495,7 +19985,7 @@ static int _wrap_DefaultDateTimeFormat_set(PyObject *) { static PyObject *_wrap_DefaultDateTimeFormat_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -18515,7 +20005,7 @@ static int _wrap_DefaultTimeSpanFormat_set(PyObject *) { static PyObject *_wrap_DefaultTimeSpanFormat_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -18529,7 +20019,7 @@ static PyObject *_wrap_DefaultTimeSpanFormat_get(void) { static PyObject *_wrap_DateTime_SetCountry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime::Country arg1 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -18538,12 +20028,12 @@ static PyObject *_wrap_DateTime_SetCountry(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail; { - arg1 = (wxDateTime::Country)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - wxDateTime::SetCountry((wxDateTime::Country )arg1); + wxDateTime::SetCountry(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -18556,7 +20046,7 @@ static PyObject *_wrap_DateTime_SetCountry(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_GetCountry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime::Country result; char *kwnames[] = { NULL @@ -18578,7 +20068,7 @@ static PyObject *_wrap_DateTime_GetCountry(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime::Country arg1 = (wxDateTime::Country) wxDateTime::Country_Default ; bool result; PyObject * obj0 = 0 ; @@ -18589,13 +20079,13 @@ static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *, PyObject *args if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (wxDateTime::Country)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1); + result = (bool)wxDateTime::IsWestEuropeanCountry(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -18610,7 +20100,7 @@ static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *, PyObject *args static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime::Calendar arg1 = (wxDateTime::Calendar) wxDateTime::Gregorian ; int result; PyObject * obj0 = 0 ; @@ -18621,19 +20111,19 @@ static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *, PyObject *args, PyObj if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (wxDateTime::Calendar)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1); + result = (int)wxDateTime::GetCurrentYear(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18642,7 +20132,7 @@ static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int result; PyObject * obj0 = 0 ; @@ -18652,7 +20142,7 @@ static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -18663,7 +20153,7 @@ static PyObject *_wrap_DateTime_ConvertYearToBC(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: @@ -18672,7 +20162,7 @@ static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime::Calendar arg1 = (wxDateTime::Calendar) wxDateTime::Gregorian ; wxDateTime::Month result; PyObject * obj0 = 0 ; @@ -18683,13 +20173,13 @@ static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (wxDateTime::Calendar)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDateTime::Month)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1); + result = (wxDateTime::Month)wxDateTime::GetCurrentMonth(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -18702,7 +20192,7 @@ static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DateTime_IsLeapYear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) wxDateTime::Inv_Year ; wxDateTime::Calendar arg2 = (wxDateTime::Calendar) wxDateTime::Gregorian ; bool result; @@ -18715,19 +20205,19 @@ static PyObject *_wrap_DateTime_IsLeapYear(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",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 = (wxDateTime::Calendar)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2); + result = (bool)wxDateTime::IsLeapYear(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -18742,7 +20232,7 @@ static PyObject *_wrap_DateTime_IsLeapYear(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_GetCentury(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) wxDateTime::Inv_Year ; int result; PyObject * obj0 = 0 ; @@ -18753,7 +20243,7 @@ static PyObject *_wrap_DateTime_GetCentury(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",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; } } @@ -18765,7 +20255,7 @@ static PyObject *_wrap_DateTime_GetCentury(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: @@ -18774,7 +20264,7 @@ static PyObject *_wrap_DateTime_GetCentury(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxDateTime::Calendar arg2 = (wxDateTime::Calendar) wxDateTime::Gregorian ; int result; @@ -18786,24 +20276,24 @@ static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *, PyObject *args if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } if (obj1) { { - arg2 = (wxDateTime::Calendar)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2); + result = (int)wxDateTime::GetNumberOfDays(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18812,7 +20302,7 @@ static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *, PyObject *args static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime::Month arg1 ; int arg2 = (int) wxDateTime::Inv_Year ; wxDateTime::Calendar arg3 = (wxDateTime::Calendar) wxDateTime::Gregorian ; @@ -18826,30 +20316,30 @@ static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *, PyObject *arg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail; { - arg1 = (wxDateTime::Month)(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 = (wxDateTime::Calendar)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3); + result = (int)wxDateTime::GetNumberOfDays(arg1,arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -18858,7 +20348,7 @@ static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *, PyObject *arg static PyObject *_wrap_DateTime_GetMonthName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime::Month arg1 ; wxDateTime::NameFlags arg2 = (wxDateTime::NameFlags) wxDateTime::Name_Full ; wxString result; @@ -18870,18 +20360,18 @@ static PyObject *_wrap_DateTime_GetMonthName(PyObject *, PyObject *args, PyObjec if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail; { - arg1 = (wxDateTime::Month)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } if (obj1) { { - arg2 = (wxDateTime::NameFlags)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2); + result = wxDateTime::GetMonthName(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -18900,7 +20390,7 @@ static PyObject *_wrap_DateTime_GetMonthName(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime::WeekDay arg1 ; wxDateTime::NameFlags arg2 = (wxDateTime::NameFlags) wxDateTime::Name_Full ; wxString result; @@ -18912,18 +20402,18 @@ static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *, PyObject *args, PyObj if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail; { - arg1 = (wxDateTime::WeekDay)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } if (obj1) { { - arg2 = (wxDateTime::NameFlags)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2); + result = wxDateTime::GetWeekDayName(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -18942,60 +20432,29 @@ static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; - wxString *arg1 = (wxString *) 0 ; - wxString *arg2 = (wxString *) 0 ; - bool temp1 = false ; - bool temp2 = false ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; + PyObject *resultobj = NULL; + PyObject *result; char *kwnames[] = { - (char *) "OUTPUT",(char *) "OUTPUT", NULL + NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail; - { - arg1 = wxString_in_helper(obj0); - if (arg1 == NULL) SWIG_fail; - temp1 = true; - } - { - arg2 = wxString_in_helper(obj1); - if (arg2 == NULL) SWIG_fail; - temp2 = true; - } + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetAmPmStrings",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - wxDateTime::GetAmPmStrings(arg1,arg2); + result = (PyObject *)wxDateTime_GetAmPmStrings(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - Py_INCREF(Py_None); resultobj = Py_None; - { - if (temp1) - delete arg1; - } - { - if (temp2) - delete arg2; - } + resultobj = result; return resultobj; fail: - { - if (temp1) - delete arg1; - } - { - if (temp2) - delete arg2; - } return NULL; } static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) wxDateTime::Inv_Year ; wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ; bool result; @@ -19008,19 +20467,19 @@ static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",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 = (wxDateTime::Country)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2); + result = (bool)wxDateTime::IsDSTApplicable(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -19035,7 +20494,7 @@ static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DateTime_GetBeginDST(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) wxDateTime::Inv_Year ; wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ; wxDateTime result; @@ -19048,26 +20507,26 @@ static PyObject *_wrap_DateTime_GetBeginDST(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",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 = (wxDateTime::Country)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2); + result = wxDateTime::GetBeginDST(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -19077,7 +20536,7 @@ static PyObject *_wrap_DateTime_GetBeginDST(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_GetEndDST(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) wxDateTime::Inv_Year ; wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ; wxDateTime result; @@ -19090,26 +20549,26 @@ static PyObject *_wrap_DateTime_GetEndDST(PyObject *, PyObject *args, PyObject * if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",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 = (wxDateTime::Country)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2); + result = wxDateTime::GetEndDST(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -19119,7 +20578,7 @@ static PyObject *_wrap_DateTime_GetEndDST(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_Now(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime result; char *kwnames[] = { NULL @@ -19135,7 +20594,7 @@ static PyObject *_wrap_DateTime_Now(PyObject *, PyObject *args, PyObject *kwargs } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -19145,7 +20604,7 @@ static PyObject *_wrap_DateTime_Now(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_DateTime_UNow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime result; char *kwnames[] = { NULL @@ -19161,7 +20620,7 @@ static PyObject *_wrap_DateTime_UNow(PyObject *, PyObject *args, PyObject *kwarg } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -19171,7 +20630,7 @@ static PyObject *_wrap_DateTime_UNow(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DateTime_Today(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime result; char *kwnames[] = { NULL @@ -19187,7 +20646,7 @@ static PyObject *_wrap_DateTime_Today(PyObject *, PyObject *args, PyObject *kwar } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -19197,7 +20656,7 @@ static PyObject *_wrap_DateTime_Today(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_DateTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *result; char *kwnames[] = { NULL @@ -19219,7 +20678,7 @@ static PyObject *_wrap_new_DateTime(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; time_t arg1 ; wxDateTime *result; PyObject * obj0 = 0 ; @@ -19229,7 +20688,7 @@ static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *, PyObject *args, PyObjec if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail; { - arg1 = (time_t)(SWIG_As_unsigned_SS_int(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -19247,7 +20706,7 @@ static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_new_DateTimeFromJDN(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; double arg1 ; wxDateTime *result; PyObject * obj0 = 0 ; @@ -19257,7 +20716,7 @@ static PyObject *_wrap_new_DateTimeFromJDN(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail; { - arg1 = (double)(SWIG_As_double(obj0)); + arg1 = static_cast(SWIG_As_double(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -19275,7 +20734,7 @@ static PyObject *_wrap_new_DateTimeFromJDN(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_DateTimeFromHMS(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -19291,24 +20750,24 @@ static PyObject *_wrap_new_DateTimeFromHMS(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",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; } 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; } } @@ -19327,7 +20786,7 @@ static PyObject *_wrap_new_DateTimeFromHMS(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_DateTimeFromDMY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ; int arg3 = (int) wxDateTime::Inv_Year ; @@ -19349,48 +20808,48 @@ static PyObject *_wrap_new_DateTimeFromDMY(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",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; } if (obj1) { { - arg2 = (wxDateTime::Month)(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; } } 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; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7); + result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4,arg5,arg6,arg7); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -19403,7 +20862,7 @@ static PyObject *_wrap_new_DateTimeFromDMY(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_DateTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -19428,7 +20887,7 @@ static PyObject *_wrap_delete_DateTime(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime_SetToCurrent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *result; PyObject * obj0 = 0 ; @@ -19457,7 +20916,7 @@ static PyObject *_wrap_DateTime_SetToCurrent(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DateTime_SetTimeT(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; time_t arg2 ; wxDateTime *result; @@ -19471,7 +20930,7 @@ static PyObject *_wrap_DateTime_SetTimeT(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (time_t)(SWIG_As_unsigned_SS_int(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -19492,7 +20951,7 @@ static PyObject *_wrap_DateTime_SetTimeT(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateTime_SetJDN(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; double arg2 ; wxDateTime *result; @@ -19506,7 +20965,7 @@ static PyObject *_wrap_DateTime_SetJDN(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, 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; } { @@ -19527,7 +20986,7 @@ static PyObject *_wrap_DateTime_SetJDN(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime_SetHMS(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; int arg3 = (int) 0 ; @@ -19547,24 +21006,24 @@ static PyObject *_wrap_DateTime_SetHMS(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (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; } } @@ -19586,7 +21045,7 @@ static PyObject *_wrap_DateTime_SetHMS(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime_Set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ; @@ -19612,49 +21071,49 @@ static PyObject *_wrap_DateTime_Set(PyObject *, PyObject *args, PyObject *kwargs SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (wxDateTime::Month)(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; } } if (obj7) { { - arg8 = (int)(SWIG_As_int(obj7)); + arg8 = static_cast(SWIG_As_int(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); { - wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8); + wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5,arg6,arg7,arg8); result = (wxDateTime *) &_result_ref; } @@ -19669,7 +21128,7 @@ static PyObject *_wrap_DateTime_Set(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_DateTime_ResetTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *result; PyObject * obj0 = 0 ; @@ -19698,7 +21157,7 @@ static PyObject *_wrap_DateTime_ResetTime(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_SetYear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime *result; @@ -19712,7 +21171,7 @@ static PyObject *_wrap_DateTime_SetYear(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -19733,7 +21192,7 @@ static PyObject *_wrap_DateTime_SetYear(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateTime_SetMonth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::Month arg2 ; wxDateTime *result; @@ -19747,13 +21206,13 @@ static PyObject *_wrap_DateTime_SetMonth(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::Month)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); { - wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2); + wxDateTime &_result_ref = (arg1)->SetMonth(arg2); result = (wxDateTime *) &_result_ref; } @@ -19768,7 +21227,7 @@ static PyObject *_wrap_DateTime_SetMonth(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateTime_SetDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime *result; @@ -19782,7 +21241,7 @@ static PyObject *_wrap_DateTime_SetDay(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -19803,7 +21262,7 @@ static PyObject *_wrap_DateTime_SetDay(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime_SetHour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime *result; @@ -19817,7 +21276,7 @@ static PyObject *_wrap_DateTime_SetHour(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -19838,7 +21297,7 @@ static PyObject *_wrap_DateTime_SetHour(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateTime_SetMinute(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime *result; @@ -19852,7 +21311,7 @@ static PyObject *_wrap_DateTime_SetMinute(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -19873,7 +21332,7 @@ static PyObject *_wrap_DateTime_SetMinute(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_SetSecond(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime *result; @@ -19887,7 +21346,7 @@ static PyObject *_wrap_DateTime_SetSecond(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -19908,7 +21367,7 @@ static PyObject *_wrap_DateTime_SetSecond(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_SetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime *result; @@ -19922,7 +21381,7 @@ static PyObject *_wrap_DateTime_SetMillisecond(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -19943,7 +21402,7 @@ static PyObject *_wrap_DateTime_SetMillisecond(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekDay arg2 ; wxDateTime::WeekFlags arg3 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ; @@ -19959,19 +21418,19 @@ static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (wxDateTime::WeekFlags)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); { - wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3); + wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek(arg2,arg3); result = (wxDateTime *) &_result_ref; } @@ -19986,7 +21445,7 @@ static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *, PyObject *arg static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekDay arg2 ; wxDateTime::WeekFlags arg3 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ; @@ -20002,25 +21461,25 @@ static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (wxDateTime::WeekFlags)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3); + result = (arg1)->GetWeekDayInSameWeek(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -20030,7 +21489,7 @@ static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *, PyObject *args, static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekDay arg2 ; wxDateTime *result; @@ -20044,13 +21503,13 @@ static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); { - wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2); + wxDateTime &_result_ref = (arg1)->SetToNextWeekDay(arg2); result = (wxDateTime *) &_result_ref; } @@ -20065,7 +21524,7 @@ static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *, PyObject *args, PyO static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekDay arg2 ; wxDateTime result; @@ -20079,19 +21538,19 @@ static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2); + result = (arg1)->GetNextWeekDay(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -20101,7 +21560,7 @@ static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekDay arg2 ; wxDateTime *result; @@ -20115,13 +21574,13 @@ static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); { - wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2); + wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay(arg2); result = (wxDateTime *) &_result_ref; } @@ -20136,7 +21595,7 @@ static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *, PyObject *args, PyO static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekDay arg2 ; wxDateTime result; @@ -20150,19 +21609,19 @@ static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2); + result = (arg1)->GetPrevWeekDay(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -20172,7 +21631,7 @@ static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekDay arg2 ; int arg3 = (int) 1 ; @@ -20192,30 +21651,30 @@ static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::WeekDay)(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 = (wxDateTime::Month)(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; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5); + result = (bool)(arg1)->SetToWeekDay(arg2,arg3,arg4,arg5); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -20230,7 +21689,7 @@ static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekDay arg2 ; wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ; @@ -20248,24 +21707,24 @@ static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (wxDateTime::Month)(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)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4); + result = (bool)(arg1)->SetToLastWeekDay(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -20280,7 +21739,7 @@ static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *, PyObject *args, PyO static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekDay arg2 ; wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ; @@ -20298,31 +21757,31 @@ static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (wxDateTime::Month)(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 = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4); + result = (arg1)->GetLastWeekDay(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -20332,7 +21791,7 @@ static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ; @@ -20350,24 +21809,24 @@ static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (wxDateTime::WeekDay)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (wxDateTime::WeekFlags)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4); + result = (bool)(arg1)->SetToTheWeek(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -20382,7 +21841,7 @@ static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DateTime_GetWeek(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ; @@ -20400,31 +21859,31 @@ static PyObject *_wrap_DateTime_GetWeek(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (wxDateTime::WeekDay)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (wxDateTime::WeekFlags)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4); + result = (arg1)->GetWeek(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -20434,7 +21893,7 @@ static PyObject *_wrap_DateTime_GetWeek(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateTime_SetToWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; int arg2 ; wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ; @@ -20448,29 +21907,29 @@ static PyObject *_wrap_DateTime_SetToWeekOfYear(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekOfYear",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; } if (obj2) { { - arg3 = (wxDateTime::WeekDay)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxDateTime::SetToWeekOfYear(arg1,arg2,(wxDateTime::WeekDay )arg3); + result = wxDateTime::SetToWeekOfYear(arg1,arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -20480,7 +21939,7 @@ static PyObject *_wrap_DateTime_SetToWeekOfYear(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ; int arg3 = (int) wxDateTime::Inv_Year ; @@ -20497,20 +21956,20 @@ static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *, PyObject *args, Py if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (wxDateTime::Month)(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; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); { - wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3); + wxDateTime &_result_ref = (arg1)->SetToLastMonthDay(arg2,arg3); result = (wxDateTime *) &_result_ref; } @@ -20525,7 +21984,7 @@ static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *, PyObject *args, Py static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ; int arg3 = (int) wxDateTime::Inv_Year ; @@ -20542,26 +22001,26 @@ static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *, PyObject *args, PyOb if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (wxDateTime::Month)(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; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3); + result = (arg1)->GetLastMonthDay(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -20571,7 +22030,7 @@ static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DateTime_SetToYearDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime *result; @@ -20585,7 +22044,7 @@ static PyObject *_wrap_DateTime_SetToYearDay(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20606,7 +22065,7 @@ static PyObject *_wrap_DateTime_SetToYearDay(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DateTime_GetYearDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; int arg2 ; wxDateTime result; @@ -20620,7 +22079,7 @@ static PyObject *_wrap_DateTime_GetYearDay(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20632,7 +22091,7 @@ static PyObject *_wrap_DateTime_GetYearDay(PyObject *, PyObject *args, PyObject } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -20642,7 +22101,7 @@ static PyObject *_wrap_DateTime_GetYearDay(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; double result; PyObject * obj0 = 0 ; @@ -20661,7 +22120,7 @@ static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *, PyObject *args, P if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -20670,7 +22129,7 @@ static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *, PyObject *args, P static PyObject *_wrap_DateTime_GetJDN(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; double result; PyObject * obj0 = 0 ; @@ -20689,7 +22148,7 @@ static PyObject *_wrap_DateTime_GetJDN(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -20698,7 +22157,7 @@ static PyObject *_wrap_DateTime_GetJDN(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; double result; PyObject * obj0 = 0 ; @@ -20717,7 +22176,7 @@ static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -20726,7 +22185,7 @@ static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *, PyObject static PyObject *_wrap_DateTime_GetMJD(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; double result; PyObject * obj0 = 0 ; @@ -20745,7 +22204,7 @@ static PyObject *_wrap_DateTime_GetMJD(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -20754,7 +22213,7 @@ static PyObject *_wrap_DateTime_GetMJD(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime_GetRataDie(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; double result; PyObject * obj0 = 0 ; @@ -20773,7 +22232,7 @@ static PyObject *_wrap_DateTime_GetRataDie(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: @@ -20782,7 +22241,7 @@ static PyObject *_wrap_DateTime_GetRataDie(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_ToTimezone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone *arg2 = 0 ; bool arg3 = (bool) false ; @@ -20804,7 +22263,7 @@ static PyObject *_wrap_DateTime_ToTimezone(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; } } @@ -20817,7 +22276,7 @@ static PyObject *_wrap_DateTime_ToTimezone(PyObject *, PyObject *args, PyObject } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } { @@ -20833,7 +22292,7 @@ static PyObject *_wrap_DateTime_ToTimezone(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_MakeTimezone(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone *arg2 = 0 ; bool arg3 = (bool) false ; @@ -20855,7 +22314,7 @@ static PyObject *_wrap_DateTime_MakeTimezone(PyObject *, PyObject *args, PyObjec } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -20882,8 +22341,184 @@ static PyObject *_wrap_DateTime_MakeTimezone(PyObject *, PyObject *args, PyObjec } +static PyObject *_wrap_DateTime_FromTimezone(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxDateTime *arg1 = (wxDateTime *) 0 ; + wxDateTime::TimeZone *arg2 = 0 ; + bool arg3 = (bool) false ; + wxDateTime result; + bool temp2 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "tz",(char *) "noDST", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_FromTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1)); + temp2 = true; + } + if (obj2) { + { + arg3 = static_cast(SWIG_As_bool(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxDateTime const *)arg1)->FromTimezone((wxDateTime::TimeZone const &)*arg2,arg3); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + wxDateTime * resultptr; + resultptr = new wxDateTime(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); + } + { + if (temp2) delete arg2; + } + return resultobj; + fail: + { + if (temp2) delete arg2; + } + return NULL; +} + + +static PyObject *_wrap_DateTime_MakeFromTimezone(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxDateTime *arg1 = (wxDateTime *) 0 ; + wxDateTime::TimeZone *arg2 = 0 ; + bool arg3 = (bool) false ; + wxDateTime *result; + bool temp2 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "tz",(char *) "noDST", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1)); + temp2 = true; + } + if (obj2) { + { + arg3 = static_cast(SWIG_As_bool(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + { + wxDateTime &_result_ref = (arg1)->MakeFromTimezone((wxDateTime::TimeZone const &)*arg2,arg3); + result = (wxDateTime *) &_result_ref; + } + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0); + { + if (temp2) delete arg2; + } + return resultobj; + fail: + { + if (temp2) delete arg2; + } + return NULL; +} + + +static PyObject *_wrap_DateTime_ToUTC(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxDateTime *arg1 = (wxDateTime *) 0 ; + bool arg2 = (bool) false ; + wxDateTime result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "noDST", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToUTC",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + if (obj1) { + { + arg2 = static_cast(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxDateTime const *)arg1)->ToUTC(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + wxDateTime * resultptr; + resultptr = new wxDateTime(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_DateTime_MakeUTC(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxDateTime *arg1 = (wxDateTime *) 0 ; + bool arg2 = (bool) false ; + wxDateTime *result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "noDST", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeUTC",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + if (obj1) { + { + arg2 = static_cast(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + { + wxDateTime &_result_ref = (arg1)->MakeUTC(arg2); + result = (wxDateTime *) &_result_ref; + } + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0); + return resultobj; + fail: + return NULL; +} + + static PyObject *_wrap_DateTime_ToGMT(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; bool arg2 = (bool) false ; wxDateTime result; @@ -20898,20 +22533,20 @@ static PyObject *_wrap_DateTime_ToGMT(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; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (arg1)->ToGMT(arg2); + result = ((wxDateTime const *)arg1)->ToGMT(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -20921,7 +22556,7 @@ static PyObject *_wrap_DateTime_ToGMT(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DateTime_MakeGMT(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; bool arg2 = (bool) false ; wxDateTime *result; @@ -20936,7 +22571,7 @@ static PyObject *_wrap_DateTime_MakeGMT(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; } } @@ -20957,8 +22592,83 @@ static PyObject *_wrap_DateTime_MakeGMT(PyObject *, PyObject *args, PyObject *kw } +static PyObject *_wrap_DateTime_FromUTC(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxDateTime *arg1 = (wxDateTime *) 0 ; + bool arg2 = (bool) false ; + wxDateTime result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "noDST", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_FromUTC",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + if (obj1) { + { + arg2 = static_cast(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = ((wxDateTime const *)arg1)->FromUTC(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + wxDateTime * resultptr; + resultptr = new wxDateTime(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); + } + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_DateTime_MakeFromUTC(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxDateTime *arg1 = (wxDateTime *) 0 ; + bool arg2 = (bool) false ; + wxDateTime *result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "noDST", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeFromUTC",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + if (obj1) { + { + arg2 = static_cast(SWIG_As_bool(obj1)); + if (SWIG_arg_fail(2)) SWIG_fail; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + { + wxDateTime &_result_ref = (arg1)->MakeFromUTC(arg2); + result = (wxDateTime *) &_result_ref; + } + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0); + return resultobj; + fail: + return NULL; +} + + static PyObject *_wrap_DateTime_IsDST(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ; int result; @@ -20973,19 +22683,19 @@ static PyObject *_wrap_DateTime_IsDST(PyObject *, PyObject *args, PyObject *kwar if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (wxDateTime::Country)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)(arg1)->IsDST((wxDateTime::Country )arg2); + result = (int)(arg1)->IsDST(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -20994,7 +22704,7 @@ static PyObject *_wrap_DateTime_IsDST(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DateTime_IsValid(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21022,7 +22732,7 @@ static PyObject *_wrap_DateTime_IsValid(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateTime_GetTicks(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; time_t result; PyObject * obj0 = 0 ; @@ -21041,7 +22751,7 @@ static PyObject *_wrap_DateTime_GetTicks(PyObject *, PyObject *args, PyObject *k 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: @@ -21050,7 +22760,7 @@ static PyObject *_wrap_DateTime_GetTicks(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateTime_GetYear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ; wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ; @@ -21079,7 +22789,7 @@ static PyObject *_wrap_DateTime_GetYear(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) delete arg2; @@ -21094,7 +22804,7 @@ static PyObject *_wrap_DateTime_GetYear(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateTime_GetMonth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ; wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ; @@ -21136,7 +22846,7 @@ static PyObject *_wrap_DateTime_GetMonth(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateTime_GetDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ; wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ; @@ -21165,7 +22875,7 @@ static PyObject *_wrap_DateTime_GetDay(PyObject *, PyObject *args, PyObject *kwa if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) delete arg2; @@ -21180,7 +22890,7 @@ static PyObject *_wrap_DateTime_GetDay(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime_GetWeekDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ; wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ; @@ -21222,7 +22932,7 @@ static PyObject *_wrap_DateTime_GetWeekDay(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_GetHour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ; wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ; @@ -21251,7 +22961,7 @@ static PyObject *_wrap_DateTime_GetHour(PyObject *, PyObject *args, PyObject *kw if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) delete arg2; @@ -21266,7 +22976,7 @@ static PyObject *_wrap_DateTime_GetHour(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateTime_GetMinute(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ; wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ; @@ -21295,7 +23005,7 @@ static PyObject *_wrap_DateTime_GetMinute(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) delete arg2; @@ -21310,7 +23020,7 @@ static PyObject *_wrap_DateTime_GetMinute(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_GetSecond(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ; wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ; @@ -21339,7 +23049,7 @@ static PyObject *_wrap_DateTime_GetSecond(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) delete arg2; @@ -21354,7 +23064,7 @@ static PyObject *_wrap_DateTime_GetSecond(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_GetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ; wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ; @@ -21383,7 +23093,7 @@ static PyObject *_wrap_DateTime_GetMillisecond(PyObject *, PyObject *args, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) delete arg2; @@ -21398,7 +23108,7 @@ static PyObject *_wrap_DateTime_GetMillisecond(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ; wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ; @@ -21427,7 +23137,7 @@ static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) delete arg2; @@ -21442,7 +23152,7 @@ static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekFlags arg2 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ; wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ; @@ -21461,7 +23171,7 @@ static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *, PyObject *args, PyObje if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (wxDateTime::WeekFlags)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -21473,13 +23183,13 @@ static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *, PyObject *args, PyObje } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3); + result = (int)((wxDateTime const *)arg1)->GetWeekOfYear(arg2,(wxDateTime::TimeZone const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp3) delete arg3; @@ -21494,7 +23204,7 @@ static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::WeekFlags arg2 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ; wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ; @@ -21513,7 +23223,7 @@ static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *, PyObject *args, PyObj if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (wxDateTime::WeekFlags)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -21525,13 +23235,13 @@ static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *, PyObject *args, PyObj } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3); + result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth(arg2,(wxDateTime::TimeZone const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp3) delete arg3; @@ -21546,7 +23256,7 @@ static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DateTime_IsWorkDay(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ; bool result; @@ -21561,13 +23271,13 @@ static PyObject *_wrap_DateTime_IsWorkDay(PyObject *, PyObject *args, PyObject * if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (wxDateTime::Country)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2); + result = (bool)((wxDateTime const *)arg1)->IsWorkDay(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -21582,7 +23292,7 @@ static PyObject *_wrap_DateTime_IsWorkDay(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = 0 ; bool result; @@ -21620,7 +23330,7 @@ static PyObject *_wrap_DateTime_IsEqualTo(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = 0 ; bool result; @@ -21658,7 +23368,7 @@ static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DateTime_IsLaterThan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = 0 ; bool result; @@ -21696,7 +23406,7 @@ static PyObject *_wrap_DateTime_IsLaterThan(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = 0 ; wxDateTime *arg3 = 0 ; @@ -21744,7 +23454,7 @@ static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *, PyObject *args, Py static PyObject *_wrap_DateTime_IsBetween(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = 0 ; wxDateTime *arg3 = 0 ; @@ -21792,7 +23502,7 @@ static PyObject *_wrap_DateTime_IsBetween(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_IsSameDate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = 0 ; bool result; @@ -21830,7 +23540,7 @@ static PyObject *_wrap_DateTime_IsSameDate(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_IsSameTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = 0 ; bool result; @@ -21868,7 +23578,7 @@ static PyObject *_wrap_DateTime_IsSameTime(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = 0 ; wxTimeSpan *arg3 = 0 ; @@ -21916,7 +23626,7 @@ static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_AddTS(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxTimeSpan *arg2 = 0 ; wxDateTime *result; @@ -21955,7 +23665,7 @@ static PyObject *_wrap_DateTime_AddTS(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DateTime_AddDS(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateSpan *arg2 = 0 ; wxDateTime *result; @@ -21994,7 +23704,7 @@ static PyObject *_wrap_DateTime_AddDS(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DateTime_SubtractTS(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxTimeSpan *arg2 = 0 ; wxDateTime *result; @@ -22033,7 +23743,7 @@ static PyObject *_wrap_DateTime_SubtractTS(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_SubtractDS(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateSpan *arg2 = 0 ; wxDateTime *result; @@ -22072,7 +23782,7 @@ static PyObject *_wrap_DateTime_SubtractDS(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_Subtract(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = 0 ; wxTimeSpan result; @@ -22102,7 +23812,7 @@ static PyObject *_wrap_DateTime_Subtract(PyObject *, PyObject *args, PyObject *k } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -22112,7 +23822,7 @@ static PyObject *_wrap_DateTime_Subtract(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxTimeSpan *arg2 = 0 ; wxDateTime *result; @@ -22148,7 +23858,7 @@ static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateSpan *arg2 = 0 ; wxDateTime *result; @@ -22251,7 +23961,7 @@ static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) { static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxTimeSpan *arg2 = 0 ; wxDateTime *result; @@ -22287,7 +23997,7 @@ static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateSpan *arg2 = 0 ; wxDateTime *result; @@ -22390,7 +24100,7 @@ static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) { static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxTimeSpan *arg2 = 0 ; wxDateTime result; @@ -22417,7 +24127,7 @@ static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *, PyObject *args) { } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -22427,7 +24137,7 @@ static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateSpan *arg2 = 0 ; wxDateTime result; @@ -22454,7 +24164,7 @@ static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *, PyObject *args) { } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -22531,7 +24241,7 @@ static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) { static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = 0 ; wxTimeSpan result; @@ -22558,7 +24268,7 @@ static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *, PyObject *args) { } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -22568,7 +24278,7 @@ static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxTimeSpan *arg2 = 0 ; wxDateTime result; @@ -22595,7 +24305,7 @@ static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *, PyObject *args) { } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -22605,7 +24315,7 @@ static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *, PyObject *args) { static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateSpan *arg2 = 0 ; wxDateTime result; @@ -22632,7 +24342,7 @@ static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *, PyObject *args) { } { wxDateTime * resultptr; - resultptr = new wxDateTime((wxDateTime &)(result)); + resultptr = new wxDateTime(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1); } return resultobj; @@ -22735,7 +24445,7 @@ static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) { static PyObject *_wrap_DateTime___lt__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = (wxDateTime *) 0 ; bool result; @@ -22767,7 +24477,7 @@ static PyObject *_wrap_DateTime___lt__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime___le__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = (wxDateTime *) 0 ; bool result; @@ -22799,7 +24509,7 @@ static PyObject *_wrap_DateTime___le__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime___gt__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = (wxDateTime *) 0 ; bool result; @@ -22831,7 +24541,7 @@ static PyObject *_wrap_DateTime___gt__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime___ge__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = (wxDateTime *) 0 ; bool result; @@ -22863,7 +24573,7 @@ static PyObject *_wrap_DateTime___ge__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = (wxDateTime *) 0 ; bool result; @@ -22895,7 +24605,7 @@ static PyObject *_wrap_DateTime___eq__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxDateTime *arg2 = (wxDateTime *) 0 ; bool result; @@ -22927,7 +24637,7 @@ static PyObject *_wrap_DateTime___ne__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxString *arg2 = 0 ; int result; @@ -22954,7 +24664,7 @@ static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -22971,7 +24681,7 @@ static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DateTime_ParseFormat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyDefaultDateTimeFormat ; @@ -23022,7 +24732,7 @@ static PyObject *_wrap_DateTime_ParseFormat(PyObject *, PyObject *args, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -23047,7 +24757,7 @@ static PyObject *_wrap_DateTime_ParseFormat(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_ParseDateTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxString *arg2 = 0 ; int result; @@ -23074,7 +24784,7 @@ static PyObject *_wrap_DateTime_ParseDateTime(PyObject *, PyObject *args, PyObje if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -23091,7 +24801,7 @@ static PyObject *_wrap_DateTime_ParseDateTime(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DateTime_ParseDate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxString *arg2 = 0 ; int result; @@ -23118,7 +24828,7 @@ static PyObject *_wrap_DateTime_ParseDate(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -23135,7 +24845,7 @@ static PyObject *_wrap_DateTime_ParseDate(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_ParseTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxString *arg2 = 0 ; int result; @@ -23162,7 +24872,7 @@ static PyObject *_wrap_DateTime_ParseTime(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } { if (temp2) @@ -23179,7 +24889,7 @@ static PyObject *_wrap_DateTime_ParseTime(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateTime_Format(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxString const &arg2_defvalue = wxPyDefaultDateTimeFormat ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -23246,7 +24956,7 @@ static PyObject *_wrap_DateTime_Format(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateTime_FormatDate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -23278,7 +24988,7 @@ static PyObject *_wrap_DateTime_FormatDate(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_FormatTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -23310,7 +25020,7 @@ static PyObject *_wrap_DateTime_FormatTime(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DateTime_FormatISODate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -23342,7 +25052,7 @@ static PyObject *_wrap_DateTime_FormatISODate(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DateTime_FormatISOTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateTime *arg1 = (wxDateTime *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -23381,7 +25091,7 @@ static PyObject * DateTime_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_TimeSpan_Seconds(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; wxTimeSpan result; PyObject * obj0 = 0 ; @@ -23391,7 +25101,7 @@ static PyObject *_wrap_TimeSpan_Seconds(PyObject *, PyObject *args, PyObject *kw if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -23403,7 +25113,7 @@ static PyObject *_wrap_TimeSpan_Seconds(PyObject *, PyObject *args, PyObject *kw } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -23413,7 +25123,7 @@ static PyObject *_wrap_TimeSpan_Seconds(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TimeSpan_Second(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan result; char *kwnames[] = { NULL @@ -23429,7 +25139,7 @@ static PyObject *_wrap_TimeSpan_Second(PyObject *, PyObject *args, PyObject *kwa } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -23439,7 +25149,7 @@ static PyObject *_wrap_TimeSpan_Second(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TimeSpan_Minutes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; wxTimeSpan result; PyObject * obj0 = 0 ; @@ -23449,7 +25159,7 @@ static PyObject *_wrap_TimeSpan_Minutes(PyObject *, PyObject *args, PyObject *kw if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -23461,7 +25171,7 @@ static PyObject *_wrap_TimeSpan_Minutes(PyObject *, PyObject *args, PyObject *kw } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -23471,7 +25181,7 @@ static PyObject *_wrap_TimeSpan_Minutes(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TimeSpan_Minute(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan result; char *kwnames[] = { NULL @@ -23487,7 +25197,7 @@ static PyObject *_wrap_TimeSpan_Minute(PyObject *, PyObject *args, PyObject *kwa } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -23497,7 +25207,7 @@ static PyObject *_wrap_TimeSpan_Minute(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TimeSpan_Hours(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; wxTimeSpan result; PyObject * obj0 = 0 ; @@ -23507,7 +25217,7 @@ static PyObject *_wrap_TimeSpan_Hours(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -23519,7 +25229,7 @@ static PyObject *_wrap_TimeSpan_Hours(PyObject *, PyObject *args, PyObject *kwar } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -23529,7 +25239,7 @@ static PyObject *_wrap_TimeSpan_Hours(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_TimeSpan_Hour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan result; char *kwnames[] = { NULL @@ -23545,7 +25255,7 @@ static PyObject *_wrap_TimeSpan_Hour(PyObject *, PyObject *args, PyObject *kwarg } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -23555,7 +25265,7 @@ static PyObject *_wrap_TimeSpan_Hour(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_TimeSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; wxTimeSpan result; PyObject * obj0 = 0 ; @@ -23565,7 +25275,7 @@ static PyObject *_wrap_TimeSpan_Days(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -23577,7 +25287,7 @@ static PyObject *_wrap_TimeSpan_Days(PyObject *, PyObject *args, PyObject *kwarg } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -23587,7 +25297,7 @@ static PyObject *_wrap_TimeSpan_Days(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_TimeSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan result; char *kwnames[] = { NULL @@ -23603,7 +25313,7 @@ static PyObject *_wrap_TimeSpan_Day(PyObject *, PyObject *args, PyObject *kwargs } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -23613,7 +25323,7 @@ static PyObject *_wrap_TimeSpan_Day(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_TimeSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 ; wxTimeSpan result; PyObject * obj0 = 0 ; @@ -23623,7 +25333,7 @@ static PyObject *_wrap_TimeSpan_Weeks(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail; { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -23635,7 +25345,7 @@ static PyObject *_wrap_TimeSpan_Weeks(PyObject *, PyObject *args, PyObject *kwar } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -23645,7 +25355,7 @@ static PyObject *_wrap_TimeSpan_Weeks(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_TimeSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan result; char *kwnames[] = { NULL @@ -23661,7 +25371,7 @@ static PyObject *_wrap_TimeSpan_Week(PyObject *, PyObject *args, PyObject *kwarg } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -23671,7 +25381,7 @@ static PyObject *_wrap_TimeSpan_Week(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long arg1 = (long) 0 ; long arg2 = (long) 0 ; long arg3 = (long) 0 ; @@ -23688,25 +25398,25 @@ static PyObject *_wrap_new_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; if (obj0) { { - arg1 = (long)(SWIG_As_long(obj0)); + arg1 = static_cast(SWIG_As_long(obj0)); 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; } } 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 = (long)(SWIG_As_long(obj3)); + arg4 = static_cast(SWIG_As_long(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -23725,7 +25435,7 @@ static PyObject *_wrap_new_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_delete_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -23750,7 +25460,7 @@ static PyObject *_wrap_delete_TimeSpan(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TimeSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = 0 ; wxTimeSpan *result; @@ -23789,7 +25499,7 @@ static PyObject *_wrap_TimeSpan_Add(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_TimeSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = 0 ; wxTimeSpan *result; @@ -23828,7 +25538,7 @@ static PyObject *_wrap_TimeSpan_Subtract(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TimeSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; int arg2 ; wxTimeSpan *result; @@ -23842,7 +25552,7 @@ static PyObject *_wrap_TimeSpan_Multiply(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -23863,7 +25573,7 @@ static PyObject *_wrap_TimeSpan_Multiply(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TimeSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *result; PyObject * obj0 = 0 ; @@ -23892,7 +25602,7 @@ static PyObject *_wrap_TimeSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_TimeSpan_Abs(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan result; PyObject * obj0 = 0 ; @@ -23912,7 +25622,7 @@ static PyObject *_wrap_TimeSpan_Abs(PyObject *, PyObject *args, PyObject *kwargs } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -23922,7 +25632,7 @@ static PyObject *_wrap_TimeSpan_Abs(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_TimeSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = 0 ; wxTimeSpan *result; @@ -23961,7 +25671,7 @@ static PyObject *_wrap_TimeSpan___iadd__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TimeSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = 0 ; wxTimeSpan *result; @@ -24000,7 +25710,7 @@ static PyObject *_wrap_TimeSpan___isub__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TimeSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; int arg2 ; wxTimeSpan *result; @@ -24014,7 +25724,7 @@ static PyObject *_wrap_TimeSpan___imul__(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, 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; } { @@ -24035,7 +25745,7 @@ static PyObject *_wrap_TimeSpan___imul__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TimeSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *result; PyObject * obj0 = 0 ; @@ -24064,7 +25774,7 @@ static PyObject *_wrap_TimeSpan___neg__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TimeSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = 0 ; wxTimeSpan result; @@ -24094,7 +25804,7 @@ static PyObject *_wrap_TimeSpan___add__(PyObject *, PyObject *args, PyObject *kw } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24104,7 +25814,7 @@ static PyObject *_wrap_TimeSpan___add__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TimeSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = 0 ; wxTimeSpan result; @@ -24134,7 +25844,7 @@ static PyObject *_wrap_TimeSpan___sub__(PyObject *, PyObject *args, PyObject *kw } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24144,7 +25854,7 @@ static PyObject *_wrap_TimeSpan___sub__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TimeSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; int arg2 ; wxTimeSpan result; @@ -24158,7 +25868,7 @@ static PyObject *_wrap_TimeSpan___mul__(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -24170,7 +25880,7 @@ static PyObject *_wrap_TimeSpan___mul__(PyObject *, PyObject *args, PyObject *kw } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24180,7 +25890,7 @@ static PyObject *_wrap_TimeSpan___mul__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TimeSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; int arg2 ; wxTimeSpan result; @@ -24194,7 +25904,7 @@ static PyObject *_wrap_TimeSpan___rmul__(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -24206,7 +25916,7 @@ static PyObject *_wrap_TimeSpan___rmul__(PyObject *, PyObject *args, PyObject *k } { wxTimeSpan * resultptr; - resultptr = new wxTimeSpan((wxTimeSpan &)(result)); + resultptr = new wxTimeSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1); } return resultobj; @@ -24216,7 +25926,7 @@ static PyObject *_wrap_TimeSpan___rmul__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TimeSpan___lt__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = (wxTimeSpan *) 0 ; bool result; @@ -24248,7 +25958,7 @@ static PyObject *_wrap_TimeSpan___lt__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TimeSpan___le__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = (wxTimeSpan *) 0 ; bool result; @@ -24280,7 +25990,7 @@ static PyObject *_wrap_TimeSpan___le__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TimeSpan___gt__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = (wxTimeSpan *) 0 ; bool result; @@ -24312,7 +26022,7 @@ static PyObject *_wrap_TimeSpan___gt__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TimeSpan___ge__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = (wxTimeSpan *) 0 ; bool result; @@ -24344,7 +26054,7 @@ static PyObject *_wrap_TimeSpan___ge__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TimeSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = (wxTimeSpan *) 0 ; bool result; @@ -24376,7 +26086,7 @@ static PyObject *_wrap_TimeSpan___eq__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TimeSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = (wxTimeSpan *) 0 ; bool result; @@ -24408,7 +26118,7 @@ static PyObject *_wrap_TimeSpan___ne__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TimeSpan_IsNull(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -24436,7 +26146,7 @@ static PyObject *_wrap_TimeSpan_IsNull(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TimeSpan_IsPositive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -24464,7 +26174,7 @@ static PyObject *_wrap_TimeSpan_IsPositive(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TimeSpan_IsNegative(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -24492,7 +26202,7 @@ static PyObject *_wrap_TimeSpan_IsNegative(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = 0 ; bool result; @@ -24530,7 +26240,7 @@ static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = 0 ; bool result; @@ -24568,7 +26278,7 @@ static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxTimeSpan *arg2 = 0 ; bool result; @@ -24606,7 +26316,7 @@ static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -24625,7 +26335,7 @@ static PyObject *_wrap_TimeSpan_GetWeeks(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: @@ -24634,7 +26344,7 @@ static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TimeSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -24653,7 +26363,7 @@ static PyObject *_wrap_TimeSpan_GetDays(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: @@ -24662,7 +26372,7 @@ static PyObject *_wrap_TimeSpan_GetDays(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TimeSpan_GetHours(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -24681,7 +26391,7 @@ static PyObject *_wrap_TimeSpan_GetHours(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: @@ -24690,7 +26400,7 @@ static PyObject *_wrap_TimeSpan_GetHours(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -24709,7 +26419,7 @@ static PyObject *_wrap_TimeSpan_GetMinutes(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: @@ -24718,7 +26428,7 @@ static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxLongLong result; PyObject * obj0 = 0 ; @@ -24755,7 +26465,7 @@ static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxLongLong result; PyObject * obj0 = 0 ; @@ -24792,7 +26502,7 @@ static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TimeSpan_Format(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTimeSpan *arg1 = (wxTimeSpan *) 0 ; wxString const &arg2_defvalue = wxPyDefaultTimeSpanFormat ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -24850,7 +26560,7 @@ static PyObject * TimeSpan_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -24867,25 +26577,25 @@ static PyObject *_wrap_new_DateSpan(PyObject *, PyObject *args, PyObject *kwargs if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",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; } } @@ -24904,7 +26614,7 @@ static PyObject *_wrap_new_DateSpan(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_delete_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24929,7 +26639,7 @@ static PyObject *_wrap_delete_DateSpan(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxDateSpan result; PyObject * obj0 = 0 ; @@ -24939,7 +26649,7 @@ static PyObject *_wrap_DateSpan_Days(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -24951,7 +26661,7 @@ static PyObject *_wrap_DateSpan_Days(PyObject *, PyObject *args, PyObject *kwarg } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -24961,7 +26671,7 @@ static PyObject *_wrap_DateSpan_Days(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DateSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan result; char *kwnames[] = { NULL @@ -24977,7 +26687,7 @@ static PyObject *_wrap_DateSpan_Day(PyObject *, PyObject *args, PyObject *kwargs } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -24987,7 +26697,7 @@ static PyObject *_wrap_DateSpan_Day(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_DateSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxDateSpan result; PyObject * obj0 = 0 ; @@ -24997,7 +26707,7 @@ static PyObject *_wrap_DateSpan_Weeks(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -25009,7 +26719,7 @@ static PyObject *_wrap_DateSpan_Weeks(PyObject *, PyObject *args, PyObject *kwar } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -25019,7 +26729,7 @@ static PyObject *_wrap_DateSpan_Weeks(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DateSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan result; char *kwnames[] = { NULL @@ -25035,7 +26745,7 @@ static PyObject *_wrap_DateSpan_Week(PyObject *, PyObject *args, PyObject *kwarg } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -25045,7 +26755,7 @@ static PyObject *_wrap_DateSpan_Week(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DateSpan_Months(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxDateSpan result; PyObject * obj0 = 0 ; @@ -25055,7 +26765,7 @@ static PyObject *_wrap_DateSpan_Months(PyObject *, PyObject *args, PyObject *kwa if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -25067,7 +26777,7 @@ static PyObject *_wrap_DateSpan_Months(PyObject *, PyObject *args, PyObject *kwa } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -25077,7 +26787,7 @@ static PyObject *_wrap_DateSpan_Months(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateSpan_Month(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan result; char *kwnames[] = { NULL @@ -25093,7 +26803,7 @@ static PyObject *_wrap_DateSpan_Month(PyObject *, PyObject *args, PyObject *kwar } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -25103,7 +26813,7 @@ static PyObject *_wrap_DateSpan_Month(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DateSpan_Years(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 ; wxDateSpan result; PyObject * obj0 = 0 ; @@ -25113,7 +26823,7 @@ static PyObject *_wrap_DateSpan_Years(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail; { - arg1 = (int)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { @@ -25125,7 +26835,7 @@ static PyObject *_wrap_DateSpan_Years(PyObject *, PyObject *args, PyObject *kwar } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -25135,7 +26845,7 @@ static PyObject *_wrap_DateSpan_Years(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DateSpan_Year(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan result; char *kwnames[] = { NULL @@ -25151,7 +26861,7 @@ static PyObject *_wrap_DateSpan_Year(PyObject *, PyObject *args, PyObject *kwarg } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -25161,7 +26871,7 @@ static PyObject *_wrap_DateSpan_Year(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DateSpan_SetYears(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int arg2 ; wxDateSpan *result; @@ -25175,7 +26885,7 @@ static PyObject *_wrap_DateSpan_SetYears(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -25196,7 +26906,7 @@ static PyObject *_wrap_DateSpan_SetYears(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateSpan_SetMonths(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int arg2 ; wxDateSpan *result; @@ -25210,7 +26920,7 @@ static PyObject *_wrap_DateSpan_SetMonths(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -25231,7 +26941,7 @@ static PyObject *_wrap_DateSpan_SetMonths(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateSpan_SetWeeks(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int arg2 ; wxDateSpan *result; @@ -25245,7 +26955,7 @@ static PyObject *_wrap_DateSpan_SetWeeks(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -25266,7 +26976,7 @@ static PyObject *_wrap_DateSpan_SetWeeks(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateSpan_SetDays(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int arg2 ; wxDateSpan *result; @@ -25280,7 +26990,7 @@ static PyObject *_wrap_DateSpan_SetDays(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -25301,7 +27011,7 @@ static PyObject *_wrap_DateSpan_SetDays(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateSpan_GetYears(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -25320,7 +27030,7 @@ static PyObject *_wrap_DateSpan_GetYears(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: @@ -25329,7 +27039,7 @@ static PyObject *_wrap_DateSpan_GetYears(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateSpan_GetMonths(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -25348,7 +27058,7 @@ static PyObject *_wrap_DateSpan_GetMonths(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: @@ -25357,7 +27067,7 @@ static PyObject *_wrap_DateSpan_GetMonths(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DateSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -25376,7 +27086,7 @@ static PyObject *_wrap_DateSpan_GetWeeks(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: @@ -25385,7 +27095,7 @@ static PyObject *_wrap_DateSpan_GetWeeks(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -25404,7 +27114,7 @@ static PyObject *_wrap_DateSpan_GetDays(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: @@ -25413,7 +27123,7 @@ static PyObject *_wrap_DateSpan_GetDays(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int result; PyObject * obj0 = 0 ; @@ -25432,7 +27142,7 @@ static PyObject *_wrap_DateSpan_GetTotalDays(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: @@ -25441,7 +27151,7 @@ static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_DateSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; wxDateSpan *arg2 = 0 ; wxDateSpan *result; @@ -25480,7 +27190,7 @@ static PyObject *_wrap_DateSpan_Add(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_DateSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; wxDateSpan *arg2 = 0 ; wxDateSpan *result; @@ -25519,7 +27229,7 @@ static PyObject *_wrap_DateSpan_Subtract(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; wxDateSpan *result; PyObject * obj0 = 0 ; @@ -25548,7 +27258,7 @@ static PyObject *_wrap_DateSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_DateSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int arg2 ; wxDateSpan *result; @@ -25562,7 +27272,7 @@ static PyObject *_wrap_DateSpan_Multiply(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -25583,7 +27293,7 @@ static PyObject *_wrap_DateSpan_Multiply(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; wxDateSpan *arg2 = 0 ; wxDateSpan *result; @@ -25622,7 +27332,7 @@ static PyObject *_wrap_DateSpan___iadd__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; wxDateSpan *arg2 = 0 ; wxDateSpan *result; @@ -25661,7 +27371,7 @@ static PyObject *_wrap_DateSpan___isub__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; wxDateSpan *result; PyObject * obj0 = 0 ; @@ -25690,7 +27400,7 @@ static PyObject *_wrap_DateSpan___neg__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int arg2 ; wxDateSpan *result; @@ -25704,7 +27414,7 @@ static PyObject *_wrap_DateSpan___imul__(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, 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; } { @@ -25725,7 +27435,7 @@ static PyObject *_wrap_DateSpan___imul__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; wxDateSpan *arg2 = 0 ; wxDateSpan result; @@ -25755,7 +27465,7 @@ static PyObject *_wrap_DateSpan___add__(PyObject *, PyObject *args, PyObject *kw } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -25765,7 +27475,7 @@ static PyObject *_wrap_DateSpan___add__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; wxDateSpan *arg2 = 0 ; wxDateSpan result; @@ -25795,7 +27505,7 @@ static PyObject *_wrap_DateSpan___sub__(PyObject *, PyObject *args, PyObject *kw } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -25805,7 +27515,7 @@ static PyObject *_wrap_DateSpan___sub__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int arg2 ; wxDateSpan result; @@ -25819,7 +27529,7 @@ static PyObject *_wrap_DateSpan___mul__(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -25831,7 +27541,7 @@ static PyObject *_wrap_DateSpan___mul__(PyObject *, PyObject *args, PyObject *kw } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -25841,7 +27551,7 @@ static PyObject *_wrap_DateSpan___mul__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DateSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; int arg2 ; wxDateSpan result; @@ -25855,7 +27565,7 @@ static PyObject *_wrap_DateSpan___rmul__(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -25867,7 +27577,7 @@ static PyObject *_wrap_DateSpan___rmul__(PyObject *, PyObject *args, PyObject *k } { wxDateSpan * resultptr; - resultptr = new wxDateSpan((wxDateSpan &)(result)); + resultptr = new wxDateSpan(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1); } return resultobj; @@ -25877,7 +27587,7 @@ static PyObject *_wrap_DateSpan___rmul__(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DateSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; wxDateSpan *arg2 = (wxDateSpan *) 0 ; bool result; @@ -25909,7 +27619,7 @@ static PyObject *_wrap_DateSpan___eq__(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_DateSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDateSpan *arg1 = (wxDateSpan *) 0 ; wxDateSpan *arg2 = (wxDateSpan *) 0 ; bool result; @@ -25948,7 +27658,7 @@ static PyObject * DateSpan_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_GetLocalTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long result; char *kwnames[] = { NULL @@ -25963,7 +27673,7 @@ static PyObject *_wrap_GetLocalTime(PyObject *, PyObject *args, PyObject *kwargs if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -25972,7 +27682,7 @@ static PyObject *_wrap_GetLocalTime(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_GetUTCTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long result; char *kwnames[] = { NULL @@ -25987,7 +27697,7 @@ static PyObject *_wrap_GetUTCTime(PyObject *, PyObject *args, PyObject *kwargs) if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -25996,7 +27706,7 @@ static PyObject *_wrap_GetUTCTime(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_GetCurrentTime(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; long result; char *kwnames[] = { NULL @@ -26011,7 +27721,7 @@ static PyObject *_wrap_GetCurrentTime(PyObject *, PyObject *args, PyObject *kwar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -26020,7 +27730,7 @@ static PyObject *_wrap_GetCurrentTime(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_GetLocalTimeMillis(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLongLong result; char *kwnames[] = { NULL @@ -26059,7 +27769,7 @@ static int _wrap_DefaultDateTime_set(PyObject *) { static PyObject *_wrap_DefaultDateTime_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxDefaultDateTime), SWIGTYPE_p_wxDateTime, 0); return pyobj; @@ -26067,7 +27777,7 @@ static PyObject *_wrap_DefaultDateTime_get(void) { static PyObject *_wrap_new_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormatId arg1 ; wxDataFormat *result; PyObject * obj0 = 0 ; @@ -26077,12 +27787,12 @@ static PyObject *_wrap_new_DataFormat(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail; { - arg1 = (wxDataFormatId)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1); + result = (wxDataFormat *)new wxDataFormat(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -26095,7 +27805,7 @@ static PyObject *_wrap_new_DataFormat(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_CustomDataFormat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxDataFormat *result; bool temp1 = false ; @@ -26133,7 +27843,7 @@ static PyObject *_wrap_new_CustomDataFormat(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat *arg1 = (wxDataFormat *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -26158,7 +27868,7 @@ static PyObject *_wrap_delete_DataFormat(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat *arg1 = (wxDataFormat *) 0 ; wxDataFormatId arg2 ; bool result; @@ -26169,12 +27879,12 @@ static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *, PyObject *args) { SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDataFormatId)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2); + result = (bool)((wxDataFormat const *)arg1)->operator ==(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -26189,7 +27899,7 @@ static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat *arg1 = (wxDataFormat *) 0 ; wxDataFormatId arg2 ; bool result; @@ -26200,12 +27910,12 @@ static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *, PyObject *args) { SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDataFormatId)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2); + result = (bool)((wxDataFormat const *)arg1)->operator !=(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -26220,7 +27930,7 @@ static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat *arg1 = (wxDataFormat *) 0 ; wxDataFormat *arg2 = 0 ; bool result; @@ -26314,7 +28024,7 @@ static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) { static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat *arg1 = (wxDataFormat *) 0 ; wxDataFormat *arg2 = 0 ; bool result; @@ -26408,7 +28118,7 @@ static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) { static PyObject *_wrap_DataFormat_SetType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat *arg1 = (wxDataFormat *) 0 ; wxDataFormatId arg2 ; PyObject * obj0 = 0 ; @@ -26421,12 +28131,12 @@ static PyObject *_wrap_DataFormat_SetType(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDataFormatId)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetType((wxDataFormatId )arg2); + (arg1)->SetType(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -26439,7 +28149,7 @@ static PyObject *_wrap_DataFormat_SetType(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DataFormat_GetType(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat *arg1 = (wxDataFormat *) 0 ; wxDataFormatId result; PyObject * obj0 = 0 ; @@ -26465,7 +28175,7 @@ static PyObject *_wrap_DataFormat_GetType(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DataFormat_GetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat *arg1 = (wxDataFormat *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -26497,7 +28207,7 @@ static PyObject *_wrap_DataFormat_GetId(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_DataFormat_SetId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat *arg1 = (wxDataFormat *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -26551,7 +28261,7 @@ static int _wrap_FormatInvalid_set(PyObject *) { static PyObject *_wrap_FormatInvalid_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxFormatInvalid), SWIGTYPE_p_wxDataFormat, 0); return pyobj; @@ -26559,7 +28269,7 @@ static PyObject *_wrap_FormatInvalid_get(void) { static PyObject *_wrap_delete_DataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObject *arg1 = (wxDataObject *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -26584,7 +28294,7 @@ static PyObject *_wrap_delete_DataObject(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObject *arg1 = (wxDataObject *) 0 ; wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ; SwigValueWrapper result; @@ -26599,20 +28309,20 @@ static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *, PyObject *args, if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (wxDataObject::Direction)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2); + result = ((wxDataObject const *)arg1)->GetPreferredFormat(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxDataFormat * resultptr; - resultptr = new wxDataFormat((wxDataFormat &)(result)); + resultptr = new wxDataFormat(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDataFormat, 1); } return resultobj; @@ -26622,7 +28332,7 @@ static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *, PyObject *args, static PyObject *_wrap_DataObject_GetFormatCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObject *arg1 = (wxDataObject *) 0 ; wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ; size_t result; @@ -26637,19 +28347,19 @@ static PyObject *_wrap_DataObject_GetFormatCount(PyObject *, PyObject *args, PyO if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (wxDataObject::Direction)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2); + result = (size_t)((wxDataObject const *)arg1)->GetFormatCount(arg2); wxPyEndAllowThreads(__tstate); 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: @@ -26658,7 +28368,7 @@ static PyObject *_wrap_DataObject_GetFormatCount(PyObject *, PyObject *args, PyO static PyObject *_wrap_DataObject_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObject *arg1 = (wxDataObject *) 0 ; wxDataFormat *arg2 = 0 ; wxDataObject::Direction arg3 = (wxDataObject::Direction) wxDataObject::Get ; @@ -26683,13 +28393,13 @@ static PyObject *_wrap_DataObject_IsSupported(PyObject *, PyObject *args, PyObje } if (obj2) { { - arg3 = (wxDataObject::Direction)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3); + result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -26704,7 +28414,7 @@ static PyObject *_wrap_DataObject_IsSupported(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DataObject_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObject *arg1 = (wxDataObject *) 0 ; wxDataFormat *arg2 = 0 ; size_t result; @@ -26733,7 +28443,7 @@ static PyObject *_wrap_DataObject_GetDataSize(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: @@ -26742,7 +28452,7 @@ static PyObject *_wrap_DataObject_GetDataSize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DataObject_GetAllFormats(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObject *arg1 = (wxDataObject *) 0 ; wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ; PyObject *result; @@ -26757,13 +28467,13 @@ static PyObject *_wrap_DataObject_GetAllFormats(PyObject *, PyObject *args, PyOb if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (wxDataObject::Direction)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (PyObject *)wxDataObject_GetAllFormats(arg1,(wxDataObject::Direction )arg2); + result = (PyObject *)wxDataObject_GetAllFormats(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -26776,7 +28486,7 @@ static PyObject *_wrap_DataObject_GetAllFormats(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DataObject_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObject *arg1 = (wxDataObject *) 0 ; wxDataFormat *arg2 = 0 ; PyObject *result; @@ -26812,7 +28522,7 @@ static PyObject *_wrap_DataObject_GetDataHere(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObject *arg1 = (wxDataObject *) 0 ; wxDataFormat *arg2 = 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -26860,7 +28570,7 @@ static PyObject * DataObject_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_DataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat const &arg1_defvalue = wxFormatInvalid ; wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ; wxDataObjectSimple *result; @@ -26895,7 +28605,7 @@ static PyObject *_wrap_new_DataObjectSimple(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ; wxDataFormat *result; PyObject * obj0 = 0 ; @@ -26924,7 +28634,7 @@ static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *, PyObject *args, Py static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ; wxDataFormat *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -26959,7 +28669,7 @@ static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *, PyObject *args, Py static PyObject *_wrap_DataObjectSimple_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -26978,7 +28688,7 @@ static PyObject *_wrap_DataObjectSimple_GetDataSize(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: @@ -26987,7 +28697,7 @@ static PyObject *_wrap_DataObjectSimple_GetDataSize(PyObject *, PyObject *args, static PyObject *_wrap_DataObjectSimple_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -27013,7 +28723,7 @@ static PyObject *_wrap_DataObjectSimple_GetDataHere(PyObject *, PyObject *args, static PyObject *_wrap_DataObjectSimple_SetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ; PyObject *arg2 = (PyObject *) 0 ; bool result; @@ -27051,7 +28761,7 @@ static PyObject * DataObjectSimple_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyDataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat const &arg1_defvalue = wxFormatInvalid ; wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ; wxPyDataObjectSimple *result; @@ -27086,7 +28796,7 @@ static PyObject *_wrap_new_PyDataObjectSimple(PyObject *, PyObject *args, PyObje static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -27124,7 +28834,7 @@ static PyObject * PyDataObjectSimple_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_DataObjectComposite(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObjectComposite *result; char *kwnames[] = { NULL @@ -27146,7 +28856,7 @@ static PyObject *_wrap_new_DataObjectComposite(PyObject *, PyObject *args, PyObj static PyObject *_wrap_DataObjectComposite_Add(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ; wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ; bool arg3 = (bool) false ; @@ -27164,7 +28874,7 @@ static PyObject *_wrap_DataObjectComposite_Add(PyObject *, PyObject *args, PyObj 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; } } @@ -27190,7 +28900,7 @@ static PyObject * DataObjectComposite_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TextDataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxTextDataObject *result; @@ -27231,7 +28941,7 @@ static PyObject *_wrap_new_TextDataObject(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextDataObject *arg1 = (wxTextDataObject *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -27250,7 +28960,7 @@ static PyObject *_wrap_TextDataObject_GetTextLength(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: @@ -27259,7 +28969,7 @@ static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *, PyObject *args, static PyObject *_wrap_TextDataObject_GetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextDataObject *arg1 = (wxTextDataObject *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -27291,7 +29001,7 @@ static PyObject *_wrap_TextDataObject_GetText(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TextDataObject_SetText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextDataObject *arg1 = (wxTextDataObject *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -27339,7 +29049,7 @@ static PyObject * TextDataObject_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyTextDataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyEmptyString ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxPyTextDataObject *result; @@ -27380,7 +29090,7 @@ static PyObject *_wrap_new_PyTextDataObject(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -27418,7 +29128,7 @@ static PyObject * PyTextDataObject_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_BitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap const &arg1_defvalue = wxNullBitmap ; wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ; wxBitmapDataObject *result; @@ -27453,7 +29163,7 @@ static PyObject *_wrap_new_BitmapDataObject(PyObject *, PyObject *args, PyObject static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ; wxBitmap result; PyObject * obj0 = 0 ; @@ -27473,7 +29183,7 @@ static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *, PyObject *args, Py } { wxBitmap * resultptr; - resultptr = new wxBitmap((wxBitmap &)(result)); + resultptr = new wxBitmap(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); } return resultobj; @@ -27483,7 +29193,7 @@ static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *, PyObject *args, Py static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -27525,7 +29235,7 @@ static PyObject * BitmapDataObject_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyBitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap const &arg1_defvalue = wxNullBitmap ; wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ; wxPyBitmapDataObject *result; @@ -27560,7 +29270,7 @@ static PyObject *_wrap_new_PyBitmapDataObject(PyObject *, PyObject *args, PyObje static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -27598,7 +29308,7 @@ static PyObject * PyBitmapDataObject_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FileDataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileDataObject *result; char *kwnames[] = { NULL @@ -27620,7 +29330,7 @@ static PyObject *_wrap_new_FileDataObject(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileDataObject *arg1 = (wxFileDataObject *) 0 ; wxArrayString *result; PyObject * obj0 = 0 ; @@ -27651,7 +29361,7 @@ static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *, PyObject *args, P static PyObject *_wrap_FileDataObject_AddFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileDataObject *arg1 = (wxFileDataObject *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -27699,7 +29409,7 @@ static PyObject * FileDataObject_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_CustomDataObject__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataFormat *arg1 = 0 ; wxCustomDataObject *result; PyObject * obj0 = 0 ; @@ -27728,7 +29438,7 @@ static PyObject *_wrap_new_CustomDataObject__SWIG_0(PyObject *, PyObject *args) static PyObject *_wrap_new_CustomDataObject__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxCustomDataObject *result; bool temp1 = false ; @@ -27763,7 +29473,7 @@ static PyObject *_wrap_new_CustomDataObject__SWIG_1(PyObject *, PyObject *args) static PyObject *_wrap_new_CustomDataObject__SWIG_2(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCustomDataObject *result; if(!PyArg_ParseTuple(args,(char *)":new_CustomDataObject")) goto fail; @@ -27824,7 +29534,7 @@ static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args) { static PyObject *_wrap_CustomDataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ; PyObject *arg2 = (PyObject *) 0 ; bool result; @@ -27855,7 +29565,7 @@ static PyObject *_wrap_CustomDataObject_SetData(PyObject *, PyObject *args, PyOb static PyObject *_wrap_CustomDataObject_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -27874,7 +29584,7 @@ static PyObject *_wrap_CustomDataObject_GetSize(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -27883,7 +29593,7 @@ static PyObject *_wrap_CustomDataObject_GetSize(PyObject *, PyObject *args, PyOb static PyObject *_wrap_CustomDataObject_GetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -27916,7 +29626,7 @@ static PyObject * CustomDataObject_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_URLDataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxURLDataObject *result; char *kwnames[] = { NULL @@ -27938,7 +29648,7 @@ static PyObject *_wrap_new_URLDataObject(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_URLDataObject_GetURL(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxURLDataObject *arg1 = (wxURLDataObject *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -27970,7 +29680,7 @@ static PyObject *_wrap_URLDataObject_GetURL(PyObject *, PyObject *args, PyObject static PyObject *_wrap_URLDataObject_SetURL(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxURLDataObject *arg1 = (wxURLDataObject *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -28018,7 +29728,7 @@ static PyObject * URLDataObject_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MetafileDataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMetafileDataObject *result; char *kwnames[] = { NULL @@ -28047,7 +29757,7 @@ static PyObject * MetafileDataObject_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_IsDragResultOk(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDragResult arg1 ; bool result; PyObject * obj0 = 0 ; @@ -28057,12 +29767,12 @@ static PyObject *_wrap_IsDragResultOk(PyObject *, PyObject *args, PyObject *kwar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail; { - arg1 = (wxDragResult)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)wxIsDragResultOk((wxDragResult )arg1); + result = (bool)wxIsDragResultOk(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -28077,7 +29787,7 @@ static PyObject *_wrap_IsDragResultOk(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_DropSource(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxIcon const &arg2_defvalue = wxNullIcon ; wxIcon *arg2 = (wxIcon *) &arg2_defvalue ; @@ -28142,7 +29852,7 @@ static PyObject *_wrap_new_DropSource(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropSource *arg1 = (wxPyDropSource *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -28161,7 +29871,7 @@ static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *, PyObject *args, P arg2 = obj1; arg3 = obj2; { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -28179,7 +29889,7 @@ static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *, PyObject *args, P static PyObject *_wrap_delete_DropSource(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropSource *arg1 = (wxPyDropSource *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -28204,7 +29914,7 @@ static PyObject *_wrap_delete_DropSource(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DropSource_SetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropSource *arg1 = (wxPyDropSource *) 0 ; wxDataObject *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -28239,7 +29949,7 @@ static PyObject *_wrap_DropSource_SetData(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DropSource_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropSource *arg1 = (wxPyDropSource *) 0 ; wxDataObject *result; PyObject * obj0 = 0 ; @@ -28265,7 +29975,7 @@ static PyObject *_wrap_DropSource_GetDataObject(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DropSource_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropSource *arg1 = (wxPyDropSource *) 0 ; wxDragResult arg2 ; wxCursor *arg3 = 0 ; @@ -28280,7 +29990,7 @@ static PyObject *_wrap_DropSource_SetCursor(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDragResult)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -28293,7 +30003,7 @@ static PyObject *_wrap_DropSource_SetCursor(PyObject *, PyObject *args, PyObject } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3); + (arg1)->SetCursor(arg2,(wxCursor const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -28306,7 +30016,7 @@ static PyObject *_wrap_DropSource_SetCursor(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DropSource_DoDragDrop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropSource *arg1 = (wxPyDropSource *) 0 ; int arg2 = (int) wxDrag_CopyOnly ; wxDragResult result; @@ -28321,7 +30031,7 @@ static PyObject *_wrap_DropSource_DoDragDrop(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; } } @@ -28339,8 +30049,8 @@ static PyObject *_wrap_DropSource_DoDragDrop(PyObject *, PyObject *args, PyObjec } -static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_DropSource_GiveFeedback(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyDropSource *arg1 = (wxPyDropSource *) 0 ; wxDragResult arg2 ; bool result; @@ -28350,16 +30060,16 @@ static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *, PyObject *args, (char *) "self",(char *) "effect", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_base_GiveFeedback",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_GiveFeedback",kwnames,&obj0,&obj1)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDragResult)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2); + result = (bool)(arg1)->GiveFeedback(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -28381,7 +30091,7 @@ static PyObject * DropSource_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDataObject *arg1 = (wxDataObject *) NULL ; wxPyDropTarget *result; PyObject * obj0 = 0 ; @@ -28409,7 +30119,7 @@ static PyObject *_wrap_new_DropTarget(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -28440,7 +30150,7 @@ static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *, PyObject *args, P static PyObject *_wrap_delete_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -28465,7 +30175,7 @@ static PyObject *_wrap_delete_DropTarget(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DropTarget_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; wxDataObject *result; PyObject * obj0 = 0 ; @@ -28491,7 +30201,7 @@ static PyObject *_wrap_DropTarget_GetDataObject(PyObject *, PyObject *args, PyOb static PyObject *_wrap_DropTarget_SetDataObject(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; wxDataObject *arg2 = (wxDataObject *) 0 ; PyObject * obj0 = 0 ; @@ -28519,8 +30229,8 @@ static PyObject *_wrap_DropTarget_SetDataObject(PyObject *, PyObject *args, PyOb } -static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_DropTarget_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -28534,24 +30244,24 @@ static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *, PyObject *args, PyObj (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (wxDragResult)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4); + result = (wxDragResult)(arg1)->OnEnter(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -28563,8 +30273,8 @@ static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_DropTarget_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -28578,24 +30288,24 @@ static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *, PyObject *args, Py (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (wxDragResult)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4); + result = (wxDragResult)(arg1)->OnDragOver(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -28607,20 +30317,20 @@ static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *, PyObject *args, Py } -static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_DropTarget_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_OnLeave",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->base_OnLeave(); + (arg1)->OnLeave(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -28632,8 +30342,8 @@ static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *, PyObject *args, PyObj } -static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_DropTarget_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -28645,20 +30355,20 @@ static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *, PyObject *args, PyObje (char *) "self",(char *) "x",(char *) "y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (bool)(arg1)->base_OnDrop(arg2,arg3); + result = (bool)(arg1)->OnDrop(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -28673,7 +30383,7 @@ static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *, PyObject *args, PyObje static PyObject *_wrap_DropTarget_GetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -28700,6 +30410,63 @@ static PyObject *_wrap_DropTarget_GetData(PyObject *, PyObject *args, PyObject * } +static PyObject *_wrap_DropTarget_SetDefaultAction(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; + wxDragResult arg2 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "action", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDefaultAction",kwnames,&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, 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; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + (arg1)->SetDefaultAction(arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + Py_INCREF(Py_None); resultobj = Py_None; + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_DropTarget_GetDefaultAction(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ; + wxDragResult result; + PyObject * obj0 = 0 ; + char *kwnames[] = { + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDefaultAction",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxDragResult)(arg1)->GetDefaultAction(); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_From_int((result)); + return resultobj; + fail: + return NULL; +} + + static PyObject * DropTarget_swigregister(PyObject *, PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; @@ -28708,7 +30475,7 @@ static PyObject * DropTarget_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TextDropTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTextDropTarget *result; char *kwnames[] = { NULL @@ -28730,7 +30497,7 @@ static PyObject *_wrap_new_TextDropTarget(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -28760,8 +30527,64 @@ static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *, PyObject *arg } -static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_TextDropTarget_OnDropText(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ; + int arg2 ; + int arg3 ; + wxString *arg4 = 0 ; + bool result; + bool temp4 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_OnDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, 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; + } + { + arg4 = wxString_in_helper(obj3); + if (arg4 == NULL) SWIG_fail; + temp4 = true; + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->OnDropText(arg2,arg3,(wxString const &)*arg4); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp4) + delete arg4; + } + return resultobj; + fail: + { + if (temp4) + delete arg4; + } + return NULL; +} + + +static PyObject *_wrap_TextDropTarget_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -28775,24 +30598,24 @@ static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *, PyObject *args, P (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (wxDragResult)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4); + result = (wxDragResult)(arg1)->OnEnter(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -28804,8 +30627,8 @@ static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *, PyObject *args, P } -static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_TextDropTarget_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -28819,24 +30642,24 @@ static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *, PyObject *args (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (wxDragResult)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4); + result = (wxDragResult)(arg1)->OnDragOver(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -28848,20 +30671,20 @@ static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *, PyObject *args } -static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_TextDropTarget_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_OnLeave",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->base_OnLeave(); + (arg1)->OnLeave(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -28873,8 +30696,8 @@ static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *, PyObject *args, P } -static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_TextDropTarget_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -28886,20 +30709,20 @@ static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *, PyObject *args, Py (char *) "self",(char *) "x",(char *) "y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (bool)(arg1)->base_OnDrop(arg2,arg3); + result = (bool)(arg1)->OnDrop(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -28913,8 +30736,8 @@ static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *, PyObject *args, Py } -static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_TextDropTarget_OnData(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -28928,24 +30751,24 @@ static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *, PyObject *args, Py (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (wxDragResult)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDragResult)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4); + result = (wxDragResult)(arg1)->OnData(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -28965,7 +30788,7 @@ static PyObject * TextDropTarget_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FileDropTarget(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileDropTarget *result; char *kwnames[] = { NULL @@ -28987,7 +30810,7 @@ static PyObject *_wrap_new_FileDropTarget(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -29017,8 +30840,74 @@ static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *, PyObject *arg } -static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FileDropTarget_OnDropFiles(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ; + int arg2 ; + int arg3 ; + wxArrayString *arg4 = 0 ; + bool result; + bool temp4 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + char *kwnames[] = { + (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, 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 (! PySequence_Check(obj3)) { + PyErr_SetString(PyExc_TypeError, "Sequence of strings expected."); + SWIG_fail; + } + arg4 = new wxArrayString; + temp4 = true; + int i, len=PySequence_Length(obj3); + for (i=0; iAdd(*s); + delete s; + Py_DECREF(item); + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (bool)(arg1)->OnDropFiles(arg2,arg3,(wxArrayString const &)*arg4); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); + } + { + if (temp4) delete arg4; + } + return resultobj; + fail: + { + if (temp4) delete arg4; + } + return NULL; +} + + +static PyObject *_wrap_FileDropTarget_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -29032,24 +30921,24 @@ static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *, PyObject *args, P (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (wxDragResult)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4); + result = (wxDragResult)(arg1)->OnEnter(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -29061,8 +30950,8 @@ static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *, PyObject *args, P } -static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FileDropTarget_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -29076,24 +30965,24 @@ static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *, PyObject *args (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (wxDragResult)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4); + result = (wxDragResult)(arg1)->OnDragOver(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -29105,20 +30994,20 @@ static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *, PyObject *args } -static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FileDropTarget_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { (char *) "self", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_OnLeave",kwnames,&obj0)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->base_OnLeave(); + (arg1)->OnLeave(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -29130,8 +31019,8 @@ static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *, PyObject *args, P } -static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FileDropTarget_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -29143,20 +31032,20 @@ static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *, PyObject *args, Py (char *) "self",(char *) "x",(char *) "y", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (bool)(arg1)->base_OnDrop(arg2,arg3); + result = (bool)(arg1)->OnDrop(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -29170,8 +31059,8 @@ static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *, PyObject *args, Py } -static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; +static PyObject *_wrap_FileDropTarget_OnData(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ; int arg2 ; int arg3 ; @@ -29185,24 +31074,24 @@ static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *, PyObject *args, Py (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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 = (wxDragResult)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxDragResult)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4); + result = (wxDragResult)(arg1)->OnData(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -29222,7 +31111,7 @@ static PyObject * FileDropTarget_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *result; char *kwnames[] = { NULL @@ -29244,7 +31133,7 @@ static PyObject *_wrap_new_Clipboard(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_delete_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -29269,7 +31158,7 @@ static PyObject *_wrap_delete_Clipboard(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Clipboard_Open(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -29297,7 +31186,7 @@ static PyObject *_wrap_Clipboard_Open(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Clipboard_Close(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -29322,7 +31211,7 @@ static PyObject *_wrap_Clipboard_Close(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Clipboard_IsOpened(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -29350,7 +31239,7 @@ static PyObject *_wrap_Clipboard_IsOpened(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Clipboard_AddData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; wxDataObject *arg2 = (wxDataObject *) 0 ; bool result; @@ -29382,7 +31271,7 @@ static PyObject *_wrap_Clipboard_AddData(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Clipboard_SetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; wxDataObject *arg2 = (wxDataObject *) 0 ; bool result; @@ -29414,7 +31303,7 @@ static PyObject *_wrap_Clipboard_SetData(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Clipboard_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; wxDataFormat *arg2 = 0 ; bool result; @@ -29452,7 +31341,7 @@ static PyObject *_wrap_Clipboard_IsSupported(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Clipboard_GetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; wxDataObject *arg2 = 0 ; bool result; @@ -29490,7 +31379,7 @@ static PyObject *_wrap_Clipboard_GetData(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Clipboard_Clear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -29515,7 +31404,7 @@ static PyObject *_wrap_Clipboard_Clear(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Clipboard_Flush(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -29543,7 +31432,7 @@ static PyObject *_wrap_Clipboard_Flush(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -29557,7 +31446,7 @@ static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *, PyObject *args, 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; } } @@ -29576,7 +31465,7 @@ static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *, PyObject *args, static PyObject *_wrap_Clipboard_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *result; char *kwnames[] = { NULL @@ -29605,7 +31494,7 @@ static PyObject * Clipboard_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboard *arg1 = (wxClipboard *) NULL ; wxClipboardLocker *result; PyObject * obj0 = 0 ; @@ -29633,7 +31522,7 @@ static PyObject *_wrap_new_ClipboardLocker(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -29658,7 +31547,7 @@ static PyObject *_wrap_delete_ClipboardLocker(PyObject *, PyObject *args, PyObje static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -29693,7 +31582,7 @@ static PyObject * ClipboardLocker_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; int arg2 = (int) 0 ; int arg3 = (int) 0 ; @@ -29710,25 +31599,25 @@ static PyObject *_wrap_new_VideoMode(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_VideoMode",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; } } @@ -29747,7 +31636,7 @@ static PyObject *_wrap_new_VideoMode(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_delete_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -29772,7 +31661,7 @@ static PyObject *_wrap_delete_VideoMode(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_VideoMode_Matches(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; wxVideoMode *arg2 = 0 ; bool result; @@ -29810,7 +31699,7 @@ static PyObject *_wrap_VideoMode_Matches(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_VideoMode_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int result; PyObject * obj0 = 0 ; @@ -29829,7 +31718,7 @@ static PyObject *_wrap_VideoMode_GetWidth(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: @@ -29838,7 +31727,7 @@ static PyObject *_wrap_VideoMode_GetWidth(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_VideoMode_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int result; PyObject * obj0 = 0 ; @@ -29857,7 +31746,7 @@ static PyObject *_wrap_VideoMode_GetHeight(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: @@ -29866,7 +31755,7 @@ static PyObject *_wrap_VideoMode_GetHeight(PyObject *, PyObject *args, PyObject static PyObject *_wrap_VideoMode_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int result; PyObject * obj0 = 0 ; @@ -29885,7 +31774,7 @@ static PyObject *_wrap_VideoMode_GetDepth(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: @@ -29894,7 +31783,7 @@ static PyObject *_wrap_VideoMode_GetDepth(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_VideoMode_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -29922,7 +31811,7 @@ static PyObject *_wrap_VideoMode_IsOk(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_VideoMode___eq__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; wxVideoMode *arg2 = (wxVideoMode *) 0 ; bool result; @@ -29954,7 +31843,7 @@ static PyObject *_wrap_VideoMode___eq__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_VideoMode___ne__(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; wxVideoMode *arg2 = (wxVideoMode *) 0 ; bool result; @@ -29986,7 +31875,7 @@ static PyObject *_wrap_VideoMode___ne__(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_VideoMode_w_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -29999,7 +31888,7 @@ static PyObject *_wrap_VideoMode_w_set(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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)->w = arg2; @@ -30012,7 +31901,7 @@ static PyObject *_wrap_VideoMode_w_set(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_VideoMode_w_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int result; PyObject * obj0 = 0 ; @@ -30026,7 +31915,7 @@ static PyObject *_wrap_VideoMode_w_get(PyObject *, PyObject *args, PyObject *kwa result = (int) ((arg1)->w); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -30035,7 +31924,7 @@ static PyObject *_wrap_VideoMode_w_get(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_VideoMode_h_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -30048,7 +31937,7 @@ static PyObject *_wrap_VideoMode_h_set(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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)->h = arg2; @@ -30061,7 +31950,7 @@ static PyObject *_wrap_VideoMode_h_set(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_VideoMode_h_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int result; PyObject * obj0 = 0 ; @@ -30075,7 +31964,7 @@ static PyObject *_wrap_VideoMode_h_get(PyObject *, PyObject *args, PyObject *kwa result = (int) ((arg1)->h); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -30084,7 +31973,7 @@ static PyObject *_wrap_VideoMode_h_get(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_VideoMode_bpp_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -30097,7 +31986,7 @@ static PyObject *_wrap_VideoMode_bpp_set(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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)->bpp = arg2; @@ -30110,7 +31999,7 @@ static PyObject *_wrap_VideoMode_bpp_set(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_VideoMode_bpp_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int result; PyObject * obj0 = 0 ; @@ -30124,7 +32013,7 @@ static PyObject *_wrap_VideoMode_bpp_get(PyObject *, PyObject *args, PyObject *k result = (int) ((arg1)->bpp); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -30133,7 +32022,7 @@ static PyObject *_wrap_VideoMode_bpp_get(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_VideoMode_refresh_set(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -30146,7 +32035,7 @@ static PyObject *_wrap_VideoMode_refresh_set(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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)->refresh = arg2; @@ -30159,7 +32048,7 @@ static PyObject *_wrap_VideoMode_refresh_set(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_VideoMode_refresh_get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxVideoMode *arg1 = (wxVideoMode *) 0 ; int result; PyObject * obj0 = 0 ; @@ -30173,7 +32062,7 @@ static PyObject *_wrap_VideoMode_refresh_get(PyObject *, PyObject *args, PyObjec result = (int) ((arg1)->refresh); { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -30195,7 +32084,7 @@ static int _wrap_DefaultVideoMode_set(PyObject *) { static PyObject *_wrap_DefaultVideoMode_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; pyobj = SWIG_NewPointerObj((void *)(&wxDefaultVideoMode), SWIGTYPE_p_wxVideoMode, 0); return pyobj; @@ -30203,7 +32092,7 @@ static PyObject *_wrap_DefaultVideoMode_get(void) { static PyObject *_wrap_new_Display(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; size_t arg1 = (size_t) 0 ; wxDisplay *result; PyObject * obj0 = 0 ; @@ -30214,7 +32103,7 @@ static PyObject *_wrap_new_Display(PyObject *, PyObject *args, PyObject *kwargs) if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Display",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (size_t)(SWIG_As_unsigned_SS_long(obj0)); + arg1 = static_cast(SWIG_As_unsigned_SS_long(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -30233,7 +32122,7 @@ static PyObject *_wrap_new_Display(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_delete_Display(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDisplay *arg1 = (wxDisplay *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -30258,7 +32147,7 @@ static PyObject *_wrap_delete_Display(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Display_GetCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; size_t result; char *kwnames[] = { NULL @@ -30273,7 +32162,7 @@ static PyObject *_wrap_Display_GetCount(PyObject *, PyObject *args, PyObject *kw 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: @@ -30282,7 +32171,7 @@ static PyObject *_wrap_Display_GetCount(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Display_GetFromPoint(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPoint *arg1 = 0 ; int result; wxPoint temp1 ; @@ -30304,7 +32193,7 @@ static PyObject *_wrap_Display_GetFromPoint(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: @@ -30313,7 +32202,7 @@ static PyObject *_wrap_Display_GetFromPoint(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Display_GetFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -30326,13 +32215,13 @@ static PyObject *_wrap_Display_GetFromWindow(PyObject *, PyObject *args, PyObjec if (SWIG_arg_fail(1)) SWIG_fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)Display_GetFromWindow(arg1); + result = (int)wxDisplay_GetFromWindow(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -30341,7 +32230,7 @@ static PyObject *_wrap_Display_GetFromWindow(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Display_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDisplay *arg1 = (wxDisplay *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -30369,7 +32258,7 @@ static PyObject *_wrap_Display_IsOk(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Display_GetGeometry(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDisplay *arg1 = (wxDisplay *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -30389,7 +32278,7 @@ static PyObject *_wrap_Display_GetGeometry(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; @@ -30399,7 +32288,7 @@ static PyObject *_wrap_Display_GetGeometry(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Display_GetName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDisplay *arg1 = (wxDisplay *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -30431,7 +32320,7 @@ static PyObject *_wrap_Display_GetName(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Display_IsPrimary(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDisplay *arg1 = (wxDisplay *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -30459,7 +32348,7 @@ static PyObject *_wrap_Display_IsPrimary(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Display_GetModes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDisplay *arg1 = (wxDisplay *) 0 ; wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ; wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ; @@ -30498,7 +32387,7 @@ static PyObject *_wrap_Display_GetModes(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Display_GetCurrentMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDisplay *arg1 = (wxDisplay *) 0 ; wxVideoMode result; PyObject * obj0 = 0 ; @@ -30518,7 +32407,7 @@ static PyObject *_wrap_Display_GetCurrentMode(PyObject *, PyObject *args, PyObje } { wxVideoMode * resultptr; - resultptr = new wxVideoMode((wxVideoMode &)(result)); + resultptr = new wxVideoMode(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVideoMode, 1); } return resultobj; @@ -30528,7 +32417,7 @@ static PyObject *_wrap_Display_GetCurrentMode(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Display_ChangeMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDisplay *arg1 = (wxDisplay *) 0 ; wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ; wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ; @@ -30569,7 +32458,7 @@ static PyObject *_wrap_Display_ChangeMode(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Display_ResetMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDisplay *arg1 = (wxDisplay *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -30601,7 +32490,7 @@ static PyObject * Display_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_StandardPaths_Get(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStandardPaths *result; char *kwnames[] = { NULL @@ -30610,7 +32499,7 @@ static PyObject *_wrap_StandardPaths_Get(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StandardPaths_Get",kwnames)) goto fail; { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxStandardPaths *)StandardPaths_Get(); + result = (wxStandardPaths *)wxStandardPaths_Get(); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -30623,7 +32512,7 @@ static PyObject *_wrap_StandardPaths_Get(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_StandardPaths_GetConfigDir(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStandardPaths *arg1 = (wxStandardPaths *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -30655,7 +32544,7 @@ static PyObject *_wrap_StandardPaths_GetConfigDir(PyObject *, PyObject *args, Py static PyObject *_wrap_StandardPaths_GetUserConfigDir(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStandardPaths *arg1 = (wxStandardPaths *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -30687,7 +32576,7 @@ static PyObject *_wrap_StandardPaths_GetUserConfigDir(PyObject *, PyObject *args static PyObject *_wrap_StandardPaths_GetDataDir(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStandardPaths *arg1 = (wxStandardPaths *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -30719,7 +32608,7 @@ static PyObject *_wrap_StandardPaths_GetDataDir(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StandardPaths_GetLocalDataDir(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStandardPaths *arg1 = (wxStandardPaths *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -30751,7 +32640,7 @@ static PyObject *_wrap_StandardPaths_GetLocalDataDir(PyObject *, PyObject *args, static PyObject *_wrap_StandardPaths_GetUserDataDir(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStandardPaths *arg1 = (wxStandardPaths *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -30783,7 +32672,7 @@ static PyObject *_wrap_StandardPaths_GetUserDataDir(PyObject *, PyObject *args, static PyObject *_wrap_StandardPaths_GetUserLocalDataDir(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStandardPaths *arg1 = (wxStandardPaths *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -30815,7 +32704,7 @@ static PyObject *_wrap_StandardPaths_GetUserLocalDataDir(PyObject *, PyObject *a static PyObject *_wrap_StandardPaths_GetPluginsDir(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStandardPaths *arg1 = (wxStandardPaths *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -30847,7 +32736,7 @@ static PyObject *_wrap_StandardPaths_GetPluginsDir(PyObject *, PyObject *args, P static PyObject *_wrap_StandardPaths_SetInstallPrefix(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStandardPaths *arg1 = (wxStandardPaths *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -30888,7 +32777,7 @@ static PyObject *_wrap_StandardPaths_SetInstallPrefix(PyObject *, PyObject *args static PyObject *_wrap_StandardPaths_GetInstallPrefix(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStandardPaths *arg1 = (wxStandardPaths *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -30940,6 +32829,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"SystemOptions_IsFalse", (PyCFunction) _wrap_SystemOptions_IsFalse, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS, NULL}, { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -30950,7 +32840,6 @@ static PyMethodDef SwigMethods[] = { { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -30982,7 +32871,6 @@ static PyMethodDef SwigMethods[] = { { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -30993,12 +32881,39 @@ static PyMethodDef SwigMethods[] = { { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GetXDisplay", (PyCFunction) _wrap_GetXDisplay, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FindWindowAtPointer", (PyCFunction) _wrap_FindWindowAtPointer, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"LaunchDefaultBrowser", (PyCFunction) _wrap_LaunchDefaultBrowser, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"new_MouseState", (PyCFunction) _wrap_new_MouseState, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_MouseState", (PyCFunction) _wrap_delete_MouseState, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_GetX", (PyCFunction) _wrap_MouseState_GetX, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_GetY", (PyCFunction) _wrap_MouseState_GetY, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_LeftDown", (PyCFunction) _wrap_MouseState_LeftDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_MiddleDown", (PyCFunction) _wrap_MouseState_MiddleDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_RightDown", (PyCFunction) _wrap_MouseState_RightDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_ControlDown", (PyCFunction) _wrap_MouseState_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_ShiftDown", (PyCFunction) _wrap_MouseState_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_AltDown", (PyCFunction) _wrap_MouseState_AltDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_MetaDown", (PyCFunction) _wrap_MouseState_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_CmdDown", (PyCFunction) _wrap_MouseState_CmdDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_SetX", (PyCFunction) _wrap_MouseState_SetX, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_SetY", (PyCFunction) _wrap_MouseState_SetY, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_SetLeftDown", (PyCFunction) _wrap_MouseState_SetLeftDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_SetMiddleDown", (PyCFunction) _wrap_MouseState_SetMiddleDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_SetRightDown", (PyCFunction) _wrap_MouseState_SetRightDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_SetControlDown", (PyCFunction) _wrap_MouseState_SetControlDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_SetShiftDown", (PyCFunction) _wrap_MouseState_SetShiftDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_SetAltDown", (PyCFunction) _wrap_MouseState_SetAltDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_SetMetaDown", (PyCFunction) _wrap_MouseState_SetMetaDown, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"MouseState_swigregister", MouseState_swigregister, METH_VARARGS, NULL}, + { (char *)"GetMouseState", (PyCFunction) _wrap_GetMouseState, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -31007,6 +32922,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS, NULL}, { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_ToolTip", (PyCFunction) _wrap_delete_ToolTip, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -31014,6 +32930,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS, NULL}, { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Caret_Destroy", (PyCFunction) _wrap_Caret_Destroy, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -31066,6 +32983,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS, NULL}, + { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -31083,6 +33001,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"Timer_GetOwner", (PyCFunction) _wrap_Timer_GetOwner, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Timer_Notify", (PyCFunction) _wrap_Timer_Notify, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -31096,6 +33015,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS, NULL}, { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_Log", (PyCFunction) _wrap_delete_Log, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -31141,6 +33061,10 @@ static PyMethodDef SwigMethods[] = { { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS, NULL}, + { (char *)"new_LogBuffer", (PyCFunction) _wrap_new_LogBuffer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"LogBuffer_GetBuffer", (PyCFunction) _wrap_LogBuffer_GetBuffer, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"LogBuffer_Flush", (PyCFunction) _wrap_LogBuffer_Flush, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"LogBuffer_swigregister", LogBuffer_swigregister, METH_VARARGS, NULL}, { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -31167,7 +33091,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"Process_OnTerminate", (PyCFunction) _wrap_Process_OnTerminate, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -31309,12 +33233,14 @@ static PyMethodDef SwigMethods[] = { { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS, NULL}, { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"delete_ArtProvider", (PyCFunction) _wrap_delete_ArtProvider, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"ArtProvider_GetSizeHint", (PyCFunction) _wrap_ArtProvider_GetSizeHint, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS, NULL}, { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -31432,8 +33358,14 @@ static PyMethodDef SwigMethods[] = { { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"DateTime_FromTimezone", (PyCFunction) _wrap_DateTime_FromTimezone, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"DateTime_MakeFromTimezone", (PyCFunction) _wrap_DateTime_MakeFromTimezone, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"DateTime_ToUTC", (PyCFunction) _wrap_DateTime_ToUTC, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"DateTime_MakeUTC", (PyCFunction) _wrap_DateTime_MakeUTC, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"DateTime_FromUTC", (PyCFunction) _wrap_DateTime_FromUTC, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"DateTime_MakeFromUTC", (PyCFunction) _wrap_DateTime_MakeFromUTC, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -31636,34 +33568,38 @@ static PyMethodDef SwigMethods[] = { { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"DropSource_GiveFeedback", (PyCFunction) _wrap_DropSource_GiveFeedback, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS, NULL}, { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"DropTarget_OnEnter", (PyCFunction) _wrap_DropTarget_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"DropTarget_OnDragOver", (PyCFunction) _wrap_DropTarget_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"DropTarget_OnLeave", (PyCFunction) _wrap_DropTarget_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"DropTarget_OnDrop", (PyCFunction) _wrap_DropTarget_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"DropTarget_SetDefaultAction", (PyCFunction) _wrap_DropTarget_SetDefaultAction, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"DropTarget_GetDefaultAction", (PyCFunction) _wrap_DropTarget_GetDefaultAction, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS, NULL}, { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"TextDropTarget_OnDropText", (PyCFunction) _wrap_TextDropTarget_OnDropText, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"TextDropTarget_OnEnter", (PyCFunction) _wrap_TextDropTarget_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"TextDropTarget_OnDragOver", (PyCFunction) _wrap_TextDropTarget_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"TextDropTarget_OnLeave", (PyCFunction) _wrap_TextDropTarget_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"TextDropTarget_OnDrop", (PyCFunction) _wrap_TextDropTarget_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"TextDropTarget_OnData", (PyCFunction) _wrap_TextDropTarget_OnData, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS, NULL}, { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL}, - { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FileDropTarget_OnDropFiles", (PyCFunction) _wrap_FileDropTarget_OnDropFiles, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FileDropTarget_OnEnter", (PyCFunction) _wrap_FileDropTarget_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FileDropTarget_OnDragOver", (PyCFunction) _wrap_FileDropTarget_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FileDropTarget_OnLeave", (PyCFunction) _wrap_FileDropTarget_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FileDropTarget_OnDrop", (PyCFunction) _wrap_FileDropTarget_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL}, + { (char *)"FileDropTarget_OnData", (PyCFunction) _wrap_FileDropTarget_OnData, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS, NULL}, { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -31889,14 +33825,11 @@ static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) { return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x)); } static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) { - return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x)); + return (void *)((wxDataObject *) ((wxURLDataObject *) x)); } static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) { return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x)); } -static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) { - return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x)); -} static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) { return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x)); } @@ -32077,9 +34010,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)); } @@ -32107,9 +34037,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)); } @@ -32209,6 +34145,9 @@ static void *_p_wxValidatorTo_p_wxObject(void *x) { static void *_p_wxPyTimerTo_p_wxObject(void *x) { return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x)); } +static void *_p_wxLogBufferTo_p_wxLog(void *x) { + return (void *)((wxLog *) ((wxLogBuffer *) x)); +} static void *_p_wxLogStderrTo_p_wxLog(void *x) { return (void *)((wxLog *) ((wxLogStderr *) x)); } @@ -32242,199 +34181,700 @@ static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) { static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) { return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x)); } -static swig_type_info _swigt__p_wxLogChain[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0, 0, 0, 0},{"_p_wxLogChain", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMutexGuiLocker[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0, 0, 0, 0},{"_p_wxMutexGuiLocker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFileHistory[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0, 0, 0, 0},{"_p_wxFileHistory", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxLog[] = {{"_p_wxLog", 0, "wxLog *", 0, 0, 0, 0},{"_p_wxLogStderr", _p_wxLogStderrTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogTextCtrl", _p_wxLogTextCtrlTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogWindow", _p_wxLogWindowTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogChain", _p_wxLogChainTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogGui", _p_wxLogGuiTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxPyLog", _p_wxPyLogTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLog", 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_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_wxTimerEvent", _p_wxTimerEventTo_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_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_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_wxDateTime__TimeZone[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0, 0, 0, 0},{"_p_wxDateTime__TimeZone", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxConfigBase[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0, 0, 0, 0},{"_p_wxFileConfig", _p_wxFileConfigTo_p_wxConfigBase, 0, 0, 0, 0, 0},{"_p_wxConfigBase", 0, 0, 0, 0, 0, 0},{"_p_wxConfig", _p_wxConfigTo_p_wxConfigBase, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDisplay[] = {{"_p_wxDisplay", 0, "wxDisplay *", 0, 0, 0, 0},{"_p_wxDisplay", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFileType[] = {{"_p_wxFileType", 0, "wxFileType *", 0, 0, 0, 0},{"_p_wxFileType", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxLogGui[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0, 0, 0, 0},{"_p_wxLogGui", 0, 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_wxDataFormat[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0, 0, 0, 0},{"_p_wxDataFormat", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTimerEvent[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0, 0, 0, 0},{"_p_wxTimerEvent", 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_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_wxClipboard[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0, 0, 0, 0},{"_p_wxClipboard", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxStopWatch[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0, 0, 0, 0},{"_p_wxStopWatch", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxClipboardLocker[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0, 0, 0, 0},{"_p_wxClipboardLocker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxLogStderr[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0, 0, 0, 0},{"_p_wxLogStderr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxLogTextCtrl[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0, 0, 0, 0},{"_p_wxLogTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0, 0, 0, 0},{"_p_wxTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBusyCursor[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0, 0, 0, 0},{"_p_wxBusyCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBitmapDataObject[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0, 0, 0, 0},{"_p_wxBitmapDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTextDataObject[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0, 0, 0, 0},{"_p_wxTextDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDataObject[] = {{"_p_wxDataObject", 0, "wxDataObject *", 0, 0, 0, 0},{"_p_wxDataObjectSimple", _p_wxDataObjectSimpleTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxDataObjectComposite", _p_wxDataObjectCompositeTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyTextDataObject[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0, 0, 0, 0},{"_p_wxPyTextDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyBitmapDataObject[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFileDataObject[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0, 0, 0, 0},{"_p_wxFileDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCustomDataObject[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0, 0, 0, 0},{"_p_wxCustomDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxURLDataObject[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0, 0, 0, 0},{"_p_wxURLDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMetafileDataObject[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0, 0, 0, 0},{"_p_wxMetafileDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSound[] = {{"_p_wxSound", 0, "wxSound *", 0, 0, 0, 0},{"_p_wxSound", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTimerRunner[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0, 0, 0, 0},{"_p_wxTimerRunner", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxLogWindow[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0, 0, 0, 0},{"_p_wxLogWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTimeSpan[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0, 0, 0, 0},{"_p_wxTimeSpan", 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_wxWindowDisabler[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0, 0, 0, 0},{"_p_wxWindowDisabler", 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_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_wxDataObjectComposite[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0, 0, 0, 0},{"_p_wxDataObjectComposite", 0, 0, 0, 0, 0, 0},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFileConfig[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0, 0, 0, 0},{"_p_wxFileConfig", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSystemSettings[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0, 0, 0, 0},{"_p_wxSystemSettings", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxVideoMode[] = {{"_p_wxVideoMode", 0, "wxVideoMode *", 0, 0, 0, 0},{"_p_wxVideoMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDataObjectSimple[] = {{"_p_wxDataObjectSimple", 0, "wxDataObjectSimple *", 0, 0, 0, 0},{"_p_wxDataObjectSimple", 0, 0, 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyDataObjectSimple[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", 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_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_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},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler, 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_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_wxSingleInstanceChecker[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0, 0, 0, 0},{"_p_wxSingleInstanceChecker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxStandardPaths[] = {{"_p_wxStandardPaths", 0, "wxStandardPaths *", 0, 0, 0, 0},{"_p_wxStandardPaths", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFileTypeInfo[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0, 0, 0, 0},{"_p_wxFileTypeInfo", 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_wxTimer[] = {{"_p_wxTimer", 0, "wxTimer *", 0, 0, 0, 0},{"_p_wxTimer", 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_wxMimeTypesManager[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0, 0, 0, 0},{"_p_wxMimeTypesManager", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyArtProvider[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0, 0, 0, 0},{"_p_wxPyArtProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyTipProvider[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0, 0, 0, 0},{"_p_wxPyTipProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTipProvider[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0, 0, 0, 0},{"_p_wxTipProvider", 0, 0, 0, 0, 0, 0},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxJoystick[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0, 0, 0, 0},{"_p_wxJoystick", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSystemOptions[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0, 0, 0, 0},{"_p_wxSystemOptions", 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_wxJoystickEvent[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0, 0, 0, 0},{"_p_wxJoystickEvent", 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_wxFileHistory", _p_wxFileHistoryTo_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_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_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_wxTimerEvent", _p_wxTimerEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_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_wxToolTip", _p_wxToolTipTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_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_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_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_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_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_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_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_wxPyProcess", _p_wxPyProcessTo_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_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_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_wxProcessEvent", _p_wxProcessEventTo_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},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject, 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_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_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0, 0, 0, 0},{"_p_wxPyDropSource", 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 *|wxLogLevel *", 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_wxKillError[] = {{"_p_wxKillError", 0, "enum wxKillError *|wxKillError *", 0, 0, 0, 0},{"_p_wxKillError", 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_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyProcess[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0, 0, 0, 0},{"_p_wxPyProcess", 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__p_wxConfig[] = {{"_p_wxConfig", 0, "wxConfig *", 0, 0, 0, 0},{"_p_wxConfig", 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_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0, 0, 0, 0},{"_p_wxChar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBusyInfo[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0, 0, 0, 0},{"_p_wxBusyInfo", 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},{"_p_wxPyTextDropTarget", _p_wxPyTextDropTargetTo_p_wxPyDropTarget, 0, 0, 0, 0, 0},{"_p_wxPyFileDropTarget", _p_wxPyFileDropTargetTo_p_wxPyDropTarget, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyTextDropTarget[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0, 0, 0, 0},{"_p_wxPyTextDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyFileDropTarget[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0, 0, 0, 0},{"_p_wxPyFileDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxProcessEvent[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0, 0, 0, 0},{"_p_wxProcessEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyLog[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0, 0, 0, 0},{"_p_wxPyLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxLogNull[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0, 0, 0, 0},{"_p_wxLogNull", 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_wxPyTimer[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0, 0, 0, 0},{"_p_wxPyTimer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxConfigPathChanger[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0, 0, 0, 0},{"_p_wxConfigPathChanger", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDateSpan[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0, 0, 0, 0},{"_p_wxDateSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; - -static swig_type_info *swig_types_initial[] = { -_swigt__p_wxLogChain, -_swigt__p_wxMutexGuiLocker, -_swigt__p_wxFileHistory, -_swigt__p_wxLog, -_swigt__p_wxMenu, -_swigt__p_wxEvent, -_swigt__p_wxDateTime__TimeZone, -_swigt__p_wxConfigBase, -_swigt__p_wxDisplay, -_swigt__p_wxFileType, -_swigt__p_wxLogGui, -_swigt__p_wxFont, -_swigt__p_wxDataFormat, -_swigt__p_wxTimerEvent, -_swigt__p_wxCaret, -_swigt__ptrdiff_t, -_swigt__std__ptrdiff_t, -_swigt__p_int, -_swigt__p_wxSize, -_swigt__p_wxClipboard, -_swigt__p_wxStopWatch, -_swigt__p_wxClipboardLocker, -_swigt__p_wxIcon, -_swigt__p_wxLogStderr, -_swigt__p_wxLogTextCtrl, -_swigt__p_wxTextCtrl, -_swigt__p_wxBusyCursor, -_swigt__p_wxBitmapDataObject, -_swigt__p_wxTextDataObject, -_swigt__p_wxDataObject, -_swigt__p_wxPyTextDataObject, -_swigt__p_wxPyBitmapDataObject, -_swigt__p_wxFileDataObject, -_swigt__p_wxCustomDataObject, -_swigt__p_wxURLDataObject, -_swigt__p_wxMetafileDataObject, -_swigt__p_wxSound, -_swigt__p_wxTimerRunner, -_swigt__p_wxLogWindow, -_swigt__p_wxTimeSpan, -_swigt__p_wxArrayString, -_swigt__p_wxWindowDisabler, -_swigt__p_form_ops_t, -_swigt__p_wxToolTip, -_swigt__p_wxDataObjectComposite, -_swigt__p_wxFileConfig, -_swigt__p_wxSystemSettings, -_swigt__p_wxVideoMode, -_swigt__p_wxDataObjectSimple, -_swigt__p_wxPyDataObjectSimple, -_swigt__p_wxDuplexMode, -_swigt__p_wxEvtHandler, -_swigt__p_wxRect, -_swigt__p_char, -_swigt__p_wxSingleInstanceChecker, -_swigt__p_wxStandardPaths, -_swigt__p_wxFileTypeInfo, -_swigt__p_wxFrame, -_swigt__p_wxTimer, -_swigt__p_wxPaperSize, -_swigt__p_wxMimeTypesManager, -_swigt__p_wxPyArtProvider, -_swigt__p_wxPyTipProvider, -_swigt__p_wxTipProvider, -_swigt__p_wxJoystick, -_swigt__p_wxSystemOptions, -_swigt__p_wxPoint, -_swigt__p_wxJoystickEvent, -_swigt__p_wxCursor, -_swigt__p_wxObject, -_swigt__p_wxOutputStream, -_swigt__p_wxDateTime, -_swigt__p_wxPyDropSource, -_swigt__p_unsigned_long, -_swigt__p_wxKillError, -_swigt__p_wxWindow, -_swigt__p_wxString, -_swigt__p_wxPyProcess, -_swigt__p_wxBitmap, -_swigt__p_wxConfig, -_swigt__unsigned_int, -_swigt__p_unsigned_int, -_swigt__p_unsigned_char, -_swigt__p_wxChar, -_swigt__p_wxBusyInfo, -_swigt__p_wxPyDropTarget, -_swigt__p_wxPyTextDropTarget, -_swigt__p_wxPyFileDropTarget, -_swigt__p_wxProcessEvent, -_swigt__p_wxPyLog, -_swigt__p_wxLogNull, -_swigt__p_wxColour, -_swigt__p_wxPyTimer, -_swigt__p_wxConfigPathChanger, -_swigt__p_wxDateSpan, -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_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 *|wxLogLevel *", 0, 0, 0}; +static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, 0}; +static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBitmapDataObject = {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBusyCursor = {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBusyInfo = {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCaret = {"_p_wxCaret", "wxCaret *", 0, 0, 0}; +static swig_type_info _swigt__p_wxChar = {"_p_wxChar", "wxChar *", 0, 0, 0}; +static swig_type_info _swigt__p_wxClipboard = {"_p_wxClipboard", "wxClipboard *", 0, 0, 0}; +static swig_type_info _swigt__p_wxClipboardLocker = {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0}; +static swig_type_info _swigt__p_wxConfig = {"_p_wxConfig", "wxConfig *", 0, 0, 0}; +static swig_type_info _swigt__p_wxConfigBase = {"_p_wxConfigBase", "wxConfigBase *", 0, 0, 0}; +static swig_type_info _swigt__p_wxConfigPathChanger = {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCustomDataObject = {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDataFormat = {"_p_wxDataFormat", "wxDataFormat *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDataObject = {"_p_wxDataObject", "wxDataObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDataObjectComposite = {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDataObjectSimple = {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDateSpan = {"_p_wxDateSpan", "wxDateSpan *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDateTime__TimeZone = {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDisplay = {"_p_wxDisplay", "wxDisplay *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0}; +static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; +static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileConfig = {"_p_wxFileConfig", "wxFileConfig *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFileDataObject = {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFileHistory = {"_p_wxFileHistory", "wxFileHistory *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFileType = {"_p_wxFileType", "wxFileType *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFileTypeInfo = {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 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_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0}; +static swig_type_info _swigt__p_wxJoystick = {"_p_wxJoystick", "wxJoystick *", 0, 0, 0}; +static swig_type_info _swigt__p_wxJoystickEvent = {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxKillError = {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLog = {"_p_wxLog", "wxLog *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLogBuffer = {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLogChain = {"_p_wxLogChain", "wxLogChain *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLogGui = {"_p_wxLogGui", "wxLogGui *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLogNull = {"_p_wxLogNull", "wxLogNull *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLogStderr = {"_p_wxLogStderr", "wxLogStderr *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLogTextCtrl = {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLogWindow = {"_p_wxLogWindow", "wxLogWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMemorySize = {"_p_wxMemorySize", "wxMemorySize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMetafileDataObject = {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMimeTypesManager = {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMouseState = {"_p_wxMouseState", "wxMouseState *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMutexGuiLocker = {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, 0}; +static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxOutputStream = {"_p_wxOutputStream", "wxOutputStream *", 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_wxProcessEvent = {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyArtProvider = {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyBitmapDataObject = {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyDataObjectSimple = {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyDropSource = {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyDropTarget = {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyFileDropTarget = {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyLog = {"_p_wxPyLog", "wxPyLog *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyProcess = {"_p_wxPyProcess", "wxPyProcess *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTextDataObject = {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTextDropTarget = {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTimer = {"_p_wxPyTimer", "wxPyTimer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTipProvider = {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSingleInstanceChecker = {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSound = {"_p_wxSound", "wxSound *", 0, 0, 0}; +static swig_type_info _swigt__p_wxStandardPaths = {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, 0}; +static swig_type_info _swigt__p_wxStopWatch = {"_p_wxStopWatch", "wxStopWatch *", 0, 0, 0}; +static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSystemOptions = {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSystemSettings = {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTextDataObject = {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTimeSpan = {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTimer = {"_p_wxTimer", "wxTimer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTimerEvent = {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTimerRunner = {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTipProvider = {"_p_wxTipProvider", "wxTipProvider *", 0, 0, 0}; +static swig_type_info _swigt__p_wxToolTip = {"_p_wxToolTip", "wxToolTip *", 0, 0, 0}; +static swig_type_info _swigt__p_wxURLDataObject = {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, 0}; +static swig_type_info _swigt__p_wxVideoMode = {"_p_wxVideoMode", "wxVideoMode *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowDisabler = {"_p_wxWindowDisabler", "wxWindowDisabler *", 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_char, + &_swigt__p_form_ops_t, + &_swigt__p_int, + &_swigt__p_unsigned_char, + &_swigt__p_unsigned_int, + &_swigt__p_unsigned_long, + &_swigt__p_void, + &_swigt__p_wxANIHandler, + &_swigt__p_wxAcceleratorTable, + &_swigt__p_wxActivateEvent, + &_swigt__p_wxArrayString, + &_swigt__p_wxBMPHandler, + &_swigt__p_wxBitmap, + &_swigt__p_wxBitmapDataObject, + &_swigt__p_wxBoxSizer, + &_swigt__p_wxBusyCursor, + &_swigt__p_wxBusyInfo, + &_swigt__p_wxCURHandler, + &_swigt__p_wxCaret, + &_swigt__p_wxChar, + &_swigt__p_wxChildFocusEvent, + &_swigt__p_wxClipboard, + &_swigt__p_wxClipboardLocker, + &_swigt__p_wxCloseEvent, + &_swigt__p_wxColour, + &_swigt__p_wxCommandEvent, + &_swigt__p_wxConfig, + &_swigt__p_wxConfigBase, + &_swigt__p_wxConfigPathChanger, + &_swigt__p_wxContextMenuEvent, + &_swigt__p_wxControl, + &_swigt__p_wxControlWithItems, + &_swigt__p_wxCursor, + &_swigt__p_wxCustomDataObject, + &_swigt__p_wxDC, + &_swigt__p_wxDataFormat, + &_swigt__p_wxDataObject, + &_swigt__p_wxDataObjectComposite, + &_swigt__p_wxDataObjectSimple, + &_swigt__p_wxDateEvent, + &_swigt__p_wxDateSpan, + &_swigt__p_wxDateTime, + &_swigt__p_wxDateTime__TimeZone, + &_swigt__p_wxDisplay, + &_swigt__p_wxDisplayChangedEvent, + &_swigt__p_wxDropFilesEvent, + &_swigt__p_wxDuplexMode, + &_swigt__p_wxEraseEvent, + &_swigt__p_wxEvent, + &_swigt__p_wxEvtHandler, + &_swigt__p_wxFSFile, + &_swigt__p_wxFileConfig, + &_swigt__p_wxFileDataObject, + &_swigt__p_wxFileHistory, + &_swigt__p_wxFileSystem, + &_swigt__p_wxFileType, + &_swigt__p_wxFileTypeInfo, + &_swigt__p_wxFlexGridSizer, + &_swigt__p_wxFocusEvent, + &_swigt__p_wxFont, + &_swigt__p_wxFrame, + &_swigt__p_wxGBSizerItem, + &_swigt__p_wxGIFHandler, + &_swigt__p_wxGridBagSizer, + &_swigt__p_wxGridSizer, + &_swigt__p_wxICOHandler, + &_swigt__p_wxIcon, + &_swigt__p_wxIconizeEvent, + &_swigt__p_wxIdleEvent, + &_swigt__p_wxImage, + &_swigt__p_wxImageHandler, + &_swigt__p_wxIndividualLayoutConstraint, + &_swigt__p_wxInitDialogEvent, + &_swigt__p_wxJPEGHandler, + &_swigt__p_wxJoystick, + &_swigt__p_wxJoystickEvent, + &_swigt__p_wxKeyEvent, + &_swigt__p_wxKillError, + &_swigt__p_wxLayoutConstraints, + &_swigt__p_wxLog, + &_swigt__p_wxLogBuffer, + &_swigt__p_wxLogChain, + &_swigt__p_wxLogGui, + &_swigt__p_wxLogNull, + &_swigt__p_wxLogStderr, + &_swigt__p_wxLogTextCtrl, + &_swigt__p_wxLogWindow, + &_swigt__p_wxMaximizeEvent, + &_swigt__p_wxMemorySize, + &_swigt__p_wxMenu, + &_swigt__p_wxMenuBar, + &_swigt__p_wxMenuEvent, + &_swigt__p_wxMenuItem, + &_swigt__p_wxMetafileDataObject, + &_swigt__p_wxMimeTypesManager, + &_swigt__p_wxMouseCaptureChangedEvent, + &_swigt__p_wxMouseEvent, + &_swigt__p_wxMouseState, + &_swigt__p_wxMoveEvent, + &_swigt__p_wxMutexGuiLocker, + &_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_wxProcessEvent, + &_swigt__p_wxPyApp, + &_swigt__p_wxPyArtProvider, + &_swigt__p_wxPyBitmapDataObject, + &_swigt__p_wxPyCommandEvent, + &_swigt__p_wxPyDataObjectSimple, + &_swigt__p_wxPyDropSource, + &_swigt__p_wxPyDropTarget, + &_swigt__p_wxPyEvent, + &_swigt__p_wxPyFileDropTarget, + &_swigt__p_wxPyImageHandler, + &_swigt__p_wxPyLog, + &_swigt__p_wxPyProcess, + &_swigt__p_wxPySizer, + &_swigt__p_wxPyTextDataObject, + &_swigt__p_wxPyTextDropTarget, + &_swigt__p_wxPyTimer, + &_swigt__p_wxPyTipProvider, + &_swigt__p_wxPyValidator, + &_swigt__p_wxQueryNewPaletteEvent, + &_swigt__p_wxRect, + &_swigt__p_wxScrollEvent, + &_swigt__p_wxScrollWinEvent, + &_swigt__p_wxSetCursorEvent, + &_swigt__p_wxShowEvent, + &_swigt__p_wxSingleInstanceChecker, + &_swigt__p_wxSize, + &_swigt__p_wxSizeEvent, + &_swigt__p_wxSizer, + &_swigt__p_wxSizerItem, + &_swigt__p_wxSound, + &_swigt__p_wxStandardPaths, + &_swigt__p_wxStaticBoxSizer, + &_swigt__p_wxStdDialogButtonSizer, + &_swigt__p_wxStopWatch, + &_swigt__p_wxString, + &_swigt__p_wxSysColourChangedEvent, + &_swigt__p_wxSystemOptions, + &_swigt__p_wxSystemSettings, + &_swigt__p_wxTIFFHandler, + &_swigt__p_wxTextCtrl, + &_swigt__p_wxTextDataObject, + &_swigt__p_wxTimeSpan, + &_swigt__p_wxTimer, + &_swigt__p_wxTimerEvent, + &_swigt__p_wxTimerRunner, + &_swigt__p_wxTipProvider, + &_swigt__p_wxToolTip, + &_swigt__p_wxURLDataObject, + &_swigt__p_wxUpdateUIEvent, + &_swigt__p_wxValidator, + &_swigt__p_wxVideoMode, + &_swigt__p_wxWindow, + &_swigt__p_wxWindowCreateEvent, + &_swigt__p_wxWindowDestroyEvent, + &_swigt__p_wxWindowDisabler, + &_swigt__p_wxXPMHandler, + &_swigt__ptrdiff_t, + &_swigt__std__ptrdiff_t, + &_swigt__unsigned_int, +}; + +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_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_void[] = { {&_swigt__p_void, 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_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBitmapDataObject[] = { {&_swigt__p_wxBitmapDataObject, 0, 0, 0}, {&_swigt__p_wxPyBitmapDataObject, _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBusyCursor[] = { {&_swigt__p_wxBusyCursor, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBusyInfo[] = { {&_swigt__p_wxBusyInfo, 0, 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_wxChar[] = { {&_swigt__p_wxChar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxClipboard[] = { {&_swigt__p_wxClipboard, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxClipboardLocker[] = { {&_swigt__p_wxClipboardLocker, 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_wxConfig[] = { {&_swigt__p_wxConfig, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxConfigBase[] = { {&_swigt__p_wxFileConfig, _p_wxFileConfigTo_p_wxConfigBase, 0, 0}, {&_swigt__p_wxConfigBase, 0, 0, 0}, {&_swigt__p_wxConfig, _p_wxConfigTo_p_wxConfigBase, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxConfigPathChanger[] = { {&_swigt__p_wxConfigPathChanger, 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_wxCustomDataObject[] = { {&_swigt__p_wxCustomDataObject, 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_wxDataFormat[] = { {&_swigt__p_wxDataFormat, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDataObject[] = { {&_swigt__p_wxDataObjectSimple, _p_wxDataObjectSimpleTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxPyDataObjectSimple, _p_wxPyDataObjectSimpleTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxDataObjectComposite, _p_wxDataObjectCompositeTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxDataObject, 0, 0, 0}, {&_swigt__p_wxTextDataObject, _p_wxTextDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxPyTextDataObject, _p_wxPyTextDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxBitmapDataObject, _p_wxBitmapDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxPyBitmapDataObject, _p_wxPyBitmapDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxFileDataObject, _p_wxFileDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxCustomDataObject, _p_wxCustomDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxMetafileDataObject, _p_wxMetafileDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxURLDataObject, _p_wxURLDataObjectTo_p_wxDataObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDataObjectComposite[] = { {&_swigt__p_wxDataObjectComposite, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDataObjectSimple[] = { {&_swigt__p_wxDataObjectSimple, 0, 0, 0}, {&_swigt__p_wxPyDataObjectSimple, _p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxTextDataObject, _p_wxTextDataObjectTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxPyTextDataObject, _p_wxPyTextDataObjectTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxBitmapDataObject, _p_wxBitmapDataObjectTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxPyBitmapDataObject, _p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxFileDataObject, _p_wxFileDataObjectTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxCustomDataObject, _p_wxCustomDataObjectTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxMetafileDataObject, _p_wxMetafileDataObjectTo_p_wxDataObjectSimple, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDateSpan[] = { {&_swigt__p_wxDateSpan, 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_wxDateTime__TimeZone[] = { {&_swigt__p_wxDateTime__TimeZone, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDisplay[] = { {&_swigt__p_wxDisplay, 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_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 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_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 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_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 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_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 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_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 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_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 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_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 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_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 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_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 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_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 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_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 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_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 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_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 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_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 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_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 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_wxCommandEvent[] = {{&_swigt__p_wxCommandEvent, 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_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 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_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 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_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_wxTimerEvent, _p_wxTimerEventTo_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_wxJoystickEvent, _p_wxJoystickEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_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_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_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_wxProcessEvent, _p_wxProcessEventTo_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_wxControl[] = {{&_swigt__p_wxControl, 0, 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_wxPyApp[] = {{&_swigt__p_wxPyApp, 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_wxValidator[] = {{&_swigt__p_wxValidator, 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_wxEvtHandler[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTimer, _p_wxPyTimerTo_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}, {&_swigt__p_wxPyProcess, _p_wxPyProcessTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileConfig[] = { {&_swigt__p_wxFileConfig, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileDataObject[] = { {&_swigt__p_wxFileDataObject, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileHistory[] = { {&_swigt__p_wxFileHistory, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileType[] = { {&_swigt__p_wxFileType, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileTypeInfo[] = { {&_swigt__p_wxFileTypeInfo, 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_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxJoystick[] = { {&_swigt__p_wxJoystick, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxJoystickEvent[] = { {&_swigt__p_wxJoystickEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxKillError[] = { {&_swigt__p_wxKillError, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLog[] = { {&_swigt__p_wxLogBuffer, _p_wxLogBufferTo_p_wxLog, 0, 0}, {&_swigt__p_wxLogStderr, _p_wxLogStderrTo_p_wxLog, 0, 0}, {&_swigt__p_wxLogTextCtrl, _p_wxLogTextCtrlTo_p_wxLog, 0, 0}, {&_swigt__p_wxLogWindow, _p_wxLogWindowTo_p_wxLog, 0, 0}, {&_swigt__p_wxLogChain, _p_wxLogChainTo_p_wxLog, 0, 0}, {&_swigt__p_wxLogGui, _p_wxLogGuiTo_p_wxLog, 0, 0}, {&_swigt__p_wxPyLog, _p_wxPyLogTo_p_wxLog, 0, 0}, {&_swigt__p_wxLog, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLogBuffer[] = { {&_swigt__p_wxLogBuffer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLogChain[] = { {&_swigt__p_wxLogChain, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLogGui[] = { {&_swigt__p_wxLogGui, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLogNull[] = { {&_swigt__p_wxLogNull, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLogStderr[] = { {&_swigt__p_wxLogStderr, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLogTextCtrl[] = { {&_swigt__p_wxLogTextCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLogWindow[] = { {&_swigt__p_wxLogWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMemorySize[] = { {&_swigt__p_wxMemorySize, 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_wxMetafileDataObject[] = { {&_swigt__p_wxMetafileDataObject, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMimeTypesManager[] = { {&_swigt__p_wxMimeTypesManager, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMouseState[] = { {&_swigt__p_wxMouseState, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMutexGuiLocker[] = { {&_swigt__p_wxMutexGuiLocker, 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_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 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_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 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_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 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_wxPySizer[] = {{&_swigt__p_wxPySizer, 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_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 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_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 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_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 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_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 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_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 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_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 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_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 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_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 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_wxFileHistory, _p_wxFileHistoryTo_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_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_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_wxTimerEvent, _p_wxTimerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboard, _p_wxClipboardTo_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_wxToolTip, _p_wxToolTipTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_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_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_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_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_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_wxSystemOptions, _p_wxSystemOptionsTo_p_wxObject, 0, 0}, {&_swigt__p_wxJoystickEvent, _p_wxJoystickEventTo_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_wxPyProcess, _p_wxPyProcessTo_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_wxBusyInfo, _p_wxBusyInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_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_wxProcessEvent, _p_wxProcessEventTo_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}, {&_swigt__p_wxPyTimer, _p_wxPyTimerTo_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_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_wxProcessEvent[] = { {&_swigt__p_wxProcessEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyArtProvider[] = { {&_swigt__p_wxPyArtProvider, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyBitmapDataObject[] = { {&_swigt__p_wxPyBitmapDataObject, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyDataObjectSimple[] = { {&_swigt__p_wxPyDataObjectSimple, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyDropSource[] = { {&_swigt__p_wxPyDropSource, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyDropTarget[] = { {&_swigt__p_wxPyDropTarget, 0, 0, 0}, {&_swigt__p_wxPyTextDropTarget, _p_wxPyTextDropTargetTo_p_wxPyDropTarget, 0, 0}, {&_swigt__p_wxPyFileDropTarget, _p_wxPyFileDropTargetTo_p_wxPyDropTarget, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyFileDropTarget[] = { {&_swigt__p_wxPyFileDropTarget, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyLog[] = { {&_swigt__p_wxPyLog, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyProcess[] = { {&_swigt__p_wxPyProcess, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyTextDataObject[] = { {&_swigt__p_wxPyTextDataObject, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyTextDropTarget[] = { {&_swigt__p_wxPyTextDropTarget, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyTimer[] = { {&_swigt__p_wxPyTimer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyTipProvider[] = { {&_swigt__p_wxPyTipProvider, 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_wxSingleInstanceChecker[] = { {&_swigt__p_wxSingleInstanceChecker, 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_wxSound[] = { {&_swigt__p_wxSound, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStandardPaths[] = { {&_swigt__p_wxStandardPaths, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStopWatch[] = { {&_swigt__p_wxStopWatch, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSystemOptions[] = { {&_swigt__p_wxSystemOptions, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSystemSettings[] = { {&_swigt__p_wxSystemSettings, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTextDataObject[] = { {&_swigt__p_wxTextDataObject, 0, 0, 0}, {&_swigt__p_wxPyTextDataObject, _p_wxPyTextDataObjectTo_p_wxTextDataObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTimeSpan[] = { {&_swigt__p_wxTimeSpan, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTimer[] = { {&_swigt__p_wxTimer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTimerEvent[] = { {&_swigt__p_wxTimerEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTimerRunner[] = { {&_swigt__p_wxTimerRunner, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTipProvider[] = { {&_swigt__p_wxTipProvider, 0, 0, 0}, {&_swigt__p_wxPyTipProvider, _p_wxPyTipProviderTo_p_wxTipProvider, 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_wxURLDataObject[] = { {&_swigt__p_wxURLDataObject, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxVideoMode[] = { {&_swigt__p_wxVideoMode, 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_wxWindowDisabler[] = { {&_swigt__p_wxWindowDisabler, 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_char, + _swigc__p_form_ops_t, + _swigc__p_int, + _swigc__p_unsigned_char, + _swigc__p_unsigned_int, + _swigc__p_unsigned_long, + _swigc__p_void, + _swigc__p_wxANIHandler, + _swigc__p_wxAcceleratorTable, + _swigc__p_wxActivateEvent, + _swigc__p_wxArrayString, + _swigc__p_wxBMPHandler, + _swigc__p_wxBitmap, + _swigc__p_wxBitmapDataObject, + _swigc__p_wxBoxSizer, + _swigc__p_wxBusyCursor, + _swigc__p_wxBusyInfo, + _swigc__p_wxCURHandler, + _swigc__p_wxCaret, + _swigc__p_wxChar, + _swigc__p_wxChildFocusEvent, + _swigc__p_wxClipboard, + _swigc__p_wxClipboardLocker, + _swigc__p_wxCloseEvent, + _swigc__p_wxColour, + _swigc__p_wxCommandEvent, + _swigc__p_wxConfig, + _swigc__p_wxConfigBase, + _swigc__p_wxConfigPathChanger, + _swigc__p_wxContextMenuEvent, + _swigc__p_wxControl, + _swigc__p_wxControlWithItems, + _swigc__p_wxCursor, + _swigc__p_wxCustomDataObject, + _swigc__p_wxDC, + _swigc__p_wxDataFormat, + _swigc__p_wxDataObject, + _swigc__p_wxDataObjectComposite, + _swigc__p_wxDataObjectSimple, + _swigc__p_wxDateEvent, + _swigc__p_wxDateSpan, + _swigc__p_wxDateTime, + _swigc__p_wxDateTime__TimeZone, + _swigc__p_wxDisplay, + _swigc__p_wxDisplayChangedEvent, + _swigc__p_wxDropFilesEvent, + _swigc__p_wxDuplexMode, + _swigc__p_wxEraseEvent, + _swigc__p_wxEvent, + _swigc__p_wxEvtHandler, + _swigc__p_wxFSFile, + _swigc__p_wxFileConfig, + _swigc__p_wxFileDataObject, + _swigc__p_wxFileHistory, + _swigc__p_wxFileSystem, + _swigc__p_wxFileType, + _swigc__p_wxFileTypeInfo, + _swigc__p_wxFlexGridSizer, + _swigc__p_wxFocusEvent, + _swigc__p_wxFont, + _swigc__p_wxFrame, + _swigc__p_wxGBSizerItem, + _swigc__p_wxGIFHandler, + _swigc__p_wxGridBagSizer, + _swigc__p_wxGridSizer, + _swigc__p_wxICOHandler, + _swigc__p_wxIcon, + _swigc__p_wxIconizeEvent, + _swigc__p_wxIdleEvent, + _swigc__p_wxImage, + _swigc__p_wxImageHandler, + _swigc__p_wxIndividualLayoutConstraint, + _swigc__p_wxInitDialogEvent, + _swigc__p_wxJPEGHandler, + _swigc__p_wxJoystick, + _swigc__p_wxJoystickEvent, + _swigc__p_wxKeyEvent, + _swigc__p_wxKillError, + _swigc__p_wxLayoutConstraints, + _swigc__p_wxLog, + _swigc__p_wxLogBuffer, + _swigc__p_wxLogChain, + _swigc__p_wxLogGui, + _swigc__p_wxLogNull, + _swigc__p_wxLogStderr, + _swigc__p_wxLogTextCtrl, + _swigc__p_wxLogWindow, + _swigc__p_wxMaximizeEvent, + _swigc__p_wxMemorySize, + _swigc__p_wxMenu, + _swigc__p_wxMenuBar, + _swigc__p_wxMenuEvent, + _swigc__p_wxMenuItem, + _swigc__p_wxMetafileDataObject, + _swigc__p_wxMimeTypesManager, + _swigc__p_wxMouseCaptureChangedEvent, + _swigc__p_wxMouseEvent, + _swigc__p_wxMouseState, + _swigc__p_wxMoveEvent, + _swigc__p_wxMutexGuiLocker, + _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_wxProcessEvent, + _swigc__p_wxPyApp, + _swigc__p_wxPyArtProvider, + _swigc__p_wxPyBitmapDataObject, + _swigc__p_wxPyCommandEvent, + _swigc__p_wxPyDataObjectSimple, + _swigc__p_wxPyDropSource, + _swigc__p_wxPyDropTarget, + _swigc__p_wxPyEvent, + _swigc__p_wxPyFileDropTarget, + _swigc__p_wxPyImageHandler, + _swigc__p_wxPyLog, + _swigc__p_wxPyProcess, + _swigc__p_wxPySizer, + _swigc__p_wxPyTextDataObject, + _swigc__p_wxPyTextDropTarget, + _swigc__p_wxPyTimer, + _swigc__p_wxPyTipProvider, + _swigc__p_wxPyValidator, + _swigc__p_wxQueryNewPaletteEvent, + _swigc__p_wxRect, + _swigc__p_wxScrollEvent, + _swigc__p_wxScrollWinEvent, + _swigc__p_wxSetCursorEvent, + _swigc__p_wxShowEvent, + _swigc__p_wxSingleInstanceChecker, + _swigc__p_wxSize, + _swigc__p_wxSizeEvent, + _swigc__p_wxSizer, + _swigc__p_wxSizerItem, + _swigc__p_wxSound, + _swigc__p_wxStandardPaths, + _swigc__p_wxStaticBoxSizer, + _swigc__p_wxStdDialogButtonSizer, + _swigc__p_wxStopWatch, + _swigc__p_wxString, + _swigc__p_wxSysColourChangedEvent, + _swigc__p_wxSystemOptions, + _swigc__p_wxSystemSettings, + _swigc__p_wxTIFFHandler, + _swigc__p_wxTextCtrl, + _swigc__p_wxTextDataObject, + _swigc__p_wxTimeSpan, + _swigc__p_wxTimer, + _swigc__p_wxTimerEvent, + _swigc__p_wxTimerRunner, + _swigc__p_wxTipProvider, + _swigc__p_wxToolTip, + _swigc__p_wxURLDataObject, + _swigc__p_wxUpdateUIEvent, + _swigc__p_wxValidator, + _swigc__p_wxVideoMode, + _swigc__p_wxWindow, + _swigc__p_wxWindowCreateEvent, + _swigc__p_wxWindowDestroyEvent, + _swigc__p_wxWindowDisabler, + _swigc__p_wxXPMHandler, + _swigc__ptrdiff_t, + _swigc__std__ptrdiff_t, + _swigc__unsigned_int, }; @@ -32451,6 +34891,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 @@ -32468,7 +35119,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; @@ -32478,13 +35129,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; @@ -32497,7 +35148,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -32510,7 +35161,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) { @@ -32523,72 +35174,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; } @@ -32597,11 +35265,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); @@ -32638,7 +35306,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, @@ -32650,7 +35318,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]); @@ -32663,14 +35331,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; + } + } } } } @@ -32680,69 +35352,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 @@ -32751,316 +35360,298 @@ 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); { - PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT))); + PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_From_int(static_cast(wxSYS_OEM_FIXED_FONT))); + } + { + PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_From_int(static_cast(wxSYS_ANSI_FIXED_FONT))); } { - PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT))); + PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_From_int(static_cast(wxSYS_ANSI_VAR_FONT))); } { - PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT))); + PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_From_int(static_cast(wxSYS_SYSTEM_FONT))); } { - PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT))); + PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int(static_cast(wxSYS_DEVICE_DEFAULT_FONT))); } { - PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT))); + PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_From_int(static_cast(wxSYS_DEFAULT_PALETTE))); } { - PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE))); + PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int(static_cast(wxSYS_SYSTEM_FIXED_FONT))); } { - PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT))); + PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_From_int(static_cast(wxSYS_DEFAULT_GUI_FONT))); } { - PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT))); + PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_From_int(static_cast(wxSYS_ICONTITLE_FONT))); } { - PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT))); + PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_From_int(static_cast(wxSYS_COLOUR_SCROLLBAR))); } { - PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR))); + PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_From_int(static_cast(wxSYS_COLOUR_BACKGROUND))); } { - PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND))); + PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_From_int(static_cast(wxSYS_COLOUR_DESKTOP))); } { - PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP))); + PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int(static_cast(wxSYS_COLOUR_ACTIVECAPTION))); } { - PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION))); + PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int(static_cast(wxSYS_COLOUR_INACTIVECAPTION))); } { - PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION))); + PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_From_int(static_cast(wxSYS_COLOUR_MENU))); } { - PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU))); + PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_From_int(static_cast(wxSYS_COLOUR_WINDOW))); } { - PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW))); + PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int(static_cast(wxSYS_COLOUR_WINDOWFRAME))); } { - PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME))); + PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_From_int(static_cast(wxSYS_COLOUR_MENUTEXT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT))); + PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int(static_cast(wxSYS_COLOUR_WINDOWTEXT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT))); + PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int(static_cast(wxSYS_COLOUR_CAPTIONTEXT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT))); + PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int(static_cast(wxSYS_COLOUR_ACTIVEBORDER))); } { - PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER))); + PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int(static_cast(wxSYS_COLOUR_INACTIVEBORDER))); } { - PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER))); + PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int(static_cast(wxSYS_COLOUR_APPWORKSPACE))); } { - PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE))); + PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int(static_cast(wxSYS_COLOUR_HIGHLIGHT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT))); + PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int(static_cast(wxSYS_COLOUR_HIGHLIGHTTEXT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT))); + PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_From_int(static_cast(wxSYS_COLOUR_BTNFACE))); } { - PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE))); + PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_From_int(static_cast(wxSYS_COLOUR_3DFACE))); } { - PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE))); + PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_From_int(static_cast(wxSYS_COLOUR_BTNSHADOW))); } { - PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW))); + PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_From_int(static_cast(wxSYS_COLOUR_3DSHADOW))); } { - PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW))); + PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_From_int(static_cast(wxSYS_COLOUR_GRAYTEXT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT))); + PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_From_int(static_cast(wxSYS_COLOUR_BTNTEXT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT))); + PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int(static_cast(wxSYS_COLOUR_INACTIVECAPTIONTEXT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT))); + PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int(static_cast(wxSYS_COLOUR_BTNHIGHLIGHT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT))); + PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int(static_cast(wxSYS_COLOUR_BTNHILIGHT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT))); + PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int(static_cast(wxSYS_COLOUR_3DHIGHLIGHT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT))); + PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_From_int(static_cast(wxSYS_COLOUR_3DHILIGHT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT))); + PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int(static_cast(wxSYS_COLOUR_3DDKSHADOW))); } { - PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW))); + PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_From_int(static_cast(wxSYS_COLOUR_3DLIGHT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT))); + PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_From_int(static_cast(wxSYS_COLOUR_INFOTEXT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT))); + PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_From_int(static_cast(wxSYS_COLOUR_INFOBK))); } { - PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK))); + PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_From_int(static_cast(wxSYS_COLOUR_LISTBOX))); } { - PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX))); + PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_From_int(static_cast(wxSYS_COLOUR_HOTLIGHT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT))); + PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int(static_cast(wxSYS_COLOUR_GRADIENTACTIVECAPTION))); } { - PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION))); + PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int(static_cast(wxSYS_COLOUR_GRADIENTINACTIVECAPTION))); } { - PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION))); + PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int(static_cast(wxSYS_COLOUR_MENUHILIGHT))); } { - PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT))); + PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_From_int(static_cast(wxSYS_COLOUR_MENUBAR))); } { - PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR))); + PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_From_int(static_cast(wxSYS_COLOUR_MAX))); } { - PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX))); + PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_From_int(static_cast(wxSYS_MOUSE_BUTTONS))); } { - PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS))); + PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_From_int(static_cast(wxSYS_BORDER_X))); } { - PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X))); + PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_From_int(static_cast(wxSYS_BORDER_Y))); } { - PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y))); + PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_From_int(static_cast(wxSYS_CURSOR_X))); } { - PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X))); + PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_From_int(static_cast(wxSYS_CURSOR_Y))); } { - PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y))); + PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_From_int(static_cast(wxSYS_DCLICK_X))); } { - PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X))); + PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_From_int(static_cast(wxSYS_DCLICK_Y))); } { - PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y))); + PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_From_int(static_cast(wxSYS_DRAG_X))); } { - PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X))); + PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_From_int(static_cast(wxSYS_DRAG_Y))); } { - PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y))); + PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_From_int(static_cast(wxSYS_EDGE_X))); } { - PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X))); + PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_From_int(static_cast(wxSYS_EDGE_Y))); } { - PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y))); + PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_From_int(static_cast(wxSYS_HSCROLL_ARROW_X))); } { - PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X))); + PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_From_int(static_cast(wxSYS_HSCROLL_ARROW_Y))); } { - PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y))); + PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_From_int(static_cast(wxSYS_HTHUMB_X))); } { - PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X))); + PyDict_SetItemString(d,"SYS_ICON_X", SWIG_From_int(static_cast(wxSYS_ICON_X))); } { - PyDict_SetItemString(d,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X))); + PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_From_int(static_cast(wxSYS_ICON_Y))); } { - PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y))); + PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_From_int(static_cast(wxSYS_ICONSPACING_X))); } { - PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X))); + PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_From_int(static_cast(wxSYS_ICONSPACING_Y))); } { - PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y))); + PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_From_int(static_cast(wxSYS_WINDOWMIN_X))); } { - PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X))); + PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_From_int(static_cast(wxSYS_WINDOWMIN_Y))); } { - PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y))); + PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_From_int(static_cast(wxSYS_SCREEN_X))); } { - PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X))); + PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_From_int(static_cast(wxSYS_SCREEN_Y))); } { - PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y))); + PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_From_int(static_cast(wxSYS_FRAMESIZE_X))); } { - PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X))); + PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_From_int(static_cast(wxSYS_FRAMESIZE_Y))); } { - PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y))); + PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_From_int(static_cast(wxSYS_SMALLICON_X))); } { - PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X))); + PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_From_int(static_cast(wxSYS_SMALLICON_Y))); } { - PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y))); + PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_From_int(static_cast(wxSYS_HSCROLL_Y))); } { - PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y))); + PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_From_int(static_cast(wxSYS_VSCROLL_X))); } { - PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X))); + PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_From_int(static_cast(wxSYS_VSCROLL_ARROW_X))); } { - PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X))); + PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_From_int(static_cast(wxSYS_VSCROLL_ARROW_Y))); } { - PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y))); + PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_From_int(static_cast(wxSYS_VTHUMB_Y))); } { - PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y))); + PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_From_int(static_cast(wxSYS_CAPTION_Y))); } { - PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y))); + PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_From_int(static_cast(wxSYS_MENU_Y))); } { - PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y))); + PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_From_int(static_cast(wxSYS_NETWORK_PRESENT))); } { - PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT))); + PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_From_int(static_cast(wxSYS_PENWINDOWS_PRESENT))); } { - PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT))); + PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_From_int(static_cast(wxSYS_SHOW_SOUNDS))); } { - PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS))); + PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_From_int(static_cast(wxSYS_SWAP_BUTTONS))); } { - PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS))); + PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int(static_cast(wxSYS_CAN_DRAW_FRAME_DECORATIONS))); } { - PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS))); + PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int(static_cast(wxSYS_CAN_ICONIZE_FRAME))); } { - PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME))); + PyDict_SetItemString(d,"SYS_TABLET_PRESENT", SWIG_From_int(static_cast(wxSYS_TABLET_PRESENT))); } { - PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE))); + PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_From_int(static_cast(wxSYS_SCREEN_NONE))); } { - PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY))); + PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_From_int(static_cast(wxSYS_SCREEN_TINY))); } { - PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA))); + PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_From_int(static_cast(wxSYS_SCREEN_PDA))); } { - PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL))); + PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_From_int(static_cast(wxSYS_SCREEN_SMALL))); } { - PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP))); + PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_From_int(static_cast(wxSYS_SCREEN_DESKTOP))); } PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); SWIG_addvarlink(SWIG_globals,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get, _wrap_WINDOW_DEFAULT_VARIANT_set); @@ -33068,53 +35659,53 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set); SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set); { - PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF))); + PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_From_int(static_cast(wxSHUTDOWN_POWEROFF))); } { - PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT))); + PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_From_int(static_cast(wxSHUTDOWN_REBOOT))); } { - PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS))); + PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_From_int(static_cast(wxTIMER_CONTINUOUS))); } { - PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT))); + PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_From_int(static_cast(wxTIMER_ONE_SHOT))); } PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER)); wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer"); { - PyDict_SetItemString(d,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError))); + PyDict_SetItemString(d,"LOG_FatalError", SWIG_From_int(static_cast(wxLOG_FatalError))); } { - PyDict_SetItemString(d,"LOG_Error", SWIG_From_int((int)(wxLOG_Error))); + PyDict_SetItemString(d,"LOG_Error", SWIG_From_int(static_cast(wxLOG_Error))); } { - PyDict_SetItemString(d,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning))); + PyDict_SetItemString(d,"LOG_Warning", SWIG_From_int(static_cast(wxLOG_Warning))); } { - PyDict_SetItemString(d,"LOG_Message", SWIG_From_int((int)(wxLOG_Message))); + PyDict_SetItemString(d,"LOG_Message", SWIG_From_int(static_cast(wxLOG_Message))); } { - PyDict_SetItemString(d,"LOG_Status", SWIG_From_int((int)(wxLOG_Status))); + PyDict_SetItemString(d,"LOG_Status", SWIG_From_int(static_cast(wxLOG_Status))); } { - PyDict_SetItemString(d,"LOG_Info", SWIG_From_int((int)(wxLOG_Info))); + PyDict_SetItemString(d,"LOG_Info", SWIG_From_int(static_cast(wxLOG_Info))); } { - PyDict_SetItemString(d,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug))); + PyDict_SetItemString(d,"LOG_Debug", SWIG_From_int(static_cast(wxLOG_Debug))); } { - PyDict_SetItemString(d,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace))); + PyDict_SetItemString(d,"LOG_Trace", SWIG_From_int(static_cast(wxLOG_Trace))); } { - PyDict_SetItemString(d,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress))); + PyDict_SetItemString(d,"LOG_Progress", SWIG_From_int(static_cast(wxLOG_Progress))); } { - PyDict_SetItemString(d,"LOG_User", SWIG_From_int((int)(wxLOG_User))); + PyDict_SetItemString(d,"LOG_User", SWIG_From_int(static_cast(wxLOG_User))); } { - PyDict_SetItemString(d,"LOG_Max", SWIG_From_int((int)(wxLOG_Max))); + PyDict_SetItemString(d,"LOG_Max", SWIG_From_int(static_cast(wxLOG_Max))); } PyDict_SetItemString(d,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc")); PyDict_SetItemString(d,"TRACE_Messages", SWIG_FromCharPtr("messages")); @@ -33122,165 +35713,165 @@ SWIGEXPORT(void) SWIG_init(void) { PyDict_SetItemString(d,"TRACE_RefCount", SWIG_FromCharPtr("refcount")); PyDict_SetItemString(d,"TRACE_OleCalls", SWIG_FromCharPtr("ole")); { - PyDict_SetItemString(d,"TraceMemAlloc", SWIG_From_int((int)(0x0001))); + PyDict_SetItemString(d,"TraceMemAlloc", SWIG_From_int(static_cast(0x0001))); } { - PyDict_SetItemString(d,"TraceMessages", SWIG_From_int((int)(0x0002))); + PyDict_SetItemString(d,"TraceMessages", SWIG_From_int(static_cast(0x0002))); } { - PyDict_SetItemString(d,"TraceResAlloc", SWIG_From_int((int)(0x0004))); + PyDict_SetItemString(d,"TraceResAlloc", SWIG_From_int(static_cast(0x0004))); } { - PyDict_SetItemString(d,"TraceRefCount", SWIG_From_int((int)(0x0008))); + PyDict_SetItemString(d,"TraceRefCount", SWIG_From_int(static_cast(0x0008))); } { - PyDict_SetItemString(d,"TraceOleCalls", SWIG_From_int((int)(0x0100))); + PyDict_SetItemString(d,"TraceOleCalls", SWIG_From_int(static_cast(0x0100))); } { - PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT))); + PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_From_int(static_cast(wxPROCESS_DEFAULT))); } { - PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT))); + PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_From_int(static_cast(wxPROCESS_REDIRECT))); } { - PyDict_SetItemString(d,"KILL_OK", SWIG_From_int((int)(wxKILL_OK))); + PyDict_SetItemString(d,"KILL_OK", SWIG_From_int(static_cast(wxKILL_OK))); } { - PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL))); + PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_From_int(static_cast(wxKILL_BAD_SIGNAL))); } { - PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED))); + PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_From_int(static_cast(wxKILL_ACCESS_DENIED))); } { - PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS))); + PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_From_int(static_cast(wxKILL_NO_PROCESS))); } { - PyDict_SetItemString(d,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR))); + PyDict_SetItemString(d,"KILL_ERROR", SWIG_From_int(static_cast(wxKILL_ERROR))); } { - PyDict_SetItemString(d,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN))); + PyDict_SetItemString(d,"KILL_NOCHILDREN", SWIG_From_int(static_cast(wxKILL_NOCHILDREN))); } { - PyDict_SetItemString(d,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN))); + PyDict_SetItemString(d,"KILL_CHILDREN", SWIG_From_int(static_cast(wxKILL_CHILDREN))); } { - PyDict_SetItemString(d,"SIGNONE", SWIG_From_int((int)(wxSIGNONE))); + PyDict_SetItemString(d,"SIGNONE", SWIG_From_int(static_cast(wxSIGNONE))); } { - PyDict_SetItemString(d,"SIGHUP", SWIG_From_int((int)(wxSIGHUP))); + PyDict_SetItemString(d,"SIGHUP", SWIG_From_int(static_cast(wxSIGHUP))); } { - PyDict_SetItemString(d,"SIGINT", SWIG_From_int((int)(wxSIGINT))); + PyDict_SetItemString(d,"SIGINT", SWIG_From_int(static_cast(wxSIGINT))); } { - PyDict_SetItemString(d,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT))); + PyDict_SetItemString(d,"SIGQUIT", SWIG_From_int(static_cast(wxSIGQUIT))); } { - PyDict_SetItemString(d,"SIGILL", SWIG_From_int((int)(wxSIGILL))); + PyDict_SetItemString(d,"SIGILL", SWIG_From_int(static_cast(wxSIGILL))); } { - PyDict_SetItemString(d,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP))); + PyDict_SetItemString(d,"SIGTRAP", SWIG_From_int(static_cast(wxSIGTRAP))); } { - PyDict_SetItemString(d,"SIGABRT", SWIG_From_int((int)(wxSIGABRT))); + PyDict_SetItemString(d,"SIGABRT", SWIG_From_int(static_cast(wxSIGABRT))); } { - PyDict_SetItemString(d,"SIGIOT", SWIG_From_int((int)(wxSIGIOT))); + PyDict_SetItemString(d,"SIGIOT", SWIG_From_int(static_cast(wxSIGIOT))); } { - PyDict_SetItemString(d,"SIGEMT", SWIG_From_int((int)(wxSIGEMT))); + PyDict_SetItemString(d,"SIGEMT", SWIG_From_int(static_cast(wxSIGEMT))); } { - PyDict_SetItemString(d,"SIGFPE", SWIG_From_int((int)(wxSIGFPE))); + PyDict_SetItemString(d,"SIGFPE", SWIG_From_int(static_cast(wxSIGFPE))); } { - PyDict_SetItemString(d,"SIGKILL", SWIG_From_int((int)(wxSIGKILL))); + PyDict_SetItemString(d,"SIGKILL", SWIG_From_int(static_cast(wxSIGKILL))); } { - PyDict_SetItemString(d,"SIGBUS", SWIG_From_int((int)(wxSIGBUS))); + PyDict_SetItemString(d,"SIGBUS", SWIG_From_int(static_cast(wxSIGBUS))); } { - PyDict_SetItemString(d,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV))); + PyDict_SetItemString(d,"SIGSEGV", SWIG_From_int(static_cast(wxSIGSEGV))); } { - PyDict_SetItemString(d,"SIGSYS", SWIG_From_int((int)(wxSIGSYS))); + PyDict_SetItemString(d,"SIGSYS", SWIG_From_int(static_cast(wxSIGSYS))); } { - PyDict_SetItemString(d,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE))); + PyDict_SetItemString(d,"SIGPIPE", SWIG_From_int(static_cast(wxSIGPIPE))); } { - PyDict_SetItemString(d,"SIGALRM", SWIG_From_int((int)(wxSIGALRM))); + PyDict_SetItemString(d,"SIGALRM", SWIG_From_int(static_cast(wxSIGALRM))); } { - PyDict_SetItemString(d,"SIGTERM", SWIG_From_int((int)(wxSIGTERM))); + PyDict_SetItemString(d,"SIGTERM", SWIG_From_int(static_cast(wxSIGTERM))); } PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS)); { - PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC))); + PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_From_int(static_cast(wxEXEC_ASYNC))); } { - PyDict_SetItemString(d,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC))); + PyDict_SetItemString(d,"EXEC_SYNC", SWIG_From_int(static_cast(wxEXEC_SYNC))); } { - PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE))); + PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_From_int(static_cast(wxEXEC_NOHIDE))); } { - PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER))); + PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int(static_cast(wxEXEC_MAKE_GROUP_LEADER))); } { - PyDict_SetItemString(d,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE))); + PyDict_SetItemString(d,"EXEC_NODISABLE", SWIG_From_int(static_cast(wxEXEC_NODISABLE))); } wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess"); { - PyDict_SetItemString(d,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1))); + PyDict_SetItemString(d,"JOYSTICK1", SWIG_From_int(static_cast(wxJOYSTICK1))); } { - PyDict_SetItemString(d,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2))); + PyDict_SetItemString(d,"JOYSTICK2", SWIG_From_int(static_cast(wxJOYSTICK2))); } { - PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY))); + PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_From_int(static_cast(wxJOY_BUTTON_ANY))); } { - PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1))); + PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_From_int(static_cast(wxJOY_BUTTON1))); } { - PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2))); + PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_From_int(static_cast(wxJOY_BUTTON2))); } { - PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3))); + PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_From_int(static_cast(wxJOY_BUTTON3))); } { - PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4))); + PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_From_int(static_cast(wxJOY_BUTTON4))); } PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN)); PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP)); PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE)); PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE)); { - PyDict_SetItemString(d,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC))); + PyDict_SetItemString(d,"SOUND_SYNC", SWIG_From_int(static_cast(wxSOUND_SYNC))); } { - PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC))); + PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_From_int(static_cast(wxSOUND_ASYNC))); } { - PyDict_SetItemString(d,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP))); + PyDict_SetItemString(d,"SOUND_LOOP", SWIG_From_int(static_cast(wxSOUND_LOOP))); } { - PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD))); + PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_From_int(static_cast(wxMAILCAP_STANDARD))); } { - PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE))); + PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_From_int(static_cast(wxMAILCAP_NETSCAPE))); } { - PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE))); + PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_From_int(static_cast(wxMAILCAP_KDE))); } { - PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME))); + PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_From_int(static_cast(wxMAILCAP_GNOME))); } { - PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL))); + PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_From_int(static_cast(wxMAILCAP_ALL))); } SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set); SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set); @@ -33305,6 +35896,8 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set); SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set); SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set); + SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get, _wrap_ART_FILE_SAVE_set); + SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get, _wrap_ART_FILE_SAVE_AS_set); SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set); SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set); SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set); @@ -33327,600 +35920,610 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set); SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set); SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set); + SWIG_addvarlink(SWIG_globals,(char*)"ART_COPY",_wrap_ART_COPY_get, _wrap_ART_COPY_set); + SWIG_addvarlink(SWIG_globals,(char*)"ART_CUT",_wrap_ART_CUT_get, _wrap_ART_CUT_set); + SWIG_addvarlink(SWIG_globals,(char*)"ART_PASTE",_wrap_ART_PASTE_get, _wrap_ART_PASTE_set); + SWIG_addvarlink(SWIG_globals,(char*)"ART_DELETE",_wrap_ART_DELETE_get, _wrap_ART_DELETE_set); + SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW",_wrap_ART_NEW_get, _wrap_ART_NEW_set); + SWIG_addvarlink(SWIG_globals,(char*)"ART_UNDO",_wrap_ART_UNDO_get, _wrap_ART_UNDO_set); + SWIG_addvarlink(SWIG_globals,(char*)"ART_REDO",_wrap_ART_REDO_get, _wrap_ART_REDO_set); + SWIG_addvarlink(SWIG_globals,(char*)"ART_QUIT",_wrap_ART_QUIT_get, _wrap_ART_QUIT_set); + SWIG_addvarlink(SWIG_globals,(char*)"ART_FIND",_wrap_ART_FIND_get, _wrap_ART_FIND_set); + SWIG_addvarlink(SWIG_globals,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get, _wrap_ART_FIND_AND_REPLACE_set); wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider"); { - PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE))); + PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_From_int(static_cast(wxCONFIG_USE_LOCAL_FILE))); } { - PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE))); + PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int(static_cast(wxCONFIG_USE_GLOBAL_FILE))); } { - PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH))); + PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int(static_cast(wxCONFIG_USE_RELATIVE_PATH))); } { - PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS))); + PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int(static_cast(wxCONFIG_USE_NO_ESCAPE_CHARACTERS))); } { - PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown))); + PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_From_int(static_cast(wxConfigBase::Type_Unknown))); } { - PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String))); + PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_From_int(static_cast(wxConfigBase::Type_String))); } { - PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean))); + PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_From_int(static_cast(wxConfigBase::Type_Boolean))); } { - PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer))); + PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_From_int(static_cast(wxConfigBase::Type_Integer))); } { - PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float))); + PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_From_int(static_cast(wxConfigBase::Type_Float))); } SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get, _wrap_DefaultDateTimeFormat_set); SWIG_addvarlink(SWIG_globals,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get, _wrap_DefaultTimeSpanFormat_set); { - PyDict_SetItemString(d,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local))); + PyDict_SetItemString(d,"DateTime_Local", SWIG_From_int(static_cast(wxDateTime::Local))); } { - PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12))); + PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_From_int(static_cast(wxDateTime::GMT_12))); } { - PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11))); + PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_From_int(static_cast(wxDateTime::GMT_11))); } { - PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10))); + PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_From_int(static_cast(wxDateTime::GMT_10))); } { - PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9))); + PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_From_int(static_cast(wxDateTime::GMT_9))); } { - PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8))); + PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_From_int(static_cast(wxDateTime::GMT_8))); } { - PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7))); + PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_From_int(static_cast(wxDateTime::GMT_7))); } { - PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6))); + PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_From_int(static_cast(wxDateTime::GMT_6))); } { - PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5))); + PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_From_int(static_cast(wxDateTime::GMT_5))); } { - PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4))); + PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_From_int(static_cast(wxDateTime::GMT_4))); } { - PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3))); + PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_From_int(static_cast(wxDateTime::GMT_3))); } { - PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2))); + PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_From_int(static_cast(wxDateTime::GMT_2))); } { - PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1))); + PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_From_int(static_cast(wxDateTime::GMT_1))); } { - PyDict_SetItemString(d,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0))); + PyDict_SetItemString(d,"DateTime_GMT0", SWIG_From_int(static_cast(wxDateTime::GMT0))); } { - PyDict_SetItemString(d,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1))); + PyDict_SetItemString(d,"DateTime_GMT1", SWIG_From_int(static_cast(wxDateTime::GMT1))); } { - PyDict_SetItemString(d,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2))); + PyDict_SetItemString(d,"DateTime_GMT2", SWIG_From_int(static_cast(wxDateTime::GMT2))); } { - PyDict_SetItemString(d,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3))); + PyDict_SetItemString(d,"DateTime_GMT3", SWIG_From_int(static_cast(wxDateTime::GMT3))); } { - PyDict_SetItemString(d,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4))); + PyDict_SetItemString(d,"DateTime_GMT4", SWIG_From_int(static_cast(wxDateTime::GMT4))); } { - PyDict_SetItemString(d,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5))); + PyDict_SetItemString(d,"DateTime_GMT5", SWIG_From_int(static_cast(wxDateTime::GMT5))); } { - PyDict_SetItemString(d,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6))); + PyDict_SetItemString(d,"DateTime_GMT6", SWIG_From_int(static_cast(wxDateTime::GMT6))); } { - PyDict_SetItemString(d,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7))); + PyDict_SetItemString(d,"DateTime_GMT7", SWIG_From_int(static_cast(wxDateTime::GMT7))); } { - PyDict_SetItemString(d,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8))); + PyDict_SetItemString(d,"DateTime_GMT8", SWIG_From_int(static_cast(wxDateTime::GMT8))); } { - PyDict_SetItemString(d,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9))); + PyDict_SetItemString(d,"DateTime_GMT9", SWIG_From_int(static_cast(wxDateTime::GMT9))); } { - PyDict_SetItemString(d,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10))); + PyDict_SetItemString(d,"DateTime_GMT10", SWIG_From_int(static_cast(wxDateTime::GMT10))); } { - PyDict_SetItemString(d,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11))); + PyDict_SetItemString(d,"DateTime_GMT11", SWIG_From_int(static_cast(wxDateTime::GMT11))); } { - PyDict_SetItemString(d,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12))); + PyDict_SetItemString(d,"DateTime_GMT12", SWIG_From_int(static_cast(wxDateTime::GMT12))); } { - PyDict_SetItemString(d,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET))); + PyDict_SetItemString(d,"DateTime_WET", SWIG_From_int(static_cast(wxDateTime::WET))); } { - PyDict_SetItemString(d,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST))); + PyDict_SetItemString(d,"DateTime_WEST", SWIG_From_int(static_cast(wxDateTime::WEST))); } { - PyDict_SetItemString(d,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET))); + PyDict_SetItemString(d,"DateTime_CET", SWIG_From_int(static_cast(wxDateTime::CET))); } { - PyDict_SetItemString(d,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST))); + PyDict_SetItemString(d,"DateTime_CEST", SWIG_From_int(static_cast(wxDateTime::CEST))); } { - PyDict_SetItemString(d,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET))); + PyDict_SetItemString(d,"DateTime_EET", SWIG_From_int(static_cast(wxDateTime::EET))); } { - PyDict_SetItemString(d,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST))); + PyDict_SetItemString(d,"DateTime_EEST", SWIG_From_int(static_cast(wxDateTime::EEST))); } { - PyDict_SetItemString(d,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK))); + PyDict_SetItemString(d,"DateTime_MSK", SWIG_From_int(static_cast(wxDateTime::MSK))); } { - PyDict_SetItemString(d,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD))); + PyDict_SetItemString(d,"DateTime_MSD", SWIG_From_int(static_cast(wxDateTime::MSD))); } { - PyDict_SetItemString(d,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST))); + PyDict_SetItemString(d,"DateTime_AST", SWIG_From_int(static_cast(wxDateTime::AST))); } { - PyDict_SetItemString(d,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT))); + PyDict_SetItemString(d,"DateTime_ADT", SWIG_From_int(static_cast(wxDateTime::ADT))); } { - PyDict_SetItemString(d,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST))); + PyDict_SetItemString(d,"DateTime_EST", SWIG_From_int(static_cast(wxDateTime::EST))); } { - PyDict_SetItemString(d,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT))); + PyDict_SetItemString(d,"DateTime_EDT", SWIG_From_int(static_cast(wxDateTime::EDT))); } { - PyDict_SetItemString(d,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST))); + PyDict_SetItemString(d,"DateTime_CST", SWIG_From_int(static_cast(wxDateTime::CST))); } { - PyDict_SetItemString(d,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT))); + PyDict_SetItemString(d,"DateTime_CDT", SWIG_From_int(static_cast(wxDateTime::CDT))); } { - PyDict_SetItemString(d,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST))); + PyDict_SetItemString(d,"DateTime_MST", SWIG_From_int(static_cast(wxDateTime::MST))); } { - PyDict_SetItemString(d,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT))); + PyDict_SetItemString(d,"DateTime_MDT", SWIG_From_int(static_cast(wxDateTime::MDT))); } { - PyDict_SetItemString(d,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST))); + PyDict_SetItemString(d,"DateTime_PST", SWIG_From_int(static_cast(wxDateTime::PST))); } { - PyDict_SetItemString(d,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT))); + PyDict_SetItemString(d,"DateTime_PDT", SWIG_From_int(static_cast(wxDateTime::PDT))); } { - PyDict_SetItemString(d,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST))); + PyDict_SetItemString(d,"DateTime_HST", SWIG_From_int(static_cast(wxDateTime::HST))); } { - PyDict_SetItemString(d,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST))); + PyDict_SetItemString(d,"DateTime_AKST", SWIG_From_int(static_cast(wxDateTime::AKST))); } { - PyDict_SetItemString(d,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT))); + PyDict_SetItemString(d,"DateTime_AKDT", SWIG_From_int(static_cast(wxDateTime::AKDT))); } { - PyDict_SetItemString(d,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST))); + PyDict_SetItemString(d,"DateTime_A_WST", SWIG_From_int(static_cast(wxDateTime::A_WST))); } { - PyDict_SetItemString(d,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST))); + PyDict_SetItemString(d,"DateTime_A_CST", SWIG_From_int(static_cast(wxDateTime::A_CST))); } { - PyDict_SetItemString(d,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST))); + PyDict_SetItemString(d,"DateTime_A_EST", SWIG_From_int(static_cast(wxDateTime::A_EST))); } { - PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST))); + PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_From_int(static_cast(wxDateTime::A_ESST))); } { - PyDict_SetItemString(d,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC))); + PyDict_SetItemString(d,"DateTime_UTC", SWIG_From_int(static_cast(wxDateTime::UTC))); } { - PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian))); + PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_From_int(static_cast(wxDateTime::Gregorian))); } { - PyDict_SetItemString(d,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian))); + PyDict_SetItemString(d,"DateTime_Julian", SWIG_From_int(static_cast(wxDateTime::Julian))); } { - PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown))); + PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_From_int(static_cast(wxDateTime::Gr_Unknown))); } { - PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard))); + PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_From_int(static_cast(wxDateTime::Gr_Standard))); } { - PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska))); + PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_From_int(static_cast(wxDateTime::Gr_Alaska))); } { - PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania))); + PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_From_int(static_cast(wxDateTime::Gr_Albania))); } { - PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria))); + PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_From_int(static_cast(wxDateTime::Gr_Austria))); } { - PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen))); + PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_From_int(static_cast(wxDateTime::Gr_Austria_Brixen))); } { - PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg))); + PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_From_int(static_cast(wxDateTime::Gr_Austria_Salzburg))); } { - PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol))); + PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_From_int(static_cast(wxDateTime::Gr_Austria_Tyrol))); } { - PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia))); + PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_From_int(static_cast(wxDateTime::Gr_Austria_Carinthia))); } { - PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria))); + PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_From_int(static_cast(wxDateTime::Gr_Austria_Styria))); } { - PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium))); + PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_From_int(static_cast(wxDateTime::Gr_Belgium))); } { - PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria))); + PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_From_int(static_cast(wxDateTime::Gr_Bulgaria))); } { - PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1))); + PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_From_int(static_cast(wxDateTime::Gr_Bulgaria_1))); } { - PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2))); + PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_From_int(static_cast(wxDateTime::Gr_Bulgaria_2))); } { - PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3))); + PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_From_int(static_cast(wxDateTime::Gr_Bulgaria_3))); } { - PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada))); + PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_From_int(static_cast(wxDateTime::Gr_Canada))); } { - PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China))); + PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_From_int(static_cast(wxDateTime::Gr_China))); } { - PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1))); + PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_From_int(static_cast(wxDateTime::Gr_China_1))); } { - PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2))); + PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_From_int(static_cast(wxDateTime::Gr_China_2))); } { - PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia))); + PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_From_int(static_cast(wxDateTime::Gr_Czechoslovakia))); } { - PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark))); + PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_From_int(static_cast(wxDateTime::Gr_Denmark))); } { - PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt))); + PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_From_int(static_cast(wxDateTime::Gr_Egypt))); } { - PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia))); + PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_From_int(static_cast(wxDateTime::Gr_Estonia))); } { - PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland))); + PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_From_int(static_cast(wxDateTime::Gr_Finland))); } { - PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France))); + PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_From_int(static_cast(wxDateTime::Gr_France))); } { - PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace))); + PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_From_int(static_cast(wxDateTime::Gr_France_Alsace))); } { - PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine))); + PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_From_int(static_cast(wxDateTime::Gr_France_Lorraine))); } { - PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg))); + PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_From_int(static_cast(wxDateTime::Gr_France_Strasbourg))); } { - PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany))); + PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_From_int(static_cast(wxDateTime::Gr_Germany))); } { - PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic))); + PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_From_int(static_cast(wxDateTime::Gr_Germany_Catholic))); } { - PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia))); + PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_From_int(static_cast(wxDateTime::Gr_Germany_Prussia))); } { - PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant))); + PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_From_int(static_cast(wxDateTime::Gr_Germany_Protestant))); } { - PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain))); + PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_From_int(static_cast(wxDateTime::Gr_GreatBritain))); } { - PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece))); + PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_From_int(static_cast(wxDateTime::Gr_Greece))); } { - PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary))); + PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_From_int(static_cast(wxDateTime::Gr_Hungary))); } { - PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland))); + PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_From_int(static_cast(wxDateTime::Gr_Ireland))); } { - PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy))); + PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_From_int(static_cast(wxDateTime::Gr_Italy))); } { - PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan))); + PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_From_int(static_cast(wxDateTime::Gr_Japan))); } { - PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1))); + PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_From_int(static_cast(wxDateTime::Gr_Japan_1))); } { - PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2))); + PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_From_int(static_cast(wxDateTime::Gr_Japan_2))); } { - PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3))); + PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_From_int(static_cast(wxDateTime::Gr_Japan_3))); } { - PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia))); + PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_From_int(static_cast(wxDateTime::Gr_Latvia))); } { - PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania))); + PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_From_int(static_cast(wxDateTime::Gr_Lithuania))); } { - PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg))); + PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_From_int(static_cast(wxDateTime::Gr_Luxemburg))); } { - PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands))); + PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_From_int(static_cast(wxDateTime::Gr_Netherlands))); } { - PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen))); + PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int(static_cast(wxDateTime::Gr_Netherlands_Groningen))); } { - PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland))); + PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int(static_cast(wxDateTime::Gr_Netherlands_Gelderland))); } { - PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht))); + PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int(static_cast(wxDateTime::Gr_Netherlands_Utrecht))); } { - PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland))); + PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int(static_cast(wxDateTime::Gr_Netherlands_Friesland))); } { - PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway))); + PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_From_int(static_cast(wxDateTime::Gr_Norway))); } { - PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland))); + PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_From_int(static_cast(wxDateTime::Gr_Poland))); } { - PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal))); + PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_From_int(static_cast(wxDateTime::Gr_Portugal))); } { - PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania))); + PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_From_int(static_cast(wxDateTime::Gr_Romania))); } { - PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia))); + PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_From_int(static_cast(wxDateTime::Gr_Russia))); } { - PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland))); + PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_From_int(static_cast(wxDateTime::Gr_Scotland))); } { - PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain))); + PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_From_int(static_cast(wxDateTime::Gr_Spain))); } { - PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden))); + PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_From_int(static_cast(wxDateTime::Gr_Sweden))); } { - PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland))); + PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_From_int(static_cast(wxDateTime::Gr_Switzerland))); } { - PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic))); + PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int(static_cast(wxDateTime::Gr_Switzerland_Catholic))); } { - PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant))); + PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int(static_cast(wxDateTime::Gr_Switzerland_Protestant))); } { - PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey))); + PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_From_int(static_cast(wxDateTime::Gr_Turkey))); } { - PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA))); + PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_From_int(static_cast(wxDateTime::Gr_USA))); } { - PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales))); + PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_From_int(static_cast(wxDateTime::Gr_Wales))); } { - PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia))); + PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_From_int(static_cast(wxDateTime::Gr_Yugoslavia))); } { - PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown))); + PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_From_int(static_cast(wxDateTime::Country_Unknown))); } { - PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default))); + PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_From_int(static_cast(wxDateTime::Country_Default))); } { - PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start))); + PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_From_int(static_cast(wxDateTime::Country_WesternEurope_Start))); } { - PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC))); + PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_From_int(static_cast(wxDateTime::Country_EEC))); } { - PyDict_SetItemString(d,"DateTime_France", SWIG_From_int((int)(wxDateTime::France))); + PyDict_SetItemString(d,"DateTime_France", SWIG_From_int(static_cast(wxDateTime::France))); } { - PyDict_SetItemString(d,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany))); + PyDict_SetItemString(d,"DateTime_Germany", SWIG_From_int(static_cast(wxDateTime::Germany))); } { - PyDict_SetItemString(d,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK))); + PyDict_SetItemString(d,"DateTime_UK", SWIG_From_int(static_cast(wxDateTime::UK))); } { - PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End))); + PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_From_int(static_cast(wxDateTime::Country_WesternEurope_End))); } { - PyDict_SetItemString(d,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia))); + PyDict_SetItemString(d,"DateTime_Russia", SWIG_From_int(static_cast(wxDateTime::Russia))); } { - PyDict_SetItemString(d,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA))); + PyDict_SetItemString(d,"DateTime_USA", SWIG_From_int(static_cast(wxDateTime::USA))); } { - PyDict_SetItemString(d,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan))); + PyDict_SetItemString(d,"DateTime_Jan", SWIG_From_int(static_cast(wxDateTime::Jan))); } { - PyDict_SetItemString(d,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb))); + PyDict_SetItemString(d,"DateTime_Feb", SWIG_From_int(static_cast(wxDateTime::Feb))); } { - PyDict_SetItemString(d,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar))); + PyDict_SetItemString(d,"DateTime_Mar", SWIG_From_int(static_cast(wxDateTime::Mar))); } { - PyDict_SetItemString(d,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr))); + PyDict_SetItemString(d,"DateTime_Apr", SWIG_From_int(static_cast(wxDateTime::Apr))); } { - PyDict_SetItemString(d,"DateTime_May", SWIG_From_int((int)(wxDateTime::May))); + PyDict_SetItemString(d,"DateTime_May", SWIG_From_int(static_cast(wxDateTime::May))); } { - PyDict_SetItemString(d,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun))); + PyDict_SetItemString(d,"DateTime_Jun", SWIG_From_int(static_cast(wxDateTime::Jun))); } { - PyDict_SetItemString(d,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul))); + PyDict_SetItemString(d,"DateTime_Jul", SWIG_From_int(static_cast(wxDateTime::Jul))); } { - PyDict_SetItemString(d,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug))); + PyDict_SetItemString(d,"DateTime_Aug", SWIG_From_int(static_cast(wxDateTime::Aug))); } { - PyDict_SetItemString(d,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep))); + PyDict_SetItemString(d,"DateTime_Sep", SWIG_From_int(static_cast(wxDateTime::Sep))); } { - PyDict_SetItemString(d,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct))); + PyDict_SetItemString(d,"DateTime_Oct", SWIG_From_int(static_cast(wxDateTime::Oct))); } { - PyDict_SetItemString(d,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov))); + PyDict_SetItemString(d,"DateTime_Nov", SWIG_From_int(static_cast(wxDateTime::Nov))); } { - PyDict_SetItemString(d,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec))); + PyDict_SetItemString(d,"DateTime_Dec", SWIG_From_int(static_cast(wxDateTime::Dec))); } { - PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month))); + PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_From_int(static_cast(wxDateTime::Inv_Month))); } { - PyDict_SetItemString(d,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun))); + PyDict_SetItemString(d,"DateTime_Sun", SWIG_From_int(static_cast(wxDateTime::Sun))); } { - PyDict_SetItemString(d,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon))); + PyDict_SetItemString(d,"DateTime_Mon", SWIG_From_int(static_cast(wxDateTime::Mon))); } { - PyDict_SetItemString(d,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue))); + PyDict_SetItemString(d,"DateTime_Tue", SWIG_From_int(static_cast(wxDateTime::Tue))); } { - PyDict_SetItemString(d,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed))); + PyDict_SetItemString(d,"DateTime_Wed", SWIG_From_int(static_cast(wxDateTime::Wed))); } { - PyDict_SetItemString(d,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu))); + PyDict_SetItemString(d,"DateTime_Thu", SWIG_From_int(static_cast(wxDateTime::Thu))); } { - PyDict_SetItemString(d,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri))); + PyDict_SetItemString(d,"DateTime_Fri", SWIG_From_int(static_cast(wxDateTime::Fri))); } { - PyDict_SetItemString(d,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat))); + PyDict_SetItemString(d,"DateTime_Sat", SWIG_From_int(static_cast(wxDateTime::Sat))); } { - PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay))); + PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_From_int(static_cast(wxDateTime::Inv_WeekDay))); } { - PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year))); + PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_From_int(static_cast(wxDateTime::Inv_Year))); } { - PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full))); + PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_From_int(static_cast(wxDateTime::Name_Full))); } { - PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr))); + PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_From_int(static_cast(wxDateTime::Name_Abbr))); } { - PyDict_SetItemString(d,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First))); + PyDict_SetItemString(d,"DateTime_Default_First", SWIG_From_int(static_cast(wxDateTime::Default_First))); } { - PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First))); + PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_From_int(static_cast(wxDateTime::Monday_First))); } { - PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First))); + PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_From_int(static_cast(wxDateTime::Sunday_First))); } SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set); { - PyDict_SetItemString(d,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID))); + PyDict_SetItemString(d,"DF_INVALID", SWIG_From_int(static_cast(wxDF_INVALID))); } { - PyDict_SetItemString(d,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT))); + PyDict_SetItemString(d,"DF_TEXT", SWIG_From_int(static_cast(wxDF_TEXT))); } { - PyDict_SetItemString(d,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP))); + PyDict_SetItemString(d,"DF_BITMAP", SWIG_From_int(static_cast(wxDF_BITMAP))); } { - PyDict_SetItemString(d,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE))); + PyDict_SetItemString(d,"DF_METAFILE", SWIG_From_int(static_cast(wxDF_METAFILE))); } { - PyDict_SetItemString(d,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK))); + PyDict_SetItemString(d,"DF_SYLK", SWIG_From_int(static_cast(wxDF_SYLK))); } { - PyDict_SetItemString(d,"DF_DIF", SWIG_From_int((int)(wxDF_DIF))); + PyDict_SetItemString(d,"DF_DIF", SWIG_From_int(static_cast(wxDF_DIF))); } { - PyDict_SetItemString(d,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF))); + PyDict_SetItemString(d,"DF_TIFF", SWIG_From_int(static_cast(wxDF_TIFF))); } { - PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT))); + PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_From_int(static_cast(wxDF_OEMTEXT))); } { - PyDict_SetItemString(d,"DF_DIB", SWIG_From_int((int)(wxDF_DIB))); + PyDict_SetItemString(d,"DF_DIB", SWIG_From_int(static_cast(wxDF_DIB))); } { - PyDict_SetItemString(d,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE))); + PyDict_SetItemString(d,"DF_PALETTE", SWIG_From_int(static_cast(wxDF_PALETTE))); } { - PyDict_SetItemString(d,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA))); + PyDict_SetItemString(d,"DF_PENDATA", SWIG_From_int(static_cast(wxDF_PENDATA))); } { - PyDict_SetItemString(d,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF))); + PyDict_SetItemString(d,"DF_RIFF", SWIG_From_int(static_cast(wxDF_RIFF))); } { - PyDict_SetItemString(d,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE))); + PyDict_SetItemString(d,"DF_WAVE", SWIG_From_int(static_cast(wxDF_WAVE))); } { - PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT))); + PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_From_int(static_cast(wxDF_UNICODETEXT))); } { - PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE))); + PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_From_int(static_cast(wxDF_ENHMETAFILE))); } { - PyDict_SetItemString(d,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME))); + PyDict_SetItemString(d,"DF_FILENAME", SWIG_From_int(static_cast(wxDF_FILENAME))); } { - PyDict_SetItemString(d,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE))); + PyDict_SetItemString(d,"DF_LOCALE", SWIG_From_int(static_cast(wxDF_LOCALE))); } { - PyDict_SetItemString(d,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE))); + PyDict_SetItemString(d,"DF_PRIVATE", SWIG_From_int(static_cast(wxDF_PRIVATE))); } { - PyDict_SetItemString(d,"DF_HTML", SWIG_From_int((int)(wxDF_HTML))); + PyDict_SetItemString(d,"DF_HTML", SWIG_From_int(static_cast(wxDF_HTML))); } { - PyDict_SetItemString(d,"DF_MAX", SWIG_From_int((int)(wxDF_MAX))); + PyDict_SetItemString(d,"DF_MAX", SWIG_From_int(static_cast(wxDF_MAX))); } SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set); { - PyDict_SetItemString(d,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get))); + PyDict_SetItemString(d,"DataObject_Get", SWIG_From_int(static_cast(wxDataObject::Get))); } { - PyDict_SetItemString(d,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set))); + PyDict_SetItemString(d,"DataObject_Set", SWIG_From_int(static_cast(wxDataObject::Set))); } { - PyDict_SetItemString(d,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both))); + PyDict_SetItemString(d,"DataObject_Both", SWIG_From_int(static_cast(wxDataObject::Both))); } { - PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly))); + PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_From_int(static_cast(wxDrag_CopyOnly))); } { - PyDict_SetItemString(d,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove))); + PyDict_SetItemString(d,"Drag_AllowMove", SWIG_From_int(static_cast(wxDrag_AllowMove))); } { - PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove))); + PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_From_int(static_cast(wxDrag_DefaultMove))); } { - PyDict_SetItemString(d,"DragError", SWIG_From_int((int)(wxDragError))); + PyDict_SetItemString(d,"DragError", SWIG_From_int(static_cast(wxDragError))); } { - PyDict_SetItemString(d,"DragNone", SWIG_From_int((int)(wxDragNone))); + PyDict_SetItemString(d,"DragNone", SWIG_From_int(static_cast(wxDragNone))); } { - PyDict_SetItemString(d,"DragCopy", SWIG_From_int((int)(wxDragCopy))); + PyDict_SetItemString(d,"DragCopy", SWIG_From_int(static_cast(wxDragCopy))); } { - PyDict_SetItemString(d,"DragMove", SWIG_From_int((int)(wxDragMove))); + PyDict_SetItemString(d,"DragMove", SWIG_From_int(static_cast(wxDragMove))); } { - PyDict_SetItemString(d,"DragLink", SWIG_From_int((int)(wxDragLink))); + PyDict_SetItemString(d,"DragLink", SWIG_From_int(static_cast(wxDragLink))); } { - PyDict_SetItemString(d,"DragCancel", SWIG_From_int((int)(wxDragCancel))); + PyDict_SetItemString(d,"DragCancel", SWIG_From_int(static_cast(wxDragCancel))); } wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");