X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e1dfb8942c23439b4e785c28845205132d3af6fa..32fe513144d26e45237c3bbd7183c95c852d026a:/wxPython/src/mac/_windows_wrap.cpp diff --git a/wxPython/src/mac/_windows_wrap.cpp b/wxPython/src/mac/_windows_wrap.cpp index 5f3aab2d4f..2c3d1d1ffc 100644 --- a/wxPython/src/mac/_windows_wrap.cpp +++ b/wxPython/src/mac/_windows_wrap.cpp @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 1.3.24 + * Version 1.3.27 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency. Do not make @@ -26,15 +26,73 @@ private: }; #endif +/*********************************************************************** + * + * This section contains generic SWIG labels for method/variable + * declarations/attributes, and other compiler dependent labels. + * + ************************************************************************/ -#ifndef SWIG_TEMPLATE_DISAMBIGUATOR -# if defined(__SUNPRO_CC) -# define SWIG_TEMPLATE_DISAMBIGUATOR template +/* template workaround for compilers that cannot correctly implement the C++ standard */ +#ifndef SWIGTEMPLATEDISAMBIGUATOR +# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) +# define SWIGTEMPLATEDISAMBIGUATOR template # else -# define SWIG_TEMPLATE_DISAMBIGUATOR +# define SWIGTEMPLATEDISAMBIGUATOR # endif #endif +/* inline attribute */ +#ifndef SWIGINLINE +# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) +# define SWIGINLINE inline +# else +# define SWIGINLINE +# endif +#endif + +/* attribute recognised by some compilers to avoid 'unused' warnings */ +#ifndef SWIGUNUSED +# if defined(__GNUC__) || defined(__ICC) +# define SWIGUNUSED __attribute__ ((unused)) +# else +# define SWIGUNUSED +# endif +#endif + +/* internal SWIG method */ +#ifndef SWIGINTERN +# define SWIGINTERN static SWIGUNUSED +#endif + +/* internal inline SWIG method */ +#ifndef SWIGINTERNINLINE +# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE +#endif + +/* exporting methods for Windows DLLs */ +#ifndef SWIGEXPORT +# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) +# if defined(STATIC_LINKED) +# define SWIGEXPORT +# else +# define SWIGEXPORT __declspec(dllexport) +# endif +# else +# define SWIGEXPORT +# endif +#endif + +/* calling conventions for Windows */ +#ifndef SWIGSTDCALL +# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) +# define SWIGSTDCALL __stdcall +# else +# define SWIGSTDCALL +# endif +#endif + + #include @@ -48,25 +106,15 @@ private: /* This should only be incremented when either the layout of swig_type_info changes, or for whatever reason, the runtime changes incompatibly */ -#define SWIG_RUNTIME_VERSION "1" +#define SWIG_RUNTIME_VERSION "2" /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ #ifdef SWIG_TYPE_TABLE -#define SWIG_QUOTE_STRING(x) #x -#define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) -#define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) +# define SWIG_QUOTE_STRING(x) #x +# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) +# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) #else -#define SWIG_TYPE_TABLE_NAME -#endif - -#include - -#ifndef SWIGINLINE -#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) -# define SWIGINLINE inline -#else -# define SWIGINLINE -#endif +# define SWIG_TYPE_TABLE_NAME #endif /* @@ -77,13 +125,17 @@ private: But only do this if is strictly necessary, ie, if you have problems with your compiler or so. */ + #ifndef SWIGRUNTIME -#define SWIGRUNTIME static +# define SWIGRUNTIME SWIGINTERN #endif + #ifndef SWIGRUNTIMEINLINE -#define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE +# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE #endif +#include + #ifdef __cplusplus extern "C" { #endif @@ -91,16 +143,36 @@ extern "C" { typedef void *(*swig_converter_func)(void *); typedef struct swig_type_info *(*swig_dycast_func)(void **); +/* Structure to store inforomation on one type */ typedef struct swig_type_info { - const char *name; - swig_converter_func converter; - const char *str; - void *clientdata; - swig_dycast_func dcast; - struct swig_type_info *next; - struct swig_type_info *prev; + const char *name; /* mangled name of this type */ + const char *str; /* human readable name of this type */ + swig_dycast_func dcast; /* dynamic cast function down a hierarchy */ + struct swig_cast_info *cast; /* linked list of types that can cast into this type */ + void *clientdata; /* language specific type data */ } swig_type_info; +/* Structure to store a type and conversion function used for casting */ +typedef struct swig_cast_info { + swig_type_info *type; /* pointer to type that is equivalent to this type */ + swig_converter_func converter; /* function to cast the void pointers */ + struct swig_cast_info *next; /* pointer to next cast in linked list */ + struct swig_cast_info *prev; /* pointer to the previous cast */ +} swig_cast_info; + +/* Structure used to store module information + * Each module generates one structure like this, and the runtime collects + * all of these structures and stores them in a circularly linked list.*/ +typedef struct swig_module_info { + swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */ + size_t size; /* Number of types in this module */ + struct swig_module_info *next; /* Pointer to next element in circularly linked list */ + swig_type_info **type_initial; /* Array of initially generated type structures */ + swig_cast_info **cast_initial; /* Array of initially generated casting structures */ + void *clientdata; /* Language specific module data */ +} swig_module_info; + + /* Compare two type names skipping the space characters, therefore "char*" == "char *" and "Class" == "Class", etc. @@ -114,13 +186,14 @@ SWIG_TypeNameComp(const char *f1, const char *l1, for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { while ((*f1 == ' ') && (f1 != l1)) ++f1; while ((*f2 == ' ') && (f2 != l2)) ++f2; - if (*f1 != *f2) return *f1 - *f2; + if (*f1 != *f2) return (int)(*f1 - *f2); } return (l1 - f1) - (l2 - f2); } /* Check type equivalence in a name list like ||... + Return 0 if not equal, 1 if equal */ SWIGRUNTIME int SWIG_TypeEquiv(const char *nb, const char *tb) { @@ -131,96 +204,73 @@ SWIG_TypeEquiv(const char *nb, const char *tb) { for (nb = ne; *ne; ++ne) { if (*ne == '|') break; } - equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0; + equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; if (*ne) ++ne; } return equiv; } /* - Register a type mapping with the type-checking + Check type equivalence in a name list like ||... + Return 0 if equal, -1 if nb < tb, 1 if nb > tb */ -SWIGRUNTIME swig_type_info * -SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) { - swig_type_info *tc, *head, *ret, *next; - /* Check to see if this type has already been registered */ - tc = *tl; - while (tc) { - /* check simple type equivalence */ - int typeequiv = (strcmp(tc->name, ti->name) == 0); - /* check full type equivalence, resolving typedefs */ - if (!typeequiv) { - /* only if tc is not a typedef (no '|' on it) */ - if (tc->str && ti->str && !strstr(tc->str,"|")) { - typeequiv = SWIG_TypeEquiv(ti->str,tc->str); - } - } - if (typeequiv) { - /* Already exists in the table. Just add additional types to the list */ - if (ti->clientdata) tc->clientdata = ti->clientdata; - head = tc; - next = tc->next; - goto l1; +SWIGRUNTIME int +SWIG_TypeCompare(const char *nb, const char *tb) { + int equiv = 0; + const char* te = tb + strlen(tb); + const char* ne = nb; + while (!equiv && *ne) { + for (nb = ne; *ne; ++ne) { + if (*ne == '|') break; } - tc = tc->prev; - } - head = ti; - next = 0; - - /* Place in list */ - ti->prev = *tl; - *tl = ti; - - /* Build linked lists */ - l1: - ret = head; - tc = ti + 1; - /* Patch up the rest of the links */ - while (tc->name) { - head->next = tc; - tc->prev = head; - head = tc; - tc++; + equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; + if (*ne) ++ne; } - if (next) next->prev = head; - head->next = next; - - return ret; + return equiv; } + +/* think of this as a c++ template<> or a scheme macro */ +#define SWIG_TypeCheck_Template(comparison, ty) \ + if (ty) { \ + swig_cast_info *iter = ty->cast; \ + while (iter) { \ + if (comparison) { \ + if (iter == ty->cast) return iter; \ + /* Move iter to the top of the linked list */ \ + iter->prev->next = iter->next; \ + if (iter->next) \ + iter->next->prev = iter->prev; \ + iter->next = ty->cast; \ + iter->prev = 0; \ + if (ty->cast) ty->cast->prev = iter; \ + ty->cast = iter; \ + return iter; \ + } \ + iter = iter->next; \ + } \ + } \ + return 0 + /* Check the typename */ -SWIGRUNTIME swig_type_info * +SWIGRUNTIME swig_cast_info * SWIG_TypeCheck(const char *c, swig_type_info *ty) { - swig_type_info *s; - if (!ty) return 0; /* Void pointer */ - s = ty->next; /* First element always just a name */ - do { - if (strcmp(s->name,c) == 0) { - if (s == ty->next) return s; - /* Move s to the top of the linked list */ - s->prev->next = s->next; - if (s->next) { - s->next->prev = s->prev; - } - /* Insert s as second element in the list */ - s->next = ty->next; - if (ty->next) ty->next->prev = s; - ty->next = s; - s->prev = ty; - return s; - } - s = s->next; - } while (s && (s != ty->next)); - return 0; + SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty); +} + +/* Same as previous function, except strcmp is replaced with a pointer comparison */ +SWIGRUNTIME swig_cast_info * +SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) { + SWIG_TypeCheck_Template(iter->type == from, into); } /* Cast a pointer up an inheritance hierarchy */ SWIGRUNTIMEINLINE void * -SWIG_TypeCast(swig_type_info *ty, void *ptr) { +SWIG_TypeCast(swig_cast_info *ty, void *ptr) { return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr); } @@ -267,54 +317,116 @@ SWIG_TypePrettyName(const swig_type_info *type) { return type->name; } -/* - Search for a swig_type_info structure -*/ -SWIGRUNTIME swig_type_info * -SWIG_TypeQueryTL(swig_type_info *tl, const char *name) { - swig_type_info *ty = tl; - while (ty) { - if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty; - if (ty->name && (strcmp(name,ty->name) == 0)) return ty; - ty = ty->prev; - } - return 0; -} - /* Set the clientdata field for a type */ SWIGRUNTIME void -SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) { - swig_type_info *tc, *equiv; - if (ti->clientdata) return; +SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { + swig_cast_info *cast = ti->cast; /* if (ti->clientdata == clientdata) return; */ ti->clientdata = clientdata; - equiv = ti->next; - while (equiv) { - if (!equiv->converter) { - tc = tl; - while (tc) { - if ((strcmp(tc->name, equiv->name) == 0)) - SWIG_TypeClientDataTL(tl,tc,clientdata); - tc = tc->prev; + + while (cast) { + if (!cast->converter) { + swig_type_info *tc = cast->type; + if (!tc->clientdata) { + SWIG_TypeClientData(tc, clientdata); } + } + cast = cast->next; + } +} + +/* + Search for a swig_type_info structure only by mangled name + Search is a O(log #types) + + We start searching at module start, and finish searching when start == end. + Note: if start == end at the beginning of the function, we go all the way around + the circular list. +*/ +SWIGRUNTIME swig_type_info * +SWIG_MangledTypeQueryModule(swig_module_info *start, + swig_module_info *end, + const char *name) { + swig_module_info *iter = start; + do { + if (iter->size) { + register size_t l = 0; + register size_t r = iter->size - 1; + do { + /* since l+r >= 0, we can (>> 1) instead (/ 2) */ + register size_t i = (l + r) >> 1; + const char *iname = iter->types[i]->name; + if (iname) { + register int compare = strcmp(name, iname); + if (compare == 0) { + return iter->types[i]; + } else if (compare < 0) { + if (i) { + r = i - 1; + } else { + break; + } + } else if (compare > 0) { + l = i + 1; + } + } else { + break; /* should never happen */ + } + } while (l <= r); } - equiv = equiv->next; + iter = iter->next; + } while (iter != end); + return 0; +} + +/* + Search for a swig_type_info structure for either a mangled name or a human readable name. + It first searches the mangled names of the types, which is a O(log #types) + If a type is not found it then searches the human readable names, which is O(#types). + + We start searching at module start, and finish searching when start == end. + Note: if start == end at the beginning of the function, we go all the way around + the circular list. +*/ +SWIGRUNTIME swig_type_info * +SWIG_TypeQueryModule(swig_module_info *start, + swig_module_info *end, + const char *name) { + /* STEP 1: Search the name field using binary search */ + swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name); + if (ret) { + return ret; + } else { + /* STEP 2: If the type hasn't been found, do a complete search + of the str field (the human readable name) */ + swig_module_info *iter = start; + do { + register size_t i = 0; + for (; i < iter->size; ++i) { + if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) + return iter->types[i]; + } + iter = iter->next; + } while (iter != end); } + + /* neither found a match */ + return 0; } + /* Pack binary data into a string */ SWIGRUNTIME char * SWIG_PackData(char *c, void *ptr, size_t sz) { - static char hex[17] = "0123456789abcdef"; - unsigned char *u = (unsigned char *) ptr; - const unsigned char *eu = u + sz; - register unsigned char uu; + static const char hex[17] = "0123456789abcdef"; + register const unsigned char *u = (unsigned char *) ptr; + register const unsigned char *eu = u + sz; for (; u != eu; ++u) { - uu = *u; + register unsigned char uu = *u; *(c++) = hex[(uu & 0xf0) >> 4]; *(c++) = hex[uu & 0xf]; } @@ -327,9 +439,9 @@ SWIG_PackData(char *c, void *ptr, size_t sz) { SWIGRUNTIME const char * SWIG_UnpackData(const char *c, void *ptr, size_t sz) { register unsigned char *u = (unsigned char *) ptr; - register const unsigned char *eu = u + sz; + register const unsigned char *eu = u + sz; for (; u != eu; ++u) { - register int d = *(c++); + register char d = *(c++); register unsigned char uu = 0; if ((d >= '0') && (d <= '9')) uu = ((d - '0') << 4); @@ -349,30 +461,6 @@ SWIG_UnpackData(const char *c, void *ptr, size_t sz) { return c; } -/* - This function will propagate the clientdata field of type to any new - swig_type_info structures that have been added into the list of - equivalent types. It is like calling SWIG_TypeClientData(type, - clientdata) a second time. -*/ -SWIGRUNTIME void -SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) { - swig_type_info *equiv = type->next; - swig_type_info *tc; - if (!type->clientdata) return; - while (equiv) { - if (!equiv->converter) { - tc = tl; - while (tc) { - if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata) - SWIG_TypeClientDataTL(tl,tc, type->clientdata); - tc = tc->prev; - } - } - equiv = equiv->next; - } -} - /* Pack 'void *' into a string buffer. */ @@ -432,78 +520,6 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { } #endif -/*********************************************************************** - * common.swg - * - * This file contains generic SWIG runtime support for pointer - * type checking as well as a few commonly used macros to control - * external linkage. - * - * Author : David Beazley (beazley@cs.uchicago.edu) - * - * Copyright (c) 1999-2000, The University of Chicago - * - * This file may be freely redistributed without license or fee provided - * this copyright message remains intact. - ************************************************************************/ - - -#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) -# if !defined(STATIC_LINKED) -# define SWIGEXPORT(a) __declspec(dllexport) a -# else -# define SWIGEXPORT(a) a -# endif -#else -# define SWIGEXPORT(a) a -#endif - -#ifdef __cplusplus -extern "C" { -#endif - - -/*************************************************************************/ - - -/* The static type info list */ - -static swig_type_info *swig_type_list = 0; -static swig_type_info **swig_type_list_handle = &swig_type_list; - - -/* Register a type mapping with the type-checking */ -static swig_type_info * -SWIG_TypeRegister(swig_type_info *ti) { - return SWIG_TypeRegisterTL(swig_type_list_handle, ti); -} - -/* Search for a swig_type_info structure */ -static swig_type_info * -SWIG_TypeQuery(const char *name) { - return SWIG_TypeQueryTL(*swig_type_list_handle, name); -} - -/* Set the clientdata field for a type */ -static void -SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { - SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata); -} - -/* This function will propagate the clientdata field of type to -* any new swig_type_info structures that have been added into the list -* of equivalent types. It is like calling -* SWIG_TypeClientData(type, clientdata) a second time. -*/ -static void -SWIG_PropagateClientData(swig_type_info *type) { - SWIG_PropagateClientDataTL(*swig_type_list_handle, type); -} - -#ifdef __cplusplus -} -#endif - /* ----------------------------------------------------------------------------- * SWIG API. Portion that goes into the runtime * ----------------------------------------------------------------------------- */ @@ -517,18 +533,13 @@ extern "C" { * ----------------------------------------------------------------------------- */ #ifndef SWIGINTERN -#define SWIGINTERN static +# define SWIGINTERN static SWIGUNUSED #endif -#ifndef SWIGINTERNSHORT -#ifdef __cplusplus -#define SWIGINTERNSHORT static inline -#else /* C case */ -#define SWIGINTERNSHORT static -#endif /* __cplusplus */ +#ifndef SWIGINTERNINLINE +# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE #endif - /* Exception handling in wrappers */ @@ -599,6 +610,9 @@ typedef struct swig_const_info { #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) +/* Runtime API */ +#define SWIG_GetModule(clientdata) SWIG_Python_GetModule() +#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) /* ----------------------------------------------------------------------------- * Pointer declarations @@ -617,6 +631,11 @@ typedef struct swig_const_info { #define SWIG_POINTER_DISOWN 0x2 +/* Add PyOS_snprintf for old Pythons */ +#if PY_VERSION_HEX < 0x02020000 +#define PyOS_snprintf snprintf +#endif + #ifdef __cplusplus extern "C" { #endif @@ -624,11 +643,28 @@ extern "C" { /* ----------------------------------------------------------------------------- * Create a new pointer string * ----------------------------------------------------------------------------- */ - #ifndef SWIG_BUFFER_SIZE #define SWIG_BUFFER_SIZE 1024 #endif +/* A crude PyString_FromFormat implementation for old Pythons */ +#if PY_VERSION_HEX < 0x02020000 +static PyObject * +PyString_FromFormat(const char *fmt, ...) { + va_list ap; + char buf[SWIG_BUFFER_SIZE * 2]; + int res; + va_start(ap, fmt); + res = vsnprintf(buf, sizeof(buf), fmt, ap); + va_end(ap); + return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf); +} +#endif + +#if PY_VERSION_HEX < 0x01060000 +#define PyObject_Del(op) PyMem_DEL((op)) +#endif + #if defined(SWIG_COBJECT_TYPES) #if !defined(SWIG_COBJECT_PYTHON) /* ----------------------------------------------------------------------------- @@ -647,6 +683,7 @@ SWIGRUNTIME int PySwigObject_print(PySwigObject *v, FILE *fp, int flags) { char result[SWIG_BUFFER_SIZE]; + flags = flags; if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) { fputs("", fp); return 0; @@ -674,27 +711,35 @@ PySwigObject_str(PySwigObject *v) SWIGRUNTIME PyObject * PySwigObject_long(PySwigObject *v) { - return PyLong_FromUnsignedLong((unsigned long) v->ptr); + return PyLong_FromVoidPtr(v->ptr); +} + +SWIGRUNTIME PyObject * +PySwigObject_format(const char* fmt, PySwigObject *v) +{ + PyObject *res = NULL; + PyObject *args = PyTuple_New(1); + if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) { + PyObject *ofmt = PyString_FromString(fmt); + if (ofmt) { + res = PyString_Format(ofmt,args); + Py_DECREF(ofmt); + } + Py_DECREF(args); + } + return res; } SWIGRUNTIME PyObject * PySwigObject_oct(PySwigObject *v) { - char buf[100]; - unsigned long x = (unsigned long)v->ptr; - if (x == 0) - strcpy(buf, "0"); - else - PyOS_snprintf(buf, sizeof(buf), "0%lo", x); - return PyString_FromString(buf); + return PySwigObject_format("%o",v); } SWIGRUNTIME PyObject * PySwigObject_hex(PySwigObject *v) { - char buf[100]; - PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr); - return PyString_FromString(buf); + return PySwigObject_format("%x",v); } SWIGRUNTIME int @@ -702,23 +747,23 @@ PySwigObject_compare(PySwigObject *v, PySwigObject *w) { int c = strcmp(v->desc, w->desc); if (c) { - return c; + return (c > 0) ? 1 : -1; } else { void *i = v->ptr; void *j = w->ptr; - return (i < j) ? -1 : (i > j) ? 1 : 0; + return (i < j) ? -1 : ((i > j) ? 1 : 0); } } SWIGRUNTIME void PySwigObject_dealloc(PySwigObject *self) { - PyObject_DEL(self); + PyObject_Del(self); } SWIGRUNTIME PyTypeObject* -PySwigObject_GetType() { - static char PySwigObject_Type__doc__[] = +PySwigObject_type(void) { + static char pyswigobject_type__doc__[] = "Swig object carries a C/C++ instance pointer"; static PyNumberMethods PySwigObject_as_number = { @@ -745,19 +790,24 @@ PySwigObject_GetType() { (unaryfunc)0, /*nb_float*/ (unaryfunc)PySwigObject_oct, /*nb_oct*/ (unaryfunc)PySwigObject_hex, /*nb_hex*/ -#if PY_VERSION_HEX >= 0x02000000 +#if PY_VERSION_HEX >= 0x02020000 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ +#elif PY_VERSION_HEX >= 0x02000000 + 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ #endif }; - static int type_init = 0; - static PyTypeObject PySwigObject_Type; - + static PyTypeObject pyswigobject_type +#if !defined(__cplusplus) + ; + static int type_init = 0; if (!type_init) { - PyTypeObject tmp = { + PyTypeObject tmp +#endif + = { PyObject_HEAD_INIT(&PyType_Type) 0, /*ob_size*/ - "PySwigObject", /*tp_name*/ + (char *)"PySwigObject", /*tp_name*/ sizeof(PySwigObject), /*tp_basicsize*/ 0, /*tp_itemsize*/ /* methods */ @@ -774,8 +824,8 @@ PySwigObject_GetType() { (ternaryfunc)0, /*tp_call*/ (reprfunc)PySwigObject_str, /*tp_str*/ /* Space for future expansion */ - 0L,0L,0L,0L, - PySwigObject_Type__doc__, /* Documentation string */ + 0,0,0,0, + pyswigobject_type__doc__, /* Documentation string */ #if PY_VERSION_HEX >= 0x02000000 0, /* tp_traverse */ 0, /* tp_clear */ @@ -794,21 +844,22 @@ PySwigObject_GetType() { 0,0,0,0 /* tp_alloc -> tp_next */ #endif }; - - PySwigObject_Type = tmp; +#if !defined(__cplusplus) + pyswigobject_type = tmp; type_init = 1; } - - return &PySwigObject_Type; +#endif + return &pyswigobject_type; } SWIGRUNTIME PyObject * PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc) { - PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType()); - if (self == NULL) return NULL; - self->ptr = ptr; - self->desc = desc; + PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type()); + if (self) { + self->ptr = ptr; + self->desc = desc; + } return (PyObject *)self; } @@ -826,7 +877,7 @@ PySwigObject_GetDesc(PyObject *self) SWIGRUNTIMEINLINE int PySwigObject_Check(PyObject *op) { - return ((op)->ob_type == PySwigObject_GetType()) + return ((op)->ob_type == PySwigObject_type()) || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0); } @@ -845,6 +896,7 @@ SWIGRUNTIME int PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags) { char result[SWIG_BUFFER_SIZE]; + flags = flags; fputs("pack, v->size, 0, sizeof(result))) { fputs("at ", fp); @@ -873,7 +925,7 @@ PySwigPacked_str(PySwigPacked *v) if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ return PyString_FromFormat("%s%s", result, v->desc); } else { - return PyString_FromFormat("%s", v->desc); + return PyString_FromString(v->desc); } } @@ -882,11 +934,11 @@ PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) { int c = strcmp(v->desc, w->desc); if (c) { - return c; + return (c > 0) ? 1 : -1; } else { size_t i = v->size; size_t j = w->size; - int s = (i < j) ? -1 : (i > j) ? 1 : 0; + int s = (i < j) ? -1 : ((i > j) ? 1 : 0); return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); } } @@ -895,21 +947,24 @@ SWIGRUNTIME void PySwigPacked_dealloc(PySwigPacked *self) { free(self->pack); - PyObject_DEL(self); + PyObject_Del(self); } SWIGRUNTIME PyTypeObject* -PySwigPacked_GetType() { - static char PySwigPacked_Type__doc__[] = +PySwigPacked_type(void) { + static char pyswigpacked_type__doc__[] = "Swig object carries a C/C++ instance pointer"; - static int type_init = 0; - - static PyTypeObject PySwigPacked_Type; + static PyTypeObject pyswigpacked_type +#if !defined(__cplusplus) + ; + static int type_init = 0; if (!type_init) { - PyTypeObject tmp = { + PyTypeObject tmp +#endif + = { PyObject_HEAD_INIT(&PyType_Type) 0, /*ob_size*/ - "PySwigPacked", /*tp_name*/ + (char *)"PySwigPacked", /*tp_name*/ sizeof(PySwigPacked), /*tp_basicsize*/ 0, /*tp_itemsize*/ /* methods */ @@ -926,8 +981,8 @@ PySwigPacked_GetType() { (ternaryfunc)0, /*tp_call*/ (reprfunc)PySwigPacked_str, /*tp_str*/ /* Space for future expansion */ - 0L,0L,0L,0L, - PySwigPacked_Type__doc__, /* Documentation string */ + 0,0,0,0, + pyswigpacked_type__doc__, /* Documentation string */ #if PY_VERSION_HEX >= 0x02000000 0, /* tp_traverse */ 0, /* tp_clear */ @@ -946,29 +1001,30 @@ PySwigPacked_GetType() { 0,0,0,0 /* tp_alloc -> tp_next */ #endif }; - - PySwigPacked_Type = tmp; +#if !defined(__cplusplus) + pyswigpacked_type = tmp; type_init = 1; } - - - - return &PySwigPacked_Type; +#endif + return &pyswigpacked_type; } SWIGRUNTIME PyObject * PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc) { - PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType()); + PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type()); if (self == NULL) { return NULL; } else { void *pack = malloc(size); - memcpy(pack, ptr, size); - self->pack = pack; - self->desc = desc; - self->size = size; - return (PyObject *) self; + if (pack) { + memcpy(pack, ptr, size); + self->pack = pack; + self->desc = desc; + self->size = size; + return (PyObject *) self; + } + return NULL; } } @@ -989,7 +1045,7 @@ PySwigPacked_GetDesc(PyObject *self) SWIGRUNTIMEINLINE int PySwigPacked_Check(PyObject *op) { - return ((op)->ob_type == PySwigPacked_GetType()) + return ((op)->ob_type == PySwigPacked_type()) || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0); } @@ -1016,7 +1072,7 @@ SWIG_Python_TypeError(const char *type, PyObject *obj) { if (type) { #if defined(SWIG_COBJECT_TYPES) - if (PySwigObject_Check(obj)) { + if (obj && PySwigObject_Check(obj)) { const char *otype = (const char *) PySwigObject_GetDesc(obj); if (otype) { PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received", @@ -1037,8 +1093,7 @@ SWIG_Python_TypeError(const char *type, PyObject *obj) PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", type, otype); } - if (str) - Py_DECREF(str); + Py_XDECREF(str); return; } } @@ -1089,7 +1144,7 @@ SWIG_Python_ArgFail(int argnum) if (PyErr_Occurred()) { /* add information about failing argument */ char mesg[256]; - sprintf(mesg, "argument number %d:", argnum); + PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum); return SWIG_Python_AddErrMesg(mesg, 1); } else { return 0; @@ -1104,7 +1159,7 @@ SWIG_Python_ArgFail(int argnum) /* Convert a pointer value */ SWIGRUNTIME int SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) { - swig_type_info *tc; + swig_cast_info *tc; const char *c = 0; static PyObject *SWIG_this = 0; int newref = 0; @@ -1147,7 +1202,7 @@ SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) goto type_error; } } - c = PyString_AS_STRING(obj); + c = PyString_AsString(obj); /* Pointer values must start with leading underscore */ c = SWIG_UnpackVoidPtr(c, &vptr, ty->name); if (newref) { Py_DECREF(obj); } @@ -1155,7 +1210,6 @@ SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) #endif type_check: - if (ty) { tc = SWIG_TypeCheck(c,ty); if (!tc) goto type_error; @@ -1163,7 +1217,6 @@ type_check: } else { *ptr = vptr; } - if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) { PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False); } @@ -1178,7 +1231,7 @@ type_error: char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); c = doc ? strstr(doc, "swig_ptr: ") : 0; if (c) { - c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name); + c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0; if (!c) goto type_error; goto type_check; } @@ -1211,14 +1264,14 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) /* Convert a packed value value */ SWIGRUNTIME int SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) { - swig_type_info *tc; + swig_cast_info *tc; const char *c = 0; #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) c = PySwigPacked_UnpackData(obj, ptr, sz); #else if ((!obj) || (!PyString_Check(obj))) goto type_error; - c = PyString_AS_STRING(obj); + c = PyString_AsString(obj); /* Pointer values must start with leading underscore */ c = SWIG_UnpackDataName(c, ptr, sz, ty->name); #endif @@ -1245,6 +1298,12 @@ type_error: SWIGRUNTIME PyObject * SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) { PyObject *robj = 0; + if (!type) { + if (!PyErr_Occurred()) { + PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj"); + } + return robj; + } if (!ptr) { Py_INCREF(Py_None); return Py_None; @@ -1302,8 +1361,8 @@ SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { void *SWIG_ReturnGlobalTypeList(void *); #endif -SWIGRUNTIME swig_type_info ** -SWIG_Python_GetTypeListHandle() { +SWIGRUNTIME swig_module_info * +SWIG_Python_GetModule(void) { static void *type_pointer = (void *)0; /* first check if module already created */ if (!type_pointer) { @@ -1316,21 +1375,54 @@ SWIG_Python_GetTypeListHandle() { PyErr_Clear(); type_pointer = (void *)0; } - } #endif - return (swig_type_info **) type_pointer; + } + return (swig_module_info *) type_pointer; } -/* - Search for a swig_type_info structure - */ -SWIGRUNTIMEINLINE swig_type_info * -SWIG_Python_GetTypeList() { - swig_type_info **tlh = SWIG_Python_GetTypeListHandle(); - return tlh ? *tlh : (swig_type_info*)0; +#if PY_MAJOR_VERSION < 2 +/* PyModule_AddObject function was introduced in Python 2.0. The following function +is copied out of Python/modsupport.c in python version 2.3.4 */ +SWIGINTERN int +PyModule_AddObject(PyObject *m, char *name, PyObject *o) +{ + PyObject *dict; + if (!PyModule_Check(m)) { + PyErr_SetString(PyExc_TypeError, + "PyModule_AddObject() needs module as first arg"); + return -1; + } + if (!o) { + PyErr_SetString(PyExc_TypeError, + "PyModule_AddObject() needs non-NULL value"); + return -1; + } + + dict = PyModule_GetDict(m); + if (dict == NULL) { + /* Internal error -- modules must have a dict! */ + PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", + PyModule_GetName(m)); + return -1; + } + if (PyDict_SetItemString(dict, name, o)) + return -1; + Py_DECREF(o); + return 0; } +#endif -#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList +SWIGRUNTIME void +SWIG_Python_SetModule(swig_module_info *swig_module) { + static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */ + + PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, + swig_empty_runtime_method_table); + PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL); + if (pointer && module) { + PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); + } +} #ifdef __cplusplus } @@ -1339,104 +1431,173 @@ SWIG_Python_GetTypeList() { /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0] -#define SWIGTYPE_p_wxPreviewFrame swig_types[1] -#define SWIGTYPE_p_wxPyPreviewFrame swig_types[2] -#define SWIGTYPE_p_wxPyPanel swig_types[3] -#define SWIGTYPE_p_wxMenu swig_types[4] -#define SWIGTYPE_p_wxFontData swig_types[5] -#define SWIGTYPE_p_wxEvent swig_types[6] -#define SWIGTYPE_p_wxPrintData swig_types[7] -#define SWIGTYPE_p_wxTaskBarIcon swig_types[8] -#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9] -#define SWIGTYPE_p_wxIconBundle swig_types[10] -#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11] -#define SWIGTYPE_p_wxFindDialogEvent swig_types[12] -#define SWIGTYPE_p_wxPreviewCanvas swig_types[13] -#define SWIGTYPE_p_wxFont swig_types[14] -#define SWIGTYPE_p_wxSplitterEvent swig_types[15] -#define SWIGTYPE_p_wxRegion swig_types[16] -#define SWIGTYPE_ptrdiff_t swig_types[17] -#define SWIGTYPE_std__ptrdiff_t swig_types[18] -#define SWIGTYPE_p_wxFindReplaceData swig_types[19] -#define SWIGTYPE_p_int swig_types[20] -#define SWIGTYPE_p_wxSize swig_types[21] -#define SWIGTYPE_p_wxDC swig_types[22] -#define SWIGTYPE_p_wxIcon swig_types[23] -#define SWIGTYPE_p_wxVisualAttributes swig_types[24] -#define SWIGTYPE_p_wxMDIChildFrame swig_types[25] -#define SWIGTYPE_p_wxColourData swig_types[26] -#define SWIGTYPE_p_wxNotifyEvent swig_types[27] -#define SWIGTYPE_p_wxPyWindow swig_types[28] -#define SWIGTYPE_p_form_ops_t swig_types[29] -#define SWIGTYPE_p_wxSplashScreen swig_types[30] -#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31] -#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32] -#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33] -#define SWIGTYPE_p_wxFileDialog swig_types[34] -#define SWIGTYPE_p_wxTextEntryDialog swig_types[35] -#define SWIGTYPE_p_wxMessageDialog swig_types[36] -#define SWIGTYPE_p_wxProgressDialog swig_types[37] -#define SWIGTYPE_p_wxFindReplaceDialog swig_types[38] -#define SWIGTYPE_p_wxPrinter swig_types[39] -#define SWIGTYPE_p_wxArrayInt swig_types[40] -#define SWIGTYPE_p_wxDuplexMode swig_types[41] -#define SWIGTYPE_p_wxEvtHandler swig_types[42] -#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[43] -#define SWIGTYPE_p_wxPyHtmlListBox swig_types[44] -#define SWIGTYPE_p_wxPyVListBox swig_types[45] -#define SWIGTYPE_p_wxRect swig_types[46] -#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[47] -#define SWIGTYPE_p_char swig_types[48] -#define SWIGTYPE_p_wxMiniFrame swig_types[49] -#define SWIGTYPE_p_wxFrame swig_types[50] -#define SWIGTYPE_p_wxPyPrintout swig_types[51] -#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[52] -#define SWIGTYPE_p_wxScrollWinEvent swig_types[53] -#define SWIGTYPE_p_wxPaperSize swig_types[54] -#define SWIGTYPE_p_wxStatusBar swig_types[55] -#define SWIGTYPE_p_wxMDIParentFrame swig_types[56] -#define SWIGTYPE_p_wxPoint swig_types[57] -#define SWIGTYPE_p_wxObject swig_types[58] -#define SWIGTYPE_p_unsigned_long swig_types[59] -#define SWIGTYPE_p_wxTipWindow swig_types[60] -#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[61] -#define SWIGTYPE_p_wxSashLayoutWindow swig_types[62] -#define SWIGTYPE_p_wxSplitterWindow swig_types[63] -#define SWIGTYPE_p_wxSplashScreenWindow swig_types[64] -#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[65] -#define SWIGTYPE_p_wxPopupWindow swig_types[66] -#define SWIGTYPE_p_wxSashWindow swig_types[67] -#define SWIGTYPE_p_wxTopLevelWindow swig_types[68] -#define SWIGTYPE_p_wxWindow swig_types[69] -#define SWIGTYPE_p_wxScrolledWindow swig_types[70] -#define SWIGTYPE_p_wxMenuBar swig_types[71] -#define SWIGTYPE_p_wxMDIClientWindow swig_types[72] -#define SWIGTYPE_p_wxPyScrolledWindow swig_types[73] -#define SWIGTYPE_p_wxPrintPreview swig_types[74] -#define SWIGTYPE_p_wxSashEvent swig_types[75] -#define SWIGTYPE_p_wxString swig_types[76] -#define SWIGTYPE_p_wxPyPrintPreview swig_types[77] -#define SWIGTYPE_p_wxDirDialog swig_types[78] -#define SWIGTYPE_p_wxColourDialog swig_types[79] -#define SWIGTYPE_p_wxDialog swig_types[80] -#define SWIGTYPE_p_wxPanel swig_types[81] -#define SWIGTYPE_p_wxFontDialog swig_types[82] -#define SWIGTYPE_p_wxPageSetupDialog swig_types[83] -#define SWIGTYPE_p_wxPrintDialog swig_types[84] -#define SWIGTYPE_p_wxFileSystem swig_types[85] -#define SWIGTYPE_p_wxBitmap swig_types[86] -#define SWIGTYPE_unsigned_int swig_types[87] -#define SWIGTYPE_p_unsigned_int swig_types[88] -#define SWIGTYPE_p_unsigned_char swig_types[89] -#define SWIGTYPE_p_wxCommandEvent swig_types[90] -#define SWIGTYPE_p_wxPreviewControlBar swig_types[91] -#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[92] -#define SWIGTYPE_p_wxColour swig_types[93] -#define SWIGTYPE_p_wxToolBar swig_types[94] -#define SWIGTYPE_p_wxPageSetupDialogData swig_types[95] -#define SWIGTYPE_p_wxPrintDialogData swig_types[96] -static swig_type_info *swig_types[98]; +#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_wxANIHandler swig_types[6] +#define SWIGTYPE_p_wxAcceleratorTable swig_types[7] +#define SWIGTYPE_p_wxActivateEvent swig_types[8] +#define SWIGTYPE_p_wxArrayInt swig_types[9] +#define SWIGTYPE_p_wxBMPHandler swig_types[10] +#define SWIGTYPE_p_wxBitmap swig_types[11] +#define SWIGTYPE_p_wxBoxSizer swig_types[12] +#define SWIGTYPE_p_wxCURHandler swig_types[13] +#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14] +#define SWIGTYPE_p_wxChildFocusEvent swig_types[15] +#define SWIGTYPE_p_wxCloseEvent swig_types[16] +#define SWIGTYPE_p_wxColour swig_types[17] +#define SWIGTYPE_p_wxColourData swig_types[18] +#define SWIGTYPE_p_wxColourDialog swig_types[19] +#define SWIGTYPE_p_wxCommandEvent swig_types[20] +#define SWIGTYPE_p_wxContextMenuEvent swig_types[21] +#define SWIGTYPE_p_wxControl swig_types[22] +#define SWIGTYPE_p_wxControlWithItems swig_types[23] +#define SWIGTYPE_p_wxDC swig_types[24] +#define SWIGTYPE_p_wxDateEvent swig_types[25] +#define SWIGTYPE_p_wxDialog swig_types[26] +#define SWIGTYPE_p_wxDirDialog swig_types[27] +#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28] +#define SWIGTYPE_p_wxDropFilesEvent swig_types[29] +#define SWIGTYPE_p_wxDuplexMode swig_types[30] +#define SWIGTYPE_p_wxEraseEvent swig_types[31] +#define SWIGTYPE_p_wxEvent swig_types[32] +#define SWIGTYPE_p_wxEvtHandler swig_types[33] +#define SWIGTYPE_p_wxFSFile swig_types[34] +#define SWIGTYPE_p_wxFileDialog swig_types[35] +#define SWIGTYPE_p_wxFileSystem swig_types[36] +#define SWIGTYPE_p_wxFindDialogEvent swig_types[37] +#define SWIGTYPE_p_wxFindReplaceData swig_types[38] +#define SWIGTYPE_p_wxFindReplaceDialog swig_types[39] +#define SWIGTYPE_p_wxFlexGridSizer swig_types[40] +#define SWIGTYPE_p_wxFocusEvent swig_types[41] +#define SWIGTYPE_p_wxFont swig_types[42] +#define SWIGTYPE_p_wxFontData swig_types[43] +#define SWIGTYPE_p_wxFontDialog swig_types[44] +#define SWIGTYPE_p_wxFrame swig_types[45] +#define SWIGTYPE_p_wxGBSizerItem swig_types[46] +#define SWIGTYPE_p_wxGIFHandler swig_types[47] +#define SWIGTYPE_p_wxGridBagSizer swig_types[48] +#define SWIGTYPE_p_wxGridSizer swig_types[49] +#define SWIGTYPE_p_wxICOHandler swig_types[50] +#define SWIGTYPE_p_wxIcon swig_types[51] +#define SWIGTYPE_p_wxIconBundle swig_types[52] +#define SWIGTYPE_p_wxIconizeEvent swig_types[53] +#define SWIGTYPE_p_wxIdleEvent swig_types[54] +#define SWIGTYPE_p_wxImage swig_types[55] +#define SWIGTYPE_p_wxImageHandler swig_types[56] +#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57] +#define SWIGTYPE_p_wxInitDialogEvent swig_types[58] +#define SWIGTYPE_p_wxJPEGHandler swig_types[59] +#define SWIGTYPE_p_wxKeyEvent swig_types[60] +#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61] +#define SWIGTYPE_p_wxLayoutConstraints swig_types[62] +#define SWIGTYPE_p_wxMDIChildFrame swig_types[63] +#define SWIGTYPE_p_wxMDIClientWindow swig_types[64] +#define SWIGTYPE_p_wxMDIParentFrame swig_types[65] +#define SWIGTYPE_p_wxMaximizeEvent swig_types[66] +#define SWIGTYPE_p_wxMenu swig_types[67] +#define SWIGTYPE_p_wxMenuBar swig_types[68] +#define SWIGTYPE_p_wxMenuEvent swig_types[69] +#define SWIGTYPE_p_wxMenuItem swig_types[70] +#define SWIGTYPE_p_wxMessageDialog swig_types[71] +#define SWIGTYPE_p_wxMiniFrame swig_types[72] +#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73] +#define SWIGTYPE_p_wxMouseEvent swig_types[74] +#define SWIGTYPE_p_wxMoveEvent swig_types[75] +#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[76] +#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[77] +#define SWIGTYPE_p_wxNcPaintEvent swig_types[78] +#define SWIGTYPE_p_wxNotifyEvent swig_types[79] +#define SWIGTYPE_p_wxObject swig_types[80] +#define SWIGTYPE_p_wxPCXHandler swig_types[81] +#define SWIGTYPE_p_wxPNGHandler swig_types[82] +#define SWIGTYPE_p_wxPNMHandler swig_types[83] +#define SWIGTYPE_p_wxPageSetupDialog swig_types[84] +#define SWIGTYPE_p_wxPageSetupDialogData swig_types[85] +#define SWIGTYPE_p_wxPaintEvent swig_types[86] +#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87] +#define SWIGTYPE_p_wxPanel swig_types[88] +#define SWIGTYPE_p_wxPaperSize swig_types[89] +#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[90] +#define SWIGTYPE_p_wxPoint swig_types[91] +#define SWIGTYPE_p_wxPopupWindow swig_types[92] +#define SWIGTYPE_p_wxPreviewCanvas swig_types[93] +#define SWIGTYPE_p_wxPreviewControlBar swig_types[94] +#define SWIGTYPE_p_wxPreviewFrame swig_types[95] +#define SWIGTYPE_p_wxPrintData swig_types[96] +#define SWIGTYPE_p_wxPrintDialog swig_types[97] +#define SWIGTYPE_p_wxPrintDialogData swig_types[98] +#define SWIGTYPE_p_wxPrintPreview swig_types[99] +#define SWIGTYPE_p_wxPrinter swig_types[100] +#define SWIGTYPE_p_wxProgressDialog swig_types[101] +#define SWIGTYPE_p_wxPyApp swig_types[102] +#define SWIGTYPE_p_wxPyCommandEvent swig_types[103] +#define SWIGTYPE_p_wxPyEvent swig_types[104] +#define SWIGTYPE_p_wxPyHtmlListBox swig_types[105] +#define SWIGTYPE_p_wxPyImageHandler swig_types[106] +#define SWIGTYPE_p_wxPyPanel swig_types[107] +#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[108] +#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[109] +#define SWIGTYPE_p_wxPyPreviewFrame swig_types[110] +#define SWIGTYPE_p_wxPyPrintPreview swig_types[111] +#define SWIGTYPE_p_wxPyPrintout swig_types[112] +#define SWIGTYPE_p_wxPyScrolledWindow swig_types[113] +#define SWIGTYPE_p_wxPySizer swig_types[114] +#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[115] +#define SWIGTYPE_p_wxPyVListBox swig_types[116] +#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[117] +#define SWIGTYPE_p_wxPyValidator swig_types[118] +#define SWIGTYPE_p_wxPyWindow swig_types[119] +#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[120] +#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[121] +#define SWIGTYPE_p_wxRect swig_types[122] +#define SWIGTYPE_p_wxRegion swig_types[123] +#define SWIGTYPE_p_wxSashEvent swig_types[124] +#define SWIGTYPE_p_wxSashLayoutWindow swig_types[125] +#define SWIGTYPE_p_wxSashWindow swig_types[126] +#define SWIGTYPE_p_wxScrollEvent swig_types[127] +#define SWIGTYPE_p_wxScrollWinEvent swig_types[128] +#define SWIGTYPE_p_wxScrolledWindow swig_types[129] +#define SWIGTYPE_p_wxSetCursorEvent swig_types[130] +#define SWIGTYPE_p_wxShowEvent swig_types[131] +#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[132] +#define SWIGTYPE_p_wxSize swig_types[133] +#define SWIGTYPE_p_wxSizeEvent swig_types[134] +#define SWIGTYPE_p_wxSizer swig_types[135] +#define SWIGTYPE_p_wxSizerItem swig_types[136] +#define SWIGTYPE_p_wxSplashScreen swig_types[137] +#define SWIGTYPE_p_wxSplashScreenWindow swig_types[138] +#define SWIGTYPE_p_wxSplitterEvent swig_types[139] +#define SWIGTYPE_p_wxSplitterWindow swig_types[140] +#define SWIGTYPE_p_wxStaticBoxSizer swig_types[141] +#define SWIGTYPE_p_wxStatusBar swig_types[142] +#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[143] +#define SWIGTYPE_p_wxString swig_types[144] +#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[145] +#define SWIGTYPE_p_wxTIFFHandler swig_types[146] +#define SWIGTYPE_p_wxTaskBarIcon swig_types[147] +#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[148] +#define SWIGTYPE_p_wxTextEntryDialog swig_types[149] +#define SWIGTYPE_p_wxTipWindow swig_types[150] +#define SWIGTYPE_p_wxToolBar swig_types[151] +#define SWIGTYPE_p_wxTopLevelWindow swig_types[152] +#define SWIGTYPE_p_wxUpdateUIEvent swig_types[153] +#define SWIGTYPE_p_wxValidator swig_types[154] +#define SWIGTYPE_p_wxVisualAttributes swig_types[155] +#define SWIGTYPE_p_wxWindow swig_types[156] +#define SWIGTYPE_p_wxWindowCreateEvent swig_types[157] +#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[158] +#define SWIGTYPE_p_wxXPMHandler swig_types[159] +#define SWIGTYPE_ptrdiff_t swig_types[160] +#define SWIGTYPE_std__ptrdiff_t swig_types[161] +#define SWIGTYPE_unsigned_int swig_types[162] +static swig_type_info *swig_types[164]; +static swig_module_info swig_module = {swig_types, 163, 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) -------- */ @@ -1505,7 +1666,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; @@ -1519,7 +1680,7 @@ SWIGINTERN int return 0; } #else -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_AsVal_int(PyObject *obj, int *val) { return SWIG_AsVal_long(obj,(long*)val); @@ -1527,7 +1688,7 @@ SWIGINTERNSHORT int #endif -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_As_int(PyObject* obj) { int v; @@ -1541,7 +1702,7 @@ SWIG_As_int(PyObject* obj) } -SWIGINTERNSHORT long +SWIGINTERNINLINE long SWIG_As_long(PyObject* obj) { long v; @@ -1555,14 +1716,14 @@ SWIG_As_long(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_int(PyObject* obj) { return SWIG_AsVal_int(obj, (int*)0); } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_long(PyObject* obj) { return SWIG_AsVal_long(obj, (long*)0); @@ -1594,7 +1755,7 @@ SWIGINTERN int } -SWIGINTERNSHORT bool +SWIGINTERNINLINE bool SWIG_As_bool(PyObject* obj) { bool v; @@ -1608,14 +1769,14 @@ SWIG_As_bool(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_bool(PyObject* obj) { return SWIG_AsVal_bool(obj, (bool*)0); } - /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ + /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_int PyInt_FromLong /*@@*/ @@ -1662,7 +1823,7 @@ SWIG_AsVal_double(PyObject *obj, double* val) } -SWIGINTERNSHORT double +SWIGINTERNINLINE double SWIG_As_double(PyObject* obj) { double v; @@ -1676,14 +1837,14 @@ SWIG_As_double(PyObject* obj) } -SWIGINTERNSHORT int +SWIGINTERNINLINE int SWIG_Check_double(PyObject* obj) { return SWIG_AsVal_double(obj, (double*)0); } - /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/ + /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/ #define SWIG_From_double PyFloat_FromDouble /*@@*/ @@ -1692,7 +1853,7 @@ SWIG_Check_double(PyObject* obj) static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr); static const wxString wxPyToolBarNameStr(wxToolBarNameStr); - /*@/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 /*@@*/ @@ -1738,7 +1899,7 @@ static wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int ma class wxPyVScrolledWindow : public wxVScrolledWindow { - DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow); + DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow) public: wxPyVScrolledWindow() : wxVScrolledWindow() {} @@ -1822,7 +1983,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; @@ -1836,19 +1997,19 @@ 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)); } @@ -1858,7 +2019,7 @@ SWIGINTERNSHORT PyObject* class wxPyVListBox : public wxVListBox { - DECLARE_ABSTRACT_CLASS(wxPyVListBox); + DECLARE_ABSTRACT_CLASS(wxPyVListBox) public: wxPyVListBox() : wxVListBox() {} @@ -1941,7 +2102,7 @@ static PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long c class wxPyHtmlListBox : public wxHtmlListBox { - DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox); + DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox) public: wxPyHtmlListBox() : wxHtmlListBox() {} @@ -2029,7 +2190,7 @@ enum { // Otherwise make a class that can virtualize CreatePopupMenu class wxPyTaskBarIcon : public wxTaskBarIcon { - DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon); + DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon) public: wxPyTaskBarIcon() : wxTaskBarIcon() {} @@ -2463,7 +2624,7 @@ IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage); bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \ bool rval=false; \ bool found; \ - wxPyBlock_t blocked = wxPyBeginBlockThreads(); \ + wxPyBlock_t blocked = wxPyBeginBlockThreads(); \ if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ PyObject* win = wxPyMake_wxObject(a,false); \ PyObject* dc = wxPyMake_wxObject(&b,false); \ @@ -2494,7 +2655,7 @@ public: {} wxPyPrintPreview(wxPyPrintout* printout, wxPyPrintout* printoutForPrinting, - wxPrintData* data=NULL) + wxPrintData* data) : wxPrintPreview(printout, printoutForPrinting, data) {} @@ -2529,7 +2690,7 @@ IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling) class wxPyPreviewFrame : public wxPreviewFrame { - DECLARE_CLASS(wxPyPreviewFrame); + DECLARE_CLASS(wxPyPreviewFrame) public: wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent, const wxString& title, @@ -2559,7 +2720,7 @@ IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar); class wxPyPreviewControlBar : public wxPreviewControlBar { - DECLARE_CLASS(wxPyPreviewControlBar); + DECLARE_CLASS(wxPyPreviewControlBar) public: wxPyPreviewControlBar(wxPrintPreview *preview, long buttons, @@ -2587,7 +2748,7 @@ IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomContr extern "C" { #endif static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) (int)-1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -2616,7 +2777,7 @@ static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) { if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int const)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -2634,7 +2795,7 @@ static PyObject *_wrap_new_Panel(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; } } @@ -2669,7 +2830,7 @@ static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPanel *result; char *kwnames[] = { NULL @@ -2692,7 +2853,7 @@ static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPanel *arg1 = (wxPanel *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) (int)-1 ; @@ -2725,7 +2886,7 @@ static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int const)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -2743,7 +2904,7 @@ static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -2779,7 +2940,7 @@ static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPanel *arg1 = (wxPanel *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2804,7 +2965,7 @@ static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPanel *arg1 = (wxPanel *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2829,7 +2990,7 @@ static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPanel *arg1 = (wxPanel *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -2854,7 +3015,7 @@ static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -2865,21 +3026,21 @@ static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *arg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxPanel::GetClassDefaultAttributes(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxVisualAttributes * resultptr; - resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); + resultptr = new wxVisualAttributes(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); } return resultobj; @@ -2896,7 +3057,7 @@ static PyObject * Panel_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) (int)-1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -2925,7 +3086,7 @@ static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject * if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int const)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -2943,7 +3104,7 @@ static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject * } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -2978,7 +3139,7 @@ static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrolledWindow *result; char *kwnames[] = { NULL @@ -3001,7 +3162,7 @@ static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) (int)-1 ; @@ -3034,7 +3195,7 @@ static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObjec if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int const)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -3052,7 +3213,7 @@ static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObjec } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -3088,7 +3249,7 @@ static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; int arg2 ; int arg3 ; @@ -3113,36 +3274,36 @@ static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } 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 = (bool)(SWIG_As_bool(obj7)); + arg8 = static_cast(SWIG_As_bool(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } @@ -3161,7 +3322,7 @@ static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; int arg2 ; int arg3 ; @@ -3176,11 +3337,11 @@ static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -3198,7 +3359,7 @@ static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; int arg2 ; int result; @@ -3212,7 +3373,7 @@ static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -3223,7 +3384,7 @@ static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *ar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3232,7 +3393,7 @@ static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *ar static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; int arg2 ; int arg3 ; @@ -3247,11 +3408,11 @@ static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -3269,7 +3430,7 @@ static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *ar static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; int arg2 ; int arg3 ; @@ -3284,11 +3445,11 @@ static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -3306,7 +3467,7 @@ static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -3343,7 +3504,7 @@ static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObjec static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; bool arg2 ; bool arg3 ; @@ -3358,11 +3519,11 @@ static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, 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; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -3380,7 +3541,7 @@ static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -3417,7 +3578,7 @@ static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, P static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; double arg2 ; double arg3 ; @@ -3432,11 +3593,11 @@ static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (double)(SWIG_As_double(obj1)); + arg2 = static_cast(SWIG_As_double(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (double)(SWIG_As_double(obj2)); + arg3 = static_cast(SWIG_As_double(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -3454,7 +3615,7 @@ static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObj static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; double result; PyObject * obj0 = 0 ; @@ -3473,7 +3634,7 @@ static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -3482,7 +3643,7 @@ static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; double result; PyObject * obj0 = 0 ; @@ -3501,7 +3662,7 @@ static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyOb if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -3510,7 +3671,7 @@ static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; wxPoint *arg2 = 0 ; wxPoint result; @@ -3534,7 +3695,7 @@ static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, P } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -3544,7 +3705,7 @@ static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, P static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; int arg2 ; int arg3 ; @@ -3564,11 +3725,11 @@ static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -3646,7 +3807,7 @@ static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObj static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; wxPoint *arg2 = 0 ; wxPoint result; @@ -3670,7 +3831,7 @@ static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(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; @@ -3680,7 +3841,7 @@ static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; int arg2 ; int arg3 ; @@ -3700,11 +3861,11 @@ static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -3782,7 +3943,7 @@ static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyO static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -3807,7 +3968,7 @@ static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *arg static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; wxScrollWinEvent *arg2 = 0 ; int result; @@ -3836,7 +3997,7 @@ static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -3845,7 +4006,7 @@ static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -3874,7 +4035,7 @@ static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -3902,7 +4063,7 @@ static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; wxRect *arg2 = 0 ; wxRect temp2 ; @@ -3934,7 +4095,7 @@ static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -3954,7 +4115,7 @@ static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -3964,7 +4125,7 @@ static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; wxDC *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -3999,7 +4160,7 @@ static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, Py static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -4010,21 +4171,21 @@ static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxScrolledWindow::GetClassDefaultAttributes(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxVisualAttributes * resultptr; - resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); + resultptr = new wxVisualAttributes(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); } return resultobj; @@ -4047,7 +4208,7 @@ static int _wrap_FrameNameStr_set(PyObject *) { static PyObject *_wrap_FrameNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -4067,7 +4228,7 @@ static int _wrap_DialogNameStr_set(PyObject *) { static PyObject *_wrap_DialogNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -4087,7 +4248,7 @@ static int _wrap_StatusLineNameStr_set(PyObject *) { static PyObject *_wrap_StatusLineNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -4107,7 +4268,7 @@ static int _wrap_ToolBarNameStr_set(PyObject *) { static PyObject *_wrap_ToolBarNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -4121,7 +4282,7 @@ static PyObject *_wrap_ToolBarNameStr_get(void) { static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -4135,7 +4296,7 @@ static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObj 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; } } @@ -4154,7 +4315,7 @@ static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4179,7 +4340,7 @@ static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -4193,7 +4354,7 @@ static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObje if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -4212,7 +4373,7 @@ static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -4240,7 +4401,7 @@ static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, Py static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -4268,7 +4429,7 @@ static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyO static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; wxIcon result; PyObject * obj0 = 0 ; @@ -4288,7 +4449,7 @@ static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObje } { wxIcon * resultptr; - resultptr = new wxIcon((wxIcon &)(result)); + resultptr = new wxIcon(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1); } return resultobj; @@ -4298,7 +4459,7 @@ static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; wxIcon *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -4333,7 +4494,7 @@ static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; wxIconBundle *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -4368,7 +4529,7 @@ static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; bool arg2 ; long arg3 = (long) wxFULLSCREEN_ALL ; @@ -4384,12 +4545,12 @@ static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -4410,7 +4571,7 @@ static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -4438,7 +4599,7 @@ static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, P static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -4479,7 +4640,7 @@ static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -4511,7 +4672,7 @@ static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; wxRegion *arg2 = 0 ; bool result; @@ -4549,7 +4710,7 @@ static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; int arg2 = (int) wxUSER_ATTENTION_INFO ; PyObject * obj0 = 0 ; @@ -4563,7 +4724,7 @@ static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -4582,7 +4743,7 @@ static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -4610,7 +4771,7 @@ static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObj static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -4623,7 +4784,7 @@ static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, 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; } { @@ -4641,7 +4802,7 @@ static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -4676,7 +4837,7 @@ static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) (int)-1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -4709,7 +4870,7 @@ static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) { if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int const)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -4734,7 +4895,7 @@ static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) { } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -4777,7 +4938,7 @@ static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) { static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFrame *result; char *kwnames[] = { NULL @@ -4800,7 +4961,7 @@ static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFrame *arg1 = (wxFrame *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) (int)-1 ; @@ -4837,7 +4998,7 @@ static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int const)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -4862,7 +5023,7 @@ static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs } if (obj6) { { - arg7 = (long)(SWIG_As_long(obj6)); + arg7 = static_cast(SWIG_As_long(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -4906,7 +5067,7 @@ static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFrame *arg1 = (wxFrame *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -4926,7 +5087,7 @@ static PyObject *_wrap_Frame_GetClientAreaOrigin(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; @@ -4936,7 +5097,7 @@ static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyO static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFrame *arg1 = (wxFrame *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -4961,7 +5122,7 @@ static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFrame *arg1 = (wxFrame *) 0 ; wxMenuBar *arg2 = (wxMenuBar *) 0 ; PyObject * obj0 = 0 ; @@ -4990,7 +5151,7 @@ static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFrame *arg1 = (wxFrame *) 0 ; wxMenuBar *result; PyObject * obj0 = 0 ; @@ -5018,7 +5179,7 @@ static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFrame *arg1 = (wxFrame *) 0 ; int arg2 ; bool result; @@ -5032,7 +5193,7 @@ static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5052,7 +5213,7 @@ static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFrame *arg1 = (wxFrame *) 0 ; int arg2 = (int) 1 ; long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ; @@ -5075,19 +5236,19 @@ static PyObject *_wrap_Frame_CreateStatusBar(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; } } if (obj2) { { - arg3 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -5123,7 +5284,7 @@ static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFrame *arg1 = (wxFrame *) 0 ; wxStatusBar *result; PyObject * obj0 = 0 ; @@ -5151,7 +5312,7 @@ static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFrame *arg1 = (wxFrame *) 0 ; wxStatusBar *arg2 = (wxStatusBar *) 0 ; PyObject * obj0 = 0 ; @@ -5180,7 +5341,7 @@ static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFrame *arg1 = (wxFrame *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; @@ -5202,7 +5363,7 @@ static PyObject *_wrap_Frame_SetStatusText(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; } } @@ -5229,7 +5390,7 @@ static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFrame *arg1 = (wxFrame *) 0 ; int arg2 ; int *arg3 = (int *) 0 ; @@ -5268,7 +5429,7 @@ static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFrame *arg1 = (wxFrame *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; @@ -5290,7 +5451,7 @@ static PyObject *_wrap_Frame_PushStatusText(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; } } @@ -5317,7 +5478,7 @@ static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFrame *arg1 = (wxFrame *) 0 ; int arg2 = (int) 0 ; PyObject * obj0 = 0 ; @@ -5331,7 +5492,7 @@ static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -5350,7 +5511,7 @@ static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFrame *arg1 = (wxFrame *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5363,7 +5524,7 @@ static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5381,7 +5542,7 @@ static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFrame *arg1 = (wxFrame *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5400,7 +5561,7 @@ static PyObject *_wrap_Frame_GetStatusBarPane(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: @@ -5409,7 +5570,7 @@ static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFrame *arg1 = (wxFrame *) 0 ; long arg2 = (long) -1 ; int arg3 = (int) -1 ; @@ -5430,13 +5591,13 @@ static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -5472,7 +5633,7 @@ static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFrame *arg1 = (wxFrame *) 0 ; wxToolBar *result; PyObject * obj0 = 0 ; @@ -5500,7 +5661,7 @@ static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFrame *arg1 = (wxFrame *) 0 ; wxToolBar *arg2 = (wxToolBar *) 0 ; PyObject * obj0 = 0 ; @@ -5529,7 +5690,7 @@ static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFrame *arg1 = (wxFrame *) 0 ; wxString *arg2 = 0 ; bool arg3 ; @@ -5550,7 +5711,7 @@ static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kw temp2 = true; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -5576,7 +5737,7 @@ static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFrame *arg1 = (wxFrame *) 0 ; wxMenu *arg2 = (wxMenu *) NULL ; PyObject * obj0 = 0 ; @@ -5607,7 +5768,7 @@ static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -5618,21 +5779,21 @@ static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *arg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxFrame::GetClassDefaultAttributes(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxVisualAttributes * resultptr; - resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); + resultptr = new wxVisualAttributes(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); } return resultobj; @@ -5649,7 +5810,7 @@ static PyObject * Frame_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) (int)-1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -5682,7 +5843,7 @@ static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int const)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -5707,7 +5868,7 @@ static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -5750,7 +5911,7 @@ static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDialog *result; char *kwnames[] = { NULL @@ -5773,7 +5934,7 @@ static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDialog *arg1 = (wxDialog *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) (int)-1 ; @@ -5810,7 +5971,7 @@ static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwarg if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int const)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -5835,7 +5996,7 @@ static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwarg } if (obj6) { { - arg7 = (long)(SWIG_As_long(obj6)); + arg7 = static_cast(SWIG_As_long(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -5879,7 +6040,7 @@ static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDialog *arg1 = (wxDialog *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -5892,7 +6053,7 @@ static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -5910,7 +6071,7 @@ static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDialog *arg1 = (wxDialog *) 0 ; int result; PyObject * obj0 = 0 ; @@ -5929,7 +6090,7 @@ static PyObject *_wrap_Dialog_GetReturnCode(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: @@ -5938,7 +6099,7 @@ static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDialog *arg1 = (wxDialog *) 0 ; wxString *arg2 = 0 ; wxSizer *result; @@ -5982,26 +6143,42 @@ static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDialog *arg1 = (wxDialog *) 0 ; long arg2 ; + bool arg3 = (bool) false ; + int arg4 = (int) 0 ; wxSizer *result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; char *kwnames[] = { - (char *) "self",(char *) "flags", NULL + (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail; + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } + if (obj2) { + { + arg3 = static_cast(SWIG_As_bool(obj2)); + if (SWIG_arg_fail(3)) SWIG_fail; + } + } + if (obj3) { + { + arg4 = static_cast(SWIG_As_int(obj3)); + if (SWIG_arg_fail(4)) SWIG_fail; + } + } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxSizer *)(arg1)->CreateButtonSizer(arg2); + result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -6016,7 +6193,7 @@ static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyOb static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDialog *arg1 = (wxDialog *) 0 ; long arg2 ; wxStdDialogButtonSizer *result; @@ -6030,7 +6207,7 @@ static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, 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; } { @@ -6048,7 +6225,7 @@ static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *a static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDialog *arg1 = (wxDialog *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -6076,7 +6253,7 @@ static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDialog *arg1 = (wxDialog *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6095,7 +6272,7 @@ static PyObject *_wrap_Dialog_ShowModal(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: @@ -6104,7 +6281,7 @@ static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDialog *arg1 = (wxDialog *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -6117,7 +6294,7 @@ static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -6135,7 +6312,7 @@ static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -6146,21 +6323,21 @@ static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *ar if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxDialog::GetClassDefaultAttributes(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxVisualAttributes * resultptr; - resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); + resultptr = new wxVisualAttributes(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); } return resultobj; @@ -6177,7 +6354,7 @@ static PyObject * Dialog_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) (int)-1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -6210,7 +6387,7 @@ static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwarg if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int const)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -6235,7 +6412,7 @@ static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwarg } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -6278,7 +6455,7 @@ static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMiniFrame *result; char *kwnames[] = { NULL @@ -6301,7 +6478,7 @@ static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMiniFrame *arg1 = (wxMiniFrame *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) (int)-1 ; @@ -6338,7 +6515,7 @@ static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int const)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -6363,7 +6540,7 @@ static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kw } if (obj6) { { - arg7 = (long)(SWIG_As_long(obj6)); + arg7 = static_cast(SWIG_As_long(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -6414,7 +6591,7 @@ static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 ; @@ -6448,7 +6625,7 @@ static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(2)) SWIG_fail; { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { @@ -6465,7 +6642,7 @@ static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObje } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -6485,7 +6662,7 @@ static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObje static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; wxBitmap *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -6520,7 +6697,7 @@ static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; wxBitmap *result; PyObject * obj0 = 0 ; @@ -6559,7 +6736,7 @@ static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxBitmap *arg1 = 0 ; long arg2 ; int arg3 ; @@ -6595,18 +6772,18 @@ static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kw if (SWIG_arg_fail(1)) SWIG_fail; } { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); 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; } } @@ -6624,7 +6801,7 @@ static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kw } if (obj7) { { - arg8 = (long)(SWIG_As_long(obj7)); + arg8 = static_cast(SWIG_As_long(obj7)); if (SWIG_arg_fail(8)) SWIG_fail; } } @@ -6644,7 +6821,7 @@ static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; long result; PyObject * obj0 = 0 ; @@ -6663,7 +6840,7 @@ static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, P if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_long((long)(result)); + resultobj = SWIG_From_long(static_cast(result)); } return resultobj; fail: @@ -6672,7 +6849,7 @@ static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, P static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; wxSplashScreenWindow *result; PyObject * obj0 = 0 ; @@ -6698,7 +6875,7 @@ static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6717,7 +6894,7 @@ static PyObject *_wrap_SplashScreen_GetTimeout(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: @@ -6733,7 +6910,7 @@ static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ; @@ -6754,13 +6931,13 @@ static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwarg 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 = (long)(SWIG_As_long(obj2)); + arg3 = static_cast(SWIG_As_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -6795,7 +6972,7 @@ static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStatusBar *result; char *kwnames[] = { NULL @@ -6818,7 +6995,7 @@ static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStatusBar *arg1 = (wxStatusBar *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -6843,13 +7020,13 @@ static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kw 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 = (long)(SWIG_As_long(obj3)); + arg4 = static_cast(SWIG_As_long(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -6885,7 +7062,7 @@ static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStatusBar *arg1 = (wxStatusBar *) 0 ; int arg2 = (int) 1 ; PyObject * obj0 = 0 ; @@ -6899,7 +7076,7 @@ static PyObject *_wrap_StatusBar_SetFieldsCount(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; } } @@ -6918,7 +7095,7 @@ static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStatusBar *arg1 = (wxStatusBar *) 0 ; int result; PyObject * obj0 = 0 ; @@ -6937,7 +7114,7 @@ static PyObject *_wrap_StatusBar_GetFieldsCount(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: @@ -6946,7 +7123,7 @@ static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStatusBar *arg1 = (wxStatusBar *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; @@ -6968,7 +7145,7 @@ static PyObject *_wrap_StatusBar_SetStatusText(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; } } @@ -6995,7 +7172,7 @@ static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStatusBar *arg1 = (wxStatusBar *) 0 ; int arg2 = (int) 0 ; wxString result; @@ -7010,7 +7187,7 @@ static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObj if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -7035,7 +7212,7 @@ static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStatusBar *arg1 = (wxStatusBar *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 0 ; @@ -7057,7 +7234,7 @@ static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyOb } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -7084,7 +7261,7 @@ static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyOb static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStatusBar *arg1 = (wxStatusBar *) 0 ; int arg2 = (int) 0 ; PyObject * obj0 = 0 ; @@ -7098,7 +7275,7 @@ static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObj if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -7117,7 +7294,7 @@ static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObj static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStatusBar *arg1 = (wxStatusBar *) 0 ; int arg2 ; int *arg3 = (int *) 0 ; @@ -7156,7 +7333,7 @@ static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyO static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStatusBar *arg1 = (wxStatusBar *) 0 ; int arg2 ; int *arg3 = (int *) 0 ; @@ -7195,7 +7372,7 @@ static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyO static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStatusBar *arg1 = (wxStatusBar *) 0 ; int arg2 ; wxRect result; @@ -7209,7 +7386,7 @@ static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7221,7 +7398,7 @@ static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObje } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -7231,7 +7408,7 @@ static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStatusBar *arg1 = (wxStatusBar *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -7244,7 +7421,7 @@ static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7262,7 +7439,7 @@ static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObje static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStatusBar *arg1 = (wxStatusBar *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7281,7 +7458,7 @@ static PyObject *_wrap_StatusBar_GetBorderX(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: @@ -7290,7 +7467,7 @@ static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxStatusBar *arg1 = (wxStatusBar *) 0 ; int result; PyObject * obj0 = 0 ; @@ -7309,7 +7486,7 @@ static PyObject *_wrap_StatusBar_GetBorderY(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: @@ -7318,7 +7495,7 @@ static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -7329,21 +7506,21 @@ static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxStatusBar::GetClassDefaultAttributes(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxVisualAttributes * resultptr; - resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); + resultptr = new wxVisualAttributes(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); } return resultobj; @@ -7366,7 +7543,7 @@ static int _wrap_SplitterNameStr_set(PyObject *) { static PyObject *_wrap_SplitterNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -7380,7 +7557,7 @@ static PyObject *_wrap_SplitterNameStr_get(void) { static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -7409,7 +7586,7 @@ static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject * if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -7427,7 +7604,7 @@ static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject * } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -7462,7 +7639,7 @@ static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterWindow *result; char *kwnames[] = { NULL @@ -7485,7 +7662,7 @@ static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -7518,7 +7695,7 @@ static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObjec 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; } } @@ -7536,7 +7713,7 @@ static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObjec } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -7572,7 +7749,7 @@ static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -7600,7 +7777,7 @@ static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyO static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -7628,7 +7805,7 @@ static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyO static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -7641,7 +7818,7 @@ static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7659,7 +7836,7 @@ static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, P static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; wxSplitMode result; PyObject * obj0 = 0 ; @@ -7685,7 +7862,7 @@ static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, P static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -7714,7 +7891,7 @@ static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyO static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -7737,7 +7914,7 @@ static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args 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; } } @@ -7758,7 +7935,7 @@ static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -7781,7 +7958,7 @@ static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *ar 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; } } @@ -7802,7 +7979,7 @@ static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *ar static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; wxWindow *arg2 = (wxWindow *) NULL ; bool result; @@ -7836,7 +8013,7 @@ static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObje static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -7872,7 +8049,7 @@ static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -7897,7 +8074,7 @@ static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyO static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -7925,7 +8102,7 @@ static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObje static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -7938,7 +8115,7 @@ static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7956,7 +8133,7 @@ static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, Py static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -7969,7 +8146,7 @@ static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -7987,7 +8164,7 @@ static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -8006,7 +8183,7 @@ static PyObject *_wrap_SplitterWindow_GetSashSize(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: @@ -8015,7 +8192,7 @@ static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, Py static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -8034,7 +8211,7 @@ static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -8043,7 +8220,7 @@ static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; int arg2 ; bool arg3 = (bool) true ; @@ -8058,12 +8235,12 @@ static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } } @@ -8082,7 +8259,7 @@ static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -8101,7 +8278,7 @@ static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -8110,7 +8287,7 @@ static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; double arg2 ; PyObject * obj0 = 0 ; @@ -8123,7 +8300,7 @@ static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, 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; } { @@ -8141,7 +8318,7 @@ static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; double result; PyObject * obj0 = 0 ; @@ -8160,7 +8337,7 @@ static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_double((double)(result)); + resultobj = SWIG_From_double(static_cast(result)); } return resultobj; fail: @@ -8169,7 +8346,7 @@ static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -8182,7 +8359,7 @@ static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8200,7 +8377,7 @@ static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *a static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -8219,7 +8396,7 @@ static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *a if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -8228,7 +8405,7 @@ static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *a static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; int arg2 ; int arg3 ; @@ -8246,16 +8423,16 @@ static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -8276,7 +8453,7 @@ static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, Py static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -8301,7 +8478,7 @@ static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, Py static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -8314,7 +8491,7 @@ static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, 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; } { @@ -8332,7 +8509,7 @@ static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -8360,7 +8537,7 @@ static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -8371,21 +8548,21 @@ static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; if (obj0) { { - arg1 = (wxWindowVariant)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); + result = wxSplitterWindow::GetClassDefaultAttributes(arg1); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { wxVisualAttributes * resultptr; - resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); + resultptr = new wxVisualAttributes(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); } return resultobj; @@ -8402,7 +8579,7 @@ static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ; wxSplitterEvent *result; @@ -8415,7 +8592,7 @@ static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *k if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } @@ -8438,7 +8615,7 @@ static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -8451,7 +8628,7 @@ static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -8469,7 +8646,7 @@ static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -8488,7 +8665,7 @@ static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -8497,7 +8674,7 @@ static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -8525,7 +8702,7 @@ static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -8544,7 +8721,7 @@ static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -8553,7 +8730,7 @@ static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -8572,7 +8749,7 @@ static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -8594,7 +8771,7 @@ static int _wrap_SashNameStr_set(PyObject *) { static PyObject *_wrap_SashNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -8614,7 +8791,7 @@ static int _wrap_SashLayoutNameStr_set(PyObject *) { static PyObject *_wrap_SashLayoutNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -8628,7 +8805,7 @@ static PyObject *_wrap_SashLayoutNameStr_get(void) { static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -8657,7 +8834,7 @@ static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwar if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -8675,7 +8852,7 @@ static PyObject *_wrap_new_SashWindow(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; } } @@ -8710,7 +8887,7 @@ static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashWindow *result; char *kwnames[] = { NULL @@ -8733,7 +8910,7 @@ static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashWindow *arg1 = (wxSashWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -8766,7 +8943,7 @@ static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *k 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; } } @@ -8784,7 +8961,7 @@ static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *k } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -8820,7 +8997,7 @@ static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashWindow *arg1 = (wxSashWindow *) 0 ; wxSashEdgePosition arg2 ; bool arg3 ; @@ -8835,16 +9012,16 @@ static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3); + (arg1)->SetSashVisible(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -8857,7 +9034,7 @@ static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyO static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashWindow *arg1 = (wxSashWindow *) 0 ; wxSashEdgePosition arg2 ; bool result; @@ -8871,12 +9048,12 @@ static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2); + result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -8891,7 +9068,7 @@ static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyO static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashWindow *arg1 = (wxSashWindow *) 0 ; wxSashEdgePosition arg2 ; bool arg3 ; @@ -8906,16 +9083,16 @@ static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3); + (arg1)->SetSashBorder(arg2,arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -8928,7 +9105,7 @@ static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyOb static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashWindow *arg1 = (wxSashWindow *) 0 ; wxSashEdgePosition arg2 ; bool result; @@ -8942,12 +9119,12 @@ static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2); + result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -8962,7 +9139,7 @@ static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashWindow *arg1 = (wxSashWindow *) 0 ; wxSashEdgePosition arg2 ; int result; @@ -8976,18 +9153,18 @@ static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2); + result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -8996,7 +9173,7 @@ static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyOb static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashWindow *arg1 = (wxSashWindow *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9009,7 +9186,7 @@ static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9027,7 +9204,7 @@ static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *arg static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashWindow *arg1 = (wxSashWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9046,7 +9223,7 @@ static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9055,7 +9232,7 @@ static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *arg static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashWindow *arg1 = (wxSashWindow *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9068,7 +9245,7 @@ static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9086,7 +9263,7 @@ static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashWindow *arg1 = (wxSashWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9105,7 +9282,7 @@ static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9114,7 +9291,7 @@ static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashWindow *arg1 = (wxSashWindow *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9127,7 +9304,7 @@ static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9145,7 +9322,7 @@ static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, Py static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashWindow *arg1 = (wxSashWindow *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9158,7 +9335,7 @@ static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9176,7 +9353,7 @@ static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, Py static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashWindow *arg1 = (wxSashWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9195,7 +9372,7 @@ static PyObject *_wrap_SashWindow_GetMinimumSizeX(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: @@ -9204,7 +9381,7 @@ static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, Py static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashWindow *arg1 = (wxSashWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9223,7 +9400,7 @@ static PyObject *_wrap_SashWindow_GetMinimumSizeY(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: @@ -9232,7 +9409,7 @@ static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, Py static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashWindow *arg1 = (wxSashWindow *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9245,7 +9422,7 @@ static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9263,7 +9440,7 @@ static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, Py static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashWindow *arg1 = (wxSashWindow *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9276,7 +9453,7 @@ static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9294,7 +9471,7 @@ static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, Py static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashWindow *arg1 = (wxSashWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9313,7 +9490,7 @@ static PyObject *_wrap_SashWindow_GetMaximumSizeX(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: @@ -9322,7 +9499,7 @@ static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, Py static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashWindow *arg1 = (wxSashWindow *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9341,7 +9518,7 @@ static PyObject *_wrap_SashWindow_GetMaximumSizeY(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: @@ -9350,7 +9527,7 @@ static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, Py static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashWindow *arg1 = (wxSashWindow *) 0 ; int arg2 ; int arg3 ; @@ -9368,16 +9545,16 @@ static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -9396,7 +9573,7 @@ static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObje static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashWindow *arg1 = (wxSashWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -9428,7 +9605,7 @@ static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ; wxSashEvent *result; @@ -9441,19 +9618,19 @@ static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwarg if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",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 = (wxSashEdgePosition)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2); + result = (wxSashEvent *)new wxSashEvent(arg1,arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -9466,7 +9643,7 @@ static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashEvent *arg1 = (wxSashEvent *) 0 ; wxSashEdgePosition arg2 ; PyObject * obj0 = 0 ; @@ -9479,12 +9656,12 @@ static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetEdge((wxSashEdgePosition )arg2); + (arg1)->SetEdge(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -9497,7 +9674,7 @@ static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashEvent *arg1 = (wxSashEvent *) 0 ; wxSashEdgePosition result; PyObject * obj0 = 0 ; @@ -9523,7 +9700,7 @@ static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashEvent *arg1 = (wxSashEvent *) 0 ; wxRect *arg2 = 0 ; wxRect temp2 ; @@ -9555,7 +9732,7 @@ static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashEvent *arg1 = (wxSashEvent *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -9575,7 +9752,7 @@ static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObjec } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -9585,7 +9762,7 @@ static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashEvent *arg1 = (wxSashEvent *) 0 ; wxSashDragStatus arg2 ; PyObject * obj0 = 0 ; @@ -9598,12 +9775,12 @@ static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxSashDragStatus)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetDragStatus((wxSashDragStatus )arg2); + (arg1)->SetDragStatus(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -9616,7 +9793,7 @@ static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObj static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashEvent *arg1 = (wxSashEvent *) 0 ; wxSashDragStatus result; PyObject * obj0 = 0 ; @@ -9649,7 +9826,7 @@ static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxQueryLayoutInfoEvent *result; PyObject * obj0 = 0 ; @@ -9660,7 +9837,7 @@ static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",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; } } @@ -9679,7 +9856,7 @@ static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyOb static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9692,7 +9869,7 @@ static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9710,7 +9887,7 @@ static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObj static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9729,7 +9906,7 @@ static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObj if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9738,7 +9915,7 @@ static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObj static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -9751,7 +9928,7 @@ static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -9769,7 +9946,7 @@ static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -9788,7 +9965,7 @@ static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -9797,7 +9974,7 @@ static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -9829,7 +10006,7 @@ static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -9849,7 +10026,7 @@ static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -9859,7 +10036,7 @@ static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; wxLayoutOrientation arg2 ; PyObject * obj0 = 0 ; @@ -9872,12 +10049,12 @@ static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetOrientation((wxLayoutOrientation )arg2); + (arg1)->SetOrientation(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -9890,7 +10067,7 @@ static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; wxLayoutOrientation result; PyObject * obj0 = 0 ; @@ -9916,7 +10093,7 @@ static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; wxLayoutAlignment arg2 ; PyObject * obj0 = 0 ; @@ -9929,12 +10106,12 @@ static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetAlignment((wxLayoutAlignment )arg2); + (arg1)->SetAlignment(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -9947,7 +10124,7 @@ static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *a static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; wxLayoutAlignment result; PyObject * obj0 = 0 ; @@ -9980,7 +10157,7 @@ static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxCalculateLayoutEvent *result; PyObject * obj0 = 0 ; @@ -9991,7 +10168,7 @@ static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyOb if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",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; } } @@ -10010,7 +10187,7 @@ static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyOb static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -10023,7 +10200,7 @@ static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -10041,7 +10218,7 @@ static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -10060,7 +10237,7 @@ static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -10069,7 +10246,7 @@ static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; wxRect *arg2 = 0 ; wxRect temp2 ; @@ -10101,7 +10278,7 @@ static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; wxRect result; PyObject * obj0 = 0 ; @@ -10121,7 +10298,7 @@ static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, } { wxRect * resultptr; - resultptr = new wxRect((wxRect &)(result)); + resultptr = new wxRect(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); } return resultobj; @@ -10138,7 +10315,7 @@ static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) -1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -10167,7 +10344,7 @@ static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -10185,7 +10362,7 @@ static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -10220,7 +10397,7 @@ static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashLayoutWindow *result; char *kwnames[] = { NULL @@ -10243,7 +10420,7 @@ static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObj static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) -1 ; @@ -10276,7 +10453,7 @@ static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObj 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; } } @@ -10294,7 +10471,7 @@ static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObj } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -10330,7 +10507,7 @@ static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObj static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; wxLayoutAlignment result; PyObject * obj0 = 0 ; @@ -10356,7 +10533,7 @@ static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; wxLayoutOrientation result; PyObject * obj0 = 0 ; @@ -10382,7 +10559,7 @@ static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *arg static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; wxLayoutAlignment arg2 ; PyObject * obj0 = 0 ; @@ -10395,12 +10572,12 @@ static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetAlignment((wxLayoutAlignment )arg2); + (arg1)->SetAlignment(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -10413,7 +10590,7 @@ static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -10445,7 +10622,7 @@ static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *arg static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; wxLayoutOrientation arg2 ; PyObject * obj0 = 0 ; @@ -10458,12 +10635,12 @@ static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetOrientation((wxLayoutOrientation )arg2); + (arg1)->SetOrientation(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -10483,7 +10660,7 @@ static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutAlgorithm *result; char *kwnames[] = { NULL @@ -10505,7 +10682,7 @@ static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10530,7 +10707,7 @@ static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObje static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; wxRect *arg3 = (wxRect *) NULL ; @@ -10568,7 +10745,7 @@ static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; wxFrame *arg2 = (wxFrame *) 0 ; wxWindow *arg3 = (wxWindow *) NULL ; @@ -10606,7 +10783,7 @@ static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, P static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxWindow *arg3 = (wxWindow *) NULL ; @@ -10651,7 +10828,7 @@ static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) wxBORDER_NONE ; wxPopupWindow *result; @@ -10666,7 +10843,7 @@ static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwa if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -10685,7 +10862,7 @@ static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPopupWindow *result; char *kwnames[] = { NULL @@ -10714,7 +10891,7 @@ static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) wxBORDER_NONE ; wxPyPopupTransientWindow *result; @@ -10729,7 +10906,7 @@ static PyObject *_wrap_new_PopupTransientWindow(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; } } @@ -10748,7 +10925,7 @@ static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyOb static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPopupTransientWindow *result; char *kwnames[] = { NULL @@ -10777,7 +10954,7 @@ static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; int arg3 = (int) 100 ; @@ -10802,7 +10979,7 @@ static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwarg } if (obj2) { { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -10834,7 +11011,7 @@ static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTipWindow *arg1 = (wxTipWindow *) 0 ; wxRect *arg2 = 0 ; wxRect temp2 ; @@ -10866,7 +11043,7 @@ static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyO static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTipWindow *arg1 = (wxTipWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -10898,7 +11075,7 @@ static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) wxID_ANY ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -10927,7 +11104,7 @@ static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -10945,7 +11122,7 @@ static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -10980,7 +11157,7 @@ static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVScrolledWindow *result; char *kwnames[] = { NULL @@ -11003,7 +11180,7 @@ static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObje static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -11034,7 +11211,7 @@ static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *ar static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) wxID_ANY ; @@ -11067,7 +11244,7 @@ static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObje 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; } } @@ -11085,7 +11262,7 @@ static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObje } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -11121,7 +11298,7 @@ static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObje static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; size_t arg2 ; PyObject * obj0 = 0 ; @@ -11134,7 +11311,7 @@ static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11152,7 +11329,7 @@ static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; size_t arg2 ; bool result; @@ -11166,7 +11343,7 @@ static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11186,7 +11363,7 @@ static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; int arg2 ; bool result; @@ -11200,7 +11377,7 @@ static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11220,7 +11397,7 @@ static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, P static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; int arg2 ; bool result; @@ -11234,7 +11411,7 @@ static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11254,7 +11431,7 @@ static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, P static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; size_t arg2 ; PyObject * obj0 = 0 ; @@ -11267,7 +11444,7 @@ static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11285,7 +11462,7 @@ static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, P static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; size_t arg2 ; size_t arg3 ; @@ -11300,11 +11477,11 @@ static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -11322,7 +11499,7 @@ static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; int arg2 ; int arg3 ; @@ -11338,11 +11515,11 @@ static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -11353,7 +11530,7 @@ static PyObject *_wrap_VScrolledWindow_HitTestXY(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: @@ -11362,7 +11539,7 @@ static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyO static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; wxPoint *arg2 = 0 ; int result; @@ -11388,7 +11565,7 @@ static PyObject *_wrap_VScrolledWindow_HitTest(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: @@ -11397,7 +11574,7 @@ static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObj static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -11422,7 +11599,7 @@ static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, Py static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -11441,7 +11618,7 @@ static PyObject *_wrap_VScrolledWindow_GetLineCount(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: @@ -11450,7 +11627,7 @@ static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, static PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -11469,7 +11646,7 @@ static PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -11478,7 +11655,7 @@ static PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *, PyObject *arg static PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -11497,7 +11674,7 @@ static PyObject *_wrap_VScrolledWindow_GetVisibleEnd(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: @@ -11506,7 +11683,7 @@ static PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *, PyObject *args, static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; size_t arg2 ; bool result; @@ -11520,7 +11697,7 @@ static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11540,7 +11717,7 @@ static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyO static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -11559,7 +11736,7 @@ static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -11568,7 +11745,7 @@ static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -11587,7 +11764,7 @@ static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject * if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -11609,7 +11786,7 @@ static int _wrap_VListBoxNameStr_set(PyObject *) { static PyObject *_wrap_VListBoxNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -11623,7 +11800,7 @@ static PyObject *_wrap_VListBoxNameStr_get(void) { static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) wxID_ANY ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -11652,7 +11829,7 @@ static PyObject *_wrap_new_VListBox(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; } } @@ -11670,7 +11847,7 @@ static PyObject *_wrap_new_VListBox(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; } } @@ -11705,7 +11882,7 @@ static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVListBox *result; char *kwnames[] = { NULL @@ -11728,7 +11905,7 @@ static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -11759,7 +11936,7 @@ static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyO static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) wxID_ANY ; @@ -11792,7 +11969,7 @@ static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwa 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; } } @@ -11810,7 +11987,7 @@ static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwa } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -11846,7 +12023,7 @@ static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -11865,7 +12042,7 @@ static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObjec if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); + resultobj = SWIG_From_unsigned_SS_long(static_cast(result)); } return resultobj; fail: @@ -11874,7 +12051,7 @@ static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -11902,7 +12079,7 @@ static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; int result; PyObject * obj0 = 0 ; @@ -11921,7 +12098,7 @@ static PyObject *_wrap_VListBox_GetSelection(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: @@ -11930,7 +12107,7 @@ static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; size_t arg2 ; bool result; @@ -11944,7 +12121,7 @@ static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11964,7 +12141,7 @@ static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; size_t arg2 ; bool result; @@ -11978,7 +12155,7 @@ static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -11998,7 +12175,7 @@ static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; size_t result; PyObject * obj0 = 0 ; @@ -12017,7 +12194,7 @@ static PyObject *_wrap_VListBox_GetSelectedCount(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: @@ -12026,7 +12203,7 @@ static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyO static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -12052,7 +12229,7 @@ static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyO static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; unsigned long arg2 ; PyObject *result; @@ -12066,7 +12243,7 @@ static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12084,7 +12261,7 @@ static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyOb static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -12104,7 +12281,7 @@ static PyObject *_wrap_VListBox_GetMargins(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; @@ -12114,7 +12291,7 @@ static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; wxColour *result; PyObject * obj0 = 0 ; @@ -12143,7 +12320,7 @@ static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *arg static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; size_t arg2 ; PyObject * obj0 = 0 ; @@ -12156,7 +12333,7 @@ static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12174,7 +12351,7 @@ static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12199,7 +12376,7 @@ static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -12212,7 +12389,7 @@ static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12230,7 +12407,7 @@ static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; size_t arg2 ; bool arg3 = (bool) true ; @@ -12246,12 +12423,12 @@ static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } if (obj2) { { - arg3 = (bool)(SWIG_As_bool(obj2)); + arg3 = static_cast(SWIG_As_bool(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -12272,7 +12449,7 @@ static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; size_t arg2 ; size_t arg3 ; @@ -12288,11 +12465,11 @@ static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2)); + arg3 = static_cast(SWIG_As_unsigned_SS_long(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { @@ -12312,7 +12489,7 @@ static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; size_t arg2 ; PyObject * obj0 = 0 ; @@ -12325,7 +12502,7 @@ static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwa SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12343,7 +12520,7 @@ static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12371,7 +12548,7 @@ static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12399,7 +12576,7 @@ static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -12431,7 +12608,7 @@ static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; int arg2 ; int arg3 ; @@ -12446,11 +12623,11 @@ static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -12468,7 +12645,7 @@ static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -12507,7 +12684,7 @@ static PyObject * VListBox_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) wxID_ANY ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -12536,7 +12713,7 @@ static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwa if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -12554,7 +12731,7 @@ static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwa } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -12589,7 +12766,7 @@ static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlListBox *result; char *kwnames[] = { NULL @@ -12612,7 +12789,7 @@ static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -12643,7 +12820,7 @@ static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) wxID_ANY ; @@ -12676,7 +12853,7 @@ static PyObject *_wrap_HtmlListBox_Create(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; } } @@ -12694,7 +12871,7 @@ static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject * } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -12730,7 +12907,7 @@ static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12755,7 +12932,7 @@ static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObje static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; size_t arg2 ; PyObject * obj0 = 0 ; @@ -12768,7 +12945,7 @@ static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); + arg2 = static_cast(SWIG_As_unsigned_SS_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -12786,7 +12963,7 @@ static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyOb static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; wxFileSystem *result; PyObject * obj0 = 0 ; @@ -12822,7 +12999,7 @@ static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTaskBarIcon *result; char *kwnames[] = { NULL @@ -12845,7 +13022,7 @@ static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -12864,7 +13041,7 @@ static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, arg2 = obj1; arg3 = obj2; { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { @@ -12882,7 +13059,7 @@ static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -12907,7 +13084,7 @@ static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12935,7 +13112,7 @@ static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -12963,7 +13140,7 @@ static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, P static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; wxIcon *arg2 = 0 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -13020,7 +13197,7 @@ static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -13048,7 +13225,7 @@ static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObje static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; wxMenu *arg2 = (wxMenu *) 0 ; bool result; @@ -13087,7 +13264,7 @@ static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 ; wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ; wxTaskBarIconEvent *result; @@ -13099,7 +13276,7 @@ static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail; { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0); @@ -13132,7 +13309,7 @@ static int _wrap_FileSelectorPromptStr_set(PyObject *) { static PyObject *_wrap_FileSelectorPromptStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13152,7 +13329,7 @@ static int _wrap_DirSelectorPromptStr_set(PyObject *) { static PyObject *_wrap_DirSelectorPromptStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13172,7 +13349,7 @@ static int _wrap_DirDialogNameStr_set(PyObject *) { static PyObject *_wrap_DirDialogNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13192,7 +13369,7 @@ static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) { static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13212,7 +13389,7 @@ static int _wrap_GetTextFromUserPromptStr_set(PyObject *) { static PyObject *_wrap_GetTextFromUserPromptStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13232,7 +13409,7 @@ static int _wrap_MessageBoxCaptionStr_set(PyObject *) { static PyObject *_wrap_MessageBoxCaptionStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -13246,7 +13423,7 @@ static PyObject *_wrap_MessageBoxCaptionStr_get(void) { static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColourData *result; char *kwnames[] = { NULL @@ -13268,7 +13445,7 @@ static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColourData *arg1 = (wxColourData *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -13293,7 +13470,7 @@ static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColourData *arg1 = (wxColourData *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -13321,7 +13498,7 @@ static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColourData *arg1 = (wxColourData *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -13341,7 +13518,7 @@ static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -13351,7 +13528,7 @@ static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColourData *arg1 = (wxColourData *) 0 ; int arg2 ; wxColour result; @@ -13365,7 +13542,7 @@ static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13377,7 +13554,7 @@ static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, Py } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -13387,7 +13564,7 @@ static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, Py static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColourData *arg1 = (wxColourData *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -13400,7 +13577,7 @@ static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13418,7 +13595,7 @@ static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyOb static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColourData *arg1 = (wxColourData *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -13450,7 +13627,7 @@ static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColourData *arg1 = (wxColourData *) 0 ; int arg2 ; wxColour *arg3 = 0 ; @@ -13466,7 +13643,7 @@ static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -13495,7 +13672,7 @@ static PyObject * ColourData_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxColourData *arg2 = (wxColourData *) NULL ; wxColourDialog *result; @@ -13528,7 +13705,7 @@ static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxColourDialog *arg1 = (wxColourDialog *) 0 ; wxColourData *result; PyObject * obj0 = 0 ; @@ -13563,8 +13740,69 @@ static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) { Py_INCREF(obj); return Py_BuildValue((char *)""); } +static PyObject *_wrap_GetColourFromUser(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ; + wxColour const &arg2_defvalue = wxNullColour ; + wxColour *arg2 = (wxColour *) &arg2_defvalue ; + wxString const &arg3_defvalue = wxPyEmptyString ; + wxString *arg3 = (wxString *) &arg3_defvalue ; + wxColour result; + wxColour temp2 ; + bool temp3 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char *kwnames[] = { + (char *) "parent",(char *) "colInit",(char *) "caption", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) goto fail; + if (obj0) { + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + } + if (obj1) { + { + arg2 = &temp2; + if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; + } + } + if (obj2) { + { + arg3 = wxString_in_helper(obj2); + if (arg3 == NULL) SWIG_fail; + temp3 = true; + } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + { + wxColour * resultptr; + resultptr = new wxColour(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); + } + { + if (temp3) + delete arg3; + } + return resultobj; + fail: + { + if (temp3) + delete arg3; + } + return NULL; +} + + static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -13613,7 +13851,7 @@ static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwarg } if (obj3) { { - arg4 = (long)(SWIG_As_long(obj3)); + arg4 = static_cast(SWIG_As_long(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -13676,7 +13914,7 @@ static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDirDialog *arg1 = (wxDirDialog *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -13708,7 +13946,7 @@ static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDirDialog *arg1 = (wxDirDialog *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -13740,7 +13978,7 @@ static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDirDialog *arg1 = (wxDirDialog *) 0 ; long result; PyObject * obj0 = 0 ; @@ -13759,7 +13997,7 @@ static PyObject *_wrap_DirDialog_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: @@ -13768,7 +14006,7 @@ static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDirDialog *arg1 = (wxDirDialog *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -13809,7 +14047,7 @@ static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxDirDialog *arg1 = (wxDirDialog *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -13857,7 +14095,7 @@ static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ; wxString *arg2 = (wxString *) &arg2_defvalue ; @@ -13920,7 +14158,7 @@ static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwar } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -13978,7 +14216,7 @@ static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileDialog *arg1 = (wxFileDialog *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -14019,7 +14257,7 @@ static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileDialog *arg1 = (wxFileDialog *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -14060,7 +14298,7 @@ static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileDialog *arg1 = (wxFileDialog *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -14101,7 +14339,7 @@ static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObj static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileDialog *arg1 = (wxFileDialog *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -14142,7 +14380,7 @@ static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObje static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileDialog *arg1 = (wxFileDialog *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -14183,7 +14421,7 @@ static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObje static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileDialog *arg1 = (wxFileDialog *) 0 ; long arg2 ; PyObject * obj0 = 0 ; @@ -14196,7 +14434,7 @@ static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, 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; } { @@ -14214,7 +14452,7 @@ static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileDialog *arg1 = (wxFileDialog *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -14227,7 +14465,7 @@ static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14245,7 +14483,7 @@ static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyO static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileDialog *arg1 = (wxFileDialog *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -14277,7 +14515,7 @@ static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileDialog *arg1 = (wxFileDialog *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -14309,7 +14547,7 @@ static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileDialog *arg1 = (wxFileDialog *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -14341,7 +14579,7 @@ static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObj static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileDialog *arg1 = (wxFileDialog *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -14373,7 +14611,7 @@ static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObje static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileDialog *arg1 = (wxFileDialog *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -14405,7 +14643,7 @@ static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObje static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileDialog *arg1 = (wxFileDialog *) 0 ; long result; PyObject * obj0 = 0 ; @@ -14424,7 +14662,7 @@ static PyObject *_wrap_FileDialog_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: @@ -14433,7 +14671,7 @@ static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileDialog *arg1 = (wxFileDialog *) 0 ; int result; PyObject * obj0 = 0 ; @@ -14452,7 +14690,7 @@ static PyObject *_wrap_FileDialog_GetFilterIndex(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: @@ -14461,7 +14699,7 @@ static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyO static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileDialog *arg1 = (wxFileDialog *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -14487,7 +14725,7 @@ static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObj static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFileDialog *arg1 = (wxFileDialog *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -14520,7 +14758,7 @@ static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -14565,7 +14803,7 @@ static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObjec } if (obj4) { { - arg6 = (long)(SWIG_As_long(obj4)); + arg6 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -14613,7 +14851,7 @@ static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; wxArrayInt *arg2 = 0 ; bool temp2 = false ; @@ -14663,7 +14901,7 @@ static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *arg static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -14696,7 +14934,7 @@ static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; wxString *arg3 = 0 ; @@ -14739,7 +14977,7 @@ static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObje } if (obj4) { { - arg6 = (long)(SWIG_As_long(obj4)); + arg6 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -14787,7 +15025,7 @@ static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObje static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; int result; PyObject * obj0 = 0 ; @@ -14806,7 +15044,7 @@ static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *arg if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -14815,7 +15053,7 @@ static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *arg static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -14847,7 +15085,7 @@ static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObjec static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -14860,7 +15098,7 @@ static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -14885,7 +15123,7 @@ static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ; @@ -14934,7 +15172,7 @@ static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -14984,7 +15222,7 @@ static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -15016,7 +15254,7 @@ static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyOb static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -15070,7 +15308,7 @@ static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) { static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -15084,7 +15322,7 @@ static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) { static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ; @@ -15133,7 +15371,7 @@ static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObj } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -15189,7 +15427,7 @@ static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontData *result; char *kwnames[] = { NULL @@ -15211,7 +15449,7 @@ static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontData *arg1 = (wxFontData *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -15236,7 +15474,7 @@ static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontData *arg1 = (wxFontData *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -15249,7 +15487,7 @@ static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, 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; } { @@ -15267,7 +15505,7 @@ static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObje static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontData *arg1 = (wxFontData *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15295,7 +15533,7 @@ static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyOb static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontData *arg1 = (wxFontData *) 0 ; wxColour result; PyObject * obj0 = 0 ; @@ -15315,7 +15553,7 @@ static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject * } { wxColour * resultptr; - resultptr = new wxColour((wxColour &)(result)); + resultptr = new wxColour(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); } return resultobj; @@ -15325,7 +15563,7 @@ static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontData *arg1 = (wxFontData *) 0 ; wxFont result; PyObject * obj0 = 0 ; @@ -15345,7 +15583,7 @@ static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObje } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } return resultobj; @@ -15355,7 +15593,7 @@ static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObje static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontData *arg1 = (wxFontData *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15383,7 +15621,7 @@ static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyO static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontData *arg1 = (wxFontData *) 0 ; wxFont result; PyObject * obj0 = 0 ; @@ -15403,7 +15641,7 @@ static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObj } { wxFont * resultptr; - resultptr = new wxFont((wxFont &)(result)); + resultptr = new wxFont(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); } return resultobj; @@ -15413,7 +15651,7 @@ static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObj static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontData *arg1 = (wxFontData *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -15441,7 +15679,7 @@ static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontData *arg1 = (wxFontData *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -15454,7 +15692,7 @@ static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, 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; } { @@ -15472,7 +15710,7 @@ static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyOb static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontData *arg1 = (wxFontData *) 0 ; wxFont *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -15507,7 +15745,7 @@ static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObje static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontData *arg1 = (wxFontData *) 0 ; wxColour *arg2 = 0 ; wxColour temp2 ; @@ -15539,7 +15777,7 @@ static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontData *arg1 = (wxFontData *) 0 ; wxFont *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -15574,7 +15812,7 @@ static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObj static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontData *arg1 = (wxFontData *) 0 ; int arg2 ; int arg3 ; @@ -15589,11 +15827,11 @@ static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *k SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -15611,7 +15849,7 @@ static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontData *arg1 = (wxFontData *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -15624,7 +15862,7 @@ static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, 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; } { @@ -15649,7 +15887,7 @@ static PyObject * FontData_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxFontData *arg2 = 0 ; wxFontDialog *result; @@ -15686,43 +15924,107 @@ static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFontDialog *arg1 = (wxFontDialog *) 0 ; wxFontData *result; PyObject * obj0 = 0 ; char *kwnames[] = { - (char *) "self", NULL + (char *) "self", NULL + }; + + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + { + wxFontData &_result_ref = (arg1)->GetFontData(); + result = (wxFontData *) &_result_ref; + } + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0); + return resultobj; + fail: + return NULL; +} + + +static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) { + PyObject *obj; + if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; + SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj); + Py_INCREF(obj); + return Py_BuildValue((char *)""); +} +static PyObject *_wrap_GetFontFromUser(PyObject *, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = NULL; + wxWindow *arg1 = (wxWindow *) NULL ; + wxFont const &arg2_defvalue = wxNullFont ; + wxFont *arg2 = (wxFont *) &arg2_defvalue ; + wxString const &arg3_defvalue = wxPyEmptyString ; + wxString *arg3 = (wxString *) &arg3_defvalue ; + wxFont result; + bool temp3 = false ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + char *kwnames[] = { + (char *) "parent",(char *) "fontInit",(char *) "caption", NULL }; - if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail; - SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(1)) SWIG_fail; - { - PyThreadState* __tstate = wxPyBeginAllowThreads(); + if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) goto fail; + if (obj0) { + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + } + if (obj1) { { - wxFontData &_result_ref = (arg1)->GetFontData(); - result = (wxFontData *) &_result_ref; + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + if (arg2 == NULL) { + SWIG_null_ref("wxFont"); + } + if (SWIG_arg_fail(2)) SWIG_fail; + } + } + if (obj2) { + { + arg3 = wxString_in_helper(obj2); + if (arg3 == NULL) SWIG_fail; + temp3 = true; } + } + { + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; } - resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0); + { + wxFont * resultptr; + resultptr = new wxFont(static_cast(result)); + resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); + } + { + if (temp3) + delete arg3; + } return resultobj; fail: + { + if (temp3) + delete arg3; + } return NULL; } -static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) { - PyObject *obj; - if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; - SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj); - Py_INCREF(obj); - return Py_BuildValue((char *)""); -} static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxString *arg2 = 0 ; wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ; @@ -15760,7 +16062,7 @@ static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *k } if (obj3) { { - arg4 = (long)(SWIG_As_long(obj3)); + arg4 = static_cast(SWIG_As_long(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -15809,7 +16111,7 @@ static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString *arg1 = 0 ; wxString *arg2 = 0 ; int arg3 = (int) 100 ; @@ -15840,7 +16142,7 @@ static PyObject *_wrap_new_ProgressDialog(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; } } @@ -15850,7 +16152,7 @@ static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject * } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -15886,7 +16188,7 @@ static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; int arg2 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -15904,7 +16206,7 @@ static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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) { @@ -15939,7 +16241,7 @@ static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -15971,7 +16273,7 @@ static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxEventType arg1 = (wxEventType) wxEVT_NULL ; int arg2 = (int) 0 ; wxFindDialogEvent *result; @@ -15984,13 +16286,13 @@ static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail; if (obj0) { { - arg1 = (wxEventType)(SWIG_As_int(obj0)); + arg1 = static_cast(SWIG_As_int(obj0)); if (SWIG_arg_fail(1)) SWIG_fail; } } if (obj1) { { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -16009,7 +16311,7 @@ static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16028,7 +16330,7 @@ static PyObject *_wrap_FindDialogEvent_GetFlags(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: @@ -16037,7 +16339,7 @@ static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyOb static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -16072,7 +16374,7 @@ static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -16107,7 +16409,7 @@ static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *ar static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; wxFindReplaceDialog *result; PyObject * obj0 = 0 ; @@ -16133,7 +16435,7 @@ static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyO static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16146,7 +16448,7 @@ static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16164,7 +16466,7 @@ static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyOb static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -16205,7 +16507,7 @@ static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -16253,7 +16555,7 @@ static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; int arg1 = (int) 0 ; wxFindReplaceData *result; PyObject * obj0 = 0 ; @@ -16264,7 +16566,7 @@ static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",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; } } @@ -16283,7 +16585,7 @@ static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -16308,7 +16610,7 @@ static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObje static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -16343,7 +16645,7 @@ static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -16378,7 +16680,7 @@ static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *ar static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; int result; PyObject * obj0 = 0 ; @@ -16397,7 +16699,7 @@ static PyObject *_wrap_FindReplaceData_GetFlags(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: @@ -16406,7 +16708,7 @@ static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyOb static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -16419,7 +16721,7 @@ static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -16437,7 +16739,7 @@ static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyOb static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -16478,7 +16780,7 @@ static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -16526,7 +16828,7 @@ static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; wxString *arg3 = 0 ; @@ -16553,7 +16855,7 @@ static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObjec } if (obj3) { { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } } @@ -16581,7 +16883,7 @@ static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFindReplaceDialog *result; char *kwnames[] = { NULL @@ -16604,7 +16906,7 @@ static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyOb static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ; @@ -16635,7 +16937,7 @@ static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyOb } if (obj4) { { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -16664,7 +16966,7 @@ static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyOb static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; wxFindReplaceData *result; PyObject * obj0 = 0 ; @@ -16690,7 +16992,7 @@ static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyO static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; PyObject * obj0 = 0 ; @@ -16726,7 +17028,7 @@ static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) (int)-1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -16759,7 +17061,7 @@ static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject * if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int const)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -16784,7 +17086,7 @@ static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject * } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -16827,7 +17129,7 @@ static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMDIParentFrame *result; char *kwnames[] = { NULL @@ -16850,7 +17152,7 @@ static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; int arg3 = (int) (int)-1 ; @@ -16887,7 +17189,7 @@ static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObjec if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int const)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -16912,7 +17214,7 @@ static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObjec } if (obj6) { { - arg7 = (long)(SWIG_As_long(obj6)); + arg7 = static_cast(SWIG_As_long(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -16956,7 +17258,7 @@ static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -16981,7 +17283,7 @@ static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, P static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -17006,7 +17308,7 @@ static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *arg static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -17031,7 +17333,7 @@ static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, P static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -17056,7 +17358,7 @@ static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObje static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; wxMDIChildFrame *result; PyObject * obj0 = 0 ; @@ -17084,7 +17386,7 @@ static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; wxMDIClientWindow *result; PyObject * obj0 = 0 ; @@ -17112,7 +17414,7 @@ static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; wxWindow *result; PyObject * obj0 = 0 ; @@ -17140,7 +17442,7 @@ static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyO static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ; PyObject * obj0 = 0 ; @@ -17154,13 +17456,13 @@ static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (wxOrientation)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->Tile((wxOrientation )arg2); + (arg1)->Tile(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -17180,7 +17482,7 @@ static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; int arg2 = (int) (int)-1 ; wxString const &arg3_defvalue = wxPyEmptyString ; @@ -17213,7 +17515,7 @@ static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *k if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int const)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -17238,7 +17540,7 @@ static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *k } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -17281,7 +17583,7 @@ static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMDIChildFrame *result; char *kwnames[] = { NULL @@ -17304,7 +17606,7 @@ static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; int arg3 = (int) (int)-1 ; @@ -17341,7 +17643,7 @@ static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject if (SWIG_arg_fail(2)) SWIG_fail; if (obj2) { { - arg3 = (int const)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } } @@ -17366,7 +17668,7 @@ static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject } if (obj6) { { - arg7 = (long)(SWIG_As_long(obj6)); + arg7 = static_cast(SWIG_As_long(obj6)); if (SWIG_arg_fail(7)) SWIG_fail; } } @@ -17410,7 +17712,7 @@ static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -17435,7 +17737,7 @@ static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObje static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; bool arg2 = (bool) true ; PyObject * obj0 = 0 ; @@ -17449,7 +17751,7 @@ static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObje if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (bool)(SWIG_As_bool(obj1)); + arg2 = static_cast(SWIG_As_bool(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -17468,7 +17770,7 @@ static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -17500,7 +17802,7 @@ static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; long arg2 = (long) 0 ; wxMDIClientWindow *result; @@ -17515,7 +17817,7 @@ static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (long)(SWIG_As_long(obj1)); + arg2 = static_cast(SWIG_As_long(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -17535,7 +17837,7 @@ static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMDIClientWindow *result; char *kwnames[] = { NULL @@ -17558,7 +17860,7 @@ static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObje static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ; wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; long arg3 = (long) 0 ; @@ -17577,7 +17879,7 @@ static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObje 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; } } @@ -17605,7 +17907,7 @@ static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) (int)-1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -17634,7 +17936,7 @@ static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int const)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -17652,7 +17954,7 @@ static PyObject *_wrap_new_PyWindow(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; } } @@ -17687,7 +17989,7 @@ static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWindow *result; char *kwnames[] = { NULL @@ -17710,7 +18012,7 @@ static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWindow *arg1 = (wxPyWindow *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -17741,7 +18043,7 @@ static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyO static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWindow *arg1 = (wxPyWindow *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -17773,7 +18075,7 @@ static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWindow *arg1 = (wxPyWindow *) 0 ; wxDC *arg2 = (wxDC *) 0 ; bool result; @@ -17805,7 +18107,7 @@ static PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *, PyObject *args, Py static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWindow *arg1 = (wxPyWindow *) 0 ; int arg2 ; int arg3 ; @@ -17824,19 +18126,19 @@ static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { @@ -17854,7 +18156,7 @@ static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, Py static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWindow *arg1 = (wxPyWindow *) 0 ; int arg2 ; int arg3 ; @@ -17875,24 +18177,24 @@ static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -17911,7 +18213,7 @@ static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObj static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWindow *arg1 = (wxPyWindow *) 0 ; int arg2 ; int arg3 ; @@ -17926,11 +18228,11 @@ static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -17948,7 +18250,7 @@ static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWindow *arg1 = (wxPyWindow *) 0 ; int arg2 ; int arg3 ; @@ -17963,11 +18265,11 @@ static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -17985,7 +18287,7 @@ static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWindow *arg1 = (wxPyWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -18022,7 +18324,7 @@ static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObj static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWindow *arg1 = (wxPyWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -18059,7 +18361,7 @@ static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWindow *arg1 = (wxPyWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -18096,7 +18398,7 @@ static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, P static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWindow *arg1 = (wxPyWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -18116,7 +18418,7 @@ static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -18126,7 +18428,7 @@ static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWindow *arg1 = (wxPyWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -18146,7 +18448,7 @@ static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, P } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -18156,7 +18458,7 @@ static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, P static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWindow *arg1 = (wxPyWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -18181,7 +18483,7 @@ static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyOb static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWindow *arg1 = (wxPyWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18209,7 +18511,7 @@ static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject * static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWindow *arg1 = (wxPyWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18237,7 +18539,7 @@ static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWindow *arg1 = (wxPyWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18265,7 +18567,7 @@ static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObje static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWindow *arg1 = (wxPyWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18293,7 +18595,7 @@ static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, Py static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWindow *arg1 = (wxPyWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18321,7 +18623,7 @@ static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObje static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWindow *arg1 = (wxPyWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -18341,7 +18643,7 @@ static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyOb } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -18351,7 +18653,7 @@ static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyOb static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWindow *arg1 = (wxPyWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -18380,7 +18682,7 @@ static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObje static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWindow *arg1 = (wxPyWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -18409,7 +18711,7 @@ static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyO static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWindow *arg1 = (wxPyWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -18437,7 +18739,7 @@ static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject * static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWindow *arg1 = (wxPyWindow *) 0 ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -18457,7 +18759,7 @@ static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject * } { wxVisualAttributes * resultptr; - resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); + resultptr = new wxVisualAttributes(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); } return resultobj; @@ -18467,7 +18769,7 @@ static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject * static PyObject *_wrap_PyWindow_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyWindow *arg1 = (wxPyWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -18499,7 +18801,7 @@ static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) (int)-1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -18528,7 +18830,7 @@ static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int const)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -18546,7 +18848,7 @@ static PyObject *_wrap_new_PyPanel(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; } } @@ -18581,7 +18883,7 @@ static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPanel *result; char *kwnames[] = { NULL @@ -18604,7 +18906,7 @@ static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPanel *arg1 = (wxPyPanel *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -18635,7 +18937,7 @@ static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyOb static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPanel *arg1 = (wxPyPanel *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -18667,7 +18969,7 @@ static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPanel *arg1 = (wxPyPanel *) 0 ; wxDC *arg2 = (wxDC *) 0 ; bool result; @@ -18699,7 +19001,7 @@ static PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *, PyObject *args, PyO static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPanel *arg1 = (wxPyPanel *) 0 ; int arg2 ; int arg3 ; @@ -18718,19 +19020,19 @@ static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { @@ -18748,7 +19050,7 @@ static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyO static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPanel *arg1 = (wxPyPanel *) 0 ; int arg2 ; int arg3 ; @@ -18769,24 +19071,24 @@ static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -18805,7 +19107,7 @@ static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPanel *arg1 = (wxPyPanel *) 0 ; int arg2 ; int arg3 ; @@ -18820,11 +19122,11 @@ static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -18842,7 +19144,7 @@ static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPanel *arg1 = (wxPyPanel *) 0 ; int arg2 ; int arg3 ; @@ -18857,11 +19159,11 @@ static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -18879,7 +19181,7 @@ static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPanel *arg1 = (wxPyPanel *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -18916,7 +19218,7 @@ static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPanel *arg1 = (wxPyPanel *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -18953,7 +19255,7 @@ static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPanel *arg1 = (wxPyPanel *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -18990,7 +19292,7 @@ static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, Py static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPanel *arg1 = (wxPyPanel *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -19010,7 +19312,7 @@ static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -19020,7 +19322,7 @@ static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPanel *arg1 = (wxPyPanel *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -19040,7 +19342,7 @@ static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, Py } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -19050,7 +19352,7 @@ static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, Py static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPanel *arg1 = (wxPyPanel *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -19075,7 +19377,7 @@ static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObj static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPanel *arg1 = (wxPyPanel *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19103,7 +19405,7 @@ static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *a static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPanel *arg1 = (wxPyPanel *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19131,7 +19433,7 @@ static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPanel *arg1 = (wxPyPanel *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19159,7 +19461,7 @@ static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPanel *arg1 = (wxPyPanel *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19187,7 +19489,7 @@ static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyO static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPanel *arg1 = (wxPyPanel *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19215,7 +19517,7 @@ static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObjec static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPanel *arg1 = (wxPyPanel *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -19235,7 +19537,7 @@ static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObj } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -19245,7 +19547,7 @@ static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObj static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPanel *arg1 = (wxPyPanel *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -19274,7 +19576,7 @@ static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPanel *arg1 = (wxPyPanel *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -19303,7 +19605,7 @@ static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyOb static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPanel *arg1 = (wxPyPanel *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19331,7 +19633,7 @@ static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *a static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPanel *arg1 = (wxPyPanel *) 0 ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -19351,7 +19653,7 @@ static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *a } { wxVisualAttributes * resultptr; - resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); + resultptr = new wxVisualAttributes(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); } return resultobj; @@ -19361,7 +19663,7 @@ static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *a static PyObject *_wrap_PyPanel_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPanel *arg1 = (wxPyPanel *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -19393,7 +19695,7 @@ static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; int arg2 = (int) (int)-1 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -19422,7 +19724,7 @@ static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject if (SWIG_arg_fail(1)) SWIG_fail; if (obj1) { { - arg2 = (int const)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } } @@ -19440,7 +19742,7 @@ static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -19475,7 +19777,7 @@ static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyScrolledWindow *result; char *kwnames[] = { NULL @@ -19498,7 +19800,7 @@ static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObj static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -19529,7 +19831,7 @@ static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *a static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -19561,7 +19863,7 @@ static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, static PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; wxDC *arg2 = (wxDC *) 0 ; bool result; @@ -19593,7 +19895,7 @@ static PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *, PyObject * static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; int arg2 ; int arg3 ; @@ -19612,19 +19914,19 @@ static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } { @@ -19642,7 +19944,7 @@ static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject * static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; int arg2 ; int arg3 ; @@ -19663,24 +19965,24 @@ static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { - arg3 = (int)(SWIG_As_int(obj2)); + arg3 = static_cast(SWIG_As_int(obj2)); if (SWIG_arg_fail(3)) SWIG_fail; } { - arg4 = (int)(SWIG_As_int(obj3)); + arg4 = static_cast(SWIG_As_int(obj3)); if (SWIG_arg_fail(4)) SWIG_fail; } { - arg5 = (int)(SWIG_As_int(obj4)); + arg5 = static_cast(SWIG_As_int(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } if (obj5) { { - arg6 = (int)(SWIG_As_int(obj5)); + arg6 = static_cast(SWIG_As_int(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -19699,7 +20001,7 @@ static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *arg static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; int arg2 ; int arg3 ; @@ -19714,11 +20016,11 @@ static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -19736,7 +20038,7 @@ static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObjec static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; int arg2 ; int arg3 ; @@ -19751,11 +20053,11 @@ static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -19773,7 +20075,7 @@ static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObje static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -19810,7 +20112,7 @@ static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *arg static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -19847,7 +20149,7 @@ static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObjec static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -19884,7 +20186,7 @@ static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -19904,7 +20206,7 @@ static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObje } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -19914,7 +20216,7 @@ static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObje static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -19934,7 +20236,7 @@ static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -19944,7 +20246,7 @@ static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -19969,7 +20271,7 @@ static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *ar static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -19997,7 +20299,7 @@ static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, Py static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20025,7 +20327,7 @@ static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20053,7 +20355,7 @@ static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20081,7 +20383,7 @@ static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject * static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20109,7 +20411,7 @@ static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject * static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -20129,7 +20431,7 @@ static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *ar } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -20139,7 +20441,7 @@ static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *ar static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -20168,7 +20470,7 @@ static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; PyObject * obj0 = 0 ; @@ -20197,7 +20499,7 @@ static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *a static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20225,7 +20527,7 @@ static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, Py static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; wxVisualAttributes result; PyObject * obj0 = 0 ; @@ -20245,7 +20547,7 @@ static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, Py } { wxVisualAttributes * resultptr; - resultptr = new wxVisualAttributes((wxVisualAttributes &)(result)); + resultptr = new wxVisualAttributes(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); } return resultobj; @@ -20255,7 +20557,7 @@ static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, Py static PyObject *_wrap_PyScrolledWindow_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -20293,7 +20595,7 @@ static int _wrap_PrintoutTitleStr_set(PyObject *) { static PyObject *_wrap_PrintoutTitleStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -20313,7 +20615,7 @@ static int _wrap_PreviewCanvasNameStr_set(PyObject *) { static PyObject *_wrap_PreviewCanvasNameStr_get(void) { - PyObject *pyobj; + PyObject *pyobj = NULL; { #if wxUSE_UNICODE @@ -20327,7 +20629,7 @@ static PyObject *_wrap_PreviewCanvasNameStr_get(void) { static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *result; if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail; @@ -20346,7 +20648,7 @@ static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = 0 ; wxPrintData *result; PyObject * obj0 = 0 ; @@ -20408,7 +20710,7 @@ static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) { static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = (wxPrintData *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -20433,7 +20735,7 @@ static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = (wxPrintData *) 0 ; int result; PyObject * obj0 = 0 ; @@ -20452,7 +20754,7 @@ static PyObject *_wrap_PrintData_GetNoCopies(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: @@ -20461,7 +20763,7 @@ static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = (wxPrintData *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20489,7 +20791,7 @@ static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = (wxPrintData *) 0 ; int result; PyObject * obj0 = 0 ; @@ -20508,7 +20810,7 @@ static PyObject *_wrap_PrintData_GetOrientation(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: @@ -20517,7 +20819,7 @@ static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyOb static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = (wxPrintData *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20545,7 +20847,7 @@ static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = (wxPrintData *) 0 ; wxString *result; PyObject * obj0 = 0 ; @@ -20580,7 +20882,7 @@ static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyOb static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = (wxPrintData *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -20608,7 +20910,7 @@ static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = (wxPrintData *) 0 ; wxDuplexMode result; PyObject * obj0 = 0 ; @@ -20634,7 +20936,7 @@ static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = (wxPrintData *) 0 ; wxPaperSize result; PyObject * obj0 = 0 ; @@ -20660,7 +20962,7 @@ static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = (wxPrintData *) 0 ; wxSize *result; PyObject * obj0 = 0 ; @@ -20689,7 +20991,7 @@ static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = (wxPrintData *) 0 ; int result; PyObject * obj0 = 0 ; @@ -20708,7 +21010,7 @@ static PyObject *_wrap_PrintData_GetQuality(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: @@ -20717,7 +21019,7 @@ static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = (wxPrintData *) 0 ; wxPrintBin result; PyObject * obj0 = 0 ; @@ -20743,7 +21045,7 @@ static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = (wxPrintData *) 0 ; wxPrintMode result; PyObject * obj0 = 0 ; @@ -20769,7 +21071,7 @@ static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObje static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = (wxPrintData *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -20782,7 +21084,7 @@ static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20800,7 +21102,7 @@ static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = (wxPrintData *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -20813,7 +21115,7 @@ static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, 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; } { @@ -20831,7 +21133,7 @@ static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = (wxPrintData *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -20844,7 +21146,7 @@ static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -20862,7 +21164,7 @@ static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyOb static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = (wxPrintData *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -20903,7 +21205,7 @@ static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyOb static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = (wxPrintData *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -20916,7 +21218,7 @@ static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, 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; } { @@ -20934,7 +21236,7 @@ static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = (wxPrintData *) 0 ; wxDuplexMode arg2 ; PyObject * obj0 = 0 ; @@ -20947,12 +21249,12 @@ static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxDuplexMode)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetDuplex((wxDuplexMode )arg2); + (arg1)->SetDuplex(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -20965,7 +21267,7 @@ static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = (wxPrintData *) 0 ; wxPaperSize arg2 ; PyObject * obj0 = 0 ; @@ -20978,12 +21280,12 @@ static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxPaperSize)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetPaperId((wxPaperSize )arg2); + (arg1)->SetPaperId(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -20996,7 +21298,7 @@ static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = (wxPrintData *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -21028,7 +21330,7 @@ static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObje static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = (wxPrintData *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -21041,7 +21343,7 @@ static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -21059,7 +21361,7 @@ static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = (wxPrintData *) 0 ; wxPrintBin arg2 ; PyObject * obj0 = 0 ; @@ -21072,12 +21374,12 @@ static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kw SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxPrintBin)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetBin((wxPrintBin )arg2); + (arg1)->SetBin(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -21090,7 +21392,7 @@ static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = (wxPrintData *) 0 ; wxPrintMode arg2 ; PyObject * obj0 = 0 ; @@ -21103,12 +21405,12 @@ static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxPrintMode)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetPrintMode((wxPrintMode )arg2); + (arg1)->SetPrintMode(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -21121,7 +21423,7 @@ static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObje static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = (wxPrintData *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -21153,7 +21455,7 @@ static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = (wxPrintData *) 0 ; wxString *arg2 = 0 ; bool temp2 = false ; @@ -21194,7 +21496,7 @@ static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_PrintData_GetPrivData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = (wxPrintData *) 0 ; PyObject *result; PyObject * obj0 = 0 ; @@ -21220,7 +21522,7 @@ static PyObject *_wrap_PrintData_GetPrivData(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_PrintData_SetPrivData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = (wxPrintData *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject * obj0 = 0 ; @@ -21255,7 +21557,7 @@ static PyObject * PrintData_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *result; if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail; @@ -21274,7 +21576,7 @@ static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *arg static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = 0 ; wxPageSetupDialogData *result; PyObject * obj0 = 0 ; @@ -21303,7 +21605,7 @@ static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *arg static PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = 0 ; wxPageSetupDialogData *result; PyObject * obj0 = 0 ; @@ -21380,7 +21682,7 @@ static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) { static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -21405,7 +21707,7 @@ static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, Py static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -21418,7 +21720,7 @@ static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, 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; } { @@ -21436,7 +21738,7 @@ static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -21449,7 +21751,7 @@ static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, 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; } { @@ -21467,7 +21769,7 @@ static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *a static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -21480,7 +21782,7 @@ static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, 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; } { @@ -21498,7 +21800,7 @@ static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObjec static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -21511,7 +21813,7 @@ static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, 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; } { @@ -21529,7 +21831,7 @@ static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *arg static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -21542,7 +21844,7 @@ static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, 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; } { @@ -21560,7 +21862,7 @@ static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *a static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21588,7 +21890,7 @@ static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyOb static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21616,7 +21918,7 @@ static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21644,7 +21946,7 @@ static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyOb static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21672,7 +21974,7 @@ static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject * static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21700,7 +22002,7 @@ static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21728,7 +22030,7 @@ static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *a static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21756,7 +22058,7 @@ static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject * static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -21776,7 +22078,7 @@ static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -21786,7 +22088,7 @@ static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -21806,7 +22108,7 @@ static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyOb } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -21816,7 +22118,7 @@ static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyOb static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -21836,7 +22138,7 @@ static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObj } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -21846,7 +22148,7 @@ static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObj static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; wxPoint result; PyObject * obj0 = 0 ; @@ -21866,7 +22168,7 @@ static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, P } { wxPoint * resultptr; - resultptr = new wxPoint((wxPoint &)(result)); + resultptr = new wxPoint(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); } return resultobj; @@ -21876,7 +22178,7 @@ static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, P static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; wxPaperSize result; PyObject * obj0 = 0 ; @@ -21902,7 +22204,7 @@ static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; wxSize result; PyObject * obj0 = 0 ; @@ -21922,7 +22224,7 @@ static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *ar } { wxSize * resultptr; - resultptr = new wxSize((wxSize &)(result)); + resultptr = new wxSize(static_cast(result)); resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); } return resultobj; @@ -21932,7 +22234,7 @@ static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *ar static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; wxPrintData *result; PyObject * obj0 = 0 ; @@ -21961,7 +22263,7 @@ static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *ar static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -21989,7 +22291,7 @@ static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObje static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -22002,7 +22304,7 @@ static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, 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; } { @@ -22020,7 +22322,7 @@ static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject * static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -22033,7 +22335,7 @@ static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyOb SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, 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; } { @@ -22051,7 +22353,7 @@ static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyOb static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -22083,7 +22385,7 @@ static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -22115,7 +22417,7 @@ static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyOb static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -22147,7 +22449,7 @@ static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObj static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; wxPoint *arg2 = 0 ; wxPoint temp2 ; @@ -22179,7 +22481,7 @@ static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, P static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; wxPaperSize arg2 ; PyObject * obj0 = 0 ; @@ -22192,12 +22494,12 @@ static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (wxPaperSize)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { PyThreadState* __tstate = wxPyBeginAllowThreads(); - (arg1)->SetPaperId((wxPaperSize )arg2); + (arg1)->SetPaperId(arg2); wxPyEndAllowThreads(__tstate); if (PyErr_Occurred()) SWIG_fail; @@ -22210,7 +22512,7 @@ static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; wxSize *arg2 = 0 ; wxSize temp2 ; @@ -22242,7 +22544,7 @@ static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *ar static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; wxPrintData *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -22277,7 +22579,7 @@ static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *ar static PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -22302,7 +22604,7 @@ static PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *, static PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -22334,7 +22636,7 @@ static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ; wxPageSetupDialog *result; @@ -22367,7 +22669,7 @@ static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; wxPageSetupDialogData *result; PyObject * obj0 = 0 ; @@ -22396,7 +22698,7 @@ static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *ar static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; wxPageSetupDialogData *result; PyObject * obj0 = 0 ; @@ -22425,7 +22727,7 @@ static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObje static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; int result; PyObject * obj0 = 0 ; @@ -22444,7 +22746,7 @@ static PyObject *_wrap_PageSetupDialog_ShowModal(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: @@ -22460,7 +22762,7 @@ static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *result; if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail; @@ -22479,7 +22781,7 @@ static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintData *arg1 = 0 ; wxPrintDialogData *result; PyObject * obj0 = 0 ; @@ -22508,7 +22810,7 @@ static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) { static PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = 0 ; wxPrintDialogData *result; PyObject * obj0 = 0 ; @@ -22585,7 +22887,7 @@ static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) { static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -22610,7 +22912,7 @@ static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObje static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; int result; PyObject * obj0 = 0 ; @@ -22629,7 +22931,7 @@ static PyObject *_wrap_PrintDialogData_GetFromPage(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: @@ -22638,7 +22940,7 @@ static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, P static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; int result; PyObject * obj0 = 0 ; @@ -22657,7 +22959,7 @@ static PyObject *_wrap_PrintDialogData_GetToPage(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: @@ -22666,7 +22968,7 @@ static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyO static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; int result; PyObject * obj0 = 0 ; @@ -22685,7 +22987,7 @@ static PyObject *_wrap_PrintDialogData_GetMinPage(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: @@ -22694,7 +22996,7 @@ static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, Py static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; int result; PyObject * obj0 = 0 ; @@ -22713,7 +23015,7 @@ static PyObject *_wrap_PrintDialogData_GetMaxPage(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: @@ -22722,7 +23024,7 @@ static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, Py static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; int result; PyObject * obj0 = 0 ; @@ -22741,7 +23043,7 @@ static PyObject *_wrap_PrintDialogData_GetNoCopies(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: @@ -22750,7 +23052,7 @@ static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, P static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -22778,7 +23080,7 @@ static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, P static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -22806,7 +23108,7 @@ static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -22834,7 +23136,7 @@ static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, Py static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -22862,7 +23164,7 @@ static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -22875,7 +23177,7 @@ static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -22893,7 +23195,7 @@ static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, P static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -22906,7 +23208,7 @@ static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -22924,7 +23226,7 @@ static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyO static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -22937,7 +23239,7 @@ static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -22955,7 +23257,7 @@ static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, Py static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -22968,7 +23270,7 @@ static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -22986,7 +23288,7 @@ static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, Py static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -22999,7 +23301,7 @@ static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -23017,7 +23319,7 @@ static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, P static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -23030,7 +23332,7 @@ static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, 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; } { @@ -23048,7 +23350,7 @@ static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, P static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -23061,7 +23363,7 @@ static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, 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; } { @@ -23079,7 +23381,7 @@ static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -23092,7 +23394,7 @@ static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, 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; } { @@ -23110,7 +23412,7 @@ static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, Py static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -23123,7 +23425,7 @@ static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, 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; } { @@ -23141,7 +23443,7 @@ static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -23154,7 +23456,7 @@ static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, 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; } { @@ -23172,7 +23474,7 @@ static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *a static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -23185,7 +23487,7 @@ static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *arg SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, 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; } { @@ -23203,7 +23505,7 @@ static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *arg static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -23216,7 +23518,7 @@ static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *a SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, 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; } { @@ -23234,7 +23536,7 @@ static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *a static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -23247,7 +23549,7 @@ static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, 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; } { @@ -23265,7 +23567,7 @@ static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, Py static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -23293,7 +23595,7 @@ static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -23321,7 +23623,7 @@ static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject * static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -23349,7 +23651,7 @@ static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -23377,7 +23679,7 @@ static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -23405,7 +23707,7 @@ static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; wxPrintData *result; PyObject * obj0 = 0 ; @@ -23434,7 +23736,7 @@ static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; wxPrintData *arg2 = 0 ; PyObject * obj0 = 0 ; @@ -23476,7 +23778,7 @@ static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxWindow *arg1 = (wxWindow *) 0 ; wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ; wxPrintDialog *result; @@ -23509,7 +23811,7 @@ static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; int result; PyObject * obj0 = 0 ; @@ -23528,7 +23830,7 @@ static PyObject *_wrap_PrintDialog_ShowModal(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: @@ -23537,7 +23839,7 @@ static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; wxPrintDialogData *result; PyObject * obj0 = 0 ; @@ -23566,7 +23868,7 @@ static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; wxPrintData *result; PyObject * obj0 = 0 ; @@ -23595,7 +23897,7 @@ static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyOb static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; wxDC *result; PyObject * obj0 = 0 ; @@ -23630,7 +23932,7 @@ static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ; wxPrinter *result; PyObject * obj0 = 0 ; @@ -23659,7 +23961,7 @@ static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrinter *arg1 = (wxPrinter *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -23684,7 +23986,7 @@ static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrinter *arg1 = (wxPrinter *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; @@ -23720,7 +24022,7 @@ static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyO static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrinter *arg1 = (wxPrinter *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; @@ -23769,7 +24071,7 @@ static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrinter *arg1 = (wxPrinter *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; bool result; @@ -23801,7 +24103,7 @@ static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrinter *arg1 = (wxPrinter *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; @@ -23824,7 +24126,7 @@ static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwarg 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; } } @@ -23845,7 +24147,7 @@ static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwarg static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrinter *arg1 = (wxPrinter *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxDC *result; @@ -23877,7 +24179,7 @@ static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrinter *arg1 = (wxPrinter *) 0 ; wxPrintDialogData *result; PyObject * obj0 = 0 ; @@ -23906,7 +24208,7 @@ static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, Py static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrinter *arg1 = (wxPrinter *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -23934,7 +24236,7 @@ static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrinterError result; char *kwnames[] = { NULL @@ -23963,7 +24265,7 @@ static PyObject * Printer_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxString const &arg1_defvalue = wxPyPrintoutTitleStr ; wxString *arg1 = (wxString *) &arg1_defvalue ; wxPyPrintout *result; @@ -24007,7 +24309,7 @@ static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -24038,7 +24340,7 @@ static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyO static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; wxString result; PyObject * obj0 = 0 ; @@ -24070,7 +24372,7 @@ static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *k static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; wxDC *result; PyObject * obj0 = 0 ; @@ -24098,7 +24400,7 @@ static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; wxDC *arg2 = (wxDC *) 0 ; PyObject * obj0 = 0 ; @@ -24127,7 +24429,7 @@ static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwar static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; int arg2 ; int arg3 ; @@ -24142,11 +24444,11 @@ static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, Py SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -24164,7 +24466,7 @@ static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, Py static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -24201,7 +24503,7 @@ static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, Py static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; int arg2 ; int arg3 ; @@ -24216,11 +24518,11 @@ static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -24238,7 +24540,7 @@ static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -24275,7 +24577,7 @@ static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; int arg2 ; int arg3 ; @@ -24290,11 +24592,11 @@ static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -24312,7 +24614,7 @@ static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -24349,7 +24651,7 @@ static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; int arg2 ; int arg3 ; @@ -24364,11 +24666,11 @@ static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObje SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -24386,7 +24688,7 @@ static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -24423,7 +24725,7 @@ static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObje static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -24451,7 +24753,7 @@ static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -24464,7 +24766,7 @@ static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, 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; } { @@ -24482,7 +24784,7 @@ static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; int arg2 ; int arg3 ; @@ -24498,11 +24800,11 @@ static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_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; } { @@ -24522,7 +24824,7 @@ static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24547,7 +24849,7 @@ static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, P static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24572,7 +24874,7 @@ static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24597,7 +24899,7 @@ static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, P static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24622,7 +24924,7 @@ static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *arg static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; int arg2 ; bool result; @@ -24636,7 +24938,7 @@ static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -24656,7 +24958,7 @@ static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -24712,7 +25014,7 @@ static PyObject * Printout_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; wxWindow *arg2 = (wxWindow *) 0 ; wxPoint const &arg3_defvalue = wxDefaultPosition ; @@ -24755,7 +25057,7 @@ static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *k } if (obj4) { { - arg5 = (long)(SWIG_As_long(obj4)); + arg5 = static_cast(SWIG_As_long(obj4)); if (SWIG_arg_fail(5)) SWIG_fail; } } @@ -24797,7 +25099,7 @@ static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; wxFrame *arg2 = (wxFrame *) 0 ; wxString *arg3 = 0 ; @@ -24848,7 +25150,7 @@ static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kw } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -24891,7 +25193,7 @@ static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kw static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24916,7 +25218,7 @@ static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObj static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24941,7 +25243,7 @@ static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -24966,7 +25268,7 @@ static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyO static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; wxPreviewControlBar *result; PyObject * obj0 = 0 ; @@ -24999,7 +25301,7 @@ static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; long arg2 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -25029,7 +25331,7 @@ static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObjec SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, 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; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -25048,7 +25350,7 @@ static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObjec } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -25083,7 +25385,7 @@ static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; int result; PyObject * obj0 = 0 ; @@ -25102,7 +25404,7 @@ static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *ar if (PyErr_Occurred()) SWIG_fail; } { - resultobj = SWIG_From_int((int)(result)); + resultobj = SWIG_From_int(static_cast(result)); } return resultobj; fail: @@ -25111,7 +25413,7 @@ static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *ar static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -25124,7 +25426,7 @@ static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *ar SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -25142,7 +25444,7 @@ static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *ar static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; wxPrintPreview *result; PyObject * obj0 = 0 ; @@ -25168,7 +25470,7 @@ static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *a static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -25193,7 +25495,7 @@ static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyOb static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -25218,7 +25520,7 @@ static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -25243,7 +25545,7 @@ static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyO static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -25268,7 +25570,7 @@ static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyOb static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -25300,24 +25602,22 @@ static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; - wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; + wxPrintDialogData *arg3 = (wxPrintDialogData *) 0 ; wxPrintPreview *result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; - if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(2)) SWIG_fail; - if (obj2) { - SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(3)) SWIG_fail; - } + SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(3)) SWIG_fail; { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -25334,7 +25634,35 @@ static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; + wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; + wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; + wxPrintPreview *result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + + if(!PyArg_ParseTuple(args,(char *)"OO:new_PrintPreview",&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_new_PrintPreview__SWIG_2(PyObject *, PyObject *args) { + PyObject *resultobj = NULL; wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; wxPrintData *arg3 = (wxPrintData *) 0 ; @@ -25374,7 +25702,7 @@ static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) { for (ii = 0; (ii < argc) && (ii < 3); ii++) { argv[ii] = PyTuple_GetItem(args,ii); } - if ((argc >= 2) && (argc <= 3)) { + if (argc == 2) { int _v; { void *ptr; @@ -25396,9 +25724,32 @@ static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) { } } if (_v) { - if (argc <= 2) { - return _wrap_new_PrintPreview__SWIG_0(self,args); + return _wrap_new_PrintPreview__SWIG_1(self,args); + } + } + } + if (argc == 3) { + int _v; + { + void *ptr; + if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { + _v = 0; + PyErr_Clear(); + } else { + _v = 1; + } + } + if (_v) { + { + void *ptr; + if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { + _v = 0; + PyErr_Clear(); + } else { + _v = 1; } + } + if (_v) { { void *ptr; if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { @@ -25446,7 +25797,7 @@ static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) { } } if (_v) { - return _wrap_new_PrintPreview__SWIG_1(self,args); + return _wrap_new_PrintPreview__SWIG_2(self,args); } } } @@ -25458,7 +25809,7 @@ static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) { static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; int arg2 ; bool result; @@ -25472,7 +25823,7 @@ static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -25492,7 +25843,7 @@ static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, P static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; int result; PyObject * obj0 = 0 ; @@ -25511,7 +25862,7 @@ static PyObject *_wrap_PrintPreview_GetCurrentPage(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: @@ -25520,7 +25871,7 @@ static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, P static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; PyObject * obj0 = 0 ; @@ -25549,7 +25900,7 @@ static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyOb static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; wxPyPrintout *result; PyObject * obj0 = 0 ; @@ -25577,7 +25928,7 @@ static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyOb static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; wxPyPrintout *result; PyObject * obj0 = 0 ; @@ -25605,7 +25956,7 @@ static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; wxFrame *arg2 = (wxFrame *) 0 ; PyObject * obj0 = 0 ; @@ -25634,7 +25985,7 @@ static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; PyObject * obj0 = 0 ; @@ -25663,7 +26014,7 @@ static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObje static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; wxFrame *result; PyObject * obj0 = 0 ; @@ -25691,7 +26042,7 @@ static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObjec static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; wxPreviewCanvas *result; PyObject * obj0 = 0 ; @@ -25717,7 +26068,7 @@ static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObje static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; wxDC *arg3 = 0 ; @@ -25759,7 +26110,7 @@ static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObje static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; wxDC *arg3 = 0 ; @@ -25801,7 +26152,7 @@ static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, Py static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; int arg2 ; bool result; @@ -25815,7 +26166,7 @@ static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -25835,7 +26186,7 @@ static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObj static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; PyObject * obj0 = 0 ; @@ -25864,7 +26215,7 @@ static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; wxPrintDialogData *result; PyObject * obj0 = 0 ; @@ -25893,7 +26244,7 @@ static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *arg static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -25906,7 +26257,7 @@ static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -25924,7 +26275,7 @@ static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; int result; PyObject * obj0 = 0 ; @@ -25943,7 +26294,7 @@ static PyObject *_wrap_PrintPreview_GetZoom(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: @@ -25952,7 +26303,7 @@ static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; int result; PyObject * obj0 = 0 ; @@ -25971,7 +26322,7 @@ static PyObject *_wrap_PrintPreview_GetMaxPage(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: @@ -25980,7 +26331,7 @@ static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObj static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; int result; PyObject * obj0 = 0 ; @@ -25999,7 +26350,7 @@ static PyObject *_wrap_PrintPreview_GetMinPage(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: @@ -26008,7 +26359,7 @@ static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObj static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; bool result; PyObject * obj0 = 0 ; @@ -26036,7 +26387,7 @@ static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwa static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; bool arg2 ; PyObject * obj0 = 0 ; @@ -26049,7 +26400,7 @@ static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, 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; } { @@ -26067,7 +26418,7 @@ static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; bool arg2 ; bool result; @@ -26081,7 +26432,7 @@ static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, 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; } { @@ -26101,7 +26452,7 @@ static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -26133,24 +26484,22 @@ static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; - wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; + wxPrintDialogData *arg3 = (wxPrintDialogData *) 0 ; wxPyPrintPreview *result; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; - if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; + if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(2)) SWIG_fail; - if (obj2) { - SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); - if (SWIG_arg_fail(3)) SWIG_fail; - } + SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(3)) SWIG_fail; { if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); @@ -26167,7 +26516,35 @@ static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) { static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) { - PyObject *resultobj; + PyObject *resultobj = NULL; + wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; + wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; + wxPyPrintPreview *result; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + + if(!PyArg_ParseTuple(args,(char *)"OO:new_PyPrintPreview",&obj0,&obj1)) goto fail; + SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(1)) SWIG_fail; + SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0); + if (SWIG_arg_fail(2)) SWIG_fail; + { + if (!wxPyCheckForApp()) SWIG_fail; + PyThreadState* __tstate = wxPyBeginAllowThreads(); + result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2); + + wxPyEndAllowThreads(__tstate); + if (PyErr_Occurred()) SWIG_fail; + } + resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); + return resultobj; + fail: + return NULL; +} + + +static PyObject *_wrap_new_PyPrintPreview__SWIG_2(PyObject *, PyObject *args) { + PyObject *resultobj = NULL; wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; wxPrintData *arg3 = (wxPrintData *) 0 ; @@ -26207,7 +26584,7 @@ static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) { for (ii = 0; (ii < argc) && (ii < 3); ii++) { argv[ii] = PyTuple_GetItem(args,ii); } - if ((argc >= 2) && (argc <= 3)) { + if (argc == 2) { int _v; { void *ptr; @@ -26229,9 +26606,32 @@ static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) { } } if (_v) { - if (argc <= 2) { - return _wrap_new_PyPrintPreview__SWIG_0(self,args); + return _wrap_new_PyPrintPreview__SWIG_1(self,args); + } + } + } + if (argc == 3) { + int _v; + { + void *ptr; + if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { + _v = 0; + PyErr_Clear(); + } else { + _v = 1; + } + } + if (_v) { + { + void *ptr; + if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { + _v = 0; + PyErr_Clear(); + } else { + _v = 1; } + } + if (_v) { { void *ptr; if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { @@ -26279,7 +26679,7 @@ static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) { } } if (_v) { - return _wrap_new_PyPrintPreview__SWIG_1(self,args); + return _wrap_new_PyPrintPreview__SWIG_2(self,args); } } } @@ -26291,7 +26691,7 @@ static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) { static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -26322,7 +26722,7 @@ static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *arg static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; int arg2 ; bool result; @@ -26336,7 +26736,7 @@ static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject * SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -26356,7 +26756,7 @@ static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject * static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; wxDC *arg3 = 0 ; @@ -26398,7 +26798,7 @@ static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; wxDC *arg3 = 0 ; @@ -26440,7 +26840,7 @@ static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *a static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; int arg2 ; bool result; @@ -26454,7 +26854,7 @@ static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -26474,7 +26874,7 @@ static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -26487,7 +26887,7 @@ static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, P SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -26505,7 +26905,7 @@ static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, P static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; bool arg2 ; bool result; @@ -26519,7 +26919,7 @@ static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyO SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, 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; } { @@ -26539,7 +26939,7 @@ static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyO static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -26571,7 +26971,7 @@ static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; wxFrame *arg2 = (wxFrame *) 0 ; wxString *arg3 = 0 ; @@ -26622,7 +27022,7 @@ static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject * } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -26665,7 +27065,7 @@ static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject * static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -26696,7 +27096,7 @@ static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *arg static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; PyObject * obj0 = 0 ; @@ -26725,7 +27125,7 @@ static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *arg static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ; PyObject * obj0 = 0 ; @@ -26754,7 +27154,7 @@ static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -26779,7 +27179,7 @@ static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -26804,7 +27204,7 @@ static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *ar static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -26836,7 +27236,7 @@ static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) { return Py_BuildValue((char *)""); } static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; long arg2 ; wxWindow *arg3 = (wxWindow *) 0 ; @@ -26866,7 +27266,7 @@ static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, 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; } SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); @@ -26885,7 +27285,7 @@ static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObj } if (obj5) { { - arg6 = (long)(SWIG_As_long(obj5)); + arg6 = static_cast(SWIG_As_long(obj5)); if (SWIG_arg_fail(6)) SWIG_fail; } } @@ -26920,7 +27320,7 @@ static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObj static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; PyObject *arg2 = (PyObject *) 0 ; PyObject *arg3 = (PyObject *) 0 ; @@ -26951,7 +27351,7 @@ static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; wxPrintPreview *arg2 = (wxPrintPreview *) 0 ; PyObject * obj0 = 0 ; @@ -26980,7 +27380,7 @@ static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; PyObject * obj0 = 0 ; char *kwnames[] = { @@ -27005,7 +27405,7 @@ static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObje static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { - PyObject *resultobj; + PyObject *resultobj = NULL; wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; int arg2 ; PyObject * obj0 = 0 ; @@ -27018,7 +27418,7 @@ static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObj SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0); if (SWIG_arg_fail(1)) SWIG_fail; { - arg2 = (int)(SWIG_As_int(obj1)); + arg2 = static_cast(SWIG_As_int(obj1)); if (SWIG_arg_fail(2)) SWIG_fail; } { @@ -27349,6 +27749,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL}, + { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -27408,6 +27809,7 @@ static PyMethodDef SwigMethods[] = { { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL}, + { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL}, { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL}, { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL}, @@ -28778,203 +29180,664 @@ static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) { return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); } -static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0, 0, 0, 0},{"_p_wxPreviewFrame", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0, 0, 0, 0},{"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0, 0, 0, 0},{"_p_wxPyPanel", 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_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0, 0, 0, 0},{"_p_wxFontData", 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_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_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_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_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_wxSashEvent", _p_wxSashEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_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},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0, 0, 0, 0},{"_p_wxTaskBarIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyTaskBarIcon[] = {{"_p_wxPyTaskBarIcon", 0, "wxPyTaskBarIcon *", 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0, 0, 0, 0},{"_p_wxIconBundle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0, 0, 0, 0},{"_p_wxFindDialogEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0, 0, 0, 0},{"_p_wxPreviewCanvas", 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_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0, 0, 0, 0},{"_p_wxSplitterEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__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_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0, 0, 0, 0},{"_p_wxFindReplaceData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0, 0, 0, 0},{"_p_wxColourData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0, 0, 0, 0},{"_p_wxPyWindow", 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_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0, 0, 0, 0},{"_p_wxSplashScreen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPasswordEntryDialog[] = {{"_p_wxPasswordEntryDialog", 0, "wxPasswordEntryDialog *", 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0, 0, 0, 0},{"_p_wxFileDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0, 0, 0, 0},{"_p_wxTextEntryDialog", 0, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTextEntryDialog, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0, 0, 0, 0},{"_p_wxMessageDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0, 0, 0, 0},{"_p_wxProgressDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0, 0, 0, 0},{"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0, 0, 0, 0},{"_p_wxPrinter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0, 0, 0, 0},{"_p_wxArrayInt", 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_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_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_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_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_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0, 0, 0, 0},{"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0, 0, 0, 0},{"_p_wxPyVListBox", 0, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 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_wxStdDialogButtonSizer[] = {{"_p_wxStdDialogButtonSizer", 0, "wxStdDialogButtonSizer *", 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0, 0, 0, 0},{"_p_wxMiniFrame", 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_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0, 0, 0, 0},{"_p_wxPyPrintout", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0, 0, 0, 0},{"_p_wxScrollWinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPaperSize[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0, 0, 0, 0},{"_p_wxStatusBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0, 0, 0, 0},{"_p_wxMDIParentFrame", 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_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_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_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_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_wxPreviewCanvas", _p_wxPreviewCanvasTo_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_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_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_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_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_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_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_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_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_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_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_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_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_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_wxPyApp", _p_wxPyAppTo_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_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0, 0, 0, 0},{"_p_wxTipWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0, 0, 0, 0},{"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0, 0, 0, 0},{"_p_wxSplitterWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0, 0, 0, 0},{"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyVScrolledWindow[] = {{"_p_wxPyVScrolledWindow", 0, "wxPyVScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPyVScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0, 0, 0, 0},{"_p_wxSashWindow", 0, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 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_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0, 0, 0, 0},{"_p_wxMenuBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0, 0, 0, 0},{"_p_wxMDIClientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyScrolledWindow[] = {{"_p_wxPyScrolledWindow", 0, "wxPyScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0, 0, 0, 0},{"_p_wxPrintPreview", 0, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", 0, 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_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0, 0, 0, 0},{"_p_wxPyPrintPreview", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0, 0, 0, 0},{"_p_wxDirDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0, 0, 0, 0},{"_p_wxColourDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 0, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0, 0, 0, 0},{"_p_wxFontDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0, 0, 0, 0},{"_p_wxPageSetupDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0, 0, 0, 0},{"_p_wxPrintDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__unsigned_int[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_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_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0, 0, 0, 0},{"_p_wxPreviewControlBar", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", 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_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0, 0, 0, 0},{"_p_wxToolBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0, 0, 0, 0},{"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; -static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0, 0, 0, 0},{"_p_wxPrintDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; - -static swig_type_info *swig_types_initial[] = { -_swigt__p_wxQueryLayoutInfoEvent, -_swigt__p_wxPreviewFrame, -_swigt__p_wxPyPreviewFrame, -_swigt__p_wxPyPanel, -_swigt__p_wxMenu, -_swigt__p_wxFontData, -_swigt__p_wxEvent, -_swigt__p_wxPrintData, -_swigt__p_wxTaskBarIcon, -_swigt__p_wxPyTaskBarIcon, -_swigt__p_wxIconBundle, -_swigt__p_wxLayoutAlgorithm, -_swigt__p_wxFindDialogEvent, -_swigt__p_wxPreviewCanvas, -_swigt__p_wxFont, -_swigt__p_wxSplitterEvent, -_swigt__p_wxRegion, -_swigt__ptrdiff_t, -_swigt__std__ptrdiff_t, -_swigt__p_wxFindReplaceData, -_swigt__p_int, -_swigt__p_wxSize, -_swigt__p_wxDC, -_swigt__p_wxIcon, -_swigt__p_wxVisualAttributes, -_swigt__p_wxMDIChildFrame, -_swigt__p_wxColourData, -_swigt__p_wxNotifyEvent, -_swigt__p_wxPyWindow, -_swigt__p_form_ops_t, -_swigt__p_wxSplashScreen, -_swigt__p_wxPasswordEntryDialog, -_swigt__p_wxSingleChoiceDialog, -_swigt__p_wxMultiChoiceDialog, -_swigt__p_wxFileDialog, -_swigt__p_wxTextEntryDialog, -_swigt__p_wxMessageDialog, -_swigt__p_wxProgressDialog, -_swigt__p_wxFindReplaceDialog, -_swigt__p_wxPrinter, -_swigt__p_wxArrayInt, -_swigt__p_wxDuplexMode, -_swigt__p_wxEvtHandler, -_swigt__p_wxCalculateLayoutEvent, -_swigt__p_wxPyHtmlListBox, -_swigt__p_wxPyVListBox, -_swigt__p_wxRect, -_swigt__p_wxStdDialogButtonSizer, -_swigt__p_char, -_swigt__p_wxMiniFrame, -_swigt__p_wxFrame, -_swigt__p_wxPyPrintout, -_swigt__p_wxTaskBarIconEvent, -_swigt__p_wxScrollWinEvent, -_swigt__p_wxPaperSize, -_swigt__p_wxStatusBar, -_swigt__p_wxMDIParentFrame, -_swigt__p_wxPoint, -_swigt__p_wxObject, -_swigt__p_unsigned_long, -_swigt__p_wxTipWindow, -_swigt__p_wxPyPopupTransientWindow, -_swigt__p_wxSashLayoutWindow, -_swigt__p_wxSplitterWindow, -_swigt__p_wxSplashScreenWindow, -_swigt__p_wxPyVScrolledWindow, -_swigt__p_wxPopupWindow, -_swigt__p_wxSashWindow, -_swigt__p_wxTopLevelWindow, -_swigt__p_wxWindow, -_swigt__p_wxScrolledWindow, -_swigt__p_wxMenuBar, -_swigt__p_wxMDIClientWindow, -_swigt__p_wxPyScrolledWindow, -_swigt__p_wxPrintPreview, -_swigt__p_wxSashEvent, -_swigt__p_wxString, -_swigt__p_wxPyPrintPreview, -_swigt__p_wxDirDialog, -_swigt__p_wxColourDialog, -_swigt__p_wxDialog, -_swigt__p_wxPanel, -_swigt__p_wxFontDialog, -_swigt__p_wxPageSetupDialog, -_swigt__p_wxPrintDialog, -_swigt__p_wxFileSystem, -_swigt__p_wxBitmap, -_swigt__unsigned_int, -_swigt__p_unsigned_int, -_swigt__p_unsigned_char, -_swigt__p_wxCommandEvent, -_swigt__p_wxPreviewControlBar, -_swigt__p_wxPyPreviewControlBar, -_swigt__p_wxColour, -_swigt__p_wxToolBar, -_swigt__p_wxPageSetupDialogData, -_swigt__p_wxPrintDialogData, -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 *|wxUIntPtr *", 0, 0, 0}; +static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0}; +static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, 0}; +static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, 0}; +static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, 0}; +static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 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_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_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 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_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_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_wxShowEvent = {"_p_wxShowEvent", 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_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 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_wxControl = {"_p_wxControl", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, 0}; +static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 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_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, 0}; +static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, 0}; +static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, 0}; +static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0}; +static swig_type_info _swigt__p_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_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0}; +static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 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_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_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_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, 0}; +static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0}; +static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, 0}; +static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, 0}; +static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, 0}; +static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0}; +static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0}; +static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0}; +static swig_type_info _swigt__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_wxANIHandler, + &_swigt__p_wxAcceleratorTable, + &_swigt__p_wxActivateEvent, + &_swigt__p_wxArrayInt, + &_swigt__p_wxBMPHandler, + &_swigt__p_wxBitmap, + &_swigt__p_wxBoxSizer, + &_swigt__p_wxCURHandler, + &_swigt__p_wxCalculateLayoutEvent, + &_swigt__p_wxChildFocusEvent, + &_swigt__p_wxCloseEvent, + &_swigt__p_wxColour, + &_swigt__p_wxColourData, + &_swigt__p_wxColourDialog, + &_swigt__p_wxCommandEvent, + &_swigt__p_wxContextMenuEvent, + &_swigt__p_wxControl, + &_swigt__p_wxControlWithItems, + &_swigt__p_wxDC, + &_swigt__p_wxDateEvent, + &_swigt__p_wxDialog, + &_swigt__p_wxDirDialog, + &_swigt__p_wxDisplayChangedEvent, + &_swigt__p_wxDropFilesEvent, + &_swigt__p_wxDuplexMode, + &_swigt__p_wxEraseEvent, + &_swigt__p_wxEvent, + &_swigt__p_wxEvtHandler, + &_swigt__p_wxFSFile, + &_swigt__p_wxFileDialog, + &_swigt__p_wxFileSystem, + &_swigt__p_wxFindDialogEvent, + &_swigt__p_wxFindReplaceData, + &_swigt__p_wxFindReplaceDialog, + &_swigt__p_wxFlexGridSizer, + &_swigt__p_wxFocusEvent, + &_swigt__p_wxFont, + &_swigt__p_wxFontData, + &_swigt__p_wxFontDialog, + &_swigt__p_wxFrame, + &_swigt__p_wxGBSizerItem, + &_swigt__p_wxGIFHandler, + &_swigt__p_wxGridBagSizer, + &_swigt__p_wxGridSizer, + &_swigt__p_wxICOHandler, + &_swigt__p_wxIcon, + &_swigt__p_wxIconBundle, + &_swigt__p_wxIconizeEvent, + &_swigt__p_wxIdleEvent, + &_swigt__p_wxImage, + &_swigt__p_wxImageHandler, + &_swigt__p_wxIndividualLayoutConstraint, + &_swigt__p_wxInitDialogEvent, + &_swigt__p_wxJPEGHandler, + &_swigt__p_wxKeyEvent, + &_swigt__p_wxLayoutAlgorithm, + &_swigt__p_wxLayoutConstraints, + &_swigt__p_wxMDIChildFrame, + &_swigt__p_wxMDIClientWindow, + &_swigt__p_wxMDIParentFrame, + &_swigt__p_wxMaximizeEvent, + &_swigt__p_wxMenu, + &_swigt__p_wxMenuBar, + &_swigt__p_wxMenuEvent, + &_swigt__p_wxMenuItem, + &_swigt__p_wxMessageDialog, + &_swigt__p_wxMiniFrame, + &_swigt__p_wxMouseCaptureChangedEvent, + &_swigt__p_wxMouseEvent, + &_swigt__p_wxMoveEvent, + &_swigt__p_wxMultiChoiceDialog, + &_swigt__p_wxNavigationKeyEvent, + &_swigt__p_wxNcPaintEvent, + &_swigt__p_wxNotifyEvent, + &_swigt__p_wxObject, + &_swigt__p_wxPCXHandler, + &_swigt__p_wxPNGHandler, + &_swigt__p_wxPNMHandler, + &_swigt__p_wxPageSetupDialog, + &_swigt__p_wxPageSetupDialogData, + &_swigt__p_wxPaintEvent, + &_swigt__p_wxPaletteChangedEvent, + &_swigt__p_wxPanel, + &_swigt__p_wxPaperSize, + &_swigt__p_wxPasswordEntryDialog, + &_swigt__p_wxPoint, + &_swigt__p_wxPopupWindow, + &_swigt__p_wxPreviewCanvas, + &_swigt__p_wxPreviewControlBar, + &_swigt__p_wxPreviewFrame, + &_swigt__p_wxPrintData, + &_swigt__p_wxPrintDialog, + &_swigt__p_wxPrintDialogData, + &_swigt__p_wxPrintPreview, + &_swigt__p_wxPrinter, + &_swigt__p_wxProgressDialog, + &_swigt__p_wxPyApp, + &_swigt__p_wxPyCommandEvent, + &_swigt__p_wxPyEvent, + &_swigt__p_wxPyHtmlListBox, + &_swigt__p_wxPyImageHandler, + &_swigt__p_wxPyPanel, + &_swigt__p_wxPyPopupTransientWindow, + &_swigt__p_wxPyPreviewControlBar, + &_swigt__p_wxPyPreviewFrame, + &_swigt__p_wxPyPrintPreview, + &_swigt__p_wxPyPrintout, + &_swigt__p_wxPyScrolledWindow, + &_swigt__p_wxPySizer, + &_swigt__p_wxPyTaskBarIcon, + &_swigt__p_wxPyVListBox, + &_swigt__p_wxPyVScrolledWindow, + &_swigt__p_wxPyValidator, + &_swigt__p_wxPyWindow, + &_swigt__p_wxQueryLayoutInfoEvent, + &_swigt__p_wxQueryNewPaletteEvent, + &_swigt__p_wxRect, + &_swigt__p_wxRegion, + &_swigt__p_wxSashEvent, + &_swigt__p_wxSashLayoutWindow, + &_swigt__p_wxSashWindow, + &_swigt__p_wxScrollEvent, + &_swigt__p_wxScrollWinEvent, + &_swigt__p_wxScrolledWindow, + &_swigt__p_wxSetCursorEvent, + &_swigt__p_wxShowEvent, + &_swigt__p_wxSingleChoiceDialog, + &_swigt__p_wxSize, + &_swigt__p_wxSizeEvent, + &_swigt__p_wxSizer, + &_swigt__p_wxSizerItem, + &_swigt__p_wxSplashScreen, + &_swigt__p_wxSplashScreenWindow, + &_swigt__p_wxSplitterEvent, + &_swigt__p_wxSplitterWindow, + &_swigt__p_wxStaticBoxSizer, + &_swigt__p_wxStatusBar, + &_swigt__p_wxStdDialogButtonSizer, + &_swigt__p_wxString, + &_swigt__p_wxSysColourChangedEvent, + &_swigt__p_wxTIFFHandler, + &_swigt__p_wxTaskBarIcon, + &_swigt__p_wxTaskBarIconEvent, + &_swigt__p_wxTextEntryDialog, + &_swigt__p_wxTipWindow, + &_swigt__p_wxToolBar, + &_swigt__p_wxTopLevelWindow, + &_swigt__p_wxUpdateUIEvent, + &_swigt__p_wxValidator, + &_swigt__p_wxVisualAttributes, + &_swigt__p_wxWindow, + &_swigt__p_wxWindowCreateEvent, + &_swigt__p_wxWindowDestroyEvent, + &_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_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 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_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 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_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 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_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 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_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 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_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 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_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 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_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 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_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_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 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_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_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_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_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 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_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_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_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_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_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_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_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}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 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_wxControl[] = {{&_swigt__p_wxControl, 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_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_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_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 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_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 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_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 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_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, 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_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 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_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 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_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_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_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_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_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_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_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_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_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_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_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_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_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_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_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_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_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_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 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_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 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_wxPopupWindow[] = { {&_swigt__p_wxPopupWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPreviewControlBar[] = { {&_swigt__p_wxPreviewControlBar, 0, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPreviewFrame[] = { {&_swigt__p_wxPreviewFrame, 0, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxPreviewFrame, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPrintPreview[] = { {&_swigt__p_wxPrintPreview, 0, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxPrintPreview, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyVListBox[] = { {&_swigt__p_wxPyVListBox, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = { {&_swigt__p_wxPyVScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPyVScrolledWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSashWindow[] = { {&_swigt__p_wxSashWindow, 0, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxSashWindow, 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_wxScrolledWindow[] = { {&_swigt__p_wxScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 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_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 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_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTextEntryDialog[] = { {&_swigt__p_wxTextEntryDialog, 0, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTextEntryDialog, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 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_wxANIHandler, + _swigc__p_wxAcceleratorTable, + _swigc__p_wxActivateEvent, + _swigc__p_wxArrayInt, + _swigc__p_wxBMPHandler, + _swigc__p_wxBitmap, + _swigc__p_wxBoxSizer, + _swigc__p_wxCURHandler, + _swigc__p_wxCalculateLayoutEvent, + _swigc__p_wxChildFocusEvent, + _swigc__p_wxCloseEvent, + _swigc__p_wxColour, + _swigc__p_wxColourData, + _swigc__p_wxColourDialog, + _swigc__p_wxCommandEvent, + _swigc__p_wxContextMenuEvent, + _swigc__p_wxControl, + _swigc__p_wxControlWithItems, + _swigc__p_wxDC, + _swigc__p_wxDateEvent, + _swigc__p_wxDialog, + _swigc__p_wxDirDialog, + _swigc__p_wxDisplayChangedEvent, + _swigc__p_wxDropFilesEvent, + _swigc__p_wxDuplexMode, + _swigc__p_wxEraseEvent, + _swigc__p_wxEvent, + _swigc__p_wxEvtHandler, + _swigc__p_wxFSFile, + _swigc__p_wxFileDialog, + _swigc__p_wxFileSystem, + _swigc__p_wxFindDialogEvent, + _swigc__p_wxFindReplaceData, + _swigc__p_wxFindReplaceDialog, + _swigc__p_wxFlexGridSizer, + _swigc__p_wxFocusEvent, + _swigc__p_wxFont, + _swigc__p_wxFontData, + _swigc__p_wxFontDialog, + _swigc__p_wxFrame, + _swigc__p_wxGBSizerItem, + _swigc__p_wxGIFHandler, + _swigc__p_wxGridBagSizer, + _swigc__p_wxGridSizer, + _swigc__p_wxICOHandler, + _swigc__p_wxIcon, + _swigc__p_wxIconBundle, + _swigc__p_wxIconizeEvent, + _swigc__p_wxIdleEvent, + _swigc__p_wxImage, + _swigc__p_wxImageHandler, + _swigc__p_wxIndividualLayoutConstraint, + _swigc__p_wxInitDialogEvent, + _swigc__p_wxJPEGHandler, + _swigc__p_wxKeyEvent, + _swigc__p_wxLayoutAlgorithm, + _swigc__p_wxLayoutConstraints, + _swigc__p_wxMDIChildFrame, + _swigc__p_wxMDIClientWindow, + _swigc__p_wxMDIParentFrame, + _swigc__p_wxMaximizeEvent, + _swigc__p_wxMenu, + _swigc__p_wxMenuBar, + _swigc__p_wxMenuEvent, + _swigc__p_wxMenuItem, + _swigc__p_wxMessageDialog, + _swigc__p_wxMiniFrame, + _swigc__p_wxMouseCaptureChangedEvent, + _swigc__p_wxMouseEvent, + _swigc__p_wxMoveEvent, + _swigc__p_wxMultiChoiceDialog, + _swigc__p_wxNavigationKeyEvent, + _swigc__p_wxNcPaintEvent, + _swigc__p_wxNotifyEvent, + _swigc__p_wxObject, + _swigc__p_wxPCXHandler, + _swigc__p_wxPNGHandler, + _swigc__p_wxPNMHandler, + _swigc__p_wxPageSetupDialog, + _swigc__p_wxPageSetupDialogData, + _swigc__p_wxPaintEvent, + _swigc__p_wxPaletteChangedEvent, + _swigc__p_wxPanel, + _swigc__p_wxPaperSize, + _swigc__p_wxPasswordEntryDialog, + _swigc__p_wxPoint, + _swigc__p_wxPopupWindow, + _swigc__p_wxPreviewCanvas, + _swigc__p_wxPreviewControlBar, + _swigc__p_wxPreviewFrame, + _swigc__p_wxPrintData, + _swigc__p_wxPrintDialog, + _swigc__p_wxPrintDialogData, + _swigc__p_wxPrintPreview, + _swigc__p_wxPrinter, + _swigc__p_wxProgressDialog, + _swigc__p_wxPyApp, + _swigc__p_wxPyCommandEvent, + _swigc__p_wxPyEvent, + _swigc__p_wxPyHtmlListBox, + _swigc__p_wxPyImageHandler, + _swigc__p_wxPyPanel, + _swigc__p_wxPyPopupTransientWindow, + _swigc__p_wxPyPreviewControlBar, + _swigc__p_wxPyPreviewFrame, + _swigc__p_wxPyPrintPreview, + _swigc__p_wxPyPrintout, + _swigc__p_wxPyScrolledWindow, + _swigc__p_wxPySizer, + _swigc__p_wxPyTaskBarIcon, + _swigc__p_wxPyVListBox, + _swigc__p_wxPyVScrolledWindow, + _swigc__p_wxPyValidator, + _swigc__p_wxPyWindow, + _swigc__p_wxQueryLayoutInfoEvent, + _swigc__p_wxQueryNewPaletteEvent, + _swigc__p_wxRect, + _swigc__p_wxRegion, + _swigc__p_wxSashEvent, + _swigc__p_wxSashLayoutWindow, + _swigc__p_wxSashWindow, + _swigc__p_wxScrollEvent, + _swigc__p_wxScrollWinEvent, + _swigc__p_wxScrolledWindow, + _swigc__p_wxSetCursorEvent, + _swigc__p_wxShowEvent, + _swigc__p_wxSingleChoiceDialog, + _swigc__p_wxSize, + _swigc__p_wxSizeEvent, + _swigc__p_wxSizer, + _swigc__p_wxSizerItem, + _swigc__p_wxSplashScreen, + _swigc__p_wxSplashScreenWindow, + _swigc__p_wxSplitterEvent, + _swigc__p_wxSplitterWindow, + _swigc__p_wxStaticBoxSizer, + _swigc__p_wxStatusBar, + _swigc__p_wxStdDialogButtonSizer, + _swigc__p_wxString, + _swigc__p_wxSysColourChangedEvent, + _swigc__p_wxTIFFHandler, + _swigc__p_wxTaskBarIcon, + _swigc__p_wxTaskBarIconEvent, + _swigc__p_wxTextEntryDialog, + _swigc__p_wxTipWindow, + _swigc__p_wxToolBar, + _swigc__p_wxTopLevelWindow, + _swigc__p_wxUpdateUIEvent, + _swigc__p_wxValidator, + _swigc__p_wxVisualAttributes, + _swigc__p_wxWindow, + _swigc__p_wxWindowCreateEvent, + _swigc__p_wxWindowDestroyEvent, + _swigc__p_wxXPMHandler, + _swigc__ptrdiff_t, + _swigc__std__ptrdiff_t, + _swigc__unsigned_int, }; @@ -28986,6 +29849,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 @@ -29003,7 +30077,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; @@ -29013,13 +30087,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; @@ -29032,7 +30106,7 @@ extern "C" { return 0; } - static PyObject * + SWIGINTERN PyObject * swig_varlink_getattr(swig_varlinkobject *v, char *n) { swig_globalvar *var = v->vars; while (var) { @@ -29045,7 +30119,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) { @@ -29058,72 +30132,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; } @@ -29132,11 +30223,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); @@ -29173,7 +30264,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, @@ -29185,7 +30276,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]); @@ -29198,14 +30289,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; + } + } } } } @@ -29215,69 +30310,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 @@ -29286,42 +30318,21 @@ extern "C" { * Partial Init method * -----------------------------------------------------------------------------*/ -#ifdef SWIG_LINK_RUNTIME -#ifdef __cplusplus -extern "C" -#endif -SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *); -#endif - #ifdef __cplusplus extern "C" #endif -SWIGEXPORT(void) SWIG_init(void) { +SWIGEXPORT void SWIG_init(void) { static PyObject *SWIG_globals = 0; - static int typeinit = 0; PyObject *m, *d; - int i; if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); /* Fix SwigMethods to carry the callback ptrs when needed */ - SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial); + SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); m = Py_InitModule((char *) SWIG_name, SwigMethods); d = PyModule_GetDict(m); - if (!typeinit) { -#ifdef SWIG_LINK_RUNTIME - swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle); -#else -# ifndef SWIG_STATIC_RUNTIME - swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle); -# endif -#endif - for (i = 0; swig_types_initial[i]; i++) { - swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); - } - typeinit = 1; - } + SWIG_InitializeModule(0); SWIG_InstallConstants(d,swig_const_table); PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); @@ -29330,182 +30341,185 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set); SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set); { - PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP))); + PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int(static_cast(wxSTAY_ON_TOP))); + } + { + PyDict_SetItemString(d,"ICONIZE", SWIG_From_int(static_cast(wxICONIZE))); } { - PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)(wxICONIZE))); + PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int(static_cast(wxMINIMIZE))); } { - PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE))); + PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int(static_cast(wxMAXIMIZE))); } { - PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE))); + PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int(static_cast(wxCLOSE_BOX))); } { - PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX))); + PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int(static_cast(wxTHICK_FRAME))); } { - PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME))); + PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int(static_cast(wxSYSTEM_MENU))); } { - PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU))); + PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int(static_cast(wxMINIMIZE_BOX))); } { - PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX))); + PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int(static_cast(wxMAXIMIZE_BOX))); } { - PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX))); + PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int(static_cast(wxTINY_CAPTION_HORIZ))); } { - PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ))); + PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int(static_cast(wxTINY_CAPTION_VERT))); } { - PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT))); + PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int(static_cast(wxRESIZE_BOX))); } { - PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX))); + PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int(static_cast(wxRESIZE_BORDER))); } { - PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER))); + PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int(static_cast(wxDIALOG_NO_PARENT))); } { - PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT))); + PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int(static_cast(wxDEFAULT_FRAME_STYLE))); } { - PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE))); + PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int(static_cast(wxDEFAULT_DIALOG_STYLE))); } { - PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE))); + PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int(static_cast(wxFRAME_TOOL_WINDOW))); } { - PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW))); + PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int(static_cast(wxFRAME_FLOAT_ON_PARENT))); } { - PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT))); + PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int(static_cast(wxFRAME_NO_WINDOW_MENU))); } { - PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU))); + PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int(static_cast(wxFRAME_NO_TASKBAR))); } { - PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR))); + PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int(static_cast(wxFRAME_SHAPED))); } { - PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED))); + PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int(static_cast(wxFRAME_DRAWER))); } { - PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER))); + PyDict_SetItemString(d,"FRAME_EX_METAL", SWIG_From_int(static_cast(wxFRAME_EX_METAL))); } { - PyDict_SetItemString(d,"FRAME_EX_METAL", SWIG_From_int((int)(wxFRAME_EX_METAL))); + PyDict_SetItemString(d,"DIALOG_EX_METAL", SWIG_From_int(static_cast(wxDIALOG_EX_METAL))); } { - PyDict_SetItemString(d,"DIALOG_EX_METAL", SWIG_From_int((int)(wxDIALOG_EX_METAL))); + PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int(static_cast(wxDIALOG_MODAL))); } { - PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL))); + PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int(static_cast(wxDIALOG_MODELESS))); } { - PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS))); + PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int(static_cast(wxUSER_COLOURS))); } { - PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS))); + PyDict_SetItemString(d,"NO_3D", SWIG_From_int(static_cast(wxNO_3D))); } { - PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)(wxNO_3D))); + PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int(static_cast(wxFULLSCREEN_NOMENUBAR))); } { - PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR))); + PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int(static_cast(wxFULLSCREEN_NOTOOLBAR))); } { - PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR))); + PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int(static_cast(wxFULLSCREEN_NOSTATUSBAR))); } { - PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR))); + PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int(static_cast(wxFULLSCREEN_NOBORDER))); } { - PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER))); + PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int(static_cast(wxFULLSCREEN_NOCAPTION))); } { - PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION))); + PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int(static_cast(wxFULLSCREEN_ALL))); } { - PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL))); + PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int(static_cast(wxTOPLEVEL_EX_DIALOG))); } { - PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG))); + PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int(static_cast(wxUSER_ATTENTION_INFO))); } { - PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO))); + PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int(static_cast(wxUSER_ATTENTION_ERROR))); } { - PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR))); + PyDict_SetItemString(d,"Dialog_ButtonSizerFlags", SWIG_From_int(static_cast(wxDialog::ButtonSizerFlags))); } { - PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT))); + PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int(static_cast(wxSPLASH_CENTRE_ON_PARENT))); } { - PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN))); + PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int(static_cast(wxSPLASH_CENTRE_ON_SCREEN))); } { - PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE))); + PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int(static_cast(wxSPLASH_NO_CENTRE))); } { - PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT))); + PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int(static_cast(wxSPLASH_TIMEOUT))); } { - PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT))); + PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int(static_cast(wxSPLASH_NO_TIMEOUT))); } { - PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL))); + PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int(static_cast(wxSB_NORMAL))); } { - PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT))); + PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int(static_cast(wxSB_FLAT))); } { - PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED))); + PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int(static_cast(wxSB_RAISED))); } SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set); { - PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER))); + PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int(static_cast(wxSP_NOBORDER))); } { - PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH))); + PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int(static_cast(wxSP_NOSASH))); } { - PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT))); + PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int(static_cast(wxSP_PERMIT_UNSPLIT))); } { - PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE))); + PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int(static_cast(wxSP_LIVE_UPDATE))); } { - PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH))); + PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int(static_cast(wxSP_3DSASH))); } { - PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER))); + PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int(static_cast(wxSP_3DBORDER))); } { - PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME))); + PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int(static_cast(wxSP_NO_XP_THEME))); } { - PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER))); + PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int(static_cast(wxSP_BORDER))); } { - PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)(wxSP_3D))); + PyDict_SetItemString(d,"SP_3D", SWIG_From_int(static_cast(wxSP_3D))); } { - PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL))); + PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int(static_cast(wxSPLIT_HORIZONTAL))); } { - PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL))); + PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int(static_cast(wxSPLIT_VERTICAL))); } { - PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE))); + PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int(static_cast(wxSPLIT_DRAG_NONE))); } { - PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING))); + PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int(static_cast(wxSPLIT_DRAG_DRAGGING))); } { - PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN))); + PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int(static_cast(wxSPLIT_DRAG_LEFT_DOWN))); } PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED)); PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING)); @@ -29514,83 +30528,83 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set); SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set); { - PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE))); + PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int(static_cast(wxSASH_DRAG_NONE))); } { - PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING))); + PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int(static_cast(wxSASH_DRAG_DRAGGING))); } { - PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN))); + PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int(static_cast(wxSASH_DRAG_LEFT_DOWN))); } { - PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER))); + PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int(static_cast(wxSW_NOBORDER))); } { - PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER))); + PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int(static_cast(wxSW_BORDER))); } { - PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH))); + PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int(static_cast(wxSW_3DSASH))); } { - PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER))); + PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int(static_cast(wxSW_3DBORDER))); } { - PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)(wxSW_3D))); + PyDict_SetItemString(d,"SW_3D", SWIG_From_int(static_cast(wxSW_3D))); } { - PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP))); + PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int(static_cast(wxSASH_TOP))); } { - PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT))); + PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int(static_cast(wxSASH_RIGHT))); } { - PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM))); + PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int(static_cast(wxSASH_BOTTOM))); } { - PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT))); + PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int(static_cast(wxSASH_LEFT))); } { - PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE))); + PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int(static_cast(wxSASH_NONE))); } { - PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK))); + PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int(static_cast(wxSASH_STATUS_OK))); } { - PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE))); + PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int(static_cast(wxSASH_STATUS_OUT_OF_RANGE))); } PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED)); { - PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL))); + PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int(static_cast(wxLAYOUT_HORIZONTAL))); } { - PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL))); + PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int(static_cast(wxLAYOUT_VERTICAL))); } { - PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE))); + PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int(static_cast(wxLAYOUT_NONE))); } { - PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP))); + PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int(static_cast(wxLAYOUT_TOP))); } { - PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT))); + PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int(static_cast(wxLAYOUT_LEFT))); } { - PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT))); + PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int(static_cast(wxLAYOUT_RIGHT))); } { - PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM))); + PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int(static_cast(wxLAYOUT_BOTTOM))); } { - PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y))); + PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int(static_cast(wxLAYOUT_LENGTH_Y))); } { - PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X))); + PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int(static_cast(wxLAYOUT_LENGTH_X))); } { - PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH))); + PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int(static_cast(wxLAYOUT_MRU_LENGTH))); } { - PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY))); + PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int(static_cast(wxLAYOUT_QUERY))); } PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO)); PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT)); @@ -29615,32 +30629,32 @@ SWIGEXPORT(void) SWIG_init(void) { SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set); SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set); { - PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE))); + PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int(static_cast(wxCHOICEDLG_STYLE))); } { - PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle))); + PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int(static_cast(wxTextEntryDialogStyle))); } SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set); { - PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN))); + PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int(static_cast(wxFR_DOWN))); } { - PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD))); + PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int(static_cast(wxFR_WHOLEWORD))); } { - PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE))); + PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int(static_cast(wxFR_MATCHCASE))); } { - PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG))); + PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int(static_cast(wxFR_REPLACEDIALOG))); } { - PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN))); + PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int(static_cast(wxFR_NOUPDOWN))); } { - PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE))); + PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int(static_cast(wxFR_NOMATCHCASE))); } { - PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD))); + PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int(static_cast(wxFR_NOWHOLEWORD))); } PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND)); PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT)); @@ -29648,150 +30662,150 @@ SWIGEXPORT(void) SWIG_init(void) { PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL)); PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE)); { - PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)(4001))); + PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int(static_cast(4001))); } { - PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001))); + PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int(static_cast(4001))); } { - PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002))); + PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int(static_cast(4002))); } { - PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)(4003))); + PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int(static_cast(4003))); } { - PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004))); + PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int(static_cast(4004))); } { - PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005))); + PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int(static_cast(4005))); } { - PyDict_SetItemString(d,"IDM_WINDOWPREV", SWIG_From_int((int)(4006))); + PyDict_SetItemString(d,"IDM_WINDOWPREV", SWIG_From_int(static_cast(4006))); } { - PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100))); + PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int(static_cast(4100))); } { - PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)(4600))); + PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int(static_cast(4600))); } SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set); SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set); { - PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE))); + PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int(static_cast(wxPRINT_MODE_NONE))); } { - PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW))); + PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int(static_cast(wxPRINT_MODE_PREVIEW))); } { - PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE))); + PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int(static_cast(wxPRINT_MODE_FILE))); } { - PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER))); + PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int(static_cast(wxPRINT_MODE_PRINTER))); } { - PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM))); + PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int(static_cast(wxPRINT_MODE_STREAM))); } { - PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT))); + PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int(static_cast(wxPRINTBIN_DEFAULT))); } { - PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE))); + PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int(static_cast(wxPRINTBIN_ONLYONE))); } { - PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER))); + PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int(static_cast(wxPRINTBIN_LOWER))); } { - PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE))); + PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int(static_cast(wxPRINTBIN_MIDDLE))); } { - PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL))); + PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int(static_cast(wxPRINTBIN_MANUAL))); } { - PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE))); + PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int(static_cast(wxPRINTBIN_ENVELOPE))); } { - PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL))); + PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int(static_cast(wxPRINTBIN_ENVMANUAL))); } { - PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO))); + PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int(static_cast(wxPRINTBIN_AUTO))); } { - PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR))); + PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int(static_cast(wxPRINTBIN_TRACTOR))); } { - PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT))); + PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int(static_cast(wxPRINTBIN_SMALLFMT))); } { - PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT))); + PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int(static_cast(wxPRINTBIN_LARGEFMT))); } { - PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY))); + PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int(static_cast(wxPRINTBIN_LARGECAPACITY))); } { - PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE))); + PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int(static_cast(wxPRINTBIN_CASSETTE))); } { - PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE))); + PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int(static_cast(wxPRINTBIN_FORMSOURCE))); } { - PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER))); + PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int(static_cast(wxPRINTBIN_USER))); } { - PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR))); + PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int(static_cast(wxPRINTER_NO_ERROR))); } { - PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED))); + PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int(static_cast(wxPRINTER_CANCELLED))); } { - PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR))); + PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int(static_cast(wxPRINTER_ERROR))); } { - PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT))); + PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int(static_cast(wxPREVIEW_PRINT))); } { - PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS))); + PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int(static_cast(wxPREVIEW_PREVIOUS))); } { - PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT))); + PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int(static_cast(wxPREVIEW_NEXT))); } { - PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM))); + PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int(static_cast(wxPREVIEW_ZOOM))); } { - PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST))); + PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int(static_cast(wxPREVIEW_FIRST))); } { - PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST))); + PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int(static_cast(wxPREVIEW_LAST))); } { - PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO))); + PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int(static_cast(wxPREVIEW_GOTO))); } { - PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT))); + PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int(static_cast(wxPREVIEW_DEFAULT))); } { - PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE))); + PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int(static_cast(wxID_PREVIEW_CLOSE))); } { - PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT))); + PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int(static_cast(wxID_PREVIEW_NEXT))); } { - PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS))); + PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int(static_cast(wxID_PREVIEW_PREVIOUS))); } { - PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT))); + PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int(static_cast(wxID_PREVIEW_PRINT))); } { - PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM))); + PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int(static_cast(wxID_PREVIEW_ZOOM))); } { - PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST))); + PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int(static_cast(wxID_PREVIEW_FIRST))); } { - PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST))); + PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int(static_cast(wxID_PREVIEW_LAST))); } { - PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO))); + PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int(static_cast(wxID_PREVIEW_GOTO))); } wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");